[Jaunty] SRU: Disable libusual and ub

Tim Gardner tim.gardner at canonical.com
Wed Apr 22 20:45:50 BST 2009


Stefan Bader wrote:
> 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.
> 

ACK - already done for Karmic.

-- 
Tim Gardner tim.gardner at canonical.com



More information about the kernel-team mailing list