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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-20-2020, 04:49 AM
|
#1
|
Member
Registered: Apr 2016
Location: Munich
Distribution: openSUSE Leap 15.1
Posts: 34
Rep:
|
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 04:57 AM.
|
|
|
02-20-2020, 09:31 AM
|
#2
|
Senior Member
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,835
|
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.
|
|
|
02-20-2020, 03:16 PM
|
#3
|
LQ Newbie
Registered: Feb 2020
Location: Colorado
Distribution: Ubuntu, RHEL
Posts: 21
Rep:
|
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.
|
|
|
02-21-2020, 02:19 AM
|
#4
|
Member
Registered: Apr 2016
Location: Munich
Distribution: openSUSE Leap 15.1
Posts: 34
Original Poster
Rep:
|
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.
|
|
|
02-22-2020, 07:54 AM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,206
|
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.
|
|
|
02-22-2020, 11:00 AM
|
#6
|
Member
Registered: Apr 2016
Location: Munich
Distribution: openSUSE Leap 15.1
Posts: 34
Original Poster
Rep:
|
Update: System booted with option , 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.
|
|
|
02-22-2020, 02:11 PM
|
#7
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,206
|
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!
|
|
|
02-23-2020, 07:07 AM
|
#8
|
Member
Registered: Apr 2016
Location: Munich
Distribution: openSUSE Leap 15.1
Posts: 34
Original Poster
Rep:
|
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)
[…]
|
|
|
02-24-2020, 04:12 AM
|
#9
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,206
|
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.
|
|
|
All times are GMT -5. The time now is 12:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|