From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 16 12:11:05 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 391DA16A4CE for ; Wed, 16 Feb 2005 12:11:05 +0000 (GMT) Received: from gatekeeper.syskonnect.de (gatekeeper.syskonnect.de [213.144.13.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3CA043D1D for ; Wed, 16 Feb 2005 12:11:03 +0000 (GMT) (envelope-from gheinig@syskonnect.de) Received: from syskonnect.de (skd.de [10.9.15.1])j1GCBI91013494; Wed, 16 Feb 2005 13:11:18 +0100 (MET) Received: from syskonnect.de (localhost [127.0.0.1]) by syskonnect.de (8.12.11/8.12.11) with ESMTP id j1GCB03j002834; Wed, 16 Feb 2005 13:11:01 +0100 (MET) Message-ID: <4213382E.7060603@syskonnect.de> Date: Wed, 16 Feb 2005 13:10:22 +0100 From: Gerald Heinig User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ulrich Spoerlein 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> In-Reply-To: <20050216110200.GA913@galgenberg.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org cc: Stephan Uphoff Subject: Re: Firewire blues X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 12:11:05 -0000 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