← Back to team overview

kernel-packages team mailing list archive

[Bug 1062667] Re: USB mounted SATA disk disconnects

 

Tom Brown, as per http://download.lenovo.com/express/ddfm.html an update
is available for your BIOS (1.40). If you update to this, does it change
anything?

If not, could you please both specify what happened, and provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Please note your current BIOS is already in the Bug Description, so
posting this on the old BIOS would not be helpful.

Thank you for your understanding.

** Description changed:

  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.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.875310]
  [ 1611.882694] EXT2-fs (sdc1): previous I/O error to superblock detected
- [ 1611.882695] 
+ [ 1611.882695]
  [ 1611.882722] EXT2-fs (sdc1): previous I/O error to superblock detected
- [ 1611.882723] 
+ [ 1611.882723]
  [ 1611.887142] EXT2-fs (sdc1): previous I/O error to superblock detected
- [ 1611.887144] 
+ [ 1611.887144]
  [ 1611.887178] EXT2-fs (sdc1): previous I/O error to superblock detected
- [ 1611.887179] 
+ [ 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
+  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
+  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
- --- 
- ApportVersion: 2.12.1-0ubuntu4
- Architecture: amd64
- DistroRelease: Ubuntu 13.10
- InstallationDate: Installed on 2013-09-14 (0 days ago)
- InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130913)
- MarkForUpload: True
- Package: linux (not installed)
- Tags:  saucy
- Uname: Linux 3.10.11-031011-generic x86_64
- UnreportableReason: The running kernel is not an Ubuntu kernel
- UpgradeStatus: No upgrade log present (probably fresh install)
- UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

** Tags removed: needs-kernel-logs

** Tags added: bios-outdated-1.40

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