I got an USB stick with write protection switch, writing to it did not work at all. I was told "if the blue LED goes on during plugin, no trouble. But if it remains off, writing gives io errors". Even reading did not work, like md5sum /mnt/$file gave io errors.
The odd thing, after a few tries I plugged it into an just powered on G5 and the light was on! After that, the stick worked ok on all my test boxes. Since there was no MacOS running at this point, I guess something happend inside the stick. Another guy told me, his stick also works only in 90% of the times. Are there any magic bits in an usb-storage device that need tweaking to deal with the write protection? Maybe the working and non-working state can be compared somehow? I know there is a new config option CONFIG_USB_STORAGE_RW_DETECT since a while, we have it enabled. usb 4-1.2: new full speed USB device using address 5 usb 4-1.2: Product: Pen Drive 2.0 usb 4-1.2: Manufacturer: usb 4-1.2: SerialNumber: 574718015963 Initializing USB Mass Storage driver... scsi4 : SCSI emulation for USB Mass Storage devices Vendor: Model: Pen Drive 2.0 Rev: 1.01 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdb: 507904 512-byte hdwr sectors (260 MB) sdb: assuming Write Enabled sdb: assuming drive cache: write through sdb: sdb1 Attached scsi removable disk sdb at scsi4, channel 0, id 0, lun 0 USB Mass Storage device found at 5 usbcore: registered new driver usb-storage USB Mass Storage support registered. Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Attached scsi generic sg1 at scsi4, channel 0, id 0, lun 0, type 0 st: Version 20040318, fixed bufsize 32768, s/g segs 256 Buffer I/O error on device sdb1, logical block 582398 Buffer I/O error on device sdb1, logical block 582399 ... ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
