Hi again,
In September, Kevin Tian wrote:
>> Lars Boegild Thomsen writes[1]:
>>> 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.
> > [...]
>>> Upon wakeup, the power light go from slow flashing to on, the battery light
>>> goes from off to on, the hdd light blink once and then everything is dead.
[...]
>>> 983bbf1af0664b78689612b247acb514300f62c7 is the first bad commit
>> [...]
>>> I also tried to go back to HEAD and manually change arch/x86/irq.c revert this
>>> particular commit and it works.
[...]
> fixup_irqs is invoked in suspend path. The only impact this change may
> bring to resume path is the interrupt line state, which is saved later
> in suspend and then restored in resume. w/ above change after resume
> given interrupt line is always masked, while w/o it there may be at least
> one interrupt raising. If this does matter to make your ideapad working,
> I'd think there may have other bugs which are hidden originally, e.g. by
> triggering a reschedule from that interrupt though the handler itself
> does nothing except masking the interrupt line.
>
> So... above commit is not important which can be easily reverted. My
> only concern is whether other severe issues are just hidden.
>
> btw, any serial output you may capture?
Sorry for the slow response. Result from reporters is:
- 3.4-rc2 is affected as well
- this only affects suspend-to-RAM --- suspend-to-disk works fine
- all five pm_test modes for suspend-to-RAM work fine
- this netbook doesn't have a serial port. Netconsole gives:
| [ 745.161322] PM: Syncing filesystems ... done.
| [ 747.088247] PM: Preparing system for mem sleep
| [ 747.187932] Freezing user space processes ... (elapsed 0.01 seconds) done.
| [ 747.204325] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
| [ 747.220416] PM: Entering mem sleep
| [ 747.221085] sd 1:0:0:0: [sda] Synchronizing SCSI cache
| [ 747.222247] sd 1:0:0:0: [sda] Stopping disk
|
| (then nothing)
Serial console via a USB-to-serial converter gives:
| [ 814.016541] PM: Syncing filesystems ... done.
| [ 814.018516] PM: Preparing system for mem sleep
| [ 814.100393] Freezing user space processes ... (elapsed 0.01 se
|
| before it goes to sleep, and it doesn't output anything on (attempted) wakeup.
- passing parameters "hpet=disable highres=off nohz=off" helps some
people if I understand correctly, but I might have misunderstood.[2]
I'd be interested to hear whether the same problem occurs when trying
to suspend from the minimal initramfs environment. (On systems like
Debian that use initramfs-tools, that means passing the kernel command
line parameter "break=top", booting, loading some appropriate minimal
collection of modules --- maybe none ---, and then running
"echo mem >/sys/power/state". initramfs-tools(8) has details.)
Hope that helps,
Jonathan
>> [1] http://bugs.debian.org/635575
[2] https://bugzilla.kernel.org/show_bug.cgi?id=41932
On Sunday 13 May 2012 07:13:49 Jonathan Nieder wrote:
> In September, Kevin Tian wrote:
> >> Lars Boegild Thomsen writes[1]:
> >>> 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, but I might have misunderstood.[2]
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. (On systems like
> Debian that use initramfs-tools, that means passing the kernel command
> line parameter "break=top", booting, loading some appropriate minimal
> collection of modules --- maybe none ---, and then running
> "echo mem >/sys/power/state". initramfs-tools(8) has details.)
And I just tried this loading no modules manually and it's the same - never
wakes up after sleep.
//Lars...