Re: [regression] Ideapad S10-3 does not wake up from suspend

From: Jonathan Nieder
Date: Sun Jul 15 2012 - 19:25:31 EST


Hi again,

In May, Lars Boegild Thomsen wrote:
> On Sunday 13 May 2012 07:13:49 Jonathan Nieder wrote:
>>>> Lars Boegild Thomsen writes:

>>>>> After update from 2.6 kernel to 3.0 my Idepad S10-3 will not wake up
>>>>> after sleep. Back to latest 2.6 kernel works fine.
>>
>> - passing parameters "hpet=disable highres=off nohz=off" helps some
>> people if I understand correctly,
[...]
> I didn't notice this one before but that actually works for me. Adding those
> kernel params and sleep works again. I tried combinations thereof but no-go -
> all 3 required.
>
>> I'd be interested to hear whether the same problem occurs when trying
>> to suspend from the minimal initramfs environment.
[...]
> And I just tried this loading no modules manually and it's the same - never
> wakes up after sleep.

Thanks. Please test with the debugging patch below from Feng Tang[1].
I don't know if it will get any useful information because e.g. serial
console and netconsole are not very convenient on this machine[2], but
it seems worth a try.

If one of the people cc-ed needs help building a patched kernel to
test, feel free to write privately and I can give more detailed
instructions.

Hope that helps,
Jonathan

[1] https://bugzilla.kernel.org/show_bug.cgi?id=41932#c18
[2] http://thread.gmane.org/gmane.linux.kernel/1136253/focus=1285790

diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
index f113755..d2e0c90 100644
--- a/kernel/time/tick-broadcast.c
+++ b/kernel/time/tick-broadcast.c
@@ -439,6 +439,14 @@ again:
* in the event mask
*/
if (next_event.tv64 != KTIME_MAX) {
+ s64 delta;
+
+ delta = next_event.tv64 - now.tv64;
+ if (delta >= 10000000000) {
+ printk("%s(): The delta is big: %lld\n", __func__, delta);
+ next_event.tv64 = now.tv64 + 3000000000;
+ }
+
/*
* Rearm the broadcast device. If event expired,
* repeat the above
--
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/