I'm trying to set up ACPI power management, but I can't get my system to resume from suspend-to-RAM; does anyone have any idea how to proceed, please?
The details: the system is Fedora core 4, on an IBM ThinkPad, with a home-compiled 2.6.14 kernel (but the result is much the same with a Fedora stock 2.6.13 kernel.)
After I suspend with a (bash) script (cobbled together from bits of advice and scripts on the WWW,) run in an xterm, whose functional part is:
rmmod uhci_hcd rmmod ehci_hcd echo `fgconsole` > /var/cache/acpi/vt chvt 8 echo -n "auto_disable" > /proc/acpi/ibm/video echo -n "mem" > /sys/power/state echo -n "auto_enable" > /proc/acpi/ibm/video chvt `cat /var/cache/acpi/vt` rm -f /var/cache/acpi/vt modprobe uhci_hcd modprobe ehci_hcd
then resume by pressing the power button, the system comes back, and shows me my xsession, but then hangs when trying to run any commands.
When I run the script from the console, then resume by pressing the power button, the system dies (after a long-ish pause) with various error messages, in which there are references to "spinlock recursion," "spinlock lockup," and repeatedly to "ATA Timeout."