LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-13-2018, 08:16 AM   #1
SeaChange
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Rep: Reputation: Disabled
Having trouble with most external USB3 to SATA enclosures: I/O error. Why?


I have 4 drives:

- Intel X25M SSD
- PNY XLR8 SSD
- Toshiba 640GB
- Toshiba 500GB

And three USB3 <> SATA enclosures:

- Cheapo aliexpress
- Cheapo amazon Cateck branded
- Toshiba Stor E ALU

When I plug any of these disks with the two cheapo adapters, I am getting errors in dmesg[0] and can't ever use the disks reliably: they'll take for ever to mount and write corrupted data. When I use any of these disks with the Toshiba adapter, everything works perfectly fine right away, no errors whatsoever. I tried with two different USB3 cables, and on three separate machines all running Ubuntu 18.04 with consistent results across combinations of drives, cables, and adapters.

I can't believe that cheap USB3 <> SATA adapters are so bad that they are unusable and it feels like I'm the only person on the internet with this issue. Buying complete external hard drives just to salvage the adapter is not a reasonable solution either.

What's happening? Is it a driver issue? Is it because 90% of USB3 <> SATA enclosures are utter unusable crap? If so, how do I find a reliable one? It seems all of them are Chinese knock offs made off the same designs and there is no way to actually tell them apart.

[0]:

Code:
[363088.726398] usb 4-1: new SuperSpeed USB device number 7 using xhci_hcd
[363088.748127] usb 4-1: New USB device found, idVendor=1f75, idProduct=0621
[363088.748138] usb 4-1: New USB device strings: Mfr=4, Product=5, SerialNumber=6
[363088.748145] usb 4-1: Product: Ext. HDD
[363088.748154] usb 4-1: Manufacturer: Innostor
[363088.748157] usb 4-1: SerialNumber: 0000020170808
[363089.052743] usb-storage 4-1:1.0: USB Mass Storage device detected
[363089.053248] scsi host6: usb-storage 4-1:1.0
[363090.322022] scsi 6:0:0:0: Direct-Access     Innostor Ext. HDD         0.00 PQ: 0 ANSI: 6
[363090.323175] sd 6:0:0:0: Attached scsi generic sg1 type 0
[363090.323992] sd 6:0:0:0: [sdb] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[363090.324346] sd 6:0:0:0: [sdb] Write Protect is off
[363090.324349] sd 6:0:0:0: [sdb] Mode Sense: 3b 00 00 00
[363090.324700] sd 6:0:0:0: [sdb] No Caching mode page found
[363090.324704] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[363090.905878]  sdb: sdb1
[363090.908328] sd 6:0:0:0: [sdb] Attached SCSI disk
[363094.873110] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363094.873118] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 40 00 00 38 00
[363094.873122] print_req_error: I/O error, dev sdb, sector 64
[363128.090445] usb 4-1: reset SuperSpeed USB device number 7 using xhci_hcd
[363130.291029] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363130.291034] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 80 00 01 80 00
[363130.291036] print_req_error: I/O error, dev sdb, sector 128
[363144.111039] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363144.111048] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 08 80 00 01 80 00
[363144.111052] print_req_error: I/O error, dev sdb, sector 2176
[363149.499899] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363149.499907] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 0a 00 00 02 00 00
[363149.499911] print_req_error: I/O error, dev sdb, sector 2560
[363154.795837] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363154.795845] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 02 00 00 02 00 00
[363154.795850] print_req_error: I/O error, dev sdb, sector 512
[363181.980828] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363181.980837] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 02 c8 00 00 08 00
[363181.980841] print_req_error: I/O error, dev sdb, sector 712
[363181.980851] Buffer I/O error on dev sdb, logical block 89, async page read
[363205.429031] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363205.429036] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 10 00 00 00 08 00
[363205.429037] print_req_error: I/O error, dev sdb, sector 4096
[363228.833368] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363228.833377] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 0a b8 00 00 08 00
[363228.833380] print_req_error: I/O error, dev sdb, sector 2744
[363228.833389] Buffer I/O error on dev sdb1, logical block 87, async page read
[363252.369622] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363252.369625] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 18 00 00 00 08 00
[363252.369626] print_req_error: I/O error, dev sdb, sector 6144
[363275.817823] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363275.817827] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 10 00 00 00 08 00
[363275.817829] print_req_error: I/O error, dev sdb, sector 4096
[363275.817833] Buffer I/O error on dev sdb, logical block 512, async page read
[363283.090240] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363283.090248] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 0a c0 00 01 40 00
[363283.090251] print_req_error: I/O error, dev sdb, sector 2752
[363286.738039] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363286.738043] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 0a c8 00 01 38 00
[363286.738045] print_req_error: I/O error, dev sdb, sector 2760
[363287.348008] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363287.348012] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 08 18 00 00 40 00
[363287.348013] print_req_error: I/O error, dev sdb, sector 2072
[363290.494748] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[363300.276322] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363300.276330] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 09 50 f4 00 00 02 00 00
[363300.276334] print_req_error: I/O error, dev sdb, sector 156300288
[363310.086032] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363310.086051] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 09 50 f6 00 00 02 00 00
[363310.086060] print_req_error: I/O error, dev sdb, sector 156300800
[363374.289714] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363374.289718] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 08 80 00 01 80 00
[363374.289719] print_req_error: I/O error, dev sdb, sector 2176
[363383.590675] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363383.590684] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 0a 00 00 02 00 00
[363383.590688] print_req_error: I/O error, dev sdb, sector 2560
[363412.380081] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[363412.380089] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 0b a8 00 00 08 00
[363412.380093] print_req_error: I/O error, dev sdb, sector 2984
[363412.380102] Buffer I/O error on dev sdb1, logical block 117, async page read
 
Old 10-14-2018, 03:54 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,523

Rep: Reputation: Disabled
I've read that it is down to the chips used, so far my cheap cables seem to be working OK, they were 'no name' too.
 
Old 10-14-2018, 08:00 AM   #3
SeaChange
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fatmac View Post
I've read that it is down to the chips used, so far my cheap cables seem to be working OK, they were 'no name' too.
How do you find good ones? Is Orico reputable? I see them everywhere online and in stores. It's ridiculous how finicky external USB3 enclosures are!
 
Old 10-14-2018, 02:00 PM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,523

Rep: Reputation: Disabled
Only way I know is to ask what other people use, or try searching forums for recommendations.
 
Old 10-14-2018, 07:31 PM   #5
SeaChange
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
It looks like coreboot is the issue, it works fine with the stock bios. Probably a setting I messed up while building coreboot.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i mount external enclosures? thrustan Linux - Hardware 1 03-16-2005 04:16 PM
External hard drive enclosures bowmanj Linux - Hardware 1 02-02-2005 12:19 AM
Do external enclosures work with Linux? Cyberian Linux - Hardware 3 01-05-2005 09:12 AM
Any good IDE raid controllers/external enclosures for linux? glock27linux Linux - Hardware 2 11-26-2003 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration