Firewire blues

Ulrich Spoerlein q at uni.de
Wed Feb 16 03:02:04 PST 2005


On Sun, 13.02.2005 at 22:46:29 -0500, Stephan Uphoff wrote:
> +device dcons
> +device dcons_crom
>
> Then configured/compiled/installed the GENERIC.debug kernel.
> Copied the kernel.debug file in the GENERIC.debug compile directory to
> the debug station and rebooted the target machine.

I tried this with modules first, and failed every time. It needs to be
compiled into the kernel to really work, which brings me to the next
problem.

When dcons_crom is loaded (module or not) and I boot my system (laptop),
I only get the "kernel output" on screen. All the other output (starting
from Mounting root from ufs) goes to the firewire console.

But since I'm using GBDE on this laptop, the startup scripts want me to
enter my passphrase, which in turn I can only enter via a second machine
through firewire.

This _is_ rather unpractical :( and renders single-user console useless.
What am I doing wrong here?

Other than that, remote gdb is working. Poking inside the fwmem itself
is however not working, I get this after setting eui64_{hi,lo}
% kgdb -c /dev/fwmem0.0 kernel.debug
...
0x00000000 in ?? ()

What's missing here?

Ulrich Spoerlein
-- 
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?


More information about the freebsd-hackers mailing list