FS#41162 - [linux] 3.15.x USB3 extremely slow, sometimes system freezes completely
Attached to Project:
Arch Linux
Opened by Markus N. (Markus.N) - Friday, 11 July 2014, 00:01 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 30 July 2016, 15:37 GMT
Opened by Markus N. (Markus.N) - Friday, 11 July 2014, 00:01 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 30 July 2016, 15:37 GMT
|
Details
Description:
Access to a USB3 harddisk is extremely slow (reading and writing), sometimes the system freezes completely. The problem occurs when running on linux 3.15.4-1, but not when running on linux-lts 3.14.11-1. This rules out all possible causes other than the kernel. When testing this, one thing was eye-catching: I used one terminal to copy files to the USB3 disk, and anoter one to "watch ls -l" in the target directory. Looking at the file sizes, they were changing for a while, then frozen, then changing again etc. Sometimes, while the file sizes were frozen, the whole system was frozen: The time in the top right corner of the watch command, the desktop clock, even the mouse pointer and keyboard. And sometimes, when the system was frozen completely, it did not recover. I was waiting for 30 minutes. My Mainboard is a Gigabyte GA-890FXA-UD5 with a NEC D720200F1 USB3 Chip. I am not sure if this is an upstream bug or if it was introduced by arch-specific patches. Additional info: * package version(s) linux 3.15.4-1 * config and/or log files etc. N/A Steps to reproduce: Copy several gigabytes of data to an external hdd, attached via USB3 |
This task depends upon
Copying 10 GB from my internal RAID 5 to the USB3 HDD took over 24 minutes. With the lts kernel, it takes about 2 minutes. In this test, I did not notice a system freeze. But that does not necessarily mean it's gone, because it always occurred very randomly.
I think I should add the information that the first occurrence was a few weeks ago, but it took a while (and a few kernel updates) until I had the idea to cross-check with the lts kernel. So, I cannot exactly tell in which kernel version it was introduced.
When I turn on the docking station, after a brief pause (a minute or so) I get a kernel panic and KDE freezes (no usb keyboard, no usb mouse, nothing). I need to do a hard reset.
I have a Vantec usb 2.0 hard drive enclosure that works fine.
I booted clonezilla live 2.2.3-25 (64bit) from a usb 2.0 flash drive (uses linux 3.14) and the BlacX works normally.
I have a Gigabyte GA-870A-UD3 motherboard.
I also tested connecting my USB3 disk to an USB2 port (with the standard kernel, not lts). Works fine at normal USB2 speed.
The box labelled "2 USB 3.0/2.0" is connected to a box labelled "NEC D720200F1"
https://bbs.archlinux.org/viewtopic.php?id=183190&p=2
My comment is #27
The external harddisk is my backup. And because the UAS problem causes system crashes (including data loss sometimes), I do not want to take the risk of losing my data and the backup at once for every new kernel release.
Currently, I'm living well with the ignore-uas quirk as described in the forum post mentioned by Tom Moorman. So, let's freeze this task for a while, and I will restest it with kernel 3.20 or so ...
I just copied 3GB to and from a harddrive attached to a usb 3.0 docking station with no problems.
I checked and I do not have the .conf file in /etc/modprobe.d, so, I guess, this has been fixed.