public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 602] New: warnings on hcd rmmod:  "dangling refs(N) to bus B" (fwd)
@ 2003-04-18 20:49 Martin J. Bligh
  0 siblings, 0 replies; only message in thread
From: Martin J. Bligh @ 2003-04-18 20:49 UTC (permalink / raw)
  To: linux-kernel

http://bugme.osdl.org/show_bug.cgi?id=602

           Summary: warnings on hcd rmmod:  "dangling refs(N) to bus B"
    Kernel Version: 2.5.66
            Status: NEW
          Severity: low
             Owner: greg@kroah.com
         Submitter: dbrownell@users.sourceforge.net


The bus refcounting mechanism is broken, it often produces  warning messages like that one when modules are removed.    The problem appears to be an extremely long-standing one,  at least in terms of the how-to-reproduce I saw:     - connect a device that won't immediately enumerate,     so that setting its address needs to be retried (or     similar error, like set_configuration failing)     - unplug that device ... at this point the refcount     is wrong, but you can't tell until     - rmmod the relevant HCD.    This particular cause of that message is because the bus  refcount isn't released on error.  The fix isn't as  straightforward as it should be because of funky calling  conventions ("longstanding", likely since 2.4), but it's  not
complicated either.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-18 20:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-18 20:49 [Bug 602] New: warnings on hcd rmmod: "dangling refs(N) to bus B" (fwd) Martin J. Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox