Re: USB storage: error connecting to phone's storage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/18/2010 05:40 PM, Josua Dietze wrote:
Jeff Garzik schrieb:

Fedora kernel 2.6.32.9 waits for the device to settle, which it never
does:


Oops, forgot to mention that there may be annother (wrongly applied)
switching attempt; this time coming from an udev rule calling
"modem-modeswitch" which sends the said REZERO command from userspace ...

Look for /lib/udev/rules.d/61-option-modem-modeswitch.rules.

Removing 61-option-modem-modeswitch.rules completely yields substantial progress. A large number of SCSI commands are successfully processed, eventually proceeding to a loop:

[non-looping initial bit]
hub 4-0:1.0: over-current change on port 7
usb 3-2: new full speed USB device using uhci_hcd and address 2
usb 3-2: New USB device found, idVendor=04e8, idProduct=6640
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-2: Product: SAMSUNG CDMA Technologies
usb 3-2: Manufacturer: SAMSUNG Electronics Bo.,Ltd.
cdc_acm 3-2:1.0: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
usb 3-2: USB disconnect, address 2
usb 3-2: new full speed USB device using uhci_hcd and address 3
usb 3-2: New USB device found, idVendor=05c6, idProduct=1000
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-2: Product: USB MMC Storage
usb 3-2: Manufacturer: Qualcomm, Incorporated
usb 3-2: SerialNumber: 000000000002
Initializing USB Mass Storage driver...
scsi6 : usb-storage 3-2:1.0
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi 6:0:0:0: Direct-Access     Qualcomm MMC Storrage     2.31 PQ: 0 ANSI: 2
sd 6:0:0:0: Attached scsi generic sg4 type 0
sd 6:0:0:0: [sdd] 3932161 512-byte logical blocks: (2.01 GB/1.87 GiB)
sd 6:0:0:0: [sdd] Write Protect is off
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sdd: sdd1
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sd 6:0:0:0: [sdd] Attached SCSI removable disk

[endless loop bit]
sd 6:0:0:0: [sdd] Media Changed
sd 6:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 6:0:0:0: [sdd] Sense Key : Unit Attention [current]
sd 6:0:0:0: [sdd] Add. Sense: No additional sense information
sd 6:0:0:0: [sdd] CDB: Read(10): 28 00 00 3c 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 3932160
Buffer I/O error on device sdd, logical block 3932160
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sd 6:0:0:0: [sdd] Assuming drive cache: write through
 sdd: sdd1
sd 6:0:0:0: [sdd] Media Changed
sd 6:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 6:0:0:0: [sdd] Sense Key : Unit Attention [current]
sd 6:0:0:0: [sdd] Add. Sense: No additional sense information
sd 6:0:0:0: [sdd] CDB: Read(10): 28 00 00 3c 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 3932160
Buffer I/O error on device sdd, logical block 3932160
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sd 6:0:0:0: [sdd] Assuming drive cache: write through
 sdd: sdd1
sd 6:0:0:0: [sdd] Media Changed
sd 6:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 6:0:0:0: [sdd] Sense Key : Unit Attention [current]
sd 6:0:0:0: [sdd] Add. Sense: No additional sense information
sd 6:0:0:0: [sdd] CDB: Read(10): 28 00 00 3c 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 3932160
Buffer I/O error on device sdd, logical block 3932160
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sd 6:0:0:0: [sdd] Assuming drive cache: write through
 sdd: sdd1
sd 6:0:0:0: [sdd] Media Changed
sd 6:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 6:0:0:0: [sdd] Sense Key : Unit Attention [current]
sd 6:0:0:0: [sdd] Add. Sense: No additional sense information
sd 6:0:0:0: [sdd] CDB: Read(10): 28 00 00 3c 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 3932160
Buffer I/O error on device sdd, logical block 3932160
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sd 6:0:0:0: [sdd] Assuming drive cache: write through
 sdd: sdd1
sd 6:0:0:0: [sdd] Media Changed
sd 6:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 6:0:0:0: [sdd] Sense Key : Unit Attention [current]
sd 6:0:0:0: [sdd] Add. Sense: No additional sense information
sd 6:0:0:0: [sdd] CDB: Read(10): 28 00 00 3c 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 3932160
Buffer I/O error on device sdd, logical block 3932160
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sd 6:0:0:0: [sdd] Assuming drive cache: write through
 sdd: sdd1
sd 6:0:0:0: [sdd] Media Changed
sd 6:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 6:0:0:0: [sdd] Sense Key : Unit Attention [current]
sd 6:0:0:0: [sdd] Add. Sense: No additional sense information
sd 6:0:0:0: [sdd] CDB: Read(10): 28 00 00 3c 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 3932160
Buffer I/O error on device sdd, logical block 3932160
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sd 6:0:0:0: [sdd] Assuming drive cache: write through
 sdd: sdd1


It does successfully attach and work on Windows.

Thanks,

	Jeff



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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux