Click to See Complete Forum and Search --> : Alsa Install problems


airedalez
02-17-2004, 10:25 PM
I am currently trying to get ALSA to work on my system. I have 2.6.2 kernel installed, but I thought I would manually try to install ALSA since I was having problems with the kernel trying to build the modules.

I did an lspci and got this:
00:0d.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)

So now when I try typing this in: modinfo soundcore
just like Alsa's instructions, I get:
[root@localhost sbin]# ./modinfo soundcore
modinfo: soundcore: no module by that name found
[root@localhost sbin]# ./modprobe soundcore
FATAL: Module soundcore already in kernel.
[root@localhost sbin]#

So what could this mean? It says no module found... but then when I probe for it it finds one?!

I think this may be the root of why I can not get it to install... Also this is the error I get when I try to manually install the drivers:
[root@localhost alsa-driver-1.0.2]# make install
find /lib/modules/2.6.2/kernel/sound -name 'snd*.*o' | xargs rm -f
make[1]: Entering directory `/home/airedale/alsa-driver-1.0.2/acore'
mkdir -p /lib/modules/2.6.2/kernel/sound/acore
cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-timer.ko snd.ko /lib/modules/2.6.2/kernel/sound/acore
cp: cannot stat `snd-hwdep.ko': No such file or directory
cp: cannot stat `snd-page-alloc.ko': No such file or directory
cp: cannot stat `snd-pcm.ko': No such file or directory
cp: cannot stat `snd-rawmidi.ko': No such file or directory
cp: cannot stat `snd-timer.ko': No such file or directory
cp: cannot stat `snd.ko': No such file or directory
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory `/home/airedale/alsa-driver-1.0.2/acore'
make: *** [install-modules] Error 1

Any ideas on this?

mdwatts
02-18-2004, 12:19 PM
Originally posted by airedalez
nd
[root@localhost sbin]# ./modprobe soundcore
FATAL: Module soundcore already in kernel.

cp: cannot stat `snd-hwdep.ko': No such file or directory
cp: cannot stat `snd-page-alloc.ko': No such file or directory
cp: cannot stat `snd-pcm.ko': No such file or directory
cp: cannot stat `snd-rawmidi.ko': No such file or directory
cp: cannot stat `snd-timer.ko': No such file or directory
cp: cannot stat `snd.ko': No such file or directory


Did you build sound support into the kernel instead of as modules?

Some of mine from the 2.4 kernel.

# locate snd-timer
/lib/modules/2.4.21-166-smp4G/kernel/sound/core/snd-timer.o

# locate snd-hwdep
/lib/modules/2.4.21-166-smp4G/kernel/sound/core/snd-hwdep.o

airedalez
02-18-2004, 01:00 PM
I first tried building the support into the kernel. After that didn't work I tried building it as a module. It has seemed either way it didn't work like it should.

What is the difference between the module and kernel building?