When the script try to load the modules for oss emulation, snd-seq and snd-ioctl32, don't recognize the right names of modules. This is the output : alsasound |* Loading ALSA modules... alsasound |* Loading: snd-card-0... [ ok ] alsasound |* Loading: snd-card-0... [ ok ] alsasound |* Loading: kernelsnd-mixer-oss... alsasound |FATAL: Module kernelsnd_mixer_oss not found. [ !! ] alsasound |* Loading: kernelsnd-pcm-oss... alsasound |FATAL: Module kernelsnd_pcm_oss not found. [ !! ] alsasound |* Loading: kernelsnd-seq-oss... alsasound |FATAL: Module kernelsnd_seq_oss not found. [ !! ] alsasound |* Loading: kernelsnd-seq... alsasound |FATAL: Module kernelsnd_seq not found. [ ok ] alsasound |* Restoring Mixer Levels... [ ok ] I correct this chenged the sed commands from: DRIVERS="${DRIVERS} $(modprobe -l | sed -n -e '/snd.*oss/ s:\/.*\/\(.*\).ko:\1:p')" to DRIVERS="${DRIVERS} $(modprobe -l | sed -n -e '/snd.*oss/ s:.*\/\(.*\).ko:\1:p')" same for snd-seq and snd-ioctl32 and now works well for me :) Reproducible: Always Steps to Reproduce: 1./etc/initd.d/alsasound start 2. 3.
Supposed to be fixed in r1.
Reopening as this bug still isn't fixed in media-sound/alsasound-1.0.20-r2 The offending part in the alsasound init script is this line: modprobe -l | sed -n -e '/snd.*oss/ s:\/.*\/\(.*\).ko:\1:p' which results in the following output on all of my machines: barcelona:~ # modprobe -l | sed -n -e '/snd.*oss/ s:\/.*\/\(.*\).ko:\1:p' kernelsnd-mixer-oss kernelsnd-pcm-oss kernelsnd-seq-oss barcelona:~ # I fixed it this way: barcelona:~ # modprobe -l | sed -n -e '/snd.*oss/ s:.*\/\(.*\).ko:\1:p' snd-mixer-oss snd-pcm-oss snd-seq-oss barcelona:~ # I'll attach a patch whith the fix I used in the alsasound init script.
Created attachment 199827 [details, diff] alsasound.initd-r3.diff Maybe using something like modprobe -l | sed -n -e '/snd.*oss/ s:.*\/\([[:alnum:]_-]\+\).ko:\1:p' might even be better but I leave this to our alsa experts.
(In reply to comment #2) > Reopening as this bug still isn't fixed in media-sound/alsasound-1.0.20-r2 oops, this should be media-sound/alsa-utils-1.0.20-r2 of course...
Created attachment 199843 [details, diff] alsasound.initd-r3.diff My previous patch only fixed one out of three lines where a change is necessary. This patch fixes all three lines. This patch also uses the [:alnum:] regexp rather than the .* wildcard.
Lars, that updated alsasound patch of your works here - alsa-utils got re-emerged due to dropping midi USE flag and this problem arose. Was about to open a new ug then saw this.
*** Bug 280021 has been marked as a duplicate of this bug. ***
+*alsa-utils-1.0.20-r3 (02 Aug 2009) + + 02 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> + +alsa-utils-1.0.20-r3.ebuild, +files/alsasound.initd-r4: + Fix init script wrt #259861, thanks to Lars Wendler for patch.
*** Bug 280323 has been marked as a duplicate of this bug. ***