Thinkpad t21 hard lockup when left overnight
When I've left my thinkpad on overnight (without apm --suspend'ing it) when I wake up in the morning, it's locked up hard. For some reason it seems to run for a few hours w/o any interaction on the machine itself, then it just dies. I did a test where I ssh'd into the box and ran a simple while [ 1 ] { data ; sleep 30 } test, and it died after 3,4 hours of inactivity.
I've seen this at least since 2.4.13-AC5, and see it currently in .15-pre8.
I'm using the pcmcia package (instead of the kernel's because I can't get my orinoco card to work with the kernel's driver) and I always have my xircom (ibm rebranded) card inside when it crashes (so the associated module installed). I'm also using the thinkpad module (tpctl related). I also have the cs46xx module installed, as well as using devfs + ext3 (though would the last 2 really have anything to do with it?). The kernel is compiled with usb support, and the rest should be a fairly normal kernel build. How would I go about trying to diagnose why the machine is locking up hard.
Nothing is in syslog when I reboot.
thanks,
shaya potter
Quoted 3 lines · Shaya Potter
When I've left my thinkpad on overnight (without apm --suspend'ing it) when I wake up in the morning, it's locked up hard. For some reason it seems to run for a few hours w/o any interaction on the machine itself,
You need to run apmd. Without it, it'll freeze your system. I had a 240X and a 240Z. Both will freeze after a while if I don't run apmd.
The Thinkpad works better under Linux than Windows98!
Jeff
Quoted 11 lines · Jeff Chua
Quoted 3 lines · Shaya Potter
When I've left my thinkpad on overnight (without apm --suspend'ing it) when I wake up in the morning, it's locked up hard. For some reason it seems to run for a few hours w/o any interaction on the machine itself,
You need to run apmd. Without it, it'll freeze your system. I had a 240X and a 240Z. Both will freeze after a while if I don't run apmd.
The Thinkpad works better under Linux than Windows98!
I am.
root 254 0.0 0.1 1292 508 ? S 08:58 0:00/usr/sbin/apmd -P /etc/apm/apmd_proxy
Quoted 1 line · Shaya Potter
/usr/sbin/apmd-P/etc/apm/apmd_proxy
What version of apmd? My says "apmd version 3.0final"
You might want to call IBM to check if there's a more recent bios upgrade that you can get. Check for T21 at the IBM site below ...
http://www.pc.ibm.com/support?lang=en_US&page=brand&brand=IBM+ThinkPad
Look for T21 under the device driver file matrices.
(Fix) Hang up occurs when suspend/resume is done on a ThinkPad with HDD adapter without a hard disk drive in the ultrabay 2000. (Fix) ACPI compatible Linux hangs up at boot timing.
My /usr/src/linux/.config ...
# CONFIG_ACPI is not setCONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is not setCONFIG_APM_DO_ENABLE=yCONFIG_APM_CPU_IDLE=y
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
I don't know whether the above will help or not, but it's worth a try.
Jeff
Quoted 7 lines · Jeff Chua
Quoted 1 line · Shaya Potter
/usr/sbin/apmd-P/etc/apm/apmd_proxyWhat version of apmd? My says "apmd version 3.0final"
same :)
spotter@zaphod:~$ dpkg --status apmd |grep Version Version: 3.0.1-1
Quoted 11 lines
You might want to call IBM to check if there's a more recent bios upgrade that you can get. Check for T21 at the IBM site below ...
http://www.pc.ibm.com/support?lang=en_US&page=brand&brand=IBM+ThinkPad
Look for T21 under the device driver file matrices.
(Fix) Hang up occurs when suspend/resume is done on a ThinkPad with HDD adapter without a hard disk drive in the ultrabay 2000. (Fix) ACPI compatible Linux hangs up at boot timing.
I have a fairly recent version. I boot it into windows for class once or twice a week (shoot me, I find it easier to take notes in MS Word, than in AbiWord), and since the classroom is wired for wireless ethernet I usually use that time to use IBM's automated utility to check for updates, and it checks and updates the bios appropriatly if there are any updates.
Quoted 6 lines
My
/usr/src/linux/.config...#
CONFIG_ACPIis not setCONFIG_APM=m
#CONFIG_APM_IGNORE_USER_SUSPENDis not set
all same
Quoted 1 line
CONFIG_APM_DO_ENABLE=y
different
Quoted 1 line
CONFIG_APM_CPU_IDLE=y
same
Quoted 1 line
#
CONFIG_APM_DISPLAY_BLANKis not set
different
Quoted 1 line
#
CONFIG_APM_RTC_IS_GMTis not set
(same)
Quoted 1 line
#
CONFIG_APM_ALLOW_INTSis not set
(different)
Quoted 1 line
#
CONFIG_APM_REAL_MODE_POWER_OFFis not set
(same)
will try adjusting them to your values, and seeing if it locks up on me tonight :)
shaya
just woke up to a locked up solid machine. It seemed to have locked up after about 2 hours of inactivity on the machine.
shaya
Quoted 65 lines · Shaya Potter
Quoted 7 lines · Jeff Chua
Quoted 1 line · Shaya Potter
/usr/sbin/apmd-P/etc/apm/apmd_proxyWhat version of apmd? My says "apmd version 3.0final"
same :)
spotter@zaphod:~$ dpkg --status apmd |grep Version Version: 3.0.1-1Quoted 11 lines
You might want to call IBM to check if there's a more recent bios upgrade that you can get. Check for T21 at the IBM site below ...
http://www.pc.ibm.com/support?lang=en_US&page=brand&brand=IBM+ThinkPad
Look for T21 under the device driver file matrices.
(Fix) Hang up occurs when suspend/resume is done on a ThinkPad with HDD adapter without a hard disk drive in the ultrabay 2000. (Fix) ACPI compatible Linux hangs up at boot timing.
I have a fairly recent version. I boot it into windows for class once or twice a week (shoot me, I find it easier to take notes in MS Word, than in AbiWord), and since the classroom is wired for wireless ethernet I usually use that time to use IBM's automated utility to check for updates, and it checks and updates the bios appropriatly if there are any updates.
Quoted 6 lines
My
/usr/src/linux/.config...#
CONFIG_ACPIis not setCONFIG_APM=m
#CONFIG_APM_IGNORE_USER_SUSPENDis not setall same
Quoted 1 line
CONFIG_APM_DO_ENABLE=ydifferent
Quoted 1 line
CONFIG_APM_CPU_IDLE=ysame
Quoted 1 line
#
CONFIG_APM_DISPLAY_BLANKis not setdifferent
Quoted 1 line
#
CONFIG_APM_RTC_IS_GMTis not set(same)
Quoted 1 line
#
CONFIG_APM_ALLOW_INTSis not set(different)
Quoted 1 line
#
CONFIG_APM_REAL_MODE_POWER_OFFis not set(same)
will try adjusting them to your values, and seeing if it locks up on me tonight :)
shaya
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 2 lines
spotter@{cs.columbia.edu,yucs.org}
http://yucs.org/~spotter/