Re: usb-storage: how to ruin your hardware(?)

From: Bas Mevissen
Date: Wed Aug 27 2003 - 11:16:03 EST


H.Rosmanith (Kernel Mailing List) wrote:

okidok.... I got an new flashdisk from the vendor, but managed to ruin
it again. anyway, I also managed to repair it again. the vendor ships
a seperate formating-tool, which will repair the device, even when you
get "SCSI sense key errors".


Q for the specialists: What SCSI access can still work then? I'm wondering if you can still write something to it. My first guess about that vender tool was that it just writes a valid partition table to the disk. The only problem is that you need to deduce the actual size of the flashdisk. But that can be retrieved from some USB identification string.

But it's more likely that it just uses some propriety interface to reset the device.

however, I still don't understand what's going on and *why* it is not
allowed to format the drive "at will". I'd also would like to know how
this vendor supplied formating-tool works. Possibly some vendor-specific
usb-commands to ... do what? hm. I can only guess.


You can use USB Snoopy <http://www.wingmanteam.com/usbsnoopy/> to find out what that vendor tool (for Windows, I presume) does.

Bas.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/