Messages in this thread Patch in this message |  | | | Date | Mon, 21 Feb 2005 11:15:37 +0000 (GMT) | | From | Holger Kiehl <> | | Subject | [PATCH/RFC] IPMI watchdog more verbose | |
Hello
This makes IPMI watchdog more verbose during initialization. It prints the
values of timeout and if nowayout is set or not. Currently there is no way
to see what these values are, onced initialzed.
Please check if this is the correct place to put the printk.
Holger--- linux-2.6.10/drivers/char/ipmi/ipmi_watchdog.c.original 2005-02-21 10:02:38.289344538 +0000
+++ linux-2.6.10/drivers/char/ipmi/ipmi_watchdog.c 2005-02-21 10:10:38.925872976 +0000
@@ -944,9 +944,6 @@
{
int rv;
- printk(KERN_INFO PFX "driver version "
- IPMI_WATCHDOG_VERSION "\n");
-
if (strcmp(action, "reset") == 0) {
action_val = WDOG_TIMEOUT_RESET;
} else if (strcmp(action, "none") == 0) {
@@ -1031,6 +1028,9 @@
register_reboot_notifier(&wdog_reboot_notifier);
notifier_chain_register(&panic_notifier_list, &wdog_panic_notifier);
+ printk(KERN_INFO PFX "initialized (%s). timeout=%d sec (nowayout=%d)\n",
+ IPMI_WATCHDOG_VERSION, timeout, nowayout);
+
return 0;
}
|  |