NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/37933: very frequent crashes after suspend/resume

Steven M. Bellovin wrote:
On Sat, 09 Feb 2008 21:16:56 -0500
"Jared D. McNeill" <> wrote:

Are you using cpuctl to offline all APs before you suspend?

I hadn't -- should I have?  It does seem to prevent the problem; at
least, I wasn't able to cause any crashes when I tried that.  (To be
sure, I got another crash when I shut down the machine to try that
test; I haven't looked at that dump yet....)

For now, I'm going to put a cpuctl in my suspend/resume scripts -- it
had reached the point where I was shutting down rather than risking a
second suspend.

I can't remember if I raised a PR on this or not, but there are issues with spinning up the APs as early as we do.

My powerd scripts simply do:

  /usr/sbin/cpuctl offline 1
  sysctl -w machdep.sleep_state=3
  /usr/sbin/cpuctl online 1


Home | Main Index | Thread Index | Old Index