I have a Debian (actually Libranet 2.8.1 originally - but lots of upgrades) desktop. When I plug my USB pen drive in and try to mount it, it says "sda1 not a valid block device" If I run "dmesg" it gives device information, but says this at the end:
Quote:
sda: Unit Not Ready, sense:
Current : sense key Unit Attention
Additional sense: Not ready to ready change, medium may have changed
|
However, if I wait for a long time (approximately a few minutes) then "dmesg" says this at the end:
Quote:
sda: Unit Not Ready, sense:
Current : sense key Unit Attention
Additional sense: Not ready to ready change, medium may have changed
SCSI device sda: 1023488 512-byte hdwr sectors (524 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
/dev/scsi/host4/bus0/target0/lun0: p1
Attached scsi removable disk sda at scsi4, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi4, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 5
|
and now the device can be mounted and used as normal. Does anyone know why it is taking so long for the device to become ready? If I use the same drive on other Windows machines or Linux boxes, it is recognized and mounted right away.
I'm using kernel 2.6.7 with hotplug, and I have this fstab entry for the device:
Quote:
|
/dev/sda1 /mnt/sda1 vfat rw,exec,user,noauto,umask=000 0 0
|