Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261075 - media-sound/alsa-utils-1.0.17: alsasound stop hangs on 2.6.29
Summary: media-sound/alsa-utils-1.0.17: alsasound stop hangs on 2.6.29
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-03 15:35 UTC by Ortwin Glueck
Modified: 2009-03-03 22:47 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 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