[ltp] ThinkPad T23: IBM ACPI does not work with kernel 2.6.12.4, ACPI 2005-07-28, compiled by GCC 4.0.1

Martin Steigerwald linux-thinkpad@linux-thinkpad.org
Sat, 13 Aug 2005 14:13:54 +0200


Hello,

anyone tried this on a ThinkPad T23 or some other ThinkPad model?

root@deepdance: -> cat /proc/version
Linux version 2.6.12.4-tp23-acpi-2005-07-29 (root@deepdance) (gcc version 
4.0.1 (Debian 4.0.1-2)) #1 Sat Aug 13 13:18:05 CEST 2005

Thing is that IBM ACPI which used to work okay, doesn't anymore:

root@deepdance: -> modprobe ibm-acpi
FATAL: Error inserting ibm_acpi 
(/lib/modules/2.6.12.4-tp23-acpi-2005-07-29/kernel/drivers/acpi/ibm_acpi.ko): 
No such device

Well I am sure I am using this on an IBM laptop, thanks! ;-)

I came to this as pressing Fn-F12 did not start a suspend to disk anymore. 
Well and with Fn-F7 or some time after Fn-F12 (I was pressing those two 
wildly) I got a blank screen with lots of harddisk activity and no 
reaction to Ctrl-Alt-F1, Alt-F7 switching anymore. After some time I 
decided it might be healthier to switch the laptop off. It booted okay 
afterwards..

Calling my hibernate script manually worked okay, tough for the first time 
the ACPI stuff told me something 

With 2.6.12.2, without ACPI patches (date of the ACPI patches made me 
think it wouldn't make sense to apply them) and compiled with gcc 3.3.5 
(I think it was gcc-3.3 (GCC) 3.3.5 (Debian 1:3.3.5-13) exactly), 
actually IBM-ACPI works okay. At least I could press Fn-F12 for suspend 
to disk.

Well I will recompile the thing with GCC 3.3.5 and look whether this 
helps. When it doesn't I will leave out those ACPI patches (probably that 
ACPI patches are too new for IBM ACPI in 2.6.12).

I nothing works I will stay with 2.6.12.2 which worked quite nicely beside 
some rare hangs on "Checking HLT instruction" when trying to boot. Or 
with 2.6.11.12 which really worked without a glitch.

I will report back.

Regards,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de