From owner-freebsd-current@FreeBSD.ORG Sun Jul 27 07:54:48 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 5336337B401 for ; Sun, 27 Jul 2003 07:54:48 -0700 (PDT) Received: from godel.mtl.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70D6343F93 for ; Sun, 27 Jul 2003 07:54:47 -0700 (PDT) (envelope-from bmilekic@technokratis.com) Received: from godel.mtl.distributel.net (localhost [127.0.0.1]) h6RAxPaA032662; Sun, 27 Jul 2003 10:59:25 GMT (envelope-from bmilekic@technokratis.com) Received: (from bmilekic@localhost) by godel.mtl.distributel.net (8.12.9/8.12.9/Submit) id h6RAxPmb032661; Sun, 27 Jul 2003 10:59:25 GMT X-Authentication-Warning: godel.mtl.distributel.net: bmilekic set sender to bmilekic@technokratis.com using -f Date: Sun, 27 Jul 2003 10:59:25 +0000 From: Bosko Milekic To: Stephane Raimbault Message-ID: <20030727105925.GA32626@technokratis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i 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: Sun, 27 Jul 2003 14:54:48 -0000 On Sat, Jul 26, 2003 at 10:48:21PM -0600, Stephane Raimbault wrote: > Well, I had compiled "options DDB" into the kernel and today the kernel > panic'd... here is what I got. I ran the following in the db> prompt. > "trace", "show reg", "ps". Let me know if this is the kind of information > you need, and if there is anything else I need to provide... can I > re-compile the kernel without the "options DDB" now, or should I provide the > same info next time in panic's to confirm it's the same problem? > > Thanks, > Stephane. > > I've attached the file debug.txt which contains the panic info. Let me know > if you need it in a different format. > > Thanks again, > Stephane Raimbault. Are you using USB? Approximately 2 weeks ago, some changes were introduced into the USB code which could in some scenarios mean a depletion of kmem_map. I've glanced at usb_mem.c and it appears that the USB code 'caches' everything that it allocates into a couple of lists it maintains locally. This prevents UMA from seeing the freed memory and, from the point of view of the VM, the memory is never reclaimed. I am unsure as to whether or not the memory allocated by the USB stuff needs to be type stable so I can't really fix this. I urge the USB authors to glance there. If you are using USB, try turning it off to see if the panic persists. If not, then we'll have to look elsewhere. Regards, -- Bosko Milekic * bmilekic@technokratis.com * bmilekic@FreeBSD.org TECHNOkRATIS Consulting Services * http://www.technokratis.com/