Skip to contentSkip to conversation

How to debug not working S3?

DISCUSSION Malte Doersam 2 participants 2 messages Jul 17, 2003 – Jul 18, 2003 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi everybody,

I'm curious how you get some usefull information on which point the resume might fail. I'm just trying 2.6-test0 with ACPI revision 20030714 and S1 works quite fine, but S3 is nasty.

Computer: Thinkpad R31 i810 laptop

if I echo 3 to /proc/acpi/sleep all the processes are moved to the refrigerator and the laptop turns itself off. Invoking any acpi-event makes the Thinkpad waking up, I hear the harddrive spinning up for like a second and then turning off again. After this, the system is kinda dead and must be turned off the hard way. (pressing the power button for 4 seconds).

I'd like to gather some information on the problem, which prevents resuming. Any hint/note on how to do this?

cheers Malte

P.S. there is a bug on bugzilla filed in the category 'input devices' but is probably acpi related: http://bugzilla.kernel.org/show_bug.cgi?id=804

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

If you have a parallel port, make a dongle with eight LEDs and trace your way with OUTB until it hangs.
If you don't have a parallel port, insert calls to machine_restart in critical places and see if you ever get there.

In general, you want to get rid of any non-essential gadgets and their drivers (usb, cdrom etc). If your screen is black on resume, you want to check out the s3_bios and s3_mode options, or you might have to resort to POSTing the video adapter from X.

This roadmap to get S3 working might be of help. It is for a completely different machine, but starting with more-or-less the same symptoms as you:

<http://mrohne.home.cern.ch/mrohne/P2120/P2120_Linux_S3.html>

Good luck, Ole

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0