Re: [Linux-usb-users] Re: Problems accessing USB Mass Storage

Randy.Dunlap (rddunlap@osdl.org)
Tue, 17 Sep 2002 16:09:34 -0700 (PDT)


On 17 Sep 2002, Mark C wrote:

| On Tue, 2002-09-17 at 23:21, Patrick Mansfield wrote:
|
| > You should be able to run the equivalent:
| >
| > dd if=/dev/sda of=/dev/zero bs=512 count=8
|
| I done that and please find the output below:

So most (all?) of these don't work.

Have you tried Rogier's 'seek' program yet?

| sda: test WP failed, assume Write Enabled
| sda: I/O error: dev 08:00, sector 0
| I/O error: dev 08:00, sector 0
| unable to read partition table

If sector 0 isn't readable, just use the secondpart instructions
that Rogier posted. Start with a fairly large number (like he
used, was it 0x10000 ?). If that works, use smaller values of
the seek offset and try to find the smallest value that still
works. The first sector with the smallest value that works
_might_ be a master boot record/partition table with some useful
info in it, or it might just be a boot record followed by a
FAT filesystem, or something_else_who_knows_what.
Anyway, if you can do that, you can post the data and I'll take
a look at it.

-- 
~Randy
"Linux is not a research project. Never was, never will be."
  -- Linus, 2002-09-02

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