Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsa stop working
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
lochrist
n00b
n00b


Joined: 22 Sep 2002
Posts: 10

PostPosted: Sat Jul 31, 2004 12:37 am    Post subject: alsa stop working Reply with quote

I have used Gentoo for 3 years now and I never had any problem with Alsa. Recently I update a few package :

alsa-headers alsa-utils alsa-driver hotplug

and now everything went wrong.

When Hotplugging I get these errors :

* Starting input hotplugging... [ ok ]
* Starting pci hotplugging...
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1
... can't load module snd-emu10k1
missing kernel or user mode driver snd-emu10k1 [ ok ]
* Starting usb hotplugging...

I use kernel 2.4.26-gentoo-r6 with emu10k1 compile as a module. I DON'T have OSS compile (neither in a module or in the kernel).

If I start manually alsa :

$> /etc/init.d/alsasound restart

I get this :
* WARNING: you are stopping a boot service.
* Unloading ALSA...
* Storing ALSA Mixer Levels
* Unloading modules [ ok ]
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd-seq-oss
* Loading: snd-pcm-oss
* Running card-dependent scripts
* Restoring Mixer Levels

The modules loaded are :

odule Size Used by Tainted: P
snd-pcm-oss 35716 0 (unused)
snd-pcm 55624 0 [snd-pcm-oss]
snd-page-alloc 5524 0 [snd-pcm]
snd-mixer-oss 11472 0 [snd-pcm-oss]
snd-seq-oss 25408 0 (unused)
snd-seq-midi-event 3456 0 [snd-seq-oss]
snd-seq 34384 2 [snd-seq-oss snd-seq-midi-event]
snd-timer 14244 0 [snd-pcm snd-seq]
snd-seq-device 3728 0 [snd-seq-oss snd-seq]
snd 30756 0 [snd-pcm-oss snd-pcm snd-mixer-oss snd-seq-oss snd-seq-midi-event snd-seq snd-timer snd-seq-device]
printer 7648 0 (unused)
hid 20548 0 (unused)
usbmouse 2008 0 (unused)
usb-ohci 18984 0 (unused)
usbcore 58156 1 [printer hid usbmouse usb-ohci]
agpgart 35768 3 (autoclean)
nvidia 1630208 11 (autoclean)
mousedev 4052 1
input 3264 0 [hid usbmouse mousedev]
sis900 11980 0 (unused)
emu10k1 54956 0
ac97_codec 11668 0 [emu10k1]
soundcore 3588 6 [snd emu10k1]
emu10k1-gp 1320 0 (unused)
gameport 1388 0 [emu10k1-gp]
tulip 39232 1

As you can see I don't have snd-emu10k1. When I modpropbe it I get this error message :

root@foin emu10k1 # modprobe snd-emu10k1
/lib/modules/2.4.26-gentoo-r6/kernel/sound/pci/emu10k1/snd-emu10k1.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26-gentoo-r6/kernel/sound/pci/emu10k1/snd-emu10k1.o: insmod /lib/modules/2.4.26-gentoo-r6/kernel/sound/pci/emu10k1/snd-emu10k1.o failed
/lib/modules/2.4.26-gentoo-r6/kernel/sound/pci/emu10k1/snd-emu10k1.o: insmod snd-emu10k1 failed

Strange thing is that the file /lib/modules/2.4.26-gentoo-r6/kernel/sound/pci/emu10k1/snd-emu10k1.o exists.

But if I modprobe emu10k1 it works.

It tried to emerge emu10k1 but I get the same result. It is very strange since before that update all things works correctly.

Does someone have an idea to help me? Thanks.

Sebastien
Back to top
View user's profile Send private message
lochrist
n00b
n00b


Joined: 22 Sep 2002
Posts: 10

PostPosted: Sat Jul 31, 2004 12:56 am    Post subject: Reply with quote

I solve the problem. I just emerge a old version of hotplug and now everything seems to work well.

Still when start alsasound I get :

* WARNING: you are stopping a boot service.
* Unloading ALSA...
* Storing ALSA Mixer Levels
* Unloading modules [ ok ]
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd-seq-oss
* Loading: snd-pcm-oss
* Running card-dependent scripts
* Restoring Mixer Levels

I don't understand why it says "Using OSS emulation". OSS is not part of my kernel. How can Alsa decide what driver to use? How it decides to start emulation? It's strange since all my emu10k1 driver are loaded (snd-emu10k1, emu10k1).

I don't have problem right now but if someone understand why with a newer version of hotplug it doesn't work please tell me. If someone understand the OSS emulation thign please explain!

Sebastien
Back to top
View user's profile Send private message
megadonkey
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 224
Location: Bohuslän, Sweden

PostPosted: Sat Jul 31, 2004 1:24 am    Post subject: Reply with quote

lochrist wrote:
I solve the problem. I just emerge a old version of hotplug and now everything seems to work well.

Still when start alsasound I get :

* WARNING: you are stopping a boot service.
* Unloading ALSA...
* Storing ALSA Mixer Levels
* Unloading modules [ ok ]
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd-seq-oss
* Loading: snd-pcm-oss
* Running card-dependent scripts
* Restoring Mixer Levels

I don't understand why it says "Using OSS emulation". OSS is not part of my kernel. How can Alsa decide what driver to use? How it decides to start emulation? It's strange since all my emu10k1 driver are loaded (snd-emu10k1, emu10k1).

I don't have problem right now but if someone understand why with a newer version of hotplug it doesn't work please tell me. If someone understand the OSS emulation thign please explain!

Sebastien


Do you have something like this:
Code:
# 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
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

In your alsa config? If you do, that's why it's starting oss emulation.
Also, I would suggest that you unmerge the emu10k1 driver..
The insmod errors you got probably is because the emu10k1 oss module got loaded and blocked alsa from using the soundcard.
_________________
Life, loathe it or ignore it, you can't like it.
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