Skip to contentSkip to conversation

usb-storage unplanned unplugging. (2.6.5)

DISCUSSION Ian Stirling 2 participants 2 messages May 2, 2004 – May 3, 2004

lore
Share & tools
lore
#0 lore raw

What should happen when I unplug a USB-storage device with mounted filesystems that are in use?

At the moment, it simply kills the USB port that it's on, it won't recognise anything plugged into it later.
Sort-of understandably, the scsi-module won't now unload, nor will the usb-storage or USB ones.

Obviously, this isn't intentional, but my MP3 player has a very badly designed connector.

#1 lore raw
Quoted 2 lines · Ian Stirling

What should happen when I unplug a USB-storage device with mounted filesystems that are in use?

Not good things :)

But all should be well once you unmount those mounted filesystems. Did you try that?

Quoted 3 lines

At the moment, it simply kills the USB port that it's on, it won't recognise anything plugged into it later. Sort-of understandably, the scsi-module won't now unload, nor will the usb-storage or USB ones.

That's not good at all. Can you try 2.6.6-rc3 and see if it does the same thing? If so, can you send us the kernel debug messages that happen when you yank out the device, and then unmount the filesystems?

thanks,

greg k-h