From owner-freebsd-current Wed Feb 20 1: 7:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id DF5DC37B405 for ; Wed, 20 Feb 2002 01:07:06 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id LAA71129; Wed, 20 Feb 2002 11:06:31 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h149.228.dialup.iptcom.net [212.9.228.149]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id LAA07472; Wed, 20 Feb 2002 11:06:27 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g1K95uX08065; Wed, 20 Feb 2002 11:05:56 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C736713.B30E247B@FreeBSD.org> Date: Wed, 20 Feb 2002 11:06:27 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Julian Elischer Cc: "George V. Neville-Neil" , freebsd-current@FreeBSD.org, Jonathan Lemon Subject: Re: Kernel Debugging over the Ethernet? References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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