Bug 6672
Summary: | __device_release_driver oops | ||
---|---|---|---|
Product: | Drivers | Reporter: | xeb |
Component: | USB | Assignee: | David Brownell (dbrownell) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | greg, stern |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.16 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 5089 |
Description
xeb
2006-06-10 08:12:18 UTC
*** Bug 6673 has been marked as a duplicate of this bug. *** *** Bug 6674 has been marked as a duplicate of this bug. *** Can you reproduce this with an untainted kernel? Thanks, Nish P.S. Please don't submit the same bug three times. Maybe this is fix: *** dummy_hcd.c.bak 2006-06-10 21:33:18.000000000 +0400 --- dummy_hcd.c 2006-06-10 21:13:05.000000000 +0400 *************** usb_gadget_register_driver (struct usb_g *** 823,828 **** --- 823,829 ---- } driver->driver.bus = dum->gadget.dev.parent->bus; + dum->gadget.dev.bus = dum->gadget.dev.parent->bus; driver_register (&driver->driver); device_bind_driver (&dum->gadget.dev); This patch can't possibly be correct, in the general case, but it's barely possible that it's right for dummy-hcd ... which Alan is now handling. This is a known bug in 2.6.16. It has been fixed in 2.6.17. If you're interested, the patch that fixed the problem is here: http://marc.theaimsgroup.com/?l=linux-usb-devel&m=114382399230085&w=2 This has been fixed for some time now, as I understand things ... so unless this gets updated with "still broken in 2.6.18-rc6" (or later) I'll mark it as closed/fixed the week of 18-sept-2006. |