Bug 18476 - usb flash and usb hdd: spurious disconnects
Summary: usb flash and usb hdd: spurious disconnects
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: kernel-image-std-def (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Vitaly Chikunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-10 15:29 MSK by Michael Shigorin
Modified: 2010-07-02 18:28 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2009-01-10 15:29:58 MSK
there's some USBstorage related instability observed with 2.6.25-std-def and later kernels; looks like the device attached gets scanned, accepted, then dropped (the process then runs in circles).

dmesg from 2.6.28-lks-wks-alt0.9 which behaves similarly (as well as 26-wks and some std-ng kernel I tried too):

[87684.101602] usb-storage: device found at 3
[87684.101604] usb-storage: waiting for device to settle before scanning
[87689.101823] usb-storage: device scan complete
[87689.102421] scsi 75:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  4.04 PQ: 0 ANSI: 2
[87689.102777] scsi 75:0:0:1: CD-ROM            SanDisk  U3 Cruzer Micro  4.04 PQ: 0 ANSI: 2
[87689.105029] sd 75:0:0:0: [sdb] 3999377 512-byte hardware sectors: (2.04 GB/1.90 GiB)
[87689.105891] sd 75:0:0:0: [sdb] Write Protect is off
[87689.105895] sd 75:0:0:0: [sdb] Mode Sense: 03 00 00 00
[87689.105898] sd 75:0:0:0: [sdb] Assuming drive cache: write through
[87689.108027] sd 75:0:0:0: [sdb] 3999377 512-byte hardware sectors: (2.04 GB/1.90 GiB)
[87689.108508] sd 75:0:0:0: [sdb] Write Protect is off
[87689.108511] sd 75:0:0:0: [sdb] Mode Sense: 03 00 00 00
[87689.108514] sd 75:0:0:0: [sdb] Assuming drive cache: write through
[87689.108519]  sdb: sdb1
[87689.109920] sd 75:0:0:0: [sdb] Attached SCSI removable disk
[87689.110102] sd 75:0:0:0: Attached scsi generic sg2 type 0
[87689.114260] sr1: scsi3-mmc drive: 8x/40x writer xa/form2 cdda tray
[87689.114403] sr 75:0:0:1: Attached scsi CD-ROM sr1
[87689.114496] sr 75:0:0:1: Attached scsi generic sg3 type 5
[87804.097230] usb 1-4: USB disconnect, address 3
[87804.097303] sd 75:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
[87804.097309] end_request: I/O error, dev sdb, sector 1135392
[87804.097313] __ratelimit: 529479 callbacks suppressed
[87804.097317] Buffer I/O error on device sdb, logical block 1135392
[87804.097320] lost page write due to I/O error on sdb
[87804.097324] Buffer I/O error on device sdb, logical block 1135393
[87804.097326] lost page write due to I/O error on sdb
[87804.097330] Buffer I/O error on device sdb, logical block 1135394
[87804.097332] lost page write due to I/O error on sdb
[87804.097336] Buffer I/O error on device sdb, logical block 1135395
[87804.097338] lost page write due to I/O error on sdb
[87804.097342] Buffer I/O error on device sdb, logical block 1135396
[87804.097344] lost page write due to I/O error on sdb
[87804.097348] Buffer I/O error on device sdb, logical block 1135397
[87804.097350] lost page write due to I/O error on sdb
[87804.097354] Buffer I/O error on device sdb, logical block 1135398
[87804.097356] lost page write due to I/O error on sdb
[87804.097360] Buffer I/O error on device sdb, logical block 1135399
[87804.097362] lost page write due to I/O error on sdb
[87804.097367] Buffer I/O error on device sdb, logical block 1135400
[87804.097370] lost page write due to I/O error on sdb
[87804.097373] Buffer I/O error on device sdb, logical block 1135401
[87804.097376] lost page write due to I/O error on sdb
[87804.097565] sd 75:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
[87804.097569] end_request: I/O error, dev sdb, sector 1135520
[87804.097760] sd 75:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
[87804.097765] end_request: I/O error, dev sdb, sector 1135648
[87804.097954] sd 75:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
[87804.097958] end_request: I/O error, dev sdb, sector 1135776
[87804.101128] sd 75:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[87804.101135] end_request: I/O error, dev sdb, sector 1135904
[87804.116828] sd 75:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[87804.116837] end_request: I/O error, dev sdb, sector 1136032
[87806.827042] usb 1-4: new high speed USB device using ehci_hcd and address 4
[87808.006013] ehci_hcd 0000:00:1d.7: port 4 reset error -110
[87808.006856] hub 1-0:1.0: hub_port_status failed (err = -32)
[87808.207059] hub 1-0:1.0: unable to enumerate USB device on port 4
[87811.551843] __ratelimit: 576726 callbacks suppressed

(it was an attempt to dd back an usbflash image successfully dd'ed off it on the same Thinkpad T41p yesterday)
Comment 1 Michail Yakushin 2010-07-02 18:28:05 MSD
скорее всего проблема давно исправлена.