On Fri, 3 Oct 2003, Matthias Urlichs wrote:

> I get that too, with my USB keychain. It seems that removing it
> doesn't unregister the SD driver for some reason.

Matthias:

I tried doing much the same thing just now using 2.6.0-test5-bk10 (with a
real disk drive, not a keychain, but that shouldn't matter).  It worked as
it should, reusing the sda device number.

The ext3 messages in your log suggest that you are mounting a filesystem
on the keychain.  Did you remember to unmount it before unplugging the
keychain?  If you don't, the filesystem code will continue to hold a
reference to the sda device, preventing it from being unregistered.  So
when you plug the keychain back in the system has no choice but to give it
a new device number, sdb.

Assuming you did unmount it first, could you try doing this again, but
with USB debugging and usb-storage debugging both configured on?  Also, be
sure to capture the debugging messages -- either configure your syslog
daemon or use dmesg.

Alan Stern



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to