Re: Problem mounting Motorola USB device

From: Pete Zaitcev
Date: Sat Jul 26 2008 - 13:25:28 EST


On Fri, 25 Jul 2008 23:51:22 -0700, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> (cc linux-usb-devel)
>
> On Wed, 16 Jul 2008 10:32:31 -0700 (PDT) "Alan" <alan@xxxxxxxxxxxxxx> wrote:

> > [...] The device gives an odd media error at towards
> > the end of the device. It gave that before, but would still mount.

Weird. Actually, I would rather blame the partitioning code than
the usb-storage as such.

> > [...] I know I probably need a new memory card. I
> > would like to recover this one first.

Want a practical suggestion? Try to stick the card into a common
many-in-one reader, a SanDisk SDDR-somenumber would usually work.
Save the data.

> > sd 6:0:0:0: Attached scsi generic sg2 type 0
> > sd 6:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
> > sd 6:0:0:0: [sdb] Sense Key : Medium Error [current]
> > sd 6:0:0:0: [sdb] Add. Sense: No additional sense information

Well, duh.

BTW Andrew added:

> It's a 2.6.24 -> 2.6.25 regression.

Maybe in FAT... See the sector number (1987576).

BTW, all Fedora kernels have usbmon enabled. May I see the trace?
Best of all, take the one from the working 2.6.24 (if such install
is still available). It would become obvious if usb-storage began to
do something different.

Obligatory notice: I don't think ub would fix this.

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