Distribution: Mandriva 2009.0 (there are reports from others)
Hardware Environment: eeepc 701
If there is some process with the sound device opened and I try to power off the machine, it will not power off completely. Ie, it will shutdown all the devices (display inclusive) but its power led will remain lighted-up and the fan running.
Steps to reproduce:
1. Open the sound device or log into some window manager which opens the sound device (eg, KDE)
2. Try to power off, for example with:
# echo o > /proc/sysrq-trigger
This problem has been reported for various distros:
Created attachment 18496 [details]
patch from Takashi Iwai
This problem has been discussed upstream in this thread:
And the attached patch has been made by Takashi Iwai.
I have tested the patch from comment #1, and it fixes the problem for me.
Just for reference, loading the module with power_save=10 also fixes the problem and the patch is based on this fact.
Takashi, what's your plan for this patch? I think it should be merged in Linus's tree and 2.6.27-stable.
Also, I've found that this bug might be a dupe of #7195.
Thanks for checking. Glad to hear that works.
I'll try the patch for another couple of my machines to confirm that it doesn't break, at least. After that, I'll merge it to sound git tree and send a pull request for 2.6.28.
And, yes, it can be a good candidate for stable kernels.
Please, let me know when you are done with the tests so that I can merge this on Mandriva kernel.
Now it's merged to Linus tree.
Great! Closing as fixed then.