Bug 140004
Summary: | Update to 2.6.9-1.3 breaks APM Suspend to RAM | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Frank Schmitt <tonne2004> |
Component: | kernel | Assignee: | Dave Jones <davej> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | pfrields, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.6.10-1.766_FC3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-02-20 22:20:21 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Frank Schmitt
2004-11-19 08:53:43 UTC
Described behaviour is still present in Core 3 with kernel-2.6.9-1.681_FC3 Updating to kernel-2.6.9-1.715_FC3 also doesn't help. I just tried Koppix 3.7 which also ships 2.6.9. I booted with knoppix26 apm=on acpi=off and here APM Suspend to RAM worked. So either Knoppix/Debian has a patch or the problem is Fedora specific. Trying to build a stock 2.6.9 from kernel.org with Fedoras config now. Ok. I just did the followiing: tar xjf linux-2.6.9 && cd linux-2.6.9 cp /boot/config-2.6.9-1.681_FC3 . make oldconfig (accepted default in all questions) disabled "kernel debugging" make && make modules_install && make install booted into new homebrewed kernel and hody, APM suspend works. So the problem seems to be caused by a patch in Fedoras RPM which was introduced between the transition from 2.6.8 and 2.6.9 in the Core 2 cycle. I'm perfectly willing to dig deeper into the issue but am running out of ideas right now. Any tip on what to do next would be greatly appreciated... Ok, I found it. As you see in my last post, I did an error: cp /boot/config-2.6.9-1.681_FC3 . should have been cp /boot/config-2.6.9-1.681_FC3 ./.config Because of this error, make oldconfig took the settings from the currently running kernel, 2.6.8. Tried make oldconfig again with the settings from Fedoras 2.6.9 (on the stock kernel sources) and it was broken again. I worked through the diffs between the configs and finally found the cause of the problem: In the Fedora 2.6.9 kernels there's "CONFIG_USB_SUSPEND=y". If I disable this, everything works again. So the problem is *not* Fedora specific but an upstream bug caused by the USB-Suspending-Code introduced in 2.6.9. I'm building 2.6.10rc3 right now to see if it's already fixed upstream. The guys from the Linux-USB devel list say, that the code is unfinished and not suited for production systems. They therefor strongly discourage distributions enabling it by default. See http://article.gmane.org/gmane.linux.usb.devel/30190 The problem is fixed for me in kernel-2.6.10-1.766_FC3, so I'll close the bug. |