[Jaunty] SRU: Disable libusual and ub

Stefan Bader stefan.bader at canonical.com
Wed Apr 22 19:42:42 UTC 2009


SRU justification:

Impact (from Scott):
The ub driver is an old attempt for a slow USB Block Device driver,
it hasn't been maintained in quite a while and we don't have an easy
way to enable it.

libusual is a strange mechanism for the kernel to auto-select between
usb-storage and ub.  It works by stealing the aliases from them both
and modprobe'ing (from the kernel) the other module when a device is
connected.

The trouble is that because it's built into the kernel, on machines with
particularly fast init, it could be trying to call it before the initramfs
has even been switched to - or before the initramfs has called "depmod".
In either case, since there's no modules.alias/modules.dep files, the
modprobe call with fail and the USB storage device will not be enabled.

Plugging a second USB storage device in will magically cure the problem.

Fix: Attched patch to disable those modules. This bumps ABI as the libusual 
functions go missing. All IDs automagically go over to usb-storage.

Testcase: Booting from usb storage with a quick host.

-- 

When all other means of communication fail, try words!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-UBUNTU-Config-Disable-libusual-and-the-ub-driver.patch
Type: text/x-diff
Size: 4405 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20090422/1209b7b0/attachment.patch>


More information about the kernel-team mailing list