LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 01-31-2004, 07:03 PM   #1
BBQ_Matt
LQ Newbie
 
Registered: Sep 2003
Location: Sydney, Australia
Distribution: ubuntu, suse, redhat
Posts: 18

Rep: Reputation: 0
Unhappy 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?
 
Old 02-01-2004, 06:09 AM   #2
Skitzo
LQ Newbie
 
Registered: Aug 2003
Location: Beyond the third Van-Allen belt
Distribution: Slackware,Gentoo
Posts: 25

Rep: Reputation: 15
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
 
Old 02-01-2004, 09:49 PM   #3
BBQ_Matt
LQ Newbie
 
Registered: Sep 2003
Location: Sydney, Australia
Distribution: ubuntu, suse, redhat
Posts: 18

Original Poster
Rep: Reputation: 0
Okay - how do you compile it as static? What is static?
 
Old 02-05-2004, 04:39 AM   #4
Skitzo
LQ Newbie
 
Registered: Aug 2003
Location: Beyond the third Van-Allen belt
Distribution: Slackware,Gentoo
Posts: 25

Rep: Reputation: 15
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 --
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No sound with a CM8738 sound card -- alsa installed istar80 Linux - Hardware 1 06-17-2005 03:02 PM
alsa - card detected, media plays, no sound, not the usual problem qwijibow Linux - General 8 06-02-2005 02:35 PM
Sound on c-media CM8738 dhbiker Slackware 1 10-20-2004 03:20 PM
Mandrake 9.2 Alsa not working C-Media CM8738 jrippon Linux - Hardware 3 11-09-2003 12:16 AM
how do i enable 4CH sound with cm8738 with ALSA on slack9.1 hypermegachi Linux - Hardware 2 10-29-2003 05:10 PM


All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration