[ltp] Supend-To-Disk with Kernel 2.6.8.1 and ACPI-Patch- append resume

Niels Stargardt linux-thinkpad@linux-thinkpad.org
Mon, 18 Oct 2004 16:06:59 +0200


Hi Ronald,
it's exhausting. I take the kernel 2.6.8.1 and patch it with
1. the software-suspend-2.0.0.105-for-2.6.8.1
2. software-suspend-core-2.0-whole
3. acpi-20040816-26-stable-release.diff (I didn't get acpi-20040715-26-stable-release.diff.bz2)
I take your config and compile the whole stuff. This is the current state:
suspend to ram: Doesn't work anymore. Wakes up very quickly or sleeps forever (so I had to unplug the socket).
sound: Doesn't work anymore. Suppose that's because you don't choose the oss-modules.
speed-stepping: cpudyn don't set the frequency down :-(
software suspend to disk2: Doesn't work, because i don't find out what I must do to avoid the following messages:

kernel: Software Suspend 2.0.0.105: Software suspend is disabled.
kernel: This may be because you haven't put something along the lines of
kernel:
kernel: resume2=swap:/dev/hda1
kernel:
kernel: in lilo.conf or equivalent. (Where /dev/hda1 is your swap partition).

Of course I added  resume2=swap:/dev/hda4 to my default kernel-start section in grub, but it doesn't changed anything.

software suspend to disk: Doesn't work. echo 4 > /proc/acpi/sleep is completely ignored, nothing happened.


So I start to analyze your kernel-configuration and found some interesting lines:
CONFIG_ACPI_CUSTOM_DSDT=y
CONFIG_ACPI_CUSTOM_DSDT_FILE="/usr/src/linux-2.6.8.1/drivers/acpi/acpi_dsdt.h"
CONFIG_ACPI_BLACKLIST_YEAR=0
I don't have these options and I don't have the file "acpi_dsdt.h". So from where do you have this?

I try to  make a conclusion, to make sure that I understand everything right:
You have take the kernel 2.6.8.1 with the patches above and compiled them with the mailed config. After that at your IBM Thinkpad R40 (Centrino) 2722 5MG, sound, suspend to ram and software-suspend to disk works. softwaresuspendtodisk2 is untested I supposed.

On my IBM Thinkpad R40 (Centrino) 2722 5MG it doesn't work using the same kernel and softwaresuspendtodisk2-patch but an different ACPI-Patch. Furthermore you have the 3 mystic-lines (*DSDT*) in your kernel-config which I don't find in my config.

Could you check how the DSDT-Lines come into your kernel?
Can you send me the version-number of your bios?

Thanks in advance
	Niels