Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275421 - System stalls when unloading ALSA modules
Summary: System stalls when unloading ALSA modules
Status: RESOLVED DUPLICATE of bug 253535
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-25 18:48 UTC by M Cordingley
Modified: 2009-06-25 19:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M Cordingley 2009-06-25 18:48:04 UTC
When I shut down my system, the normal shutdown process hangs on unloaded the ALSA modules.  There appears to be no failure or errors, per se, only an indefinite wait for the modules to unload

Reproducible: Always

Steps to Reproduce:
1.Shutdown, either from Gnome or the console
2.
3.

Actual Results:  
System begins shutdown, then freezes.

Expected Results:  
System shuts down fully and powers off

I asked around for help, which led to some digging into the alsasound init script and a manual unloading of the modules.  It was found that manually unloading the modules in the order of dependencies listed by lsmod enabled the system to shutdown properly.  Digging into the init script revealed that "alsasound stop" does not unload the modules in any particular order, leading to the system trying to unload a given module that is still in use elsewhere.
Comment 1 Daniel Pielmeier gentoo-dev 2009-06-25 19:20:28 UTC
Setting UNLOAD_ON_STOP to "no" in /etc/conf.d/alsasound should do the trick.

*** This bug has been marked as a duplicate of bug 253535 ***