I accidentally executed ‘rmmod usb_storage’. now, whenever I insert a flash disk to my laptop it does not detect that i inserted an external disk.
i tried doing ‘modprobe -v usb_storage’ still the same. when i looked at dmesg output there’s a line saying deregistering usb interface something like that.
how will i fix this? help.
A simple reboot should do the trick.
I rebooted my system many times already still the same.
its been 1 week now i planning to reformat if i cannot find a solution.
Check if the module still exists (can’t see why it wouldn’t) with
modprobe -l |grep usb-storage
I get (for reference)
linux:/home/dean # modprobe -l |grep usb-storage
/lib/modules/2.6.25.20-0.1-pae/kernel/drivers/usb/storage/usb-storage.ko
For diagnostic purposes, plug in the usb device and then do
dmesg |tail
This might yield clues…
ok. i’ll try that once i got home. im still at my friend’s house.

here it is,
$modprobe -l | grep usb-storage
/lib/modules/2.6.27.7-9-pae/kernel/drivers/usb/storage/usb-storage.ko
$dmesg | tail
Initializing USB Mass Storage driver...
scsi12 : SCSI emulation for USB Mass Storage devices
scsi13 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: deregistering interface driver usb-storage
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning