[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120715232430.GB3657@burratino>
Date: Sun, 15 Jul 2012 18:24:30 -0500
From: Jonathan Nieder <jrnieder@...il.com>
To: Lars Boegild Thomsen <lth@....dk>
Cc: Feng Tang <feng.tang@...el.com>,
"Tian, Kevin" <kevin.tian@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
"xen-devel@...ts.xensource.com" <xen-devel@...ts.xensource.com>,
Fengzhe Zhang <fengzhe.zhang@...el.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"JBeulich@...ell.com" <JBeulich@...ell.com>,
Ian Campbell <Ian.Campbell@...citrix.com>,
"mingo@...hat.com" <mingo@...hat.com>,
"hpa@...or.com" <hpa@...or.com>,
Andreas Wallberg <andreas.wallberg@...il.com>,
Robert Scott <bugs@...anleg.org.uk>,
Damjan Georgievski <gdamjan@...il.com>
Subject: Re: [regression] Ideapad S10-3 does not wake up from suspend
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists