[Bug 833] New: modprobe usb-storage fails due to kernel thread doing funny stuff...
bugzilla at busybox.net
bugzilla at busybox.net
Wed Dec 30 09:13:37 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=833
Summary: modprobe usb-storage fails due to kernel thread doing
funny stuff...
Product: Busybox
Version: 1.15.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at busybox.net
ReportedBy: busybox at misc.lka.org.lu
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
modprobe usb-storage fails with a "Module already exists" error with 2.6.32.
The following seems to happen:
usb-storage depends on usb-libusual, so modprobe schedules first an insmod
usb-libusual, and then usb-storage.
However, the kernel does funny stuff in usb-libusual's init, and spawns a
thread to do "modprobe -q -- usb-storage". Usually, this thread wins the race,
and usb-storage will already be present before the outer modprobe gets around
to inserting it. With the result that it gets an error, because the module
already exists.
It's more than a cosmetic problem, because this makes modprobing anything that
depends on usb-storage impossible (such as ums-cypress)
The attached patch fixes the issue by ignoring EEXIST in do_modprobe
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list