Most recent kernel where this bug did not occur:22.214.171.124
Distribution: Debian Sarge
Hardware Environment:Thinkpad A21m
Problem Description: I can sleep and resume my notebook one time. If I try sleep
a second time thinkpad freeze after Stoping tasks ..... With 126.96.36.199 all work OK.
Steps to reproduce:
Compile 2.6.16-rc6 and press lid switch two times
Is it related to bug# 5989.
Please try unload thermal, processor module before suspend.
Thanks, this helps. But if I after suspend/resume try poweroff notebook sometime
didn't poweroff. Kernel print Shutdown hda: and system freeze.
Thank for your help.
Please drill down to the place the system is freeze.
I have new info to this. Problem is snd-cs46xx related. This diver after suspend
and resume stop working. If I reload module sound start working but if I do
this often and reboot system freeze in shutdown after
I report this bug to ALSA.
Please confirm that I undestand the problems(s) here:
1. suspend to ram, resume from ram, system freezes on resume
this problem goes away if you first unload the thermal module.
this is a known bug 5989
2. once thermal is out of the way...
suspend to ram, resume from ram, shutdown
but shutdown does not poweroff the system.
3. sound does not come back after suspend/resume from RAM
(comment #4) this is being filed with the ALSA guys.
If true, lets focus on problem #2, the poweroff problem.
Is poweroff reliable if you do NOT suspend/resume,
and it is intermittant only AFTER a suspend/resume?
ad 1) I don't use thermal module now, yes
ad 3) I try modify cs46xx driver and found if I reinitialize dsp sound start working
ad 2) I think that problem is cs46xx related If I don't load cs46xx module and
susp/ resume poweroff working but this is not 100% but it is much better then
sound module loaded. I must investigate.
I will test 2.6.17rc and drop an info.
please test patch at http://bugzilla.kernel.org/show_bug.cgi?id=6749#c8
*** This bug has been marked as a duplicate of 6749 ***
Yes I test this patch an it works. My comments are in bug 6749.