Latest working kernel version: no idea Earliest failing kernel version: 2.6.28-rc6 Distribution: Ubuntu Intrepid 64 bits Hardware Environment: Laptop HP DV7-1050EF Software Environment: Problem Description: The system is unable to wake up after suspend to ram. The suspend process works fine. But when I push the power button, It's impossible to get a functional system, there is a lot of lines like these: ata1: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xe frozen ata1: SError: { DevExch } ata2: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xe frozen ata2: irq_stat 0x00000040, connection status changed ata2: SError: { DevExch } The only way to reboot is with SysRq keys. A complete bug has been posted in launchpad at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/301353 Using /etc/acpi/sleep.sh or s2ram is identical. I don't know if it's a problem with acpi bios or a kernel bug.
Created attachment 19051 [details] dmesg
Created attachment 19052 [details] dmidecode
Created attachment 19053 [details] kern.log
Created attachment 19054 [details] lspci
Created attachment 19055 [details] lsusb
Created attachment 19056 [details] kernel-config
(In reply to comment #0) > > The system is unable to wake up after suspend to ram. > The suspend process works fine. > But when I push the power button, It's impossible to get a functional system, > there is a lot of lines like these: > > ata1: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xe frozen > ata1: SError: { DevExch } > ata2: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xe frozen > ata2: irq_stat 0x00000040, connection status changed > ata2: SError: { DevExch } > seems like a sata problem? cc Tejun. :)
Will you please enable the CONFIG_PM_DEBUG, CONFIG_PM_TRACE in kernel configuration and do the following test? a. echo core > /sys/power/pm_test b. echo mem > /sys/power/state and see whether the system can be resumed very well (you needn't press the power button). If it can be resumed, please add the boot option of "acpi_sleep=s3_beep" and do the following test a. echo 1 > /sys/power/pm_trace b. echo mem > /sys/power/state c. press the power button to resume the system and see whether the beep voice can be heard. Thanks
After the first test, the system resume fine. But in the second test, the is no beep, and the sata errors are still present. I notice the sound card is not activated too.
Created attachment 19061 [details] dmesg test 1
Created attachment 19062 [details] dmesg test 2
after killing acpid (lsof /proc/acpi/event), the only trace after trying to resume (echo mem > /sys/power/state + power button) and rebooting my laptop is: [ 7.242210] Magic number: 0:77:410 [ 7.242212] hash matches drivers/base/power/main.c:390
The last bios update from HP (F21) solves the problem.
Close this bug as it's fixed by upgrading the BIOS. Druelle, please re-open it if you can reproduce the problem in the latest upstream kernel.
This problem still exists on the dv5t model, on both a fresh install of Ubuntu 8.10 using the 2.6.27-9 kernel, and on an upgrade to Ubuntu 9.04 with kernel 2.6.28-2. When booted from a USB flash drive, resume completes with just the SATA hd being inaccessible. Given that, I can probably run whatever diagnostics might be useful from the flash install, but I'm not really familiar with what would be needed, so if someone can point me in the right direction I'd appreciate it.