Re: [2.6.17-rc5-mm2] crash when doing second suspend: BUG in arch/i386/kernel/nmi.c:174

From: Pavel Machek
Date: Thu Jun 08 2006 - 16:10:38 EST


Hi!

> > Is the typical approach to just hack in an extra parameter to the
> > start/stop functions of the nmi_watchdog letting the function know it is
> > coming through the suspend/resume path?
> >
> > Any tips, code, other docs would be helpful.
> >
>
> OK... My understanding of how it works is that the cpu hotplug handlers
> are called early in the suspend process to take the CPUs down. Once all
> the APs are shut down, CPU0 will then proceed to handle the devices.

Yep.

> All the above applies to suspend-to-disk. I don't know if suspend-to-RAM
> shuts down the APs.

It applies to suspend-to-ram, too.
Pavel
--
Thanks for all the (sleeping) penguins.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/