Subject : 2.6.27-rc6: nohz + s2ram = need to press keys to get progress
Submitter : Pavel Machek <firstname.lastname@example.org>
Date : 2008-09-12 8:31
References : http://marc.info/?l=linux-kernel&m=122121384705262&w=4
This entry is being used for tracking a regression from 2.6.26. Please don't
close it until the problem is fixed in the mainline.
Not a regression from 2.6.26, apparently.
References : http://marc.info/?l=linux-kernel&m=122141369710750&w=4
I can see this problem as well. I don't see it in 2.6.27-rc5. I have ThinkPad T61.
> I can see this problem as well. I don't see it in 2.6.27-rc5. I have ThinkPad
Hmm, so while 2.6.26 is broken for me, 2.6.27-rc5 works here. So I
guess I have separate problem that breaks 2.6.26 resume, and there's
indeed a regression from 2.6.27-rc5 to rc6.
However, Pavel, I see the same symptoms, hitting several times the keyboard makes the resume proceed but the system is 'sleepy' and while not typing, CPUs are loaded by system up to 100% (only one of the two CPUs). No particular process seems to be eating the CPUs.
Thomas debugged this one, I'll attach the temporary diff and let Thomas himself write up a real patch description :-)
Created attachment 17811 [details]
Broadcast tick fix
Created attachment 17817 [details]
The real fix
> Created an attachment (id=17817)
> --> (http://bugzilla.kernel.org/attachment.cgi?id=17817&action=view)
> The real fix
Your previous patch worked okay for me... will test this one tommorow.
On Wed 2008-09-17 00:50:50, Pavel Machek wrote:
> > Created an attachment (id=17817)
> > --> (http://bugzilla.kernel.org/attachment.cgi?id=17817&action=view)
> > The real fix
> Your previous patch worked okay for me... will test this one tommorow.
Tested, and seems to work ok.
Tested-by: Pavel Machek <email@example.com>
(In reply to comment #7)
> Created an attachment (id=17817) [details]
> The real fix
Bad new here. This patch breaks resume from RAM on my HP nx6325. Sorry. :-(
Created attachment 17917 [details]
Patch that fixes resume on HP nx6325
Of course this also defeats the purpose of the patch at http://bugzilla.kernel.org/attachment.cgi?id=17817&action=edit .
I tried some other things, but none of them worked. :-(
After some more debugging I can say that the patch from comment #7 breaks CPU hotplugging on my machine. More specifically, CPU1 can be offlined, but every attempt to online it causes the box to crash. I guess that's what breaks resume.
Created bug #11611 to follow the issue described in comment #12, since the patch from comment #7 is in the mainline.
Closing this one.