From owner-freebsd-hackers Wed Feb 20 10:20:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 9203737B402 for ; Wed, 20 Feb 2002 10:20:14 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020220182014.IOCO2626.rwcrmhc51.attbi.com@InterJet.elischer.org>; Wed, 20 Feb 2002 18:20:14 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA63321; Wed, 20 Feb 2002 10:10:55 -0800 (PST) Date: Wed, 20 Feb 2002 10:10:54 -0800 (PST) From: Julian Elischer To: Terry Lambert Cc: "George V. Neville-Neil" , freebsd-hackers@freebsd.org Subject: Re: Kernel Debugging over the Ethernet? In-Reply-To: <3C736F92.12435B7D@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG using tcp for this is I think wrong.. Use UDP or maybe even an special protocol on IP. On Wed, 20 Feb 2002, Terry Lambert wrote: > "George V. Neville-Neil" wrote: > > 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. > > You would need to also have J. Lemon's patch to get rid of NETISR, > or your TCP/IP stack will never run. Even so, his patch does not > run everything to completion (i.e. it is not the same as LRP), it > only runs it up so far, and then stops. > > You would also need to do the transmit processing manually, which, > even if you had implemented LRP, or used the LRP with the bad > license, still requires seperate processing. > > If you were to use raw ethernet datagrams, and do the retransmit > and encapsulation yourself, rather than relying on TCP for retransmit > or IP for encapsulation, then you might be able to do this (see xnet > in /etc/protocols). > > -- Terry > > 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-hackers" in the body of the message