LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   modprobe fails to insert my sound card module (https://www.linuxquestions.org/questions/linux-software-2/modprobe-fails-to-insert-my-sound-card-module-234564/)

uman 09-23-2004 10:26 PM

modprobe fails to insert my sound card module
 
I am installing ALSA 1.0.6 on a Fedora Core 2 system with a Dell Soundblaster Live card. It compiles fine. When I insert the module into the kernel, this is what I get:

[root@localhost alsa-utils-1.0.6]# /sbin/modprobe snd-emu10k1x
FATAL: Error inserting snd_emu10k1x (/lib/modules/2.6.8.1/kernel/sound/pci/emu10 k1/snd-emu10k1x.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg gives the following:
...lots of stuff not related to sound module...
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk
snd_emu10k1x: Unknown symbol snd_compat_kcalloc
snd_emu10k1x: Unknown symbol snd_verbose_printk

please help me!
btw I am a Linux n00b. I can follow directions, but only if they are very detailed. Thanks for the help!

foo_bar_foo 09-23-2004 11:20 PM

hi,

i think this may just be that the module doesn't know the name of all it's buddies
you say it is named snd_emu10k1x as opposed to the original that didn't work named snd_emu10k1

there may be a user interface way to do this (i'm clueless about that stuff)
so you need to edit
/etc/modprobe.conf
or whatever it is for you
where these lines go seems to vary greatly with distros
Fedora seems to think the /etc directory needs 15000 sub folders
so just look till you find it
it might even be in a seperate file or directory called alsa or something
(try alsa file under modutils directory)
(don't get me started !)
might be a section that looks something like this but with snd-emu10k1 instead of snd-emu10k1x
or you might have to add these lines altogether make sure you don't leave duplicates for instance leave only one alias named char-major-116 or snd-card-0 and like that
# this is the alsa section
alias char-major-116 snd
alias snd-card-0 snd-emu10k1x
alias sound-slot-0 snd-card-0
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-midi
alias sound-service-0-12 snd-pcm-oss

i think after that you need to reboot
and the system should find the sound card

uman 09-23-2004 11:30 PM

It still doesn't work, thanks anyway though. Any more ideas?

jev-bird 09-24-2004 01:48 AM

Recompile your kernel with built in alsa support instead of module.

uman 09-24-2004 08:36 AM

I know how to compile the kernel, but how do I get ALSA in there while I'm doing it?

uman 09-24-2004 05:01 PM

bump

foo_bar_foo 09-24-2004 10:56 PM

the kernel comes with alsa but the problem is i think only the newer alsa you downloaded support the dell sounblaster
(it's different OEM somehow)
kind of a winmodem soundblaster :)
so you are on the right track i think
first thing i remember is disabled the PnP OS setting in the BIOS
this is crucial
also try adding this as well to what i said before (this might be the trouble)

alias char-major-14-* soundcore

then try
modprobe soundcore
if that doesn't work then you have forgotten to enable sound support in your kernel.
you will have to go back and enable that core sound support needed by all drivers
(i would leave the alsa stuff out of the kernel since you are building it yourself)
also when you built alsa you used
./configure --with-cards=emu10k1x --with-oss=yes --with-sequencer=yes

so you built the oss compatability stuff yes ??


if modprobe soundcore worked move on to
modprobe snd
then try to load the other modules one at a time
i coppied this from someone with a dell laptop with this crazy card (it's lsmod output)
might at least get more of an idea if something is missing altogether by trying to load these

snd_pcm_oss 51336 0
snd_mixer_oss 19328 1 snd_pcm_oss
snd_emu10k1x 13576 0
snd_pcm 91648 2 snd_pcm_oss,snd_emu10k1x
snd_timer 25856 1 snd_pcm
snd_ac97_codec 71172 1 snd_emu10k1x
snd 52868 6
snd_pcm_oss,snd_mixer_oss,snd_emu10k1x,snd_pcm,snd_timer,snd_ac97_codec
soundcore 8672 1 snd
snd_page_alloc 11784 2 snd_emu10k1x,snd_pcm

if you reach a total dead end oss now supports this card as well
http://www.opensound.com/
and is somewat easier to use

uman 09-26-2004 08:36 PM

Thank you for all the help. Someone I know gave me a normal SBlive (emu10k1). I compiled ALSA with it instead and it works, first try. Thank you for all the help anyway


All times are GMT -5. The time now is 12:12 AM.