Skip to contentSkip to conversation

Thinkpad t21 hard lockup when left overnight

DISCUSSION Shaya Potter 3 participants 6 messages Nov 22, 2001 – Nov 23, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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

#2 lore raw
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

#3 lore raw
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 set
CONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
CONFIG_APM_DO_ENABLE=y
CONFIG_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

#4 lore raw
Quoted 7 lines · Jeff Chua
Quoted 1 line · Shaya Potter

/usr/sbin/apmd -P /etc/apm/apmd_proxy

What 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_ACPI is not set
CONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is 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_BLANK is not set

different

Quoted 1 line

# CONFIG_APM_RTC_IS_GMT is not set

(same)

Quoted 1 line

# CONFIG_APM_ALLOW_INTS is not set

(different)

Quoted 1 line

# CONFIG_APM_REAL_MODE_POWER_OFF is not set

(same)

will try adjusting them to your values, and seeing if it locks up on me tonight :)

shaya

#5 lore raw

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_proxy

What 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_ACPI is not set
CONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is 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_BLANK is not set

different

Quoted 1 line

# CONFIG_APM_RTC_IS_GMT is not set

(same)

Quoted 1 line

# CONFIG_APM_ALLOW_INTS is not set

(different)

Quoted 1 line

# CONFIG_APM_REAL_MODE_POWER_OFF is 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/