Page 1 of 1

IBM 240x + Suspend2 on 2.6.14.3 kernel (slackware10.2)

Posted: Fri Dec 09, 2005 7:07 am
by teetee
Hello everyone,
I managed to use Suspend2 and hibernate script to dump memory data onto swap partition and resume the system back to where it was with out filesystem corruption/hardware hang :wink: . However, I do have the following issues:
1.The system won't shutdown after it finishs suspending. It simply reboots right after the swap-writing work is done. (when "PowerdownMethod" in hibernate.conf is set to 4 or 5)
2. If the "PowerdownMethod" in hibernate.conf is set to 3(suspend-to-RAM), the system hangs with blank but on screen during resume. From this page I think I might be able to find out what causes this problem:
http://www.suspend2.net/HOWTO-5

My system configuration:
kernel : 2.6.14.3 with ACPI and suspend2 compiled-in. Also I turned on IBM-ACPI support both in the kernel and in hibernate.conf.
Loaded modules: http://lmm.homeip.net/~sclan/lsmod_result.txt
hibernate.conf: http://lmm.homeip.net/~sclan/hibernate.conf
kernel .config: http://lmm.homeip.net/~sclan/.config

Actually from http://ibm-acpi.sourceforge.net/ there is no thinkpad 240x on the compatible list so maybe I should try to remove the ibm-acpi from the kernel and/or from the hibernate.conf.

Any ideas?

Posted: Tue Dec 13, 2005 1:25 pm
by karmaflux
I don't normally recommend this, but I'm going to suggest you use APM with that machine instead of ACPI. The functionality you'll lose by not having ibm-acpi installed is pretty minimal on an older machine, and APM support is rock-solid compared to ACPI on older thinkpads.

Another option is to make sure your DSDT is working correctly; you can find a decent tutorial on that here. I know, I know; it's on a Gentoo site, but this is a good guide, and it's pretty platform-independent.

I think your problem has to do with ACPI. A lot of Thinkpads won't suspend properly without a little DSDT hacking. Also, I'd heep PowerdownMethod stuck at 5. You don't get much benefit from going into S4, and it uses more power.

Posted: Tue Dec 13, 2005 2:36 pm
by teetee
Thank you so much. I recall sometime ago I did use that gentoo website trying to get my ACPI working by editing DSDT. However I got stuck at the "Reparing DSDT" section because I couldn't get the compilation done without errors. Oh well, still thanks a lot.

Posted: Tue Dec 13, 2005 2:40 pm
by karmaflux
teetee wrote:Thank you so much. I recall sometime ago I did use that gentoo website trying to get my ACPI working by editing DSDT. However I got stuck at the "Reparing DSDT" section because I couldn't get the compilation done without errors. Oh well, still thanks a lot.
If you want to, you can e-mail me the DSDT dump and I'll try to fix it for you. I speak assembly language; I'm that kind of nerd. :)

If you want, send it to my username at gmail.com