RE: [OOPS] Kernel powerdown

Robert Love (rml@tech9.net)
15 Mar 2002 16:40:41 -0500


On Fri, 2002-03-15 at 16:30, Grover, Andrew wrote:

> Theoretically we should be turning the machine off, after which I'm pretty
> sure the NMI watchdog shouldn't be an issue :) but IIRC we are masking
> interrupts and doing some delays before turning off, so the NMI watchdog
> might not be liking that? APM doesn't turn off the NMI afaik so why should
> ACPI have to?

Hm, is the period with interrupts off during shutdown much greater with
ACPI than with APM? Maybe it is just simply that ...

You could sprinkle calls to
touch_nmi_watchdog()
in the ACPI shutdown code and see if the problem goes away ...

I am also curious about Andrew's question - does the system properly
shutdown without nmi-watchdog? The case could be that interrupts are
disabled and ACPI then goes to shut the system down, fails, and the
system just sits (like, say, a Windows 9x machine :>) and finally the
watchdog causes an OOPS. This seems most likely, in fact.

Robert Love

-
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/