From owner-freebsd-net@FreeBSD.ORG Thu Feb 17 12:01:18 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4D8516A4CE for ; Thu, 17 Feb 2005 12:01:17 +0000 (GMT) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60DCB43D39 for ; Thu, 17 Feb 2005 12:01:17 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with SMTP id 09AFE46B38; Thu, 17 Feb 2005 07:01:17 -0500 (EST) Date: Thu, 17 Feb 2005 11:59:52 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Juan Rodriguez In-Reply-To: <96b30c4005021607117ec44df7@mail.gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: c0ldbyte cc: freebsd-net@freebsd.org Subject: Re: FreeBSD 5.3 hangs on high network load X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 12:01:18 -0000 On Wed, 16 Feb 2005, Juan Rodriguez wrote: > I've cvsup'ed the kernel sources a few hours ago (RELENG_5), and I've > recompiled. > > Now I cannot boot, it gives me "kernel panic" when booting on > "rlphy0"....this is really very annoying. I'm at work now, I cannot give > you more details...it took me 4 hours to recompile the kernel, so Im not > willing to do this again, if you are really interested in debugging, I > will need your collaboration, I can give you an account on my system if > you want to. Most kernel panics can be debugged using easily extracted information from a crash. If you're interested in helping to track this problem down so it doesn't persist in future releases, you'll want to do the following: - Compile the kernel with the following entries in its config file: options DDB options KDB makeoptions DEBUG=-g options BREAK_TO_DEBUGGER - Ideally, hook up a second system as a serial console for the first system, perhaps using a null modem cable. This will allow you to copy and paste debugging output into an e-mail message, which can simplify things. When the system crashes with a panic and the above options are present, it will drop to the DDB kernel debugger instead of rebooting or hanging. If you're using a serial console, the output of the debugger will be visible there. The panic message will be displayed, as well as fault details if there was a fault leading to the panic. At that point "trace" will give a backtrace. If you could copy and paste that information into an e-mail, we can then try to track it down. Debugging the wedge/hang you were seeing earlier is also something we can try to do using the same technique, but they can be a bit harder to track down. In that situation, the break to debugger option above will allow you to break to the debugger on the console (ideally, the serial console, again, since you can more easily copy-and-paste the output). There's a chapter in the FreeBSD handbook on setting up kernel debugging so that you can report bugs with sufficient detail that we can debug them. Let me know if you have any questions. Robert N M Watson > > thanks > > > > > On Wed, 16 Feb 2005 07:16:46 -0500 (EST), c0ldbyte > wrote: > > On Wed, 16 Feb 2005, Robert Watson wrote: > > > > > > > > On Wed, 16 Feb 2005, Juan Rodriguez wrote: > > > > > >> Just for your information (because I guess there's nothing else we can > > >> do....), I will describe the setup I've got in case anyone would like to > > >> reproduce the problem and try to fix it. > > >> > > >> I'm using FreeBSD 5.3.0 RELEASE on an Pentium I MMX 233, with 128 MB of > > >> RAM (minus 1 MB that my onboard VGA card takes off). The motherboard is > > >> ASUS SPv97 (or something like that) > > > > > > If possible, the first thing would be to try moving to the head of > > > 5-STABLE to see if the bug has already been fixed there already or not. A > > > significant number of interesting bugs have been fixed since the release > > > of 5.3. If that doesn't correct the problem, the next thing to do is to > > > take a look at the section of the handbook on reporting kernel panics and > > > hangs. It would be quite interesting to know if the machine still > > > responds to pings once it has appeared to hang. There have been reported > > > problems with realtek network cards, it would probably be premature to > > > blame the hardware at this point. > > > > > > > If im correct ive allready heard of this issue being solved. And should > > allready be patched in. Checkout the latest RELENG_5_3 and build your > > kernel over again and run that for a while "FreeBSD 5.3-RELEASE-p5" > > otherwise try a different version of 'samba*' or see if there are some > > tweaks in the 'LINT' for the card itself. Im not quite sure why you would > > run in safe mode but whatever trips your trigger. 'mount_smbfs' instead > > of running 'samba' itself might also help you out a bit. > > > > Best regards > > -- c0ldbyte > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >