lkml.org 
[lkml]   [2007]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] ACPI: more verbose thermal zone shutdown message
Date
On Sonntag, 15. April 2007, Pavel Machek wrote:
> Hi!
>
> > while debug some strange termal shutdowns I wrote this patch to get more
> > information in /var/log/messages about the reason for the shutdown. I
> > think this would be useful in general.
> >
> > Danny
> >
> > From: Danny Kukawka <dkukawka@suse.de>
> > Subject: ACPI: more verbose thermal zone shutdown message
> >
> > add more information to acpi thermal zone shutdown message for easier
> > debugging
> >
> > Signed-off-by: Danny Kukawka <dkukawka@suse.de>
>
> Yes, please.
[..]
> Why two printks with same info, and why is one of them WARNING and
> second EMERG?

I think this is what happen and why there are currently two messages:

* if the temperature is really critical you get (now) this:
----------------
kernel: Critical trip point (102 C) reached on Thermalzone [THM]
kernel: Critical temperature reached (150 C on [THM] with trip point set to:
102 C), shutting down.
----------------

* and if something send a critical temp event to the thermal zone you get:
----------------
kernel: Critical temperature reached (42 C on [THM] with trip point set to:
102 C), shutting down.
----------------

Maybe we can delete the first one, since you get now also from second
message the information if the temperature was really critical or if
there was an other reason for the shutdown, but in the past this was
IMO needed to differ.

Danny
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-16 18:03    [W:0.041 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site