On my Lenovo ThinkPad R61 the shutdown of the system fails, when a 2.6.29 kernel is booted prior. I oculd track it down to unloading the codec for my build-in HDA Intel soundcard (Analog Devices codec). The command "rmmod snd_hda_codec_analog hangs forever and prohibits the system to shutdown properly. When i issue the command "shutdown -n now" i can overcome this issue, but this is not the way i like to shutdown the system forever. I have the same trouble with 2.6.29 vanilla kernel as well. btw. sound itself works like a charm. Reproducible: Always Steps to Reproduce: 1. eselect rc stop alsasound 2. ps command shows hangig rmmod --wait snd_hda_codec_analog Actual Results: hangig rmmod --wait snd_hda_codec_analog Expected Results: proper system shutdown please see attachments with kernel config, dmesg etc.
Created attachment 186432 [details] emerge --info
Created attachment 186434 [details] dmesg
Created attachment 186436 [details] .config for 2.6.29 kernel
I just found out that I have a sililar trouble with my Dell Latitude D830 as well. This laptop has a HDA Intel soundcard as well, but with a IDT/Sigmatel codec. Here sound does not work at all under 2.6.29, and unloading of the IDT/Sigmatel codec hangs forever as well. stefan@office2 ~/2.6.29 $ ps -eaf | grep rmmod root 12538 12452 0 15:46 pts/1 00:00:00 rmmod --wait snd_hda_codec_idt
Created attachment 186439 [details] emerge --info from the Dell D830
Created attachment 186440 [details] dmesg from the Dell D830
Created attachment 186442 [details] 2.6.29 kernelconfig from the Dell D830
see bug #253535, for example comment #12 (253535#c12 - http://bugs.gentoo.org/show_bug.cgi?id=253535#c12)
(In reply to comment #8) > see bug #253535, for example comment #12 (253535#c12 - > http://bugs.gentoo.org/show_bug.cgi?id=253535#c12) > Thank you. I have the same situation on my HP EliteBook 8530p using 2.6.29. Setting UNLOAD_ON_STOP to "no" in my /etc/conf.d/alsasound fixed it.
It might help to upgrade sys-apps/module-init-tools to version 3.6. Please note that this breaks alsasound init script from any alsa-utils version lower than 1.0.19-r1 (see bug #258930).
(In reply to comment #8) ok, not unloading the alsa modules before shutdown is ok. this works on both of my concerned systems. but on the dell d830 sound is still not working. I have tried several different kernel-configs including one retrieved by make oldconfig and all answeres to its defaults from my 2.6.28-gentoo-r4 kernel (where saound works) any ideas for this one?
Unload of modules isn't supported anymore, and a workaround has been identified. If you're still having sound issues, please feel free to open a separate bug report. *** This bug has been marked as a duplicate of bug 253535 ***