lkml.org 
[lkml]   [2000]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[RFC] question about hardware watchdogs
Hi,

I'm looking at drivers trying to fix some issues related to resource
allocation, getting rid of not needed panics, etc, when I saw this in
drivers/char/pcwd.c:

if (card_status & WD_T110) {
printk("pcwd: Card senses a CPU Overheat. Panicking!\n");
panic("pcwd: CPU Overheat.\n");
}


Shouldn't it try to turn of the machine (APM, etc) or use machine_restart?
panic would just generate more heat 8) Ok, the admin can set a panic_timeout,
but in this case maybe it would be better to have a safer default policy, what
do you think?

- Arnaldo

PS.: The maintainer address is not working. Tried first in private mail.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.134 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site