You are not logged in.
@SanskritFritz
Look at my earlier comment. I had this too but fixed it by disabling usb legacy support in the bios.
Offline
@SanskritFritz
Look at my earlier comment. I had this too but fixed it by disabling usb legacy support in the bios.
Sadly this is not an option for me
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
I had the same problem. Eventually that was solved by custom kernel compilation. Please, see my post for future information.
Offline
Indeed. I now have compiled and installed the linux-pf from aur (I used all default settings) and while the transfer itself seems to stall sometimes I have not had any problems with other applications running slow whatsoever.
฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz
Offline
Hmm. Any other way to do this? Using archlinux on a desktop this becomes a big problem.
Last edited by webdawg (2011-11-15 19:19:02)
Offline
@webdawg, why? I did a custom kernel config, while Cdh used a default one from AUR. Just install yaourt - "a pacman wrapper with extended features and AUR support", type
yaourt -S linux-ck
# or
yaourt -S linux-pf # as Cdh proposed
and be happy.
But I'm not sure if out-of-the-box kernel with default config from AUR will help in your particular case
Offline
What I mean is that I know that arch is ment for alot of different systems and system types.
Why is this fix not included in the main repos? It seems like a big problem.
Offline
What I mean is that I know that arch is ment for alot of different systems and system types.
Why is this fix not included in the main repos? It seems like a big problem.
Not sure what exactly do you mean by 'this fix' but Arch ships vanilla packages, so 'this fix' should be included upstream.
Offline
I have the same problem. I will try to compile my own kernel when I have enough time, but I am afraid that every time I try to setup and compile my own kernel, some of the things just don't work.
Anyway... Does anybody here know what exactly the problem is? It is noticeable when copying to usb, but for people like me without a lot of RAM it seems to happen every time the system uses swap. (And yes, I know that swapping is slower but that doesn't mean that the mouse cursor should freeze for a moment and the music should skip.)
It seems to be related to I/O operations. As far as I know and I've read the when an app requests I/O resource the kernel puts the thread to sleep until the IO can be serviced so that other threads can use it. What happens here is that the processor is like 90% free (iowait) and the system is unresponsive.
So what's going on here?
Offline
I have the same problem. I will try to compile my own kernel when I have enough time, but I am afraid that every time I try to setup and compile my own kernel, some of the things just don't work.
You can try e.g. -ck kernel or the -pf one, as sealemar suggested.
Offline
I've tried the -ck and it didn't work. I haven't tried the -pf one.
Offline
Oh, and I downloaded it (-ck) compiled. I haven't compiled it myself.
Offline
Compiling both the -ck and -pf kernels with their stock config files yielded no fix.
However, using the LTS kernel fixes my problem.
Please try that out let me know your results. It would give a range of kernel releases to search through for changes.
Last edited by Draje (2011-11-18 01:21:04)
Offline
Oh, and I downloaded it (-ck) compiled. I haven't compiled it myself.
That's the reason. I did a custom config. It is true that making your own config is a big pain, but starting with something already patched can be a good idea. I picked -ck up and didn't performed as much changes as I would if I got a vanilla one. In the case of custom config, your biggest friends are
# lspci
# lsusb
# lsmod # from your currently running generic kernel
$ cat /proc/cpuinfo
Offline
I modified PKGBUILD, linux-ck.install and linux-ck.preset a bit, so here they are. I thought diff wouldn't be that suitable, because they are bigger than real files and they are hard to see when the version changes.
Offline
Compiling both the -ck and -pf kernels with their stock config files yielded no fix.
However, using the LTS kernel fixes my problem.
Please try that out let me know your results. It would give a range of kernel releases to search through for changes.
The lts kernel kind of fixes the problem. But there are a lot of things that don't work there (I haven't compiled it, i just downloaded it from the repository). For example the consoles are in text mode which means 25 rows by 80 columns. The drivers for my video card didn't work (I haven't spent much time trying to find out why). I'll try maybe to compile the main kernel (not the patched versions) and see what can be done.
I've used the ck kernel but it crashes from time to time and some things (like suspend) don't work so I would like to try to work things out with the main kernel.
@sealemar: Do you know exactly which kernel settings cause the problem? Maybe I'll try to extract /proc/config.gz and change just enough things to fix the problem. Help would be appreciated.
Offline
The lts kernel kind of fixes the problem. But there are a lot of things that don't work there (I haven't compiled it, i just downloaded it from the repository). For example the consoles are in text mode which means 25 rows by 80 columns. The drivers for my video card didn't work (I haven't spent much time trying to find out why).
I don't know what crd do you have, but there's e.g. http://www.archlinux.org/packages/?name=nvidia-lts
Offline
ShwangShwing wrote:The lts kernel kind of fixes the problem. But there are a lot of things that don't work there (I haven't compiled it, i just downloaded it from the repository). For example the consoles are in text mode which means 25 rows by 80 columns. The drivers for my video card didn't work (I haven't spent much time trying to find out why).
I don't know what crd do you have, but there's e.g. http://www.archlinux.org/packages/?name=nvidia-lts
... I have radeon 1300 pro. Anyway I'd like to make the main kernel work if possible.
Offline
@ShwangShwing, I don't know which particular settings caused the problem, unfortunately. I made a lot of changes both adding new options and removing existing.
Regarding you 80x25 console, this Arch wiki Uvesafb may help you.
Offline
With regular arch kernels, I was experiencing problems (system unresponsive mainly) when copying files from / to USB sticks. Now I installed linux-ck from AUR and the first impression is, this -ck kernel works much, much better. There is no sign of unresponsiveness even with very long transfers.
Offline
Does anyone want to test Gorman's patch?
http://lwn.net/Articles/467332/
Offline
http://www.h-online.com/open/features/K … 95236.html
[...]The writeback code now throttles programs which generate large volumes of data for writing to storage media more efficiently [...] This should ensure that the system reacts to user interaction quickly and does not become overloaded by trying to cache large volumes of data, such as can occur with dd when writing to a very slow disk. [...]
Offline
Unfortunately, as ShwangShwing said, -ck (and -bfs) kernels has problems with suspend / hibernate.
Offline
Tested Gorman's patch: got a crash doing a long backup to USB disk device.
kernel: standard 3.1.5 (pulled from ABS) + the patch
Now I'm testing the "Alternative to the 200 lines kernel patch that does wonders", followed this: http://pastebin.com/raw.php?i=sHRYRuAN
Initially it seems to work very well under heavy IO load.
Offline
Now I'm testing the "Alternative to the 200 lines kernel patch that does wonders", followed this: http://pastebin.com/raw.php?i=sHRYRuAN
Initially it seems to work very well under heavy IO load.
No.
system still hangs when copying data to usb device. Period.
Offline