Debian Bug report logs - #444028
system should react on thermal events

Package: acpi-support; Maintainer for acpi-support is Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>; Source for acpi-support is src:acpi-support.

Reported by: Holger Levsen <holger@layer-acht.org>

Date: Tue, 25 Sep 2007 14:54:02 UTC

Severity: wishlist

Tags: moreinfo

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Torsten Werner <twerner@debian.org>:
Bug#444028; Package acpid. Full text and rfc822 format available.

Acknowledgement sent to Holger Levsen <holger@layer-acht.org>:
New Bug report received and forwarded. Copy sent to Torsten Werner <twerner@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Holger Levsen <holger@layer-acht.org>
To: submit@bugs.debian.org
Subject: shutdown causes dataless, please suspend if possible
Date: Tue, 25 Sep 2007 16:51:23 +0200
[Message part 1 (text/plain, inline)]
package: acpid
severity: important
version: 1.0.4-5  

<h01ger> hi. this morning my computer, running 2.6.21-2-686 on etch, suddenly 
shutdown (powered off, due to being to hot), causing data loss.  

* h01ger is pleased by debian protecting his hardware. but i'm not pleased by 
destroying my work doing so! ;)

<h01ger> and according to 
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/113926
"/sbin/poweroff" is hardcoded into the termal driver, so when the notebook 
gets to hot, it powers off (instead of suspending...)

I hope in 2.6.23 this becomes a configuration option and the guys on 
#debian-kernel told me to file a bug against acpid. 

suspend2disk is more or less as fast as shutdown, and suspend2ram is even 
faster. If those exist, they should be used, instead of poweroff.

Thanks.


regards,
	Holger
[Message part 2 (application/pgp-signature, inline)]

Changed Bug title to `shutdown causes dataloss, please suspend if possible' from `shutdown causes dataless, please suspend if possible'. Request was from Holger Levsen <holger@layer-acht.org> to control@bugs.debian.org. (Tue, 25 Sep 2007 15:12:02 GMT) Full text and rfc822 format available.

Information stored:
Bug#444028; Package acpid. Full text and rfc822 format available.

Acknowledgement sent to "Torsten Werner" <mail.twerner@googlemail.com>:
Extra info received and filed, but not forwarded. Full text and rfc822 format available.

Message #12 received at 444028-quiet@bugs.debian.org (full text, mbox):

From: "Torsten Werner" <mail.twerner@googlemail.com>
To: "Holger Levsen" <holger@layer-acht.org>, 444028-quiet@bugs.debian.org
Subject: Re: Bug#444028: shutdown causes dataless, please suspend if possible
Date: Tue, 25 Sep 2007 17:45:58 +0200
Hi Holger,

On 9/25/07, Holger Levsen <holger@layer-acht.org> wrote:
> <h01ger> and according to
> https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/113926
> "/sbin/poweroff" is hardcoded into the termal driver, so when the notebook
> gets to hot, it powers off (instead of suspending...)

you should reassign the bug to the kernel image you are using because
it is not a bug in acpid. As an alternative you can edit
/etc/default/acpid to not to load thermal.

Cheers,
Torsten

-- 
blog: http://twerner.blogspot.com/
homepage: http://www.twerner42.de/




Bug reassigned from package `acpid' to `linux-image-2.6.21-2-686'. Request was from Torsten Werner <twerner@debian.org> to control@bugs.debian.org. (Tue, 25 Sep 2007 20:30:02 GMT) Full text and rfc822 format available.

Information stored:
Bug#444028; Package linux-image-2.6.21-2-686. Full text and rfc822 format available.

Acknowledgement sent to "Torsten Werner" <mail.twerner@googlemail.com>:
Extra info received and filed, but not forwarded. Full text and rfc822 format available.

Message #19 received at 444028-quiet@bugs.debian.org (full text, mbox):

From: "Torsten Werner" <mail.twerner@googlemail.com>
To: 444028-quiet@bugs.debian.org
Subject: Re: Bug#444028: shutdown causes dataless, please suspend if possible
Date: Tue, 25 Sep 2007 22:28:58 +0200
It looks like a kernel bug to me.

Cheers,
Torsten

-- 
blog: http://twerner.blogspot.com/
homepage: http://www.twerner42.de/




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#444028; Package linux-image-2.6.21-2-686. Full text and rfc822 format available.

Acknowledgement sent to Bastian Blank <waldi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. Full text and rfc822 format available.

Message #24 received at 444028@bugs.debian.org (full text, mbox):

