Bug 165475 - Problem removing a USB device
Problem removing a USB device
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Pete Zaitcev
Brian Brock
:
Depends On:
Blocks: 168424
  Show dependency treegraph
 
Reported: 2005-08-09 14:05 EDT by Issue Tracker
Modified: 2007-11-30 17:07 EST (History)
3 users (show)

See Also:
Fixed In Version: RHSA-2006-0144
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-03-15 11:22:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Issue Tracker 2005-08-09 14:05:07 EDT
Escalated to Bugzilla from IssueTracker
Comment 91 Pete Zaitcev 2005-08-19 00:11:31 EDT
Peter asked me to look at this ASAP, so I was in a hurry and misunderstood
what was happening. I take back comparisons with bug 120341. What actually
happened initially seems more similar to bug 129265: an oops while reading
/proc/bus/usb/devices and disconnecting in the same time. The fix attached
there should apply and help with this one. I do not know though.

"Fix" that Neil produced for .wibu was pure pampering over the problem, and
it a small surprise that usb-ohci collapsed. It's a very long and torturous
explanation, but the outcome is that while strictly speaking it's legal,
but in reality struct usb_device must not be freed from OHCI interrupts.
Usually it's no problem, because client drivers hold dev references and
drop them in ->disconnect methods.

Chris left no trace whatsoever regarding what he fixed in usbutils
and how that was supposed to work. I'm going to ping him and extract
details.

Neil, since you made a kernel for them, would you mind replacing the
NULL check with my fix from bug 129265 and have the customer try it again
(without any userland changes)? Chances are there won't be any freeing
from interrupt then. The .wibu had no serial minor, so it should be
"2.4.21-27.ELwibw" now to be the next release :-)
Comment 98 Ernie Petrides 2005-09-21 20:36:23 EDT
A fix for this problem has just been committed to the RHEL3 U7
patch pool this evening (in kernel version 2.4.21-37.3.EL).
Comment 107 Red Hat Bugzilla 2006-03-15 11:22:50 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0144.html

Note You need to log in before you can comment on or make changes to this bug.