Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 261075

Summary: media-sound/alsa-utils-1.0.17: alsasound stop hangs on 2.6.29
Product: Gentoo Linux Reporter: Ortwin Glueck <odi>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ortwin Glueck 2009-03-03 15:35:23 UTC
/etc/init.d/alsasound stop hangs when trying to remove modules on a 2.6.29-rc6 kernel, whereas it works fine on 2.6.28. I have a Intel HDA card (MacBook Pro 2,1). While in 2.6.28 there was only one ALSA module loaded (snd_hda_intel), in 2.6.29 there are now three modules. The module unloading logic tries to unload them in the wrong order with rmmod. Instead a simple modprobe -r snd_hda_intel would do fine.

This causes a hang during shutdown, which is very annoying.

Reproducible: Always
Comment 1 emerald 2009-03-03 21:51:29 UTC
Thats why module unloading is considered a bad idea (is written and handled in 
~ version of alsa-utils) and should not be used.
Comment 2 Ortwin Glueck 2009-03-03 22:47:34 UTC
So the workaround is:
/etc/conf.d/alsasound:
UNLOAD_ON_STOP="no"

WFM