From: Bastian Blank <waldi@debian.org>
To: 444028@bugs.debian.org
Subject: #444028
Date: Tue, 25 Sep 2007 22:53:10 +0200
reassign 444028 acpid
thanks

No kernel bug. There are several trip points and critical means
critical. This point is a last resort which needs to use a reliable way
to shut the machine down; suspend is not reliable.

Bastian

-- 
Killing is stupid; useless!
		-- McCoy, "A Private Little War", stardate 4211.8




Bug reassigned from package `linux-image-2.6.21-2-686' to `acpid'. Request was from Bastian Blank <waldi@debian.org> to control@bugs.debian.org. (Tue, 25 Sep 2007 20:54:02 GMT) Full text and rfc822 format available.

Information stored:
Bug#444028; Package acpid. Full text and rfc822 format available.

Acknowledgement sent to "Torsten Werner" <mail.twerner@googlemail.com>:
Extra info received and filed, but not forwarded. Full text and rfc822 format available.

Message #31 received at 444028-quiet@bugs.debian.org (full text, mbox):

From: "Torsten Werner" <mail.twerner@googlemail.com>
To: 444028-quiet@bugs.debian.org
Cc: "Bastian Blank" <waldi@debian.org>, "Holger Levsen" <holger@layer-acht.org>
Subject: #444028
Date: Tue, 2 Oct 2007 19:28:02 +0200
Hi Bastian,

what does that mean? Is the bug unfixable? But you did reassign the
bug to acpid. How do you think should the problem be handled by acpid?

Cheers,
Torsten

-- 
blog: http://twerner.blogspot.com/
homepage: http://www.twerner42.de/




