On Sun, Dec 01, 2013 at 09:28:49PM +0100, Lado Kumsiashvili wrote: > Hi folks. Hi Lado, > I have received a new dell precision 4800 with USB 3.0. > > I've compiled the gentoo for it. Currently I run > > Linux genlap 3.12.1-gentoo #23 SMP Sat Nov 30 19:47:03 CET 2013 x86_64 Intel(R) Core(TM) i7-4900MQ CPU @ 2.80GHz GenuineIntel GNU/Linux > > > I have problems connecting my usb 3.0 external drive which works on ubuntu with kernel > > Linux vdr 3.8.0-33-generic #48~precise1-Ubuntu SMP Thu Oct 24 16:28:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux > > > very well. So the 3.8-based kernel works fine, but the 3.12-based kernel doesn't, correct? Any chance you can narrow the regression down to at least a kernel version? Does 3.11 or 3.10 work? Looking through the xHCI driver changes from 3.8 to 3.12, nothing is really jumping out at me that would have caused this. It could be changes in the usb-storage or SCSI layers, though. > This i what here happens when i connect it to my laptop > > > [19880.463997] usb 2-5: new SuperSpeed USB device number 6 using xhci_hcd > [19880.475685] usb 2-5: New USB device found, idVendor=152d, idProduct=0539 > [19880.475689] usb 2-5: New USB device strings: Mfr=1, Product=11, SerialNumber=3 > [19880.475690] usb 2-5: Product: USB3.0 Device > [19880.475692] usb 2-5: Manufacturer: JMicron > [19880.475693] usb 2-5: SerialNumber: BBA0000000BF > [19880.476213] usb 2-5: Set SEL for device-initiated U1 failed. > [19885.481844] usb 2-5: Set SEL for device-initiated U2 failed. > [19885.481942] usb-storage 2-5:1.0: USB Mass Storage device detected > [19885.481994] scsi15 : usb-storage 2-5:1.0 > [19890.487903] usb 2-5: Set SEL for device-initiated U1 failed. > [19895.493882] usb 2-5: Set SEL for device-initiated U2 failed. > [19909.699012] zeitgeist-daemo[15893]: segfault at 0 ip 00007fc610ad7f0a sp 00007fffdf12b7c0 error 4 in libglib-2.0.so.0.3800.2[7fc610a51000+126000] > [19917.931018] usb 2-5: reset SuperSpeed USB device number 6 using xhci_hcd > [19917.952026] usb 2-5: device descriptor read/8, error -71 > [19918.052803] usb 2-5: reset SuperSpeed USB device number 6 using xhci_hcd > [19918.074425] usb 2-5: device descriptor read/8, error -71 > [19918.252099] usb 2-5: USB disconnect, device number 6 > [19918.252138] scsi 15:0:0:0: Device offlined - not ready after error recovery > [19918.252374] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88041f86a480 > [19918.252377] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88041f86a4c0 Ok, I need a bit more debugging information to understand what exactly is happening here. Please recompile the 3.12 kernel with CONFIG_USB_DEBUG=y and CONFIG_DYNAMIC_DEBUG=y. Reboot, mount debugfs (if it isn't already mounted), and make sure xHCI dynamic debugging is turned by running this command as root: echo -n 'module xhci_hcd =p' > /sys/kernel/debug/dynamic_debug/control That will add a lot more debugging output from the xHCI driver to dmesg. Please send me the dmesg, from the point just before you plug in your USB device, to when it disconnects. If there's nothing in the logs that jumps out at me, the next step would be to enable CONFIG_USB_STORAGE_DEBUG and see which SCSI command is causing the device to be reset. > Pleas check this, thi seems to be the exact same problem, but on ubuntu > > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1254261 There's many reasons why a USB device would not respond to device descriptor requests, and disconnect. That report is not necessarily related. > Is there any problem with usb 3.0 Support newest kernels? It's probably specific to your USB 3.0 device. The USB 3.0 mass storage devices I have work fine on my Intel xHCI host. Sarah Sharp -- 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