Hibernation breaks between 2.6.23 and 2.6.24 on Acer Aspire 1690
Hi all,
I've got Fedora 10 on Acer Aspire 1690 (1692 WLMi to be exact) and some time ago I noticed that pm-hibernate has the following problem:
pm-hibernate runs ok and cleanly shuts down the machine that at the very moment it is supposed to be hibernated it wakes up and resumes as if I had pressed the power button.
I compiled few kernel.org kernels and noticed this starts to occur between 2.6.23 and 2.6.24. 2.6.23 and all older versions work, 2.6.24 and new versions fail, including 2.6.28.
Does anyone have any suggestions what might be causing this? I mean, could I try some boot parameter or some simple patch before starting to bisect this?
FWIW, dmesg/lspci output can be found from my Fedora bug report at
https://bugzilla.redhat.com/show_bug.cgi?id=476430
Thanks!
Quoted 9 lines · Daniel Qarras
Hi all,
I've got Fedora 10 on Acer Aspire 1690 (1692 WLMi to be exact) and some time ago I noticed that pm-hibernate has the following problem:
pm-hibernate runs ok and cleanly shuts down the machine that at the very moment it is supposed to be hibernated it wakes up and resumes as if I had pressed the power button.
I compiled few kernel.org kernels and noticed this starts to occur between 2.6.23 and 2.6.24. 2.6.23 and all older versions work, 2.6.24 and new versions fail, including 2.6.28.
Does anyone have any suggestions what might be causing this? I mean, could I try some boot parameter or some simple patch before starting to bisect this?
Unfortunately, that's quite a few kernel versions back. I'm afraid we won't be able to resolve this without knowing which patch broke it for you.
Thanks,
Rafael
Hi!
Quoted 14 lines
Quoted 9 lines
I've got Fedora 10 on Acer Aspire 1690 (1692 WLMi to be exact) and some time ago I noticed that pm-hibernate has the following problem:
pm-hibernate runs ok and cleanly shuts down the machine but at the very moment it is supposed to be hibernated it wakes up and resumes as if I had pressed the power button.
Quoted 4 lines
I compiled few kernel.org kernels and noticed this starts to occur between 2.6.23 and 2.6.24. 2.6.23 and all older versions work, 2.6.24 and newer versions fail, including 2.6.28.
Quoted 4 lines
Unfortunately, that's quite a few kernel versions back.
I'm afraid we won't be
able to resolve this without knowing which patch broke it for you.
I've now bisected this to this commit:
If I revert that from 2.6.24 hibernation also works with it. With 2.6.28 the patch does not cleanly apply so I didn't test it.
I am able and willing to test any patches you might cook up.
Thanks!
Quoted 21 lines · Daniel Qarras
Hi!
Quoted 14 lines
Quoted 9 lines
I've got Fedora 10 on Acer Aspire 1690 (1692 WLMi to be exact) and some time ago I noticed that pm-hibernate has the following problem:
pm-hibernate runs ok and cleanly shuts down the machine but at the very moment it is supposed to be hibernated it wakes up and resumes as if I had pressed the power button.
Quoted 4 lines
I compiled few kernel.org kernels and noticed this starts to occur between 2.6.23 and 2.6.24. 2.6.23 and all older versions work, 2.6.24 and newer versions fail, including 2.6.28.
Quoted 4 lines
Unfortunately, that's quite a few kernel versions back.
I'm afraid we won't be
able to resolve this without knowing which patch broke it for you.
Quoted 7 lines
I've now bisected this to this commit:
If I revert that from 2.6.24 hibernation also works with it. With 2.6.28 the patch does not cleanly apply so I didn't test it.
I am able and willing to test any patches you might cook up.
Have you tried with acpi_sleep=old_ordering in the kernel's command line?
Rafael
Hi!
Quoted 6 lines
Quoted 2 lines
I've now bisected this to this commit:
Have you tried with acpi_sleep=old_ordering in the kernel's command line?
I hadn't done that yet, never heard about such parameter. Well, tested with Fedora 10 kernel and 2.6.28, it does not fix the issue.
Cheers!
Quoted 10 lines · Daniel Qarras
Hi!
Quoted 6 lines
Quoted 2 lines
I've now bisected this to this commit:
Have you tried with acpi_sleep=old_ordering in the kernel's command line?
I hadn't done that yet, never heard about such parameter. Well, tested with Fedora 10 kernel and 2.6.28, it does not fix the issue.
Thanks for verification.
Apparently, one of devices is set up to wake up the system and it does that right after it's been put to sleep. I don't think it's a PCI device, because 2.6.28 prevents PCI devices from doing this, unless they are intentionally set up for system wake-up.
Can you send me the output of /proc/acpi/wakeup, please?
Rafael
Hi!
Quoted 6 lines
Apparently, one of devices is set up to wake up the system and it does that right after it's been put to sleep. I don't think it's a PCI device, because 2.6.28 prevents PCI devices from doing this, unless they are intentionally set up for system wake-up.
Can you send me the output of
/proc/acpi/wakeup, please?
Sure, please see below:
localhost:~> cat /proc/acpi/wakeup
Device S-state Status Sysfs node
RP01 S4 disabled pci:0000:00:1c.0 RP02 S4 disabled pci:0000:00:1c.1 RP04 S4 disabled USB1 S3 disabled pci:0000:00:1d.0 USB2 S3 disabled pci:0000:00:1d.1 USB3 S3 disabled pci:0000:00:1d.2 USB4 S3 disabled pci:0000:00:1d.3 USB7 S3 disabled pci:0000:00:1d.7 LANC S4 disabled pci:0000:06:08.0 MODM S3 disabled pci:0000:00:1e.3
localhost:~>
Thanks!
Quoted 23 lines · Daniel Qarras
Hi!
Quoted 6 lines
Apparently, one of devices is set up to wake up the system and it does that right after it's been put to sleep. I don't think it's a PCI device, because 2.6.28 prevents PCI devices from doing this, unless they are intentionally set up for system wake-up.
Can you send me the output of
/proc/acpi/wakeup, please?Sure, please see below:
localhost:~> cat
/proc/acpi/wakeup
Device S-state Status Sysfs nodeRP01 S4 disabled pci:0000:00:1c.0 RP02 S4 disabled pci:0000:00:1c.1 RP04 S4 disabled USB1 S3 disabled pci:0000:00:1d.0 USB2 S3 disabled pci:0000:00:1d.1 USB3 S3 disabled pci:0000:00:1d.2 USB4 S3 disabled pci:0000:00:1d.3 USB7 S3 disabled pci:0000:00:1d.7 LANC S4 disabled pci:0000:06:08.0 MODM S3 disabled pci:0000:00:1e.3
Quoted 1 line
localhost:~>
OK, thanks.
Can you try to unload the USB controller drivers before hibernation and see what happens?
Rafael
Hi!
Quoted 14 lines
Quoted 12 lines
localhost:~> cat
/proc/acpi/wakeup
Device S-state Status Sysfs nodeRP01 S4 disabled pci:0000:00:1c.0 RP02 S4 disabled pci:0000:00:1c.1 RP04 S4 disabled USB1 S3 disabled pci:0000:00:1d.0 USB2 S3 disabled pci:0000:00:1d.1 USB3 S3 disabled pci:0000:00:1d.2 USB4 S3 disabled pci:0000:00:1d.3 USB7 S3 disabled pci:0000:00:1d.7 LANC S4 disabled pci:0000:06:08.0 MODM S3 disabled pci:0000:00:1e.3Quoted 1 line
localhost:~>
Quoted 4 lines
OK, thanks.
Can you try to unload the USB controller drivers before hibernation and see what happens?
Tested with 2.6.28 with all USB related modules unloaded and, as if by magic, hibernation worked! :)
Cheers!
Quoted 16 lines · Daniel Qarras
Hi!
Quoted 14 lines
Quoted 13 lines
localhost:~> cat
/proc/acpi/wakeup
Device S-state Status Sysfs nodeRP01 S4 disabled pci:0000:00:1c.0 RP02 S4 disabled pci:0000:00:1c.1 RP04 S4 disabled USB1 S3 disabled pci:0000:00:1d.0 USB2 S3 disabled pci:0000:00:1d.1 USB3 S3 disabled pci:0000:00:1d.2 USB4 S3 disabled pci:0000:00:1d.3 USB7 S3 disabled pci:0000:00:1d.7 LANC S4 disabled pci:0000:06:08.0 MODM S3 disabled pci:0000:00:1e.3localhost:~>
Quoted 6 lines
Quoted 4 lines
OK, thanks.
Can you try to unload the USB controller drivers before hibernation and see what happens?
Tested with 2.6.28 with all USB related modules unloaded and, as if by magic, hibernation worked! :)
IIRC, it should be sufficient to unload ehci-hcd.
It is a chipset issue rather than anything else.
Please send the output of lspci -vv
Thanks,
Rafael
Hi!
Quoted 8 lines
Quoted 2 lines
Tested with 2.6.28 with all USB related modules unloaded and, as if by magic, hibernation worked! :)
IIRC, it should be sufficient to unload ehci-hcd.
It is a chipset issue rather than anything else.
Please send the output of lspci -vv
Please find lspci -vvv output from my Fedora bug report:
https://bugzilla.redhat.com/attachment.cgi?id=326874
Thanks!
Quoted 7 lines · Daniel Qarras
Hi!
Quoted 5 lines
Quoted 2 lines
Tested with 2.6.28 with all USB related modules unloaded and, as if by magic, hibernation worked! :)
IIRC, it should be sufficient to unload ehci-hcd.
Quoted 7 lines
Quoted 3 lines
It is a chipset issue rather than anything else.
Please send the output of lspci -vv
Please find lspci -vvv output from my Fedora bug report:
OK, please check if it is sufficient to unload ehci-hcd and/or uhci-hcd before hibernation.
Thanks,
Rafael
Hi!
Quoted 6 lines
Quoted 3 lines
Please find lspci -vvv output from my Fedora bug report:
OK, please check if it is sufficient to unload ehci-hcd and/or uhci-hcd before hibernation.
It is sufficient to unload ehci-hcd. Unloading uhci-hcd does not help.
Thanks!
Quoted 10 lines · Daniel Qarras
Hi!
Quoted 6 lines
Quoted 3 lines
Please find lspci -vvv output from my Fedora bug report:
OK, please check if it is sufficient to unload ehci-hcd and/or uhci-hcd before hibernation.
It is sufficient to unload ehci-hcd. Unloading uhci-hcd does not help.
Thanks for verifying.
I think we'll need to use a blacklist to work around this issue, but I need to discuss this with other people.
Please ping me if I don't get back to you for some time.
Thanks,
Rafael
Hi!
Quoted 9 lines
Quoted 2 lines
It is sufficient to unload ehci-hcd. Unloading
uhci-hcd does not help.Thanks for verifying.
I think we'll need to use a blacklist to work around this issue, but I need to discuss this with other people.
Please ping me if I don't get back to you for some time.
Ok, will do, thanks!