通过USB连接三星Galaxy S2后出现很多“输入/输出错误”


9

我正在尝试将我的Samsung Galaxy S2(GT-9100,Android 2.3.4,I9100XXKI1)与我的Linux机器(Ubuntu 11.10 oneiric)连接。

我正在使用USB存储模式(设置➔无线和网络➔USB实用程序)。

识别设备/dev并创建两个设备节点。

在系统日志中,我看到以下输出:

sd 9:0:0:1: [sdh] 62325760 512-byte logical blocks: (31.9 GB/29.7 GiB)
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:1: [sdh] Media Changed
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Unit Attention [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Power on, reset, or bus device reset occurred
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 04 c8 00 00 08 00
end_request: I/O error, dev sdh, sector 1224
quiet_error: 98 callbacks suppressed
Buffer I/O error on device sdh, logical block 153
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:1: [sdh] Media Changed
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Unit Attention [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Power on, reset, or bus device reset occurred
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 04 90 00 00 48 00
end_request: I/O error, dev sdh, sector 1168
Buffer I/O error on device sdh, logical block 146
Buffer I/O error on device sdh, logical block 147
Buffer I/O error on device sdh, logical block 148
Buffer I/O error on device sdh, logical block 149
Buffer I/O error on device sdh, logical block 150
Buffer I/O error on device sdh, logical block 151
Buffer I/O error on device sdh, logical block 152
Buffer I/O error on device sdh, logical block 153
Buffer I/O error on device sdh, logical block 154
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:1: [sdh] Media Changed
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Unit Attention [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Power on, reset, or bus device reset occurred
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 04 90 00 00 48 00
end_request: I/O error, dev sdh, sector 1168
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:1: [sdh] Media Changed
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Unit Attention [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Power on, reset, or bus device reset occurred
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 04 90 00 00 48 00
end_request: I/O error, dev sdh, sector 1168
sd 9:0:0:0: [sdg] 24133632 512-byte logical blocks: (12.3 GB/11.5 GiB)
 sdg:
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:0: [sdg] Media Changed
sd 9:0:0:0: [sdg]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:0: [sdg]  Sense Key : Unit Attention [current] 
sd 9:0:0:0: [sdg]  Add. Sense: Power on, reset, or bus device reset occurred
sd 9:0:0:0: [sdg] CDB: Read(10): 28 00 00 00 00 20 00 00 10 00
end_request: I/O error, dev sdg, sector 32
 sdg:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:1: [sdh] Media Changed
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Unit Attention [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Power on, reset, or bus device reset occurred
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 04 90 00 00 48 00
end_request: I/O error, dev sdh, sector 1168
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:1: [sdh] Media Changed
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Unit Attention [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Power on, reset, or bus device reset occurred
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 04 90 00 00 48 00
end_request: I/O error, dev sdh, sector 1168
 sdg:
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:1: [sdh] Media Changed
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Unit Attention [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Power on, reset, or bus device reset occurred
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 04 90 00 00 48 00
end_request: I/O error, dev sdh, sector 1168
 sdg:
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:0: [sdg] Media Changed
sd 9:0:0:0: [sdg]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:0: [sdg]  Sense Key : Unit Attention [current] 
sd 9:0:0:0: [sdg]  Add. Sense: Power on, reset, or bus device reset occurred
sd 9:0:0:0: [sdg] CDB: Read(10): 28 00 00 00 00 20 00 00 48 00
end_request: I/O error, dev sdg, sector 32
 sdg:
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:1: [sdh] Media Changed
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Unit Attention [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Power on, reset, or bus device reset occurred
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 04 90 00 00 48 00
end_request: I/O error, dev sdh, sector 1168
quiet_error: 56 callbacks suppressed
Buffer I/O error on device sdh, logical block 146
Buffer I/O error on device sdh, logical block 147
Buffer I/O error on device sdh, logical block 148
Buffer I/O error on device sdh, logical block 149
Buffer I/O error on device sdh, logical block 150
Buffer I/O error on device sdh, logical block 151
Buffer I/O error on device sdh, logical block 152
Buffer I/O error on device sdh, logical block 153
Buffer I/O error on device sdh, logical block 154
sd 9:0:0:0: [sdg] Device not ready
sd 9:0:0:0: [sdg]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:0: [sdg]  Sense Key : Not Ready [current] 
sd 9:0:0:0: [sdg]  Add. Sense: Medium not present
sd 9:0:0:0: [sdg] CDB: Read(10): 28 00 00 00 01 a8 00 00 08 00
end_request: I/O error, dev sdg, sector 424
Buffer I/O error on device sdg, logical block 53
sd 9:0:0:0: [sdg] Device not ready
sd 9:0:0:0: [sdg]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:0: [sdg]  Sense Key : Not Ready [current] 
sd 9:0:0:0: [sdg]  Add. Sense: Medium not present
sd 9:0:0:0: [sdg] CDB: Read(10): 28 00 00 00 02 00 00 00 08 00
end_request: I/O error, dev sdg, sector 512
sd 9:0:0:0: [sdg] Device not ready
sd 9:0:0:0: [sdg]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:0: [sdg]  Sense Key : Not Ready [current] 
sd 9:0:0:0: [sdg]  Add. Sense: Medium not present
sd 9:0:0:0: [sdg] CDB: Read(10): 28 00 00 00 00 20 00 00 08 00
end_request: I/O error, dev sdg, sector 32
sd 9:0:0:0: [sdg] Device not ready
sd 9:0:0:0: [sdg]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:0: [sdg]  Sense Key : Not Ready [current] 
sd 9:0:0:0: [sdg]  Add. Sense: Medium not present
sd 9:0:0:0: [sdg] CDB: Read(10): 28 00 00 00 10 00 00 00 08 00
end_request: I/O error, dev sdg, sector 4096
sdg: detected capacity change from 12356419584 to 0
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:1: [sdh] Media Changed
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Unit Attention [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Power on, reset, or bus device reset occurred
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 04 90 00 00 48 00
end_request: I/O error, dev sdh, sector 1168
 sdh:
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
usb 1-1.5: reset high speed USB device number 10 using ehci_hcd
sd 9:0:0:1: [sdh] Device not ready
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Not Ready [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Medium not present
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 04 90 00 00 48 00
end_request: I/O error, dev sdh, sector 1168
sd 9:0:0:1: [sdh] Device not ready
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Not Ready [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Medium not present
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 04 90 00 00 08 00
end_request: I/O error, dev sdh, sector 1168
sd 9:0:0:1: [sdh] Device not ready
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Not Ready [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Medium not present
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 00 18 00 00 08 00
end_request: I/O error, dev sdh, sector 24
sd 9:0:0:1: [sdh] Device not ready
sd 9:0:0:1: [sdh]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 9:0:0:1: [sdh]  Sense Key : Not Ready [current] 
sd 9:0:0:1: [sdh]  Add. Sense: Medium not present
sd 9:0:0:1: [sdh] CDB: Read(10): 28 20 00 00 00 18 00 00 08 00
end_request: I/O error, dev sdh, sector 24

当我尝试列出根文件夹时,我得到:

ls: cannot access /media/3CB1-07D3/Samsung: Input/output error
ls: cannot access /media/3CB1-07D3/LOST.DIR: Input/output error
ls: cannot access /media/3CB1-07D3/external_sd: Input/output error
ls: cannot access /media/3CB1-07D3/usbStorage: Input/output error
...

我试图使用PhoneUtil重置USB连接模式,但这没有帮助。我尝试手动安装手机,结果相同。

然后,我尝试启用USB调试。在这种情况下,syslog说:

usb 1-1.5: new high speed USB device number 11 using ehci_hcd
scsi10 : usb-storage 1-1.5:1.0
Jan 11 10:24:23 host mtp-probe: checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5"
Jan 11 10:24:23 host mtp-probe: bus: 1, device: 11 was not an MTP device
cdc_acm 1-1.5:1.1: This device cannot do calls on its own. It is not a modem.
cdc_acm 1-1.5:1.1: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Jan 11 10:24:24 host modem-manager[1288]: <info>  (ttyACM0) opening serial port...
scsi 10:0:0:0: Direct-Access     Android    UMS Composite    00 PQ: 0 ANSI: 2
scsi 10:0:0:1: Direct-Access     Android    UMS Composite    00 PQ: 0 ANSI: 2
sd 10:0:0:0: Attached scsi generic sg7 type 0
sd 10:0:0:1: Attached scsi generic sg8 type 0
sd 10:0:0:0: [sdg] Attached SCSI removable disk
sd 10:0:0:1: [sdh] Attached SCSI removable disk

尝试挂载时/dev/sdg,我得到mount: no medium found on /dev/sdh

我模糊地记得曾经使用USB存储模式工作过。同时,我安装了固件更新。知道下一步我可以尝试什么吗?

不相关的问题:

Answers:


1

您的Ubuntu已经过时了。12.03 12.10。13.04。13.10 14.04都是Ubuntu的较新版本,请尽可能使用14.04或更高版本

由于我的S2 SD卡几乎没有13个问题


1
我没有手机了,但是我记得从13.xx开始,USB连接在大多数时间都有效。当然,现在我有一个S4和新问题(支持MTP ;-)
Aaron Digulla 2014年

@AaronDigulla在设置存储中启用ums(我认为是通用海量存储)。启用此功能后,它可以完美运行(但我不知道为什么我在Android上选择了连接USB存储的选项),但是当USB调试打开时(我反向系绳),我得到了一个mtp错误,我必须找到它埋在Windows下,然后关闭它以访问PC上的电话存储
2014年

@AaronDigulla HAHHAAHA哈哈,我刚刚看到这是2岁!
user42276 2014年

我需要为UMS植根设备。我还没那么绝望:-)
亚伦·迪古拉

@AaronDigulla它值得扎根
user42276 2014年

0

我几乎不记得由故障SD卡引起的类似症状,但这不能解释两个虚拟设备的问题。您是否在计算机侧尝试了其他电缆和USB端口?只是为了确保问题不是由不良的电缆连接引起的...


2
UUPS,应该检查这些问题迄今第一... :-D

0

希望您在S2 USB选项中启用USB传输模式。这样对我来说很好。更多设置> USB实用程序>大容量存储。


如果是由于mtp错误消息而导致您无法进行USB调试,则您无法单击打开的电话目录
user42276 2014年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.