From: Chris Wright <chrisw@osdl.org>
To: Andrew Morton <akpm@osdl.org>
Cc: John Levin <levin@gamebox.net>,
linux-kernel@vger.kernel.org, pavel@ucw.cz
Subject: Re: 2.6.2-rc3 messages BUG
Date: Fri, 20 Feb 2004 17:58:41 -0800 [thread overview]
Message-ID: <20040220175841.G22989@build.pdx.osdl.net> (raw)
In-Reply-To: <20040220174616.30d73718.akpm@osdl.org>; from akpm@osdl.org on Fri, Feb 20, 2004 at 05:46:16PM -0800
* Andrew Morton (akpm@osdl.org) wrote:
> > [root@mdk9 root]# lsmod
> > Module Size Used by
> > uhci_hcd 31752 0
> > cdc_acm 10784 3
> > usbcore 111828 4 uhci_hcd,cdc_acm
> > [root@mdk9 root]# rmmod uhci_hcd
> > [root@mdk9 root]# insmod
> > /lib/modules/2.6.3-rc2/kernel/drivers/usb/host/uhci-hcd.ko
>
> You missed out an important piece of info. The kernel should have printed
> out "kmem_cache_create: duplicate cache <name>" before going BUG.
>
> What was "<name>"? uhci_urb_priv?
>
> I suggest you go into drivers/usb/host/uhci-hcd.c:uhci_hcd_cleanup() and
> replace
>
> warn("not all urb_priv's were freed!");
>
> with
>
> BUG();
>
> because failure to destroy that slab cache is fatal, and it points at a bug
> in this driver.
True, I mentioned this to Greg earlier. But in this case that BUG() is
only going to show the rmmod attempt, right? Problem is that rmmod
works when the driver is in use, and this only happens after
suspend/resume.
thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
prev parent reply other threads:[~2004-02-21 1:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-21 2:23 John Levin
2004-02-20 21:01 ` Pavel Machek
2004-02-21 1:46 ` Andrew Morton
2004-02-21 1:58 ` Chris Wright [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040220175841.G22989@build.pdx.osdl.net \
--to=chrisw@osdl.org \
--cc=akpm@osdl.org \
--cc=levin@gamebox.net \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®