[ILUG] USB mass storage woes

Bryan O'Donoghue bryano at europlex.ie
Thu Aug 12 11:23:09 IST 2004


Having just encountered this error with four seperate USB devices on a SuSE 
workstation.

USB Mass Storage device found at 12
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
  sda: I/O error: dev 08:00, sector 0
  I/O error: dev 08:00, sector 0
  I/O error: dev 08:00, sector 2097144
  I/O error: dev 08:00, sector 2097144
  I/O error: dev 08:00, sector 0
  I/O error: dev 08:00, sector 0
  unable to read partition table

The fix is.

usb.c: deregistering driver usb-storage
scsi : 2 hosts left.
scsi : 1 host left.
scsi : 0 hosts left.
st: Unloaded.
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
   Vendor: Generic   Model: USB Disk Flash    Rev: 2.00
   Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 12
USB Mass Storage support registered.
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 255488 512-byte hdwr sectors (131 MB)
sda: Write Protect is off
  sda: sda1 sda2



rmmod usb_storage
rmmod sd_mod, sr_mod sg etc.

Modprobe for these again, error goes away.

It is not as I suspected earlier broken hardware but, rather it looks like some 
sort of dodginess in Linux somewhere.

Probably using a 2.6 gets rid of this error, maybe not, so Marek and others, at 
least for me, I managed to get rid of the same sort of error with a simple 
rmmod & modprobe again, so it's probably a driver bug, rather then borked hardware.



Oh and apologies to the sig police.

-- 
Bryan O'Donoghue
Embedded Software Engineer

Europlex Technologies Ltd
Clonshaugh Business & Technology Park
Dublin 17
Ireland

T:+353 (0) 1 2500500
F:+353 (0) 1 2500590
E:bryano at europlex.ie
W:www.europlex.ie


This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.  Imetrex Technologies Ltd shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Imetrex Technologies Ltd does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. This communication does not create or modify any contract, and unless otherwise stated, is not intended to be contractually binding.  Views or opinions expressed in this e-mail message are those of the author only.



More information about the ILUG mailing list