← Back to team overview

kernel-packages team mailing list archive

[Bug 1271268] Re: 174c:5106 1 TB External USB 3.0 Drive Fails to Automount through USB 3.0 dock with XHCI Enabled

 

Apparently this is a regression in the xhci code (USB3). If you connect
the device to a USB2 port (if you have one) or disable xHCI in the BIOS,
the problem is gone. Of course you get USB2 speeds as well.

Relevant bug reports:

"Bug#741989: linux: 3.13.5: known regression: "xHCI xhci_drop_endpoint called with disabled ep""
https://lists.debian.org/debian-kernel/2014/03/msg00153.html

"Bug 864866 - USB3 device randomly disconnecting while in use or not"
https://bugzilla.novell.com/show_bug.cgi?id=864866

"USB 3.0 corrupts NTFS disks"
https://forums.gentoo.org/viewtopic-t-963046-start-0.html

In a nutshell, 
1. when something goes bad, the first dmesg messages say

[ 3888.906845] usb 4-4: reset SuperSpeed USB device number 3 using xhci_hcd
[ 3888.923000] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801de04f680
[ 3888.923002] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801de04f6c0
(probably multiple times if keep using the drive)

2. Then, the drive is disconnected and reconnected again. If you have
the default setting to automount, you get many Nautilus windows opening
up.

[ 4676.122427] usb 4-4: USB disconnect, device number 3
[ 4676.490858] sd 6:0:0:0: [sdb] Synchronizing SCSI cache
[ 4676.490878] sd 6:0:0:0: [sdb]  
[ 4676.490879] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 4676.490934] usb 4-4: Set SEL for device-initiated U1 failed.
[ 4676.490935] usb 4-4: Set SEL for device-initiated U2 failed.

See http://blogs.msdn.com/b/usbcoreblog/archive/2012/07/13/common-
issues-in-usb-3-0-devices.aspx for more about "Set SEL".

3. After some more use, the device gives buffer I/O errors,

[ 5398.216920] Buffer I/O error on device sdb1, logical block 91570828
[ 5398.216933] Buffer I/O error on device sdb1, logical block 91570828
[ 5398.244440] Buffer I/O error on device sdb1, logical block 91570828


** Bug watch added: Novell/SUSE Bugzilla #864866
   https://bugzilla.novell.com/show_bug.cgi?id=864866

** Also affects: linux (Suse) via
   https://bugzilla.novell.com/show_bug.cgi?id=864866
   Importance: Unknown
       Status: Unknown

** Bug watch added: Debian Bug tracker #741989
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741989

** Also affects: linux (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741989
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1271268

Title:
  174c:5106 1 TB External USB 3.0 Drive Fails to Automount through USB
  3.0 dock with XHCI Enabled

Status in “linux” package in Ubuntu:
  Triaged
Status in “linux” package in Debian:
  Unknown
Status in “linux” package in Suse:
  Unknown

Bug description:
  I have a 1 TB Western Digital drive in a USB 3.0 HDD dock that will not automount with Ubuntu 13.10 while XHCI is enabled in the BIOS. If I disable XHCI in the BIOS, it automounts normally. I've tried an external USB 3.0 enclosure and two different brands of USB 3.0 HDD docks (that use different chipsets) with the 1 TB drive and it still will not automount. Dmesg shows the following when the drive is turned on:
  [10813.786820] usb 4-5.3: new SuperSpeed USB device number 4 using xhci_hcd
  [10823.816236] usb 4-5.3: New USB device found, idVendor=174c, idProduct=5106
  [10823.816245] usb 4-5.3: New USB device strings: Mfr=2, Product=3, SerialNumber=1
  [10823.816250] usb 4-5.3: Product: AS2105
  [10823.816255] usb 4-5.3: Manufacturer: ASMedia
  [10828.823853] usb 4-5.3: can't set config #1, error -110

  WORKAROUND: Disable XHCI in the BIOS, but this runs at USB 2.0 speeds
  using EHCI.

  I actually thought the 1 TB drive was bad, and I RMA'd it to Western
  Digital, but the replacement drive fails with the same error message.
  I have a couple of Western Digital 500 GB drives that work just fine
  in the same HDD dock with XHCI enabled. All the drives were formatted
  in Ubuntu 13.10 using LUKS via the Disks Utility. I have tried various
  settings in the BIOS (XHCI set at Smart Auto, Auto, and Manual) but
  they make no difference. I found an old bug report with the same
  "can't set config #1, error -110" error message that recommended
  adding "pci=nomsi" to Grub, but that did not work either.

  Upstream URL: permalink.gmane.org/gmane.linux.usb.general/101979

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: linux-image-3.11.0-15-generic 3.11.0-15.23
  ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
  Uname: Linux 3.11.0-15-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  jsherman   2017 F.... pulseaudio
   /dev/snd/controlC0:  jsherman   2017 F.... pulseaudio
   /dev/snd/pcmC0D1p:   jsherman   2017 F...m pulseaudio
  CurrentDmesg:
   [   81.782320] e1000e 0000:00:19.0: irq 44 for MSI/MSI-X
   [   81.782396] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
   [   81.782532] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
   [   85.304006] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
   [   85.304039] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  Date: Tue Jan 21 09:43:25 2014
  HibernationDevice: RESUME=UUID=ea044d07-2ac1-43ee-8d34-3b5df6559f94
  InstallationDate: Installed on 2013-12-16 (35 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  IwConfig:
   eth0      no wireless extensions.

   lo        no wireless extensions.
  MachineType: Gigabyte Technology Co., Ltd. Z87X-UD3H
  MarkForUpload: True
  ProcFB: 0 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-15-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-15-generic N/A
   linux-backports-modules-3.11.0-15-generic  N/A
   linux-firmware                             1.116
  RfKill:

  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/03/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F7
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Z87X-UD3H-CF
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF7:bd08/03/2013:svnGigabyteTechnologyCo.,Ltd.:pnZ87X-UD3H:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnZ87X-UD3H-CF:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: Z87X-UD3H
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1271268/+subscriptions


References