LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-20-2020, 03:49 AM   #1
l1m0n4d3
Member
 
Registered: Apr 2016
Location: Munich
Distribution: openSUSE Leap 15.1
Posts: 34

Rep: Reputation: Disabled
Data transfer issue over USB 3.0 ExpressCard


Dear all, I'm facing issues when rsync-ing files between two hard drives.

Destination drive is contained in an external USB 3.0 enclosure and connected to a bus card installed in a laptop HP ProBook 6450b.

Code:
# rsync -av /path/to/source /path/to/destination/
seems to work fine until operation is suddenly aborted by an I/O error. After that, data are no more visible when browsing the drive with Dolphin. Every time it's necessary to unmount and disconnect this external HDD and to connect it again. These sudden disruptions also cause file system to be cleaned with fsck.

After several attempts with several drives, I suspect the bus card is the culprit. Might there be something wrong with some PCIe power saving settings?
Otherwise I can't explain why this bus card, after a certain time, just goes on strike, no matter if data are being transferred over the bus.

Distro is Leap 15.1 with latest kernel version 5.5.x
Thanks in advance!

Last edited by l1m0n4d3; 02-20-2020 at 03:57 AM.
 
Old 02-20-2020, 08:31 AM   #2
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,604

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
I had an ExpressCard that was similarly unreliable, I suspected it was overheating, but never fully investigated - I just resorted to using it for regular peripherals and not data transfer.

 
Old 02-20-2020, 02:16 PM   #3
Richard.Stone
LQ Newbie
 
Registered: Feb 2020
Location: Colorado
Distribution: Ubuntu, RHEL
Posts: 21

Rep: Reputation: Disabled
Do you have external power to the drive enclosure? Many modern small drives draw little enough power during casual use that they can be powered by the bus, even if it wasn't expressly designed for it.

Once you start exercising the drive hard, it would then be pulling too much power through the interface, causing either low-v data errors, or the excess load causing the interface to overheat.
 
Old 02-21-2020, 01:19 AM   #4
l1m0n4d3
Member
 
Registered: Apr 2016
Location: Munich
Distribution: openSUSE Leap 15.1
Posts: 34

Original Poster
Rep: Reputation: Disabled
I tried it with both a self-powered external 2.5" and a 3.5" drive with power supply. Bus card can draw additional power from another USB port.
 
Old 02-22-2020, 06:54 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Every usb port has a current limit; on usb-3.0, it's 500mA
I have a usb-3.0 ssd on a usb-3.0 port with no issues. There's no remote power socket, and a 150mm usbA -- usbC cable. That's the way to go if you're buying.

If you have a rotating platter, stepper motors can impart current overloads and general noise. Cabling is important; usb-3.0 depends on a long list of 'if' conditions (Like you can't have two usbA sockets). The longer the cable, the more signal noise.
 
Old 02-22-2020, 10:00 AM   #6
l1m0n4d3
Member
 
Registered: Apr 2016
Location: Munich
Distribution: openSUSE Leap 15.1
Posts: 34

Original Poster
Rep: Reputation: Disabled
Update: System booted with option
Code:
acpi=off
, rsync performed, here's the result:
Code:
sent 85,749,639,627 bytes  received 450,168 bytes  5,589,784.54 bytes/sec
No broken pipe, no exit code 11, this after several hours of data transfer.
 
Old 02-22-2020, 01:11 PM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Keep a close eye on cpu temperature with 'acpi=off'. Run 'sensors' regularly.

You seem to have what the police here call 'a definite line of inquiry.' Happy hunting!
 
Old 02-23-2020, 06:07 AM   #8
l1m0n4d3
Member
 
Registered: Apr 2016
Location: Munich
Distribution: openSUSE Leap 15.1
Posts: 34

Original Poster
Rep: Reputation: Disabled
CPU fan was during this last test more often loud as well as overall reactivity lower than usual, I guess thermal throttling.
I wonder if there's any way to tweak power management params by using system tools. BTW, I'm going to check out BIOS settings.
May be useful to know, here's the line identifying my USB 3.0 ExpressCard:
Code:
# tlp-pcilist
[…]
/sys/bus/pci/devices/0000:02:00.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)
[…]
 
Old 02-24-2020, 03:12 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
What I meant was that if disabling acpi made it work, you have a problem there, which you can probably trace by moving things out of /etc/acpi/events, and see if you can shake the problem that way.
 
  


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
ExpressCard support for USB 3 with Lenovo Thinkpad X220-tablet SaintDanBert Linux - Hardware 6 06-11-2018 05:22 PM
Esata slower than usb using belkin 2 port expresscard (sil3132 controller) delmo1975 Linux - Hardware 0 12-18-2009 02:23 AM
Verizon V620 Broadband Access ExpressCard jasmoran66 Linux - Laptop and Netbook 0 12-16-2006 08:09 PM
Wireless ExpressCard for FC5 hcccc Linux - Laptop and Netbook 2 09-13-2006 07:13 AM
ExpressCard/54 laptop issues craterburnsyou Linux - Laptop and Netbook 0 06-01-2006 12:47 AM

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

All times are GMT -5. The time now is 05:33 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