Re: Problem mounting Motorola USB device

From: Andrew Morton
Date: Sat Jul 26 2008 - 02:51:46 EST


(cc linux-usb-devel)

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

> Initializing USB Mass Storage driver...
> scsi6 : SCSI emulation for USB Mass Storage devices
> I have a Motorola phone that mounts as USB storage. The phone used to
> mount under 2.6.24 on Fedora 8. Under the latest kernels, however, it
> does not want to mount. The device gives an odd media error at towards
> the end of the device. It gave that before, but would still mount.
>
> Does anyone have an idea what is going wrong?
>
> How can I mount the device anyway? (The /dev/sdb does not get created by
> usb-storage in this case.) I know I probably need a new memory card. I
> would like to recover this one first.
>
> Here are the /var/log/messages...
>
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> usb-storage: device found at 3
> usb-storage: waiting for device to settle before scanning
> usb-storage: device scan complete
> scsi 6:0:0:0: Direct-Access Motorola Phone PQ: 0 ANSI: 4
> sd 6:0:0:0: [sdb] 1987584 512-byte hardware sectors (1018 MB)
> sd 6:0:0:0: [sdb] Write Protect is off
> sd 6:0:0:0: [sdb] Mode Sense: 10 00 00 00
> sd 6:0:0:0: [sdb] Assuming drive cache: write through
> sd 6:0:0:0: [sdb] 1987584 512-byte hardware sectors (1018 MB)
> sd 6:0:0:0: [sdb] Write Protect is off
> sd 6:0:0:0: [sdb] Mode Sense: 10 00 00 00
> sd 6:0:0:0: [sdb] Assuming drive cache: write through
> sdb: sdb1
> sd 6:0:0:0: [sdb] Attached SCSI disk
> 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
> end_request: I/O error, dev sdb, sector 1987576

It's a 2.6.24 -> 2.6.25 regression.
--
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/