Re: xHCI problem? [was Re: Erratic USB device behavior and device loss]

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Mon, 2016-08-22 at 18:11 +0530, Ritesh Raj Sarraf wrote:
> 
> I'll post back again once I have captured the relevant logs.
> 
> Thank you for looking into this.

It got more tricky to pick the logs.

When the bug is hit, the device vanishes from USB listings.

rrs@learner:~/.rrs-home/Community/fitbit-googlefit (master)$ sudo lsusb 
Bus 003 Device 002: ID 8087:8000 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 048d:8350 Integrated Technology Express, Inc. 
Bus 001 Device 008: ID 0bda:b728 Realtek Semiconductor Corp. 
Bus 001 Device 007: ID 04f2:b40f Chicony Electronics Co., Ltd 
Bus 001 Device 006: ID 04f3:0303 Elan Microelectronics Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
2016-08-22 / 20:02:54 ♒♒♒  ☺  

So I couldn't find it in /sys/kernel/debug/usb/devices either.


So I removed the xhci-hcd module, and also the xhci-pci module which was using xhci-hcd
Then I loaded the xhci-hcd module and dmesg looked clean. But the moment I loaded the xhci-pci module,
I ran into the same dmesg logs again.


[ 2683.800573] usb 1-4: new high-speed USB device number 91 using xhci_hcd
[ 2683.960580] usb 1-4: device descriptor read/64, error -71
[ 2684.223934] usb 1-4: device descriptor read/64, error -71
[ 2684.487185] usb 1-4: new high-speed USB device number 92 using xhci_hcd
[ 2684.647203] usb 1-4: device descriptor read/64, error -71
[ 2684.910565] usb 1-4: device descriptor read/64, error -71
[ 2685.173865] usb 1-4: new high-speed USB device number 93 using xhci_hcd
[ 2685.174001] usb 1-4: Device not responding to setup address.
[ 2685.377380] usb 1-4: Device not responding to setup address.
[ 2685.580539] usb 1-4: device not accepting address 93, error -71
[ 2685.740529] usb 1-4: new high-speed USB device number 94 using xhci_hcd
[ 2685.740653] usb 1-4: Device not responding to setup address.
[ 2685.944023] usb 1-4: Device not responding to setup address.
[ 2686.147197] usb 1-4: device not accepting address 94, error -71
[ 2686.147247] usb usb1-port4: unable to enumerate USB device
[ 2694.341111] xhci_hcd 0000:00:14.0: remove, state 4
[ 2694.341128] usb usb2: USB disconnect, device number 1
[ 2694.343465] xhci_hcd 0000:00:14.0: USB bus 2 deregistered
[ 2694.343806] xhci_hcd 0000:00:14.0: remove, state 1
[ 2694.343824] usb usb1: USB disconnect, device number 1
[ 2694.393961] usb usb1-port4: couldn't allocate usb_device
[ 2694.394005] usb 1-5: USB disconnect, device number 3
[ 2694.427673] usb 1-6: USB disconnect, device number 4
[ 2694.470996] usb 1-7: USB disconnect, device number 5
[ 2694.472724] usb 1-8: USB disconnect, device number 6
[ 2694.473976] xhci_hcd 0000:00:14.0: USB bus 1 deregistered
[ 2753.757692] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 2753.757777] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 2753.758899] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0004b810
[ 2753.758908] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[ 2753.759016] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2753.759017] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2753.759019] usb usb1: Product: xHCI Host Controller
[ 2753.759020] usb usb1: Manufacturer: Linux 4.7.2bfqv8r2+ xhci-hcd
[ 2753.759022] usb usb1: SerialNumber: 0000:00:14.0
[ 2753.759176] hub 1-0:1.0: USB hub found
[ 2753.759195] hub 1-0:1.0: 9 ports detected
[ 2753.776246] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 2753.776342] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 2753.776403] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 2753.776406] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2753.776409] usb usb2: Product: xHCI Host Controller
[ 2753.776411] usb usb2: Manufacturer: Linux 4.7.2bfqv8r2+ xhci-hcd
[ 2753.776413] usb usb2: SerialNumber: 0000:00:14.0
[ 2753.776631] hub 2-0:1.0: USB hub found
[ 2753.776650] hub 2-0:1.0: 4 ports detected
[ 2754.119629] usb 1-4: new high-speed USB device number 2 using xhci_hcd
[ 2754.279636] usb 1-4: device descriptor read/64, error -71
[ 2754.542997] usb 1-4: device descriptor read/64, error -71
[ 2754.806280] usb 1-4: new high-speed USB device number 3 using xhci_hcd
[ 2754.966418] usb 1-4: device descriptor read/64, error -71
[ 2755.229714] usb 1-4: device descriptor read/64, error -71
[ 2755.492943] usb 1-4: new high-speed USB device number 4 using xhci_hcd
[ 2755.493065] usb 1-4: Device not responding to setup address.
[ 2755.696537] usb 1-4: Device not responding to setup address.
[ 2755.899766] usb 1-4: device not accepting address 4, error -71
2016-08-22 / 20:00:44 ♒♒♒  ☺  


Even after fresh unload/load, the acutal problematic devid "0bda:0129", does not appear. I'll report back again after a fresh reboot.

- -- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXuw6hAAoJEKY6WKPy4XVpspgP/0gqxUJaX83GmLe1KpJIf8XF
+73sfiLRexc2ZZbSQNfT+czu7gb4pCGuxP+MjhNTQXHS8T/ihGh6K8st/hzPMwEw
1X5HnWZiTru50zy+pTb2YdN/bpay+YBsCT42UGgvdlF4j1CMyVH3YC1JUODFKijJ
S87kEP6YG+9wKP22/60ouJcUs1SJE0Fr/1W5ApGwtJFpwZ8ErS0NwGDb4OYEu8WT
ztwcgJnGFr5HGk4xh7CRMeQKVcRR34KICKS9GYAxkifwKC5NZJlD1P/SNWy5pmXW
DpotvrJz0CYwTxRorHebKRIeB2DwfNiYMjUNn4xEMG/eufHXyxdVXM0Km2p0r4EJ
VbtHkAtVRe4B8RmHemZ6tmG4qx91p0EGo9uHgEf4iZ+aEWyfUnXCktzMQdmG1wPL
XNqO2d8rVKrVSE0WyRhItip78l7W7065Ok4MQ4Az8cpl8LoqSqX5LAJnFavHS6fU
QDujbCKM9pkr+koazV0ZKdabCvbFNM2GMnet4l8dUr2sV4HYri5IKSgnFPoQE5Wy
JWgc6du3jlpIs6LR62SbOoVQ+Eh3JnwzSzuXHxkRfF1JyvlZaBbL8+pPUct/+qiD
+wTNGKBaZZ/HSWiZE5/f7F1lxJM1+MkeuRlWDWT09n0rvTjte5IuDlOzF78BjMsa
lReTekJngDqOXmL3HibH
=KH8r
-----END PGP SIGNATURE-----

--
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