From owner-freebsd-current@FreeBSD.ORG Sat Jul 26 14:02:56 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 7E78037B401 for ; Sat, 26 Jul 2003 14:02:56 -0700 (PDT) Received: from peedub.jennejohn.org (p213.54.193.7.tisdip.tiscali.de [213.54.193.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42EC443FA3 for ; Sat, 26 Jul 2003 14:02:55 -0700 (PDT) (envelope-from garyj@jennejohn.org) Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.9/8.11.6) with ESMTP id h6QL2nPD012268; Sat, 26 Jul 2003 23:02:49 +0200 (CEST) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200307262102.h6QL2nPD012268@peedub.jennejohn.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Mark Blackman In-Reply-To: Message from Mark Blackman <95013A6C-BFA4-11D7-A23D-00039315D3FE@exonetric.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 26 Jul 2003 23:02:49 +0200 From: Gary Jennejohn cc: freebsd-current@freebsd.org Subject: Re: device driver memory leak in 5.1-20030726? 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: Sat, 26 Jul 2003 21:02:56 -0000 Mark Blackman writes: > I'm seeing the same 'kmem_malloc(4096): kmem_map too small: XXXXX total > allocated' > messages that a few other have reported. [snip] > From these symptoms, I'm speculating that one or more device drivers > are producing kernel memory leaks and either triggering the > 'kmem_map too small' messages or pushing all of the userland processes > out of the way. Is this a reasonable interpretation? > > Does anyone else see symptoms that might lead to this conclusion? > I'm seeing exactly the same thing when I try to access my Archos Jukebox (a USB 2.0 device). This didn't happen with a kernel made before July 20, although I can't say when exactly the leak (if there is one) was introduced, since I only make a new kernel every few weeks. Eventually usb_allocmem fails and shortly thereafter I get the ``kmem_map too small'' panic. Unfortunately, panicing in ddb results in a hang - no crashdump. --- Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org gj[at]denx.de