linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: Tell user when ACPI is killing machine
@ 2003-12-08  3:26 Yu, Luming
  2003-12-09 11:25 ` Pavel Machek
  0 siblings, 1 reply; 9+ messages in thread
From: Yu, Luming @ 2003-12-08  3:26 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Aaron Lehmann, ACPI mailing list, kernel list

>> >cpufreq is not connected to acpi thermal subsystem. Dominik has some
>> >patches to change that, IIRC.
>> Is it merged into ACPI ?

>Not yet, IIRC. It is pretty big patch.

Would you please point out where they are? --Luming

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Tell user when ACPI is killing machine
@ 2003-12-04  5:27 Yu, Luming
  2003-12-04  9:54 ` Pavel Machek
  0 siblings, 1 reply; 9+ messages in thread
From: Yu, Luming @ 2003-12-04  5:27 UTC (permalink / raw)
  To: Pavel Machek, Aaron Lehmann; +Cc: ACPI mailing list, kernel list

>cpufreq is not connected to acpi thermal subsystem. Dominik has some
>patches to change that, IIRC.
Is it merged into ACPI ?

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Tell user when ACPI is killing machine
@ 2003-11-28 14:55 Pavel Machek
  2003-11-28 16:52 ` Pavel Machek
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Pavel Machek @ 2003-11-28 14:55 UTC (permalink / raw)
  To: ACPI mailing list, kernel list, len.brown,
	Rusty trivial patch monkey Russell

Hi!

On critical overheat (or perceived critical overheat -- acpi bioses on
some notebooks apparently report bogus values from time to time),
kernel itself calls /sbin/halt *without telling anything*. User can
not see anything, his machine just shuts down cleanly. Bad.

We should at least tell the user what is going on... 

								Pavel

--- clean/drivers/acpi/thermal.c	2003-07-27 22:31:09.000000000 +0200
+++ linux/drivers/acpi/thermal.c	2003-11-25 22:27:11.000000000 +0100
@@ -467,6 +474,7 @@
 	if (result)
 		return_VALUE(result);
 
+	printk(KERN_EMERG "Critical temperature reached (%d C), shutting down.\n", tz->temperature);
 	acpi_bus_generate_event(device, ACPI_THERMAL_NOTIFY_CRITICAL, tz->trips.critical.flags.enabled);
 
 	acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

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

end of thread, other threads:[~2003-12-09 11:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-08  3:26 Tell user when ACPI is killing machine Yu, Luming
2003-12-09 11:25 ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2003-12-04  5:27 Yu, Luming
2003-12-04  9:54 ` Pavel Machek
2003-11-28 14:55 Pavel Machek
2003-11-28 16:52 ` Pavel Machek
2003-11-28 17:07 ` Frederik Deweerdt
2003-11-28 22:01 ` Aaron Lehmann
2003-11-28 23:43   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).