Tags added: moreinfo Request was from Torsten Werner <twerner@debian.org> to control@bugs.debian.org. (Tue, 09 Oct 2007 05:57:03 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Jose Carlos Medeiros <debian@psabs.com.br>:
Bug#444028; Package acpid. Full text and rfc822 format available.

Acknowledgement sent to Holger Levsen <holger@layer-acht.org>:
Extra info received and forwarded to list. Copy sent to Jose Carlos Medeiros <debian@psabs.com.br>. Full text and rfc822 format available.

Message #38 received at 444028@bugs.debian.org (full text, mbox):

From: Holger Levsen <holger@layer-acht.org>
To: 444028@bugs.debian.org, debian-kernel@bugs.debian.org
Subject: boom again
Date: Thu, 28 Feb 2008 13:38:25 +0100
[Message part 1 (text/plain, inline)]
Hi,

how can I work around this problem? I care more about my work than the 
hardware, which _might_ be damaged (my work gets damaged for sure with these 
shutdowns), so I definitly want to suspend in this case, not shutdown.


regards,
	Holger, having lost work again due to this bug.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#444028; Package acpid. Full text and rfc822 format available.

Acknowledgement sent to Gerfried Fuchs <rhonda@deb.at>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>. Full text and rfc822 format available.

Message #43 received at 444028@bugs.debian.org (full text, mbox):

From: Gerfried Fuchs <rhonda@deb.at>
To: 444028@bugs.debian.org
Cc: debian-kernel@bugs.debian.org
Subject: Re: Bug#444028: boom again
Date: Thu, 19 Jun 2008 10:04:13 +0200
* Holger Levsen <holger@layer-acht.org> [2008-02-28 13:38:25 CET]:
> how can I work around this problem? I care more about my work than the 
> hardware, which _might_ be damaged (my work gets damaged for sure with these 
> shutdowns), so I definitly want to suspend in this case, not shutdown.

 Just for the information, it's not Holger's problem only. I'm facing
the same, and it becomes a more and more annoying issue. Currently I
have a hard time building some of my packages that take a bit longer
without shutting down the display making the GPU not creating heat and
thus keeping the overall temperature down.

 Where is it defined that my PowerBook G4 should shut down at 66°C? How
can I raise that value because I have a hard time to believe that that
should really be a critical value. If there is a value hardcoded
somewhere I would like to know how to change it - if it's configurable
a pointer into the direction of where to do so would be appropriate,
too.

 So long,
Rhonda [hopefully being able to compile wesnoth again soonish without
   going to the fridge]




Information forwarded to debian-bugs-dist@lists.debian.org, hramrach@centrum.cz, Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>:
Bug#444028; Package acpid. (Wed, 25 Feb 2009 20:33:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michal Suchanek <hramrach@centrum.cz>:
Extra info received and forwarded to list. Copy sent to hramrach@centrum.cz, Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>. (Wed, 25 Feb 2009 20:33:10 GMT) Full text and rfc822 format available.

Message #48 received at 444028@bugs.debian.org (full text, mbox):

From: Michal Suchanek <hramrach@centrum.cz>
To: Debian Bug Tracking System <444028@bugs.debian.org>
Subject: acpid: problems with ACPI critical trip points
Date: Wed, 25 Feb 2009 21:30:07 +0100
Followup-For: Bug #444028


Hello

the critical trip points in kernel are there because they exist in some
ACPI table.

So the critical temperature should not be arbitrary but read from the
hardware (although I am not sure if this is the case on ppc machines).

There might be a possiblity to change the temperature with a parameter
to the thermal module. Failing that you can patch the kernel.

The other problem with critical zones is that on some hardware the
kernel would occasianally read ridiculously high temperature. At least
this is what I think because the machine would run for days and then
suddenly shutdown while idle. I have patched my kernel so that it logs
the temperature every few seconds but I have not been able to reproduce
a trip with such kernel so far.

The shutdown script is not hardcoded in the kernel, you can set it with
sysctl just like modprobe.

The other thing that fails is actually lowering the temperature before
it reaches the trip point, and this is acpid's job.

There should be a policy for more cooling that runs more fans than the
bare minimum dictated by the acpi tables. On a notebook I tested there
were three fan objects (which probably represent different speeds of the
same fan), and only the lowest was ever started automatically. These
were connected to an actively cooled zone (as opposed to critical zone)
but running the higher fans cooled down the critical zone considerably.

Another thing acpid might do is slowing down the CPU. On ppc macs this
is perfectly normal way of avoiding overheating on OS X. That's probably
one of the reasons they are so slow. Unfortunately, slowing down the GPU
is usually not so easy.

Thanks

Michal

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (1001, 'stable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28.3 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpid depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip
ii  module-init-tools             3.4-1      tools for managing Linux kernel mo

acpid recommends no packages.

acpid suggests no packages.

-- debconf-show failed




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>:
Bug#444028; Package acpid. (Thu, 26 Feb 2009 19:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Meskes <meskes@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>. (Thu, 26 Feb 2009 19:00:03 GMT) Full text and rfc822 format available.

Message #53 received at 444028@bugs.debian.org (full text, mbox):

From: Michael Meskes <meskes@debian.org>
To: Michal Suchanek <hramrach@centrum.cz>, 444028@bugs.debian.org
Subject: Re: [Pkg-acpi-devel] Bug#444028: acpid: problems with ACPI critical
Date: Thu, 26 Feb 2009 19:57:54 +0100
Hmm, does this mean we have a kernel bug AND a bug in our acpi scripts? 

Michael

-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>:
Bug#444028; Package acpid. (Sat, 28 Feb 2009 00:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michal Suchanek <hramrach@centrum.cz>:
Extra info received and forwarded to list. Copy sent to Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>. (Sat, 28 Feb 2009 00:03:02 GMT) Full text and rfc822 format available.

Message #58 received at 444028@bugs.debian.org (full text, mbox):

From: Michal Suchanek <hramrach@centrum.cz>
To: Michael Meskes <meskes@debian.org>
Cc: 444028@bugs.debian.org
Subject: Re: [Pkg-acpi-devel] Bug#444028: acpid: problems with ACPI critical
Date: Sat, 28 Feb 2009 01:00:03 +0100
2009/2/26 Michael Meskes <meskes@debian.org>:
> Hmm, does this mean we have a kernel bug AND a bug in our acpi scripts?

AND hardware insufficiency, too. At least the ppc Apple machines are
said to be undercooled, and the occasional high temperture readings on
some hardware might be driver bug or hardware bug.

This is also about acpid working with the kernel side to provide
seamless experience.

The "we are doing according to the spec" attitude won't work here.
Sometimes the hardware is sub-spec or old and dusty or the tables are
wrong.

Some cases might require kernel fixes or workarounds but many can (and
probably should) be handled by scripts that provide aggressive cooling
and throttling when temperature rises.

Thanks

Michal




Bug reassigned from package 'acpid' to 'acpi-support'. Request was from Michael Meskes <meskes@debian.org> to control@bugs.debian.org. (Tue, 15 Dec 2009 15:27:04 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'important' Request was from Michael Meskes <meskes@debian.org> to control@bugs.debian.org. (Tue, 15 Dec 2009 15:27:05 GMT) Full text and rfc822 format available.

Changed Bug title to 'system should react on thermal events' from 'shutdown causes dataloss, please suspend if possible' Request was from Michael Meskes <meskes@debian.org> to control@bugs.debian.org. (Tue, 15 Dec 2009 15:27:05 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 00:13:39 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.