Bug 4744
Summary: | usb storage errors with amd64 frequency scaling | ||
---|---|---|---|
Product: | Power Management | Reporter: | Pawel Golik (pgolik) |
Component: | cpufreq | Assignee: | cpufreq (cpufreq) |
Status: | CLOSED UNREPRODUCIBLE | ||
Severity: | normal | CC: | greg, kernel, lenb |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.11, 2.6.12_rc6 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Pawel Golik
2005-06-14 02:03:01 UTC
Distribution:Gentoo 2005.0 Hardware Environment:nvidia nForce4 motherboard (Gigabyte); Athlon64 3000+ s939; USB external hard drive USB 2 device gets ehci_hcd errors when cpu is not at full frequency. Upon unloading ehci_hcd module the computer immediately detects the drive and works normally except at USB 1.1 speeds. No reconnect of device required. Interesting, at home I have an nForce3 system, and USB storage works perfectly, even with frequency at the lowest. I thought it was VIA-specific. Are you using ohci_hcd on the nForce for USB1.1? (My VIA uses uhci_hcd). "additional comment #1" confirmed on a nforce3 motherboard Power problem: could it be a problem with the computer, like not giving enough power for USB2 ports at low frequency? Timing problem: could it be that when the computer boots it is at the high speed, it calculates jiffies, and then when it is at low frequency and it wants to delay a while it has a different frequency and it doesn't wait enough for the device to be recognized? ohci_hcd always works for my USB2 device but is painfully slow. Obvoiusly this happens on some hardware and not on another, and is not simply tied to one particular chipset. USB devices that are present at boot are not affected, the kernel doesn't begin to scale down frequency until it is told so, either by issuing echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor or by an userspace daemon. An USB 2 device I tried (a card reader) works every time. I have experienced this problem only with USB storage devices. Downstream bug report: http://bugs.gentoo.org/show_bug.cgi?id=94496 does this problem still exist with the latest 2.6.20 kernel? Markus No problem since 2.6.19 for me. |