LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   C-Media (cm8738) sound card & alsa problems (http://www.linuxquestions.org/questions/linux-hardware-18/c-media-cm8738-sound-card-and-alsa-problems-140821/)

BBQ_Matt 01-31-2004 06:03 PM

C-Media (cm8738) sound card & alsa problems
 
I've got fedora and I'm trying to get my sound card to work (cm8738 - C-Media). I'm trying to use alsa found here and have been following the instructions here

Everything is fine compiling until I get to inserting the modules into the kernel and I get this.

[root@localhost alsa-utils-1.0.1]# modprobe snd-cmipci;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o failed
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: insmod snd-cmipci failed
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o failed
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: insmod snd-pcm-oss failed
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o failed
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: insmod snd-mixer-oss failed
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o failed
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd.o: insmod snd-seq-oss failed

Obviously the soundcard won't work. What am I doing wrong?

Skitzo 02-01-2004 05:09 AM

try compiling it as static instead of module (static- is that the right term?)

I haven't gotten alsa to work yet either, see my post -- http://www.linuxquestions.org/questi...926#post733926

BBQ_Matt 02-01-2004 08:49 PM

Okay - how do you compile it as static? What is static?

Skitzo 02-05-2004 03:39 AM

Damn, I wrote up a post to answer your question and mozilla-bin froze so I had to kill it. Anyway I will give you the short terse response and some example output of my system then promptly pass out. Static means imovable, always there, not flexible -as far as I know. It may be the wrong term. Instead of answering M to the options in; make config, make menuconfig; or make xconfig, you answer Y (yes) or * , then they will compile into the kernel and stay there.

Your system is calling the modules differently from my stock 2.4.22 kernel. I skimmed the Alsa site you posted and they have patches for the cmipci stuff so you have a patched kernel source. Did you also patch the same source from a previos build version up to 2.4.22? I reccomend you try the source from the Linux Kernel Archives without using the cmpci patches or any patches related to the cmedia 8738 chip. You may have to patch for alsa. But if you are going so far as to download a source and recompile, why not get the latest stable of the 2.6 kernel which has alsa and cmedia support, umm wait I think the 2.4.22 has alsa, I cant think anymore. I found the source code of the module files you tried to call with modprobe in old kernel sources I have collecting dust, in 2.4.20, a patched audioslack 2.4.21, but none in the 2.4.22 source tree. Instead of snd-cmpci, it is just cmpci: out put of " modprobe -v \* "

--snip--
type 2 /lib/modules/2.4.22/kernel/drivers/sound
xftw_readdir /lib/modules/2.4.22/kernel/drivers/sound
user function /lib/modules/2.4.22/kernel/drivers/sound
user function /lib/modules/2.4.22/kernel/drivers/sound/cmpci.o
--snip--

lsmod:

Module Size Used by
cmpci 32168 0 (unused)
ide-scsi 10416 1 (initializing)
scsi_mod 56948 1 (autoclean) [ide-scsi]
cdrom 28928 1 (initializing)

it is unused at this time because I wasn't playing any music.
I wrote a bunch earlier to another cmedia 8738 chip owner, it may help you also -- http://www.linuxquestions.org/questi...017#post742017 --


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