Date: Wed, 20 Feb 2002 11:06:27 +0200 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Julian Elischer <julian@elischer.org> Cc: "George V. Neville-Neil" <gnn@neville-neil.com>, freebsd-current@FreeBSD.org, Jonathan Lemon <jlemon@flugsvamp.com> Subject: Re: Kernel Debugging over the Ethernet? Message-ID: <3C736713.B30E247B@FreeBSD.org> References: <Pine.BSF.4.21.0202192347010.60489-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
If my memory serves some time ago Jonathan Lemon was planning to add ability to remotely debug kernel via TCP/IP. Try to contact him and ask about the status of his work. -Maxim Julian Elischer wrote: > > On Tue, 19 Feb 2002, George V. Neville-Neil wrote: > > > Hi Folks, > > > > Now that Luigi has put in polling support for some ethernet drivers > > I was wondering how much work it would be to make the remote kernel debugging > > run over the ethernet. I have worked on systems like this before (it's the > > reason > > I did polling network device drivers in Wind River's VxWorks) but it depends > > on a debugging system that has the ability to have its back end swapped out. > > > > Who would I talk to about how kernel debugging works at the > > lowest layers right now? Which source files should I look at first. > > the gdb debugging piggybacks onto the ddb debugger > the file i386/i386/i386-gdbstub.c gives the basic > interface for the serial connection. > > the serial part is in /sys/dev/sio/sio.c > > I don't know what gdb does on the ethernet but my guess is that it's > already written there somewhere. > > I guess using udp packets with an address set by a sysctl > would be sufficient, > especially if we had our own udp handler (which I'm told can be done in a > very small amount of code it we know what packets we are getting). > > > > > Thanks, > > George > > > > -- > > George V. Neville-Neil gnn@neville-neil.com > > NIC:GN82 > > > > "Those who would trade liberty for temporary security deserve neither" > > - Benjamin Franklin > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C736713.B30E247B>