Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263973 - sys-kernel/gentoo-sources-2.6.29 rmmod snd_hda_codec_analog hangs forever
Summary: sys-kernel/gentoo-sources-2.6.29 rmmod snd_hda_codec_analog hangs forever
Status: RESOLVED DUPLICATE of bug 253535
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 14:22 UTC by Stefan Trenker
Modified: 2009-04-08 14:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info,4.59 KB, text/plain)
2009-03-27 14:23 UTC, Stefan Trenker
Details
dmesg (dmesg,44.04 KB, text/plain)
2009-03-27 14:24 UTC, Stefan Trenker
Details
.config for 2.6.29 kernel (config,68.12 KB, text/plain)
2009-03-27 14:25 UTC, Stefan Trenker
Details
emerge --info from the Dell D830 (emerge--info-dell,4.50 KB, text/plain)
2009-03-27 14:53 UTC, Stefan Trenker
Details
dmesg from the Dell D830 (dmesg-dell,39.11 KB, text/plain)
2009-03-27 14:53 UTC, Stefan Trenker
Details
2.6.29 kernelconfig from the Dell D830 (config-dell,70.06 KB, text/plain)
2009-03-27 14:54 UTC, Stefan Trenker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Trenker 2009-03-27 14:22:44 UTC
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.
Comment 1 Stefan Trenker 2009-03-27 14:23:55 UTC
Created attachment 186432 [details]
emerge --info
Comment 2 Stefan Trenker 2009-03-27 14:24:39 UTC
Created attachment 186434 [details]
dmesg
Comment 3 Stefan Trenker 2009-03-27 14:25:20 UTC
Created attachment 186436 [details]
.config for 2.6.29 kernel
Comment 4 Stefan Trenker 2009-03-27 14:52:02 UTC
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


Comment 5 Stefan Trenker 2009-03-27 14:53:01 UTC
Created attachment 186439 [details]
emerge --info from the Dell D830
Comment 6 Stefan Trenker 2009-03-27 14:53:26 UTC
Created attachment 186440 [details]
dmesg from the Dell D830
Comment 7 Stefan Trenker 2009-03-27 14:54:09 UTC
Created attachment 186442 [details]
2.6.29 kernelconfig from the Dell D830
Comment 8 Thomas Jäger 2009-03-28 06:17:27 UTC
see bug #253535, for example comment #12 (253535#c12 - http://bugs.gentoo.org/show_bug.cgi?id=253535#c12)
Comment 9 Ján Bednár 2009-03-28 12:14:37 UTC
(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.
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-28 15:22:59 UTC
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).
Comment 11 Stefan Trenker 2009-03-28 16:01:28 UTC
(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?

Comment 12 Mike Pagano gentoo-dev 2009-04-08 14:41:45 UTC
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 ***