[lkml]   [2003]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: USB CF reader reboots PC
On Wed, Jan 08, 2003 at 10:16:45AM -0800, Greg KH wrote:

> > Insert CF card.
> > ls /dev shows sda and sda1
> > mount it.
> > ls /dev shows sda - no sda1
> > cd to mounted CF card
> > process hangs, sd-mod & usb-storage "busy"
> > rmmod -f usb-storage or sd-mod causes PC to stop
> > (keyboard & mouse unresponsive, wmfire frozen, net disconnects)

> So if devfs is enabled, everything works just fine?

No. I have seen this kind of thing, and muttered a little bit
on earlier occasions.
The problem is that USB storage invents a GUID, that usually
is composed of vendor and product ID of the reader, possibly
also a serial number, but does not involve the card.
When the card goes away, the partitions stay, and the device
is treated as "not present".
When a new card is inserted confusion arises.

We see that when a device goes from "not present" to "present"
it may be necessary to throw out all data we have on it.
Thus, maybe it was pointless to keep this data when it went away.

This is somewhat related to the IDs discussion of a few days ago.
People invent IDs, but nobody knows of what precisely.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.069 / U:4.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site