From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 9 08:14:24 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 5EA3616A4CE for ; Wed, 9 Feb 2005 08:14:24 +0000 (GMT) Received: from gatekeeper.syskonnect.de (gatekeeper.syskonnect.de [213.144.13.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D8BB43D31 for ; Wed, 9 Feb 2005 08:14:23 +0000 (GMT) (envelope-from gheinig@syskonnect.de) Received: from syskonnect.de (skd.de [10.9.15.1])j198EZ91009549; Wed, 9 Feb 2005 09:14:35 +0100 (MET) Received: from syskonnect.de (localhost [127.0.0.1]) by syskonnect.de (8.12.11/8.12.11) with ESMTP id j198EGB5015214; Wed, 9 Feb 2005 09:14:20 +0100 (MET) Message-ID: <4209C640.3070502@syskonnect.de> Date: Wed, 09 Feb 2005 09:13:52 +0100 From: Gerald Heinig User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stephan Uphoff References: <420731DD.3050206@syskonnect.de> <1107798981.6309.9.camel@palm.tree.com> <42088232.1030001@syskonnect.de> <4208B9C2.6020007@syskonnect.de> <1107888844.6309.221.camel@palm.tree.com> In-Reply-To: <1107888844.6309.221.camel@palm.tree.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org 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, 09 Feb 2005 08:14:24 -0000 Stephan Uphoff wrote: > There are two ways using kgdb to debug a target with firewire. > The first way basically replaces the slow serial cable for communication > to the remote target gdb stub. > The second way uses the remote DMA capabilities of firewire to directly > read memory of the target WITHOUT using any debugging software/stub on > the target. (Think remote core file) > > Greg Lehey wrote a nice kernel debugging tutorial that explains both > types of firewire debugging. > http://www.lemis.com/grog/Papers/Debug-tutorial/tutorial.pdf > > This should get you started with only minor adjustments (gdb->kgdb) . This is actually the paper I'm using. I've followed the instructions on both methods, but I can't get it to work. The direct machine-machine connection is fine (ie. the one with dconschat). It's the kgdb connection that doesn't work. I presume it worked out of the box for you then? Cheers, Gerald