Date: Wed, 16 Feb 2005 13:10:22 +0100 From: Gerald Heinig <gheinig@syskonnect.de> To: Ulrich Spoerlein <q@uni.de> Cc: Stephan Uphoff <ups@tree.com> Subject: Re: Firewire blues Message-ID: <4213382E.7060603@syskonnect.de> In-Reply-To: <20050216110200.GA913@galgenberg.net> References: <420731DD.3050206@syskonnect.de> <42088232.1030001@syskonnect.de> <1107888844.6309.221.camel@palm.tree.com> <1107964038.6309.1137.camel@palm.tree.com> <420B938D.2040708@syskonnect.de> <1108352789.6309.9948.camel@palm.tree.com> <20050216110200.GA913@galgenberg.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Ulrich Spoerlein wrote: > 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. I don't know whether this will break other stuff, but in the course of my attempts to get the setup working, I tried setting options DCONS_FORCE_CONSOLE=1 This caused all the output of the console to go to the Firewire port. I could log in etc. as normal on the console (over Firewire of course). > > 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 ?? () I got this as well. In my case I assumed it's due to the fact that I wasn't using the same kernel file for the debugger as was running on the target machine. I didn't investigate further because I can't spend any more time on this problem at the moment. I'd be interested to know whether that is the problem though. > > What's missing here? > > Ulrich Spoerlein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4213382E.7060603>