Firewire blues

Stephan Uphoff ups at tree.com
Wed Feb 9 07:47:41 PST 2005


On Wed, 2005-02-09 at 03:13, Gerald Heinig wrote:
> 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?

Once I linked in dcons, dcons_crom and firewire into the kernel
everything worked. (I think only dcons is really needed - maybe a link
set issue?)
I only used the gdb stub method.

Can you send me your dmesg? (After you linked the dcons stuff into the
kernel)

Stephan



More information about the freebsd-hackers mailing list