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

From: Jeremy Fitzhardinge
Date: Wed Jun 07 2006 - 00:24:34 EST


Nigel Cunningham wrote:
In general, you're right because we don't have perfect hardware hotplugging yet. But cpu hotplugging is one area we do have, so it should work.
Well, it seems to me the general problem is generating the proper hotplug events. If you actually pull, say, a USB device, the usb subsystem will tell you about it as it happens. But if you can suspend the machine and then arbitrarily rearrange the hardware, then on resume you'd have to go over the current hardware state and compare it to the pre-suspend state and generate all those events. Or I guess you could just generate unplug events for everything at suspend and re-plug anything you find on resume. Sounds pretty heavyweight though.

J

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