[ltp] T60p: Kernel patches required for suspend to ram?

Kristian Berge Nessa linux-thinkpad@linux-thinkpad.org
Wed, 4 Oct 2006 19:19:47 +0200


Hi,

Are there any kernel patches required for ACPI suspend to ram to work properly 
on a T60p running (vanilla) kernel 2.6.18, with SATA in 'Compability' mode?

The machine seems to suspend fine, but on resume is left in a non-responding 
state where the 'suspended' (moon) indicator is still lit, but the HDD & fan 
is spun up. Nothing works except powering off.
The last line in /var/log/acpid is: "BEGIN HANDLER MESSAGES",
as it (seems to) never return from "echo -n mem > /sys/power/state".

I've tried almost every kernel release and -rc from 2.6.16 up to 2.6.18, but 
every one behaves the same. I've tried vanilla kernels, -mm kernels, stock 
debian and stock ubuntu kernels.

I've tried different variants of BIOS options, kernel options (ec_intr etc.), 
and acpi action scripts, to no avail...

And to top it off, Novell's SLED 10.1 works flawlessly wrt. ACPI 
suspend/resume on the same machine. But I'm a little too addicted to Debian 
to go that route just yet...

So, in essence, the question is: What magic have Suse done to their (2.6.15 
based) kernel in order for this to work, that is not yet in the mainline 
2.6.18 kernel?

I do suppose the 'AHCI patches' have no effect when I'm 
running 'Compatibility' mode, or am I wrong?

- Kristian