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

From: Martin Schlemmer
Date: Thu Aug 21 2003 - 02:18:07 EST


On Thu, 2003-08-21 at 04:05, H.Rosmanith (Kernel Mailing List) wrote:
> -- Start of PGP signed section.
> > For the vast majority of USB storage devices, it's not possible to kill the
> > device like you did.
> >
> > It looks like the device firmware needs certain data on the first sector to
> > operate. The usb-storage communication is working just fine, but the
> > device is refusing commands.
>
> aha. do you know why the device is refusing commands? it relys on sector0
> to contain some vital information and if this is not there, it refuses
> commands?
>

We sell a make of flashdisk (what we call your 'usb bar') that use
sector 0 with its encryption scheme. Basically as soon as you
'encrypt' or 'password protect' or whatever the device, you cannot
get a valid partition table, and sector 0 is not writable, so
repartitioning fails. I have not tried to just put a fs on the
whole disk, but I assume it will fail as well, as it should start
at sector 0.

Anyhow, the only way to fix this if you lost the password, is to
format the device with the software that comes with the device
(windows based only for ours) - might be the same thing your side,
you just got the device into 'lock down mode' via some fluke.

Hope this might be of some help, else take it back. Our side
at least if not burned or damaged, we would replace it.


Regards,

--
Martin Schlemmer


-
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/