← Back to team overview

kernel-packages team mailing list archive

[Bug 1062667] Re: USB mounted SATA disk disconnects

 

Tom Brown, could you please confirm this issue exists with the latest
development release of Ubuntu? ISO images are available from
http://cdimage.ubuntu.com/daily-live/current/ . If the issue remains,
could you please run the following command in the development release
from a Terminal (Applications->Accessories->Terminal), as it will
automatically gather and attach updated debug information to this
report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc4

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your
understanding.

** Tags added: needs-kernel-logs needs-upstream-testing regression-
potential

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

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

Title:
  USB mounted SATA disk disconnects

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  I'm having a problem with a SATA disk connected to a USB adapter. The
  disk is detected and its partitions mounted  but after I use it for a
  few seconds to minutes the adapter disappears and dmesg lists errors.
  If I don't use the disk it stays healthy but running 'sudo cat
  /dev/sdb5 > /dev/null' consistently causes a failure within a minute.
  The disk works well connected to the internal slot of the same machine
  and the adapter works well with a 40GB IDE disk I have on hand.

  I looked at a similar looking bug, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1012291
  and booted a kernel from
  http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2.27-precise/
  which was reported as
  Linux tb201 3.2.27-030227-generic #201208101235 SMP Fri Aug 10 16:36:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

  [disk] Crucial m4 SSD 2.5 256GB
  [sata-usb-adapter] Sabrent USB 2.0 to IDE/SATA Cable for 2.5-Inch/ 3.5-Inch / 5.25-Inch Drive with Power Adapter http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=2329300
  lsusb describes it as
  ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
  [machine] thinkpad/lenovo x201
  My original kernal is
  $ uname -a
  Linux tb201 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
  $ lsb_release -rd
  Description:	Ubuntu 12.04.1 LTS
  Release:	12.04

  
  [dmesg]
  [ 1531.268620] usb 1-1.2: new high-speed USB device number 14 using ehci_hcd
  [ 1531.365102] scsi8 : usb-storage 1-1.2:1.0
  [ 1532.363152] scsi 8:0:0:0: Direct-Access     M4-CT256 M4SSD2                PQ: 0 ANSI: 2 CCS
  [ 1532.364388] sd 8:0:0:0: Attached scsi generic sg2 type 0
  [ 1532.364941] sd 8:0:0:0: [sdc] 500118192 512-byte logical blocks: (256 GB/238 GiB)
  [ 1532.365866] sd 8:0:0:0: [sdc] Write Protect is off
  [ 1532.365874] sd 8:0:0:0: [sdc] Mode Sense: 00 38 00 00
  [ 1532.368182] sd 8:0:0:0: [sdc] Asking for cache data failed
  [ 1532.368189] sd 8:0:0:0: [sdc] Assuming drive cache: write through
  [ 1532.370961] sd 8:0:0:0: [sdc] Asking for cache data failed
  [ 1532.370967] sd 8:0:0:0: [sdc] Assuming drive cache: write through
  [ 1532.372341]  sdc: sdc1 sdc2 < sdc5 >
  [ 1532.375711] sd 8:0:0:0: [sdc] Asking for cache data failed
  [ 1532.375718] sd 8:0:0:0: [sdc] Assuming drive cache: write through
  [ 1532.375723] sd 8:0:0:0: [sdc] Attached SCSI disk
  [ 1532.557075] EXT2-fs (sdc1): warning: mounting unchecked fs, running e2fsck is recommended
  [ 1563.212796] usb 1-1.2: reset high-speed USB device number 14 using ehci_hcd
  [ 1573.351537] usb 1-1.2: reset high-speed USB device number 14 using ehci_hcd
  [ 1610.072065] usb 1-1.2: reset high-speed USB device number 14 using ehci_hcd
  [ 1610.155698] usb 1-1.2: device descriptor read/64, error -71
  [ 1610.343162] usb 1-1.2: device descriptor read/64, error -71
  [ 1610.518733] usb 1-1.2: reset high-speed USB device number 14 using ehci_hcd
  [ 1610.602523] usb 1-1.2: device descriptor read/64, error -71
  [ 1610.790042] usb 1-1.2: device descriptor read/64, error -71
  [ 1610.965771] usb 1-1.2: reset high-speed USB device number 14 using ehci_hcd
  [ 1611.380486] usb 1-1.2: device not accepting address 14, error -71
  [ 1611.452549] usb 1-1.2: reset high-speed USB device number 14 using ehci_hcd
  [ 1611.867289] usb 1-1.2: device not accepting address 14, error -71
  [ 1611.867841] sd 8:0:0:0: Device offlined - not ready after error recovery
  [ 1611.867854] sd 8:0:0:0: [sdc] Unhandled error code
  [ 1611.867857] sd 8:0:0:0: [sdc]  Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
  [ 1611.867862] sd 8:0:0:0: [sdc] CDB: Read(10): 28 00 00 00 3c ae 00 00 08 00
  [ 1611.867873] end_request: I/O error, dev sdc, sector 15534
  [ 1611.867889] sd 8:0:0:0: rejecting I/O to offline device
  [ 1611.867894] sd 8:0:0:0: [sdc] killing request
  [ 1611.867908] sd 8:0:0:0: rejecting I/O to offline device
  [ 1611.868009] sd 8:0:0:0: rejecting I/O to offline device
  [ 1611.868022] sd 8:0:0:0: [sdc] Unhandled error code
  [ 1611.868025] sd 8:0:0:0: [sdc]  
  [ 1611.868028] usb 1-1.2: USB disconnect, device number 14
  [ 1611.868031] sd 8:0:0:0: rejecting I/O to offline device
  [ 1611.868034] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
  [ 1611.868037] sd 8:0:0:0: [sdc] CDB: Read(10)
  [ 1611.868039] sd 8:0:0:0: rejecting I/O to offline device
  [ 1611.868042] : 28 00 00 00 f6
  [ 1611.868047] sd 8:0:0:0: rejecting I/O to offline device
  [ 1611.868049]  76 00 00 1a
  [ 1611.868054] sd 8:0:0:0: rejecting I/O to offline device
  [ 1611.868056]  00
  [ 1611.868059] end_request: I/O error, dev sdc, sector 63094
  [ 1611.868066] sd 8:0:0:0: rejecting I/O to offline device
  [ 1611.868077] sd 8:0:0:0: rejecting I/O to offline device
  [ 1611.868087] sd 8:0:0:0: rejecting I/O to offline device
  [ 1611.875308] EXT2-fs (sdc1): previous I/O error to superblock detected
  [ 1611.875310] 
  [ 1611.882694] EXT2-fs (sdc1): previous I/O error to superblock detected
  [ 1611.882695] 
  [ 1611.882722] EXT2-fs (sdc1): previous I/O error to superblock detected
  [ 1611.882723] 
  [ 1611.887142] EXT2-fs (sdc1): previous I/O error to superblock detected
  [ 1611.887144] 
  [ 1611.887178] EXT2-fs (sdc1): previous I/O error to superblock detected
  [ 1611.887179] 
  [ 1611.951292] usb 1-1.2: new high-speed USB device number 15 using ehci_hcd
  [ 1612.039062] usb 1-1.2: device descriptor read/64, error -71
  [ 1612.226569] usb 1-1.2: device descriptor read/64, error -71
  [ 1612.402168] usb 1-1.2: new high-speed USB device number 16 using ehci_hcd
  [ 1612.485966] usb 1-1.2: device descriptor read/64, error -71
  [ 1612.673527] usb 1-1.2: device descriptor read/64, error -71
  [ 1612.848871] usb 1-1.2: new high-speed USB device number 17 using ehci_hcd
  [ 1613.263743] usb 1-1.2: device not accepting address 17, error -71
  [ 1613.335865] usb 1-1.2: new high-speed USB device number 18 using ehci_hcd
  [ 1613.750548] usb 1-1.2: device not accepting address 18, error -71

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