Subject: Re: thinkpad X30 apm lockups anyone?
To: Christoph Badura <bad@bsd.de>
From: Steven M. Bellovin <smb@research.att.com>
List: port-i386
Date: 01/29/2003 23:47:24
In message <20030129210022.X330@cargo-cult.k.bsd.de>, Christoph Badura writes:
>Hi,
>
>I have a new T30 thinkpad that locks up hard when left idle for a while.
>Or when I try to switch off the display (Fn-F3) or enter suspend mode (Fn-F4)
>from the keyboard. Has anyone else seen this too?
>
>I've tried APM_DISABLE_INTERRUPTS=0 in the kernel config file and various
>of the other APM related options, including APM_NO_V12, all to no avail.
>
>I've tried 1.6.1_RC1 kernels from yesterday and -current from today.
>Both with the same result.
>
>When it locks up, it doesn't respond to keyboard presses, and the fxp0
>stops responding, too. Of course, I can't enter DDB.
>
>The only intersting thing I've noticed in the kernel messages when
>booting with apmdebug=0xff is that it apparently wants a 64K datasegment
>starting at 0x400.
>
>The BIOS is the latest version 2.01.
Is the machine trying to auto-suspend? Check the BIOS settings on that.
Greg Troxel said (I think) that turning off PCI bus power saving helped.
Oddly enough, I've been seeing hangs on my T21 recently -- since IBM
replaced the motherboard. I'm running 1.6; having the machine crash
every few days is a novel experience; NetBSD just doesn't do that!
But that setting may be the clue. I had had it disabled, since that
was necessary to make the sound card work right. These days, though, I
build customs without the sound card, because there's a boot and resume
bug that often results in hangs. So -- and since I was having some
battery lifetime issues on the new motherboard -- I left that setting
enabled. I wonder if that's related to the hangs I've seen.
I've disabled the option again; I'll see what happens. Of course, it's
non-deterministic, so it will be a few weeks at least before I'm
confident that it's gone.
--Steve Bellovin, http://www.research.att.com/~smb (me)
http://www.wilyhacker.com (2nd edition of "Firewalls" book)