Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wierd alsa error during boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
dufnutz
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 209

PostPosted: Mon May 06, 2002 4:14 am    Post subject: wierd alsa error during boot Reply with quote

When my kernel is going through its checklist it becomes red with a warning and says

"Alsa driver already loaded"

Does anyone know what line i need to delete in what text file? thanks
Back to top
View user's profile Send private message
genAlphA
n00b
n00b


Joined: 26 Apr 2002
Posts: 14
Location: france

PostPosted: Mon May 06, 2002 7:34 am    Post subject: Reply with quote

Do you have emerged alsa0.9 ?

If this the case, you have to remove all references to alsa driver in /etc/modules.autoload and see /etc/modules/d/alsa. This is a new config file and it contains some example for setting up alsa driver. Take care that some drivers have a different name from the alsa 0.5 ones.

Then re-rerun rc-update add alsa default
Back to top
View user's profile Send private message
pablored
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2002
Posts: 96

PostPosted: Tue May 07, 2002 12:08 pm    Post subject: snd-pcm-oss, snd-mixer-oss Reply with quote

Okay, similar problem,
I have just emerged Alsa0.9 on a new system, and after the initial setup my oss sound doesn't work. On the old sys I loaded snd-pcm-oss in modules.autoload, but doing that now causes problems -> the alsa already started error. So, snd-pcm-oss and snd-mixer-oss have had to be removed from modules.autoload.

I have this in my alsa file... and also my modules.conf after 'update-modules'.
...
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-card-0

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
...

OSS compat is not loaded at Boot time, despite the service lines above. lsmod, has no mention of any oss. If i modprobe the two files, mixer and pcm, all is fine... but I don't really want to do that every time I boot my pc.

Anyone any ideas on what is going wrong?

Regards
Paul
Back to top
View user's profile Send private message
pablored
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2002
Posts: 96

PostPosted: Wed May 08, 2002 11:51 pm    Post subject: my temp solution Reply with quote

I got things automated by adding a couple of lines to /etc/init.d/alsasound
.....
ebegin "Initialising ALSA."

drivers="`/sbin/modprobe -c | \
grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | \
awk '{print $3}'`"
for i in $drivers; do
if [ "$i" != off ]; then
einfon "Starting sound driver: $i "
/sbin/modprobe $i
/sbin/modprobe snd-pcm-oss # mod for oss
/sbin/modprobe snd-mixer-oss # mod for oss
eend 0
fi
done
.....

weird that this file did not start the soundcard services from the /etc/modules.d/alsa file from the beginning. My little mod will do me for now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum