[ltp] Crash on resume
Charles E Taylor IV
linux-thinkpad@www.bm-soft.com
Wed, 28 Aug 2002 09:25:28 -0400
On 28 Aug 2002 11:22:15 +1200
Bret Comstock Waldow <bwaldow@compuserve.com> wrote:
> This is a compile flag put into the kernel expressly to deal with a disk
> corruption issue the occurs after suspend-resume for IBM Thinkpads
> because of the BIOS. You have to set it, and recompile the kernel.
I think modern kernels will do this for you if they detect a Thinkpad.
My machine (a 600) does this (stock RH 7.3, no kernel recompile):
kernel: IBM machine detected. Enabling interrupts during APM calls.
$uname -a
Linux tycho 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown
> Some distributions may already provide a kernel that has this option
> configured. I don't know.
It seems that the right option is enabled whether you recompile for it or
not. The .config redhat doesn't:
[...]
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
[...]
I 95% of the time tell my laptop to hibernate, as my battery's going bad.
No suspend/hibernate/resume problems so far on this laptop, except:
I can't hibernate when a PCMCIA card is physically in the slpt. It
"boops" and won't even attempt to hibernate. Not a real problem,
though, as I have to take the card out to put my laptop in its bag.
--
--------------------------------------------------------------------
* Charles Taylor <tomalek@mindspring.com>
* Chemistry teacher, Linux enthusiast!
--------------------------------------------------------------------
* College Chemistry website: http://home.mindspring.com/~charletiv/
--------------------------------------------------------------------
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html