Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2003 01:11:55 +0200 (CEST)
From:      Lukas Ertl <l.ertl@univie.ac.at>
To:        John-Mark Gurney <gurney_j@efn.org>
Cc:        Mark Blackman <mark@exonetric.com>
Subject:   Re: device driver memory leak in 5.1-20030726?
Message-ID:  <20030728010746.I587@korben.in.tern>
In-Reply-To: <20030727191758.GN10708@funkthat.com>
References:  <C882BF18-C03F-11D7-A23D-00039315D3FE@exonetric.com> <20030727163914.S698@korben.in.tern> <20030727191758.GN10708@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Jul 2003, John-Mark Gurney wrote:

> Lukas Ertl wrote this message on Sun, Jul 27, 2003 at 16:43 +0200:
> >
> > I'm too seeing these annoying kmem_malloc panics on recent -current
> > kernels. The laptop I'm using is way off of being overloaded at all, the
> > only thing I do is going online using a Bluetooth USB dongle. As soon as I
> > generate some network traffic, devbuf allocations go up, until at some
> > point the machine panics randomly in kmem_malloc.
>
> I must note that the USB changes only allocates memory in the M_USB
> area which is described by:
> usb.c:MALLOC_DEFINE(M_USB, "USB", "USB");
>
> So, that means it wouldn't be in the devbuf area.  (This is the one of
> the points of malloc areas is to help track down stray allocations and
> memory leaks).

Then I have no explanation.  I'm running the box with a WiFi card,
generating lots of network traffic, and the box is running fine, no
panics, and low devbuf allocation.  I'm running the box with the USB
Bluetooth dongle, generating much less traffic (it's just a 9.6kbit GSM
link), and the box panics within half an hour in kmem_malloc, with devbuf
allocation up to 74MB.  It must be either in the Bluetooth code or in the
USB code.

regards,
le

-- 
Lukas Ertl                             eMail: l.ertl@univie.ac.at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna                   http://mailbox.univie.ac.at/~le/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030728010746.I587>