← Back to team overview

kernel-packages team mailing list archive

[Bug 1062667] Re: 152d:2338 USB mounted SATA disk disconnects

 

Sorry about #32, a changed keyboard made pressing tab, space easy.
Reproduced, though I'm not really surprised. There seems to be a bug in
the kernel or hardware but I'm not familiar enough with usb to debugging
it and couldn't find good information about usb tracedata.

$ uname -a
Linux thecap-ThinkPad-X201 3.12.0-031200rc1-generic #201309161735 SMP Mon Sep 16 21:38:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ dmesg |tail
[   53.273898]  sdb: sdb1 sdb2 < sdb5 >
[   53.277596] sd 6:0:0:0: [sdb] Asking for cache data failed
[   53.277603] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[   53.277609] sd 6:0:0:0: [sdb] Attached SCSI disk
[   84.039795] usb 2-1.2: reset high-speed USB device number 3 using ehci-pci
[   94.199862] usb 2-1.2: reset high-speed USB device number 3 using ehci-pci

-- 
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:
  152d:2338 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
  ---
  ApportVersion: 2.12.1-0ubuntu4
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ubuntu     3883 F.... pulseaudio
                        ubuntu    14307 F.... pulseaudio
  CasperVersion: 1.336
  DistroRelease: Ubuntu 13.10
  LiveMediaBuild: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130913)
  MarkForUpload: True
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/username.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  ProcVersionSignature: Ubuntu 3.11.0-7.13-generic 3.11.0
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-7-generic N/A
   linux-backports-modules-3.11.0-7-generic  N/A
   linux-firmware                            1.114
  Tags:  saucy
  Uname: Linux 3.11.0-7-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 12/01/2011
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 6QET68WW (1.38 )
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr6QET68WW(1.38):bd12/01/2011:svnLENOVO:pn:pvrThinkPadX201:rvnLENOVO:rn:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.version: ThinkPad X201
  dmi.sys.vendor: LENOVO

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