From owner-freebsd-current@FreeBSD.ORG Sun Jul 27 07:37:02 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 0ADCB37B401 for ; Sun, 27 Jul 2003 07:37:02 -0700 (PDT) Received: from mailhost1.dircon.co.uk (mailhost1.dircon.co.uk [194.112.32.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5384C43F75 for ; Sun, 27 Jul 2003 07:37:01 -0700 (PDT) (envelope-from mark@exonetric.com) Received: from exonetric.com (unknown [195.157.223.200]) by mailhost1.dircon.co.uk (Postfix) with ESMTP id 89A21246662; Sun, 27 Jul 2003 15:36:58 +0100 (BST) Date: Sun, 27 Jul 2003 15:37:01 +0100 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Gary Jennejohn From: Mark Blackman In-Reply-To: <200307262102.h6QL2nPD012268@peedub.jennejohn.org> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) 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: Sun, 27 Jul 2003 14:37:02 -0000 On Saturday, July 26, 2003, at 10:02 PM, Gary Jennejohn wrote: > > 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 > > Perhaps it's a USB bug. There seems to be some correspondence between the use of the USB Speedtouch ADSL modem and the out-of-control devbuf allocations. Mark Blackman Exonetric Consulting