From owner-freebsd-current@FreeBSD.ORG Mon Jul 21 16:18:37 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 667BF37B401 for ; Mon, 21 Jul 2003 16:18:37 -0700 (PDT) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9CE643F85 for ; Mon, 21 Jul 2003 16:18:35 -0700 (PDT) (envelope-from bruce@cran.org.uk) Received: from buffy.brucec.backnet ([82.41.200.71]) by smtp-out5.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Tue, 22 Jul 2003 00:18:33 +0100 Received: from buffy.brucec.backnet (localhost [127.0.0.1]) by buffy.brucec.backnet (8.12.9/8.12.9) with ESMTP id h6LNIVx3002857; Tue, 22 Jul 2003 00:18:31 +0100 (BST) (envelope-from bruce@buffy.brucec.backnet) Received: (from bruce@localhost) by buffy.brucec.backnet (8.12.9/8.12.9/Submit) id h6LNIV4m002856; Tue, 22 Jul 2003 00:18:31 +0100 (BST) Date: Tue, 22 Jul 2003 00:18:31 +0100 From: Bruce Cran To: Bosko Milekic Message-ID: <20030721231831.GA2795@buffy.brucec.backnet> References: <20030721222407.GA76150@terra.milkyway.stdio.com> <20030721184311.GB54315@technokratis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030721184311.GB54315@technokratis.com> User-Agent: Mutt/1.4.1i X-OriginalArrivalTime: 21 Jul 2003 23:18:33.0778 (UTC) FILETIME=[67B56120:01C34FDE] cc: current@freebsd.org Subject: Re: FreeBSD 5.1-R kernel panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 23:18:37 -0000 On Mon, Jul 21, 2003 at 06:43:11PM +0000, Bosko Milekic wrote: > > > On Mon, Jul 21, 2003 at 06:24:07PM -0400, Mik Firestone wrote: > > For what it is worth, I am having the exact same problem. I cvsup'd and > > builtworld on Sunday, July 20, and my machine has been crashing about every > > half-hour since. It starts slowing down, the load average begins to > > climb until it eventually grinds to a halt. If I wait long enough, I > > will see the same panic Stephane saw. > > > > Doing a ps -auxw shows that usb0 is using the vast majority of the CPU > > time before the grinding halt. I have tried leaving the machine in > > multi-user and sigle-user mode with the same results. I have attempted > > to compile a new kernel that does not have the USB stuff compiled in, > > but my machine won't stay running long enough. > > > > I do have the debugger compiled in, but I do not know enough of what I > > am doing to provide reasonable information to the list. If somebody > > can tell me the commands to run in the debugger, I will let my machine > > panic again and grab that data. > > > > Mik > > Does reverting to pre-July 20 get rid of your problem? Note that the > originator of the first Email mentionned that he is running what > appeared to be stock 5.1-RELEASE, which may or may not be related to > what you're seeing. > > If reverting to pre-July 20 gets rid of your problem, perhaps we can > figure out what commit triggered this behavior for you. Also, do you > have PAE enabled? > It sounds like the same or similar problem reported in the 'USB crappiness' thread - the system slows down, and then any command crashes the system with the error about kmem. I posted a backtrace to the problem in usb_mem.c, and the developer has posted a temporary fix - it was a problem with bus_dma, it was allocating too much memory and running out of kernel memory. If the kernel debugger is compiled in, the system should drop to the db> prompt when it panics. Type 'tr' and post the results it gives. This panic appears to stop memory dumps working, otherwise you could set the dumpdev variable in rc.conf also get the source listing of where the problem occurs: the FreeBSD Developers Handbook has more information. -- Bruce Cran