public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: mysterious power off problem 2.4.10-2.4.14 on laptop
@ 2001-11-12 22:28 Thomas Winischhofer
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Winischhofer @ 2001-11-12 22:28 UTC (permalink / raw)
  To: linux-kernel


Linda,

it could be a bad BIOS.

I don't know if this helps, but anyway:

I had a similar problem, but in ma case the machine just went to suspend
mode - annoying, but somewhat easier to track. Just like in your case,
nothing worked; switching off APM in BIOS, disabling APM in kernel, etc.
no matter what I did (typing, using the mouse), the machine suspended.

Well:

Question 1: Are you running Windows on that machine, too? If no, you
have a different problem; as said, most probably caused by a bad BIOS.
That it worked under a previous 2.4.x kernel doesn't mean a lot; apm
could have interpreted bad (malformed) apm messages in a different way
(just a guess).

Question 2: If yes: Did you ever happen to try to boot (ie cold boot =
switch ON) the machine with AC power chord connected after a Windows
session?

In my case, it was a bug in the BIOS. This piece of sh** - right after a
Windows session - reported a battery charging status of _more_ than
100%, leading into miscomprehending APM messages from the BIOS - leading
into APM confusion. Strange enough, this _only_ happened when _switching
on_ the machine on battery. It never happens when booting with AC
connected.

Even more strange, in my case it is sufficient to cold boot the machine
_once_ after running Windows on AC to avoid the effect in the future
(however, until running windows again).

Good luck,

Thomas

-- 
Thomas Winischhofer
Vienna/Austria                  Check it out:         
mailto:tw@webit.com              *** http://www.webit.com/tw

^ permalink raw reply	[flat|nested] 6+ messages in thread
* mysterious power off problem 2.4.10-2.4.14 on laptop
@ 2001-11-12 19:53 L A Walsh
  2001-11-12 22:29 ` mike@morpheus
  0 siblings, 1 reply; 6+ messages in thread
From: L A Walsh @ 2001-11-12 19:53 UTC (permalink / raw)
  To: Linux-kernel

I haven't had time to track this down since I found it.  I'm throwing
it out in case anyone has seen anything that might figure in to this.

Machine: Dell Inspiron 8000.  
Problem: using same options, (starting with 249.config, and using make oldconfig
for new kernel version), I get a kernel that has a bad habit of turning
itself off after some period of time -- not shutting down, just turning off.
This started in 2.4.10 and, and not having the time to debug it, I just
went back to using 2.4.9 which didn't exhibit the problem.

Things tried that haven't worked (not necessarily in any particular order)
1) 2.4.14 kernel
2) disabling power management from the KDE desktop.
3) renaming the apm binary would allow apm control.
4) Turning off apm support in the kernel.
5) Turning off BIOS apm management completely.
	a) BIOS PM on AC-power was set to
		i) turn off inactive video in 10 minutes
		ii) turn off inactive hard disk in 30 minutes
		iii) Suspend: disabled.
		iv) S2D Timeout: disabled

	b) BIOS PM on battery still _is_ set to
		i) turn off inactive video in 3 minutes
		ii) turn off in hard disks in 5 minutes
		iii) Suspend: disabled
		iv) S2D Timeout: 1 hour

	common options:
		v) Smart CPU: enabled
		vi) Display lid closed: <don't shut down, remain active>
		vii) all auto 'wake'/'resume' (on lan, alarm, ring, at time)
			disabled
		viii) CPU Mode: Battery Optimized
----
Other details:
1) I noticed when the machine was on battery -- it turned off in about
   3 minutes -- it might have been 5, but seemed closer to 3.  I note this
   coincides with the Video timeout.  Previously when the timeout
   would occur on AC power -- it seemed that the inactivity timeout was
   about 10 minutes.  My estimations may be wrong, but part of the problem 
   could be related to the video timeout.  
2) testing this problem is a pain, since my disks are still the 
   primitive 'ext2' file system and the multi-gig, laptop-speed disks
   are slow to check.

So am just wondering if someone has seen this, or its a known 'feature change'
with the workaround or solution being 'X'.

I note in the changelog that ACPI changes went into 2.4.10.  I am still using
APM, not ACPI, but it it possible there is common code to both that got
changed?

Thanks for any help.  

-linda

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-11-15 21:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-12 22:28 mysterious power off problem 2.4.10-2.4.14 on laptop Thomas Winischhofer
  -- strict thread matches above, loose matches on Subject: below --
2001-11-12 19:53 L A Walsh
2001-11-12 22:29 ` mike@morpheus
2001-11-12 21:06   ` L A Walsh
2001-11-14  0:10     ` Pavel Machek
2001-11-13  0:34   ` Stuart Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox