lkml.org 
[lkml]   [2006]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6.17-rc5-mm2] crash when doing second suspend: BUG in arch/i386/kernel/nmi.c:174
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-07 06:27    [W:0.712 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site