Comment 5 for bug 372232

Revision history for this message
GaryW (gnubyexample) wrote :

Comparing the output of lsmod when running Kern2.6.27-11 versus Kern2.6.28-11 shows that
the module usb_storage is not being loaded when the system runs the newer Kernel 2.6.28-11

$wc -l *lsmod*sorted*ern*.txt
 124 ad2kz1gKern2627-11lsmodOutput__20090505sortedOlderKernel.txt
  70 ad2kz1gKern2628-11lsmodOutput__20090505sortedNewerKernel.txt
 194 total
$ diff ad2kz1gKern2627-11lsmodOutput__20090505sortedOlderKernel.txt ad2kz1gKern2628-11lsmodOutput__20090505sortedNewerKernel.txt | grep usb | sed 's/</Older2627<<</' | sed 's/>/Newer2628>>>/'
Older2627<<< libusual 30356 1 usb_storage
Older2627<<< scsi_mod 155212 7 st,sbp2,sg,sr_mod,sd_mod,usb_storage,libata
Older2627<<< usbcore 149488 7 usblp,usb_storage,libusual,ehci_hcd,ohci_hcd
Older2627<<< usblp 20480 1
Older2627<<< usb_storage 82624 2
Newer2628>>> usblp 20224 1

What I cannot answer at this time is why usb_storage is not being loaded when running the newer kernel.

When running Kern2.6.27-11 there is mention of a module named libusual which some reading (link below) suggested might have now been removed from Ubuntu Kernels of Jaunty and forthcoming Karmic.
   http://www.linux-archive.org/ubuntu-kernel-team/287813-sru-disable-libusual-ub.html
but I am still puzzled as the narrative seemed to suggest to me that not having libusual would just mean usb_storage itself picks everything up directly. My expectation would then be that lsmod when running the newer Kernel should
include usb_storage and related modules (but exclude libusual).

This is not the so in my case.

$ grep -H 'usb' *lsmod*sorted*ern*.txt
ad2kz1gKern2627-11lsmodOutput__20090505sortedOlderKernel.txt:libusual 30356 1 usb_storage
ad2kz1gKern2627-11lsmodOutput__20090505sortedOlderKernel.txt:scsi_mod 155212 7 st,sbp2,sg,sr_mod,sd_mod,usb_storage,libata
ad2kz1gKern2627-11lsmodOutput__20090505sortedOlderKernel.txt:usbcore 149488 7 usblp,usb_storage,libusual,ehci_hcd,ohci_hcd
ad2kz1gKern2627-11lsmodOutput__20090505sortedOlderKernel.txt:usblp 20480 1
ad2kz1gKern2627-11lsmodOutput__20090505sortedOlderKernel.txt:usb_storage 82624 2
ad2kz1gKern2628-11lsmodOutput__20090505sortedNewerKernel.txt:usblp 20224 1