Resume failure on Acer TravelMate 662

Bug #254890 reported by Peter Klotz
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: linux-image

Ubuntu 8.04, i386, linux-image 2.6.24-19.36

Suspend works fine but on resume the system only shows a blank screen. USB devices show no sign of life nor does the caps lock key show any response.

Investigating with "echo 1 > /sys/power/pm_trace" gives the following result in dmesg after a reboot:

[ 10.367810] hash matches /build/buildd/linux-2.6.24/drivers/base/power/main.c:112
[ 10.367850] hash matches device ttys9
[ 10.367862] hash matches device ttypc
[ 10.367965] hash matches device PNP0100:00

A find command gave two hits in /sys:

root@centrino:~# find /sys -name "PNP0100:00"
/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:09/PNP0100:00
/sys/bus/acpi/devices/PNP0100:00

However "lspnp" shows nothing about a "PNP0100" device.

root@centrino:~# lspnp
00:00 PNP0a03 PCI bus
00:01 PNP0b00 AT real-time clock
00:02 PNP0c04 Math coprocessor
00:03 PNP0200 AT DMA controller
00:04 PNP0c02 Motherboard resources
00:05 INT0800 (unknown)
00:06 PNP0303 IBM enhanced keyboard (101/102-key, PS/2 mouse support)
00:07 PNP0f13 PS/2 port for PS/2-style mice
00:08 PNP0401 ECP printer port
00:09 PNP0501 16550A-compatible serial port

Therefore I am not able to deduce a module that could be the cause for the failing resume.

I tried unloading a few modules that are not absolutely necessary but the system never resumed.

Revision history for this message
Peter Klotz (peter-klotz) wrote :
Revision history for this message
Peter Klotz (peter-klotz) wrote :

Detailed investigation using kernel.org kernels:

2.6.24.7: hangs on resume (like Ubuntu 2.6.24-19.36)
2.6.25.15: works (with appropriate HAL quirks)
2.6.26.2: hangs on suspend

Ubuntu 8.10 Alpha (Kernel 2.6.26) also hangs on suspend.

Revision history for this message
Nick Ellery (nick.ellery) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description didn't include enough information.

Please include the information requested at https://wiki.ubuntu.com/DebuggingACPI as separate attachments.

Changed in linux-meta:
status: New → Incomplete
Revision history for this message
Peter Klotz (peter-klotz) wrote :

The cause of the problem was already found by someone else:

http://osdir.com/ml/linux.kernel.suspend.devel/2007-10/msg00091.html

"rmmod ehci_hcd" makes suspend/resume work (more or less). What remains is a distorted X server display that I can reproduce with 2.6.24.7 and that cannot be fixed with HAL quirks.

In 2.6.25.15 however everything works perfectly (using pm-suspend quirks --quirk-vbe-post and --quirk-vbemode-restore).

I am not sure it is worth trying to fix all this in 2.6.24.

What bothers me is that 2.6.26 fails too. It would be great to have out of the box suspend/resume in Ubuntu 8.10.

Revision history for this message
Peter Klotz (peter-klotz) wrote :
Revision history for this message
Peter Klotz (peter-klotz) wrote :
Changed in linux:
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Peter Klotz (peter-klotz) wrote :

Good news: Suspend/Resume works in 2.6.27-2 (8.10 Alpha5) out of the box.

It works even without the quirks that were previously necessary to make consoles work.

One minor issue remains:

When attaching an external monitor and disabling my internal laptop screen (xrandr --output LVDS --off) then suspending hangs the system.

I'll report a new bug report for this issue since it is somewhat different from my original bug report.

This bug can be closed since working suspend/resume in 8.10 Alpha obsoletes the resume failure in 8.04.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thanks Peter. I'm marking this Fix Released. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thank you again for taking the time to report this bug and helping to make Ubuntu better. Feel free to submit any future bugs you may find.

Changed in linux:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.