Bug 12211
Summary: | Video/AHCI/keyboard failure on resume on Acer Aspire 8930G | ||
---|---|---|---|
Product: | Power Management | Reporter: | Hector Martin (marcan) |
Component: | Hibernation/Suspend | Assignee: | Zhang Rui (rui.zhang) |
Status: | REJECTED UNREPRODUCIBLE | ||
Severity: | high | CC: | rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.27.8 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 7216 | ||
Attachments: |
dmesg, boot through suspend and resume
lspci -nn -v |
Description
Hector Martin
2008-12-12 15:48:54 UTC
Created attachment 19267 [details]
dmesg, boot through suspend and resume
Grep for "Syncing filesystems" to find the point where the system is suspended.
This was captured by blindly typing:
# dmesg | nc basestar 10033
after making sure dmesg and nc were in RAM cache before suspending.
Created attachment 19268 [details]
lspci -nn -v
Just to clarify, all of the issues are reproducible without the nvidia binblob driver and the attached dmesg and lspci were obtained with a non-tainted kernel. Tried suspend to disk. SATA survived here, and the system is happily running after resuming. However, the keyboard still failed with this message: atkbd.c: Failed to enable keyboard on isa0060/serio0 Additionally, this also hangs the bios on boot. Here's the two cases: - Suspend to RAM - Resume (crash due to AHCI death) - Force a power off with power button - Power on - BIOS hangs on boot with no video - Remove AC and battery - Power on - BIOS boots fine - Linux boots - Suspend to disk - System shuts down after suspend - Power on - BIOS hangs on boot with no video - Remove AC and battery - Power on - BIOS boots fine - Linux resumes from disk - Keyboard dead, rest of system resumed OK One more note: the Synaptics touchpad (also on serio) also seems to stop working together with the keyboard. hah, this really looks like a BIOS issue. anyway, please 1. get 2.6.28 kernel source 2. set CONFIG_PM_DEBUG and rebuild 3. in the new kernel, echo {freezer, devices, platform, processors, core} > /sys/power/pm_test 4. echo mem > /sys/power/state 5. does the system come back in a few seconds, w/o pressing the power button? 6. if no, get the dmesg of the last successful test and attach it here. Okay, it's been a while. I'm running 2.6.29-gentoo-r5 now, with better results. Suspend to disk: The keyboard issues are gone. In "platform" mode, instead of shutting the computer down after suspend, it hangs with a blinking suspend LED. The power LED is blue during power on, and it's supposed to blink red in suspend mode. When I use the platform suspend to disk mode, it stays blue and yet blinks red at the same time (blue/magenta). Everything else seems to stay powered on. Forcing a shutdown by holding the power button works, as does powering back up and restoring. In the "shutdown" suspend to disk mode everything now works fine. Suspend to ram: Suspend appears to work fine, with the power LED blinking red (no blue this time, and it appears to power down most of the hardware). Upon restore, the HDDs are dead as before. All of {freezer, devices, platform, processors, core} in /sys/power/pm_test followed by suspend-to-ram worked fine with no HDD failure after automatically resuming. Looks like the BIOS breaks SATA/AHCI after being in suspend-to-ram state. so please attach the dmesg output after resume, in 2.6.29 kernel, both with 1. /sys/power/pm_test == core 2. /sys/power/pm_test == none Latest BIOS update (1.13) resolves the issue. For future reference, it can be downloaded at: http://tinyurl.com/dbqaop (it's not available on all Acer sites) Currently using 2.6.30-gentoo-r2. Suspend works, resume works, hibernate works. Please close. Fixed by BIOS upgrade, close it. |