Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54274 - Alsasound init script unload_modules() fails
Summary: Alsasound init script unload_modules() fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-17 23:08 UTC by Emanuel Lauria
Modified: 2004-06-18 01:08 UTC (History)
1 user (show)

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 Emanuel Lauria 2004-06-17 23:08:00 UTC
The alsasound initialitation script, on the 116 line:
/sbin/rmmod gameport 2> /dev/null
tries to unload the 'gameport' module. Some people, like me, don't have it.
So, when trying to rmmod, fails and the ugly [ !! ] is displayed.

Sound works perfect, and all the modules that got uploaded, are correctly unloaded.

Reproducible: Always
Steps to Reproduce:
1.Start alsasound init.d script and let him load all the modules. Check that it didn't load the gameport module. (i.e. you don't have it)
2.Stop the alsasound init.d script. Let him unload all the modules it uploaded when starting
3.Experience the 'Unloading modules                [!!]'  message

Actual Results:  
The 'Unloading modules                       [!!]' message is displayed.

Expected Results:  
Check if gameport module is up. If it is, unload it, if not, do nothing.

I commented that line (116), and everything worked OK. But thats a simple hack. Shouldn't be that way.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-18 01:08:40 UTC
changes are coming to a mirror near you =)