Bug 430052

Summary: resume takes more than a minute
Product: [openSUSE] openSUSE 11.1 Reporter: Felix Möller <felix>
Component: KernelAssignee: Pavel Machek <pavel>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: burnus
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: dmesg

Description Felix Möller 2008-09-25 22:14:36 UTC
Resuming my Macbook sometimes does not work. Now I recognized by accident that waiting helps sometimes.

I will attach the dmesg with printk.time.
Comment 1 Felix Möller 2008-09-25 22:15:07 UTC
Created attachment 241796 [details]
dmesg
Comment 2 Felix Möller 2008-09-25 22:21:07 UTC
hm seems like the dmesg is not really interesting. Is there anything else to provide?

pm-suspend.log does not look more interesting.
Comment 3 Forgotten User ZhJd0F0L3x 2008-09-26 16:06:05 UTC
probably a duplicate of bug 427052.
If "nohz=off" or a newer kernel of the day do not help, please reopen.

*** This bug has been marked as a duplicate of bug 427052 ***
Comment 4 Felix Möller 2008-09-26 18:10:05 UTC
I am now testing kernel-default-2.6.27-rc7.28.1.i586.rpm

Coming home from work today the system took a little over 7 minutes to resume. But the problem seems to be related to suspend time. 

When suspending an resuming a few seconds later the problem does not appear.
Comment 5 Forgotten User ZhJd0F0L3x 2008-09-26 20:55:02 UTC
Ok, so this looks like a different issue.

Can you try if it works better if booted with "nohz=off"?
Comment 6 Pavel Machek 2008-09-26 21:09:43 UTC
If it turns out not to be dependend on suspend time, try with minimum ammount of modules.. maybe one of them just takes long to resume.
Comment 7 Felix Möller 2008-10-06 22:26:28 UTC
sorry for not answering my @opensuse.org adress is down for two weeks now...

With current kernel (2.6.27-rc7-12-pae) resume does not take several minutes anymore. It is now about 5 seconds. So I think this is fixed for me.

Sadly suspend is not really reliable... But it is not repeatable: sometimes the system does nothing, sometimes the keyboard is dead, sometimes X freezes, sometimes the battery goes empty while suspended ... It is my feeling that Linux uses way more energy while suspended than OS X ...
Comment 8 Pavel Machek 2008-10-09 10:02:46 UTC
Ok, so this is fixed...

"Not being reliable" is bad... and yes we need more info to debug this. Can you at least reliably kill the machine by suspending/resuming ten times in a row?

THen we could binary search for a module that breaks it...

Using more energy while suspended is quite common (and nasty and hard to debug). That would be separate bug report.