Page 1 of 1

2 USB ports die after logging in

PostPosted: Jul 21st, '12, 20:58
by ys9607
Hi,
I fiddled with this distro for a few hours and finally settled on a KDE setup. Weirdly, though, 2 of my 4 USB ports die about a minute after logging in. I've dealt with numerous Linux problems before, but this has never happened before with 5-6 other distros I've tried and used before.

dmesg gives me some errors. During normal operation (before the ports die), everything seems normal:

Code: Select all
[  271.403572] usb 2-2: USB disconnect, device number 2
[  277.109281] usb 4-2: new high-speed USB device number 5 using ehci_hcd
[  277.229315] usb 4-2: New USB device found, idVendor=0930, idProduct=6545
[  277.229325] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  277.229332] usb 4-2: Product: DT 100 G2
[  277.229337] usb 4-2: Manufacturer: Kingston
[  277.229342] usb 4-2: SerialNumber: 001372A609DDEBB1B51A0003
[  277.300395] usbcore: registered new interface driver uas
[  277.307877] Initializing USB Mass Storage driver...
[  277.308222] scsi5 : usb-storage 4-2:1.0
[  277.308358] usbcore: registered new interface driver usb-storage
[  277.308362] USB Mass Storage support registered.
[  278.388302] scsi 5:0:0:0: Direct-Access     Kingston DT 100 G2        PMAP PQ: 0 ANSI: 0 CCS
[  279.600274] sd 5:0:0:0: [sdc] 30481152 512-byte logical blocks: (15.6 GB/14.5 GiB)
[  279.600880] sd 5:0:0:0: [sdc] Write Protect is off
[  279.600888] sd 5:0:0:0: [sdc] Mode Sense: 23 00 00 00
[  279.601570] sd 5:0:0:0: [sdc] No Caching mode page present
[  279.601576] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[  279.605634] sd 5:0:0:0: [sdc] No Caching mode page present
[  279.605642] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[  279.625797]  sdc: sdc1
[  279.629395] sd 5:0:0:0: [sdc] No Caching mode page present
[  279.629405] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[  279.629414] sd 5:0:0:0: [sdc] Attached SCSI removable disk
[  285.896275] usb 1-1: new low-speed USB device number 3 using ohci_hcd
[  286.046209] usb 1-1: New USB device found, idVendor=045e, idProduct=0047
[  286.046219] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[  286.046227] usb 1-1: Product: Microsoft 5-Button Mouse with IntelliEye(TM)
[  286.046232] usb 1-1: Manufacturer: Microsoft
[  286.053522] input: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) as /devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1:1.0/input/input14
[  286.053909] generic-usb 0003:045E:0047.0003: input,hidraw0: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)] on usb-0000:00:12.0-1/input0


(The Kingston flash drive is connected to the problematic USB port)

But something seems to go wrong here:
Code: Select all
[  366.004062] ehci_hcd 0000:00:13.2: force halt; handshake ffffc90000678824 00004000 00000000 -> -110
[  366.004062] ehci_hcd 0000:00:13.2: HC died; cleaning up
[  366.005516] usb 4-1: USB disconnect, device number 2
[  366.089226] sd 5:0:0:0: [sdc] Unhandled error code
[  366.089236] sd 5:0:0:0: [sdc]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[  366.089246] sd 5:0:0:0: [sdc] CDB: Write(10): 2a 00 01 be cc 31 00 00 01 00
[  366.089264] end_request: I/O error, dev sdc, sector 29281329
[  366.089275] Buffer I/O error on device sdc1, logical block 29281297
[  366.089278] lost page write due to I/O error on sdc1
[  366.119369] sd 5:0:0:0: [sdc] Unhandled error code
[  366.119375] sd 5:0:0:0: [sdc]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[  366.119380] sd 5:0:0:0: [sdc] CDB: Write(10): 2a 00 01 be cc 21 00 00 01 00
[  366.119390] end_request: I/O error, dev sdc, sector 29281313
[  366.119395] Buffer I/O error on device sdc1, logical block 29281281
[  366.119400] lost page write due to I/O error on sdc1
[  366.149357] sd 5:0:0:0: [sdc] Unhandled error code
[  366.149363] sd 5:0:0:0: [sdc]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[  366.149368] sd 5:0:0:0: [sdc] CDB: Write(10): 2a 00 01 be cc 10 00 00 01 00
[  366.149378] end_request: I/O error, dev sdc, sector 29281296
[  366.149384] Buffer I/O error on device sdc1, logical block 29281264
[  366.149387] lost page write due to I/O error on sdc1
[  366.179368] sd 5:0:0:0: [sdc] Unhandled error code
[  366.179374] sd 5:0:0:0: [sdc]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[  366.179379] sd 5:0:0:0: [sdc] CDB: Write(10): 2a 00 01 be cd 60 00 00 01 00
[  366.179389] end_request: I/O error, dev sdc, sector 29281632
[  366.209336] sd 5:0:0:0: [sdc] Unhandled error code
[  366.209342] sd 5:0:0:0: [sdc]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[  366.209348] sd 5:0:0:0: [sdc] CDB: Write(10): 2a 00 01 be cd 80 00 00 01 00
[  366.209358] end_request: I/O error, dev sdc, sector 29281664
[  366.239166] sd 5:0:0:0: [sdc] Unhandled error code
[  366.239170] sd 5:0:0:0: [sdc]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[  366.239174] sd 5:0:0:0: [sdc] CDB: Write(10): 2a 00 00 00 00 21 00 00 01 00
[  366.239181] end_request: I/O error, dev sdc, sector 33
[  366.239184] Buffer I/O error on device sdc1, logical block 1
[  366.239186] lost page write due to I/O error on sdc1
[  366.255769] usb 4-2: USB disconnect, device number 5
[  366.256124] sd 5:0:0:0: [sdc] Unhandled error code
[  366.256128] sd 5:0:0:0: [sdc]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[  366.256132] sd 5:0:0:0: [sdc] CDB: Write(10): 2a 00 00 00 43 c1 00 00 01 00
[  366.256138] end_request: I/O error, dev sdc, sector 17345
[  366.256141] Buffer I/O error on device sdc1, logical block 17313
[  366.256143] lost page write due to I/O error on sdc1
[  366.256168] sd 5:0:0:0: [sdc] Unhandled error code
[  366.256170] sd 5:0:0:0: [sdc]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[  366.256172] sd 5:0:0:0: [sdc] CDB: Write(10): 2a 00 00 00 7d d5 00 00 01 00
[  366.256177] end_request: I/O error, dev sdc, sector 32213
[  366.256179] Buffer I/O error on device sdc1, logical block 32181
[  366.256181] lost page write due to I/O error on sdc1
[  366.261678] usb 4-3: USB disconnect, device number 3


I did some googling but couldn't find a permanent solution. Reloading the module ehci_hcd re-enables the ports, but they die out the same way. Any help would be appreciated. I can post additional outputs on request.

Re: 2 USB ports die after logging in

PostPosted: Jul 31st, '12, 03:08
by ys9607
Just a bump, and for additional info, I have a Lenovo Z575. Seriously, this is bugging me out as I can't use devices at USB 2.0 speed. Is there a problem with the kernel?

Re: 2 USB ports die after logging in

PostPosted: Aug 5th, '12, 16:14
by doktor5000
Maybe the usb 2.0 device is attached to a port which is internally connected to the same port where you plugged the (low speed per your output) mouse?
As in that case, often both devices can only be used at the lowest speed which both devices support.

Otherwise the Kingston flash drive should be checked, seems to have some errors or filesystem problems.
And FWIW, usb 2.0 is working just fine here, so no, the kernel has no problem in general.

Re: 2 USB ports die after logging in

PostPosted: Aug 5th, '12, 22:29
by ys9607
What I mean to say is that ANY USB device plugged into one of those ports causes the power supply to cut powering the 2 ports. Thus, I can't even charge devices on those ports. I can reload ehci_hcd, but then it repeats itself. It seems that I am unable to use any of the 2.0 features, either, as my remaining ports, which are 2.0, are recognized as being USB 1.1 and are handled by ohci_hcd. I tried an openSUSE RC2 for the 3.4.6 kernel, but it also seems to do the same thing, except ehci_hcd itself seems to be more stable. I'll try a fresh DVD install and see what happens.