Page 1 of 1

[Fixed] 3.10.7 fails to wake up from suspend

PostPosted: Mon Aug 19, 2013 11:39 am
by markusle
With the most recent grsec patch for 3.10.7 if have trouble resuming from suspend; the machine appears to come up during resume but then hangs and seems to go back to some sleep state while the fan keeps running requiring a reboot. Suspend/resume works flawlessly in 3.10.5 with grsec.
I went through the logs but unfortunately didn't see anything useful that would indicate what the problem is. The only new thing are messages of the kind below which I didn't notice before (but may have missed).

Code: Select all
Aug 19 08:35:13 localhost kernel: [    0.002737] PAX: PCID detected
Aug 19 08:35:13 localhost kernel: [    0.002738] PAX: strong UDEREF enabled


How could I help debug this?

Re: 3.10.7 fails to wake up from suspend

PostPosted: Tue Aug 20, 2013 2:42 am
by minipli
I had the same issue. It's fixed in the latest PaX patch (pax-linux-3.10.7-test16.patch), though not yet in the latest grsec patch (grsecurity-2.9.1-3.10.7-201308192211.patch). Take the interdiff of test15-test16 meanwhile.

Re: 3.10.7 fails to wake up from suspend

PostPosted: Tue Aug 20, 2013 9:16 am
by markusle
Thanks a lot for the hint. I tried pax-linux-3.10.7-test16.patch but unfortunately that didn't help. The machine still locks up upon resume (it does seem to get a little further in the process though).

Re: 3.10.7 fails to wake up from suspend

PostPosted: Tue Aug 20, 2013 9:46 am
by PaX Team
markusle wrote:I tried pax-linux-3.10.7-test16.patch but unfortunately that didn't help.
there's a newer patch already that should fix this for good.

Re: 3.10.7 fails to wake up from suspend

PostPosted: Tue Aug 20, 2013 11:55 am
by markusle
Great, thanks a lot. I'll give it a whirl as soon as it's posted.

Re: 3.10.7 fails to wake up from suspend

PostPosted: Tue Aug 20, 2013 9:44 pm
by markusle
The latest patch indeed fixes this problem - thanks a lot for your help.