LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2002, 01:55 PM   #1
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Rep: Reputation: 30
Can't install ALSA sound module...


I'm still beating my head against the wall trying to get my sound card to work. I have ALSA downloaded, compiled, and installed. I have edited my modules.conf as appropriate for my cs4235 sound card. But, when I modprobe snd-cs4236, I get the following:

modprobe snd-cs4236
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol vfs_readlink_R3baf1263
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol add_wait_queue_Reabf275a
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol fasync_helper_R108d0c2b
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol vfs_follow_link_Rba41854d
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol create_proc_entry_R1231106e
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol irq_stat_Rf54d751c
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol register_sound_special_Rd4f0f9f1
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol mem_map_Rd5c7f976
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol __pollwait_R199484a1
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol remove_proc_entry_R391b3f4c
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol remove_wait_queue_Rda96b75f
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol kill_fasync_R8e5ab5be
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol register_chrdev_R8ab2b237
/lib/modules/2.4.18-3/misc/snd.o: unresolved symbol proc_root_R2c857f25
/lib/modules/2.4.18-3/misc/snd.o: insmod /lib/modules/2.4.18-3/misc/snd.o failed
/lib/modules/2.4.18-3/misc/snd.o: insmod snd-cs4236 failed

What does all of this mean? How do I fix it??

thanks in advance.

<EDIT>
And I DID remove the isapnp.h file before I configured the alsa-drivers

I'm using the rc3 drivers and utitlities, etc.
<EDIT>

Last edited by peeples; 09-29-2002 at 03:02 PM.
 
Old 09-30-2002, 07:59 AM   #2
Azrael
Member
 
Registered: Sep 2002
Location: Germany
Distribution: SuSE 8.0
Posts: 96

Rep: Reputation: 15
Do you have the soundcore module? It is needed by alsa.
 
Old 10-01-2002, 08:23 AM   #3
HeDZ
LQ Newbie
 
Registered: Sep 2002
Posts: 24

Rep: Reputation: 15
I'm having trouble with my sound to, can anyone tel me how to get rid of this problem. I read somewhere i needed to build a bootable module but i don't know how, can any1 of you tell me?

I'm still using red hat 7.2, but i'm busy downloading 8.0.

I'm using a turtle beach montego (aureal vortex) but hte drivers i downloaded don't work.

Please help me, my head is beginnig to hurt from al the beatings.
 
Old 10-01-2002, 10:04 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
No need to double post, but at least you included the soundcard in this post

Where did you get the drivers, and what have you tried so far HeDZ?

Cool
 
Old 10-01-2002, 10:28 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Please anyone wanting to help HeDZ post your answers here:
http://www.linuxquestions.org/questi...threadid=31526

Thank you
 
Old 10-01-2002, 09:48 PM   #6
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
For anyone having this problem with snd.o -- There seemed to be some sort of mismatch between my kernel and modules. I upgraded to 2.4.19 and the problem went away. ALSA loaded fine. I unmuted all the channels, put volume at max. No sound. IRQ, IO, and DMA for the module match what "cat /proc/" revealed that the sound chip was using. No sound in RealPlayer, Noatun, or XMMS. Can't even hear anything when I "cat SoundFileName.wav > /dev/dsp" Sometimes (not all of the time) when KDE starts up it will say that /dev/dsp doesn't exist or is busy [ it DOES exist]. All of the following have been changed to owner root and group audio: *dsp* *audio* *midi*; and my user account is a member of audio.

Any suggestions?
 
Old 10-02-2002, 01:27 AM   #7
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 48
I had a similar problem with a different AC97 chip. It turned out to be that
while I had all of the right modules loaded to support sound on the card, it
was set up in /dev/sound, not in /dev/snd. I don't believe on can simply
make symlinks to make this work, you need to load some other modules:

modprobe snd-pcm-oss
modprobe snd-pcm-plugin
modprobe snd-mixer-oss
modprobe snd-fm801

(This is for my via8233 chip)


Here is the relevant portion of my /etc/modules.conf:

# ALSA native device support
options snd-cmipci snd_enable_midi=1
options snd snd_major=116 snd_cards_limit=1

# OSS/Free setup

alias char-major-10-179 xsvc

#(#) card #1

alias char-major-116 snd
alias snd-card-0 snd-card-via8233
alias char-major-14 soundcore
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-oss
alias sound-service-0-12 snd-pcm-oss
 
Old 10-02-2002, 08:47 AM   #8
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
On my RedHat, all of the devices are just thrown into one directory (/dev). There is no sound or snd subdirectory. The symlink I was referring to is from /dev/dsp links to /dev/dsp0.

modules.conf:

alias parport_lowlevel parport_pc
alias eth0 8139too

alias char-major-116 snd
alias snd-card-0 snd-cs4236
alias char-major-14 soundcore
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-12 snd-pcm-oss
options snd-cs4236 snd_port=0x534 snd_cport=0x120 snd_mpu_port=0x300 snd_fm_port=0x388 snd_irq=5 snd_mpu_irq=9 snd_dma1=1 snd_dma2=3


So you can see I already have the snd-pcm-oss, and the snd-mixer-oss. Do I need the other two? The ALSA documentation for my chip was really scarce. Thanks for the responses.

Denny
 
Old 10-02-2002, 01:24 PM   #9
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 48
I think the pcm-plugin module may be necessary, and it certainly won't
hurt. . .
Also, you said in one of your earlier posts that you have a cs4235 card,
but in this latest post, you have
alias snd-card-0 snd-cs4236
and
options snd-cs4236 snd_port=0x534 . . .
Are you certain you have the corrrect modules loaded?
 
Old 10-02-2002, 08:09 PM   #10
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
That is one thing that the ALSA documentation was clear about. The cs4235 chip uses the ALSA snd-cs4236 driver.

I tried modprobe snd-pcm-plugin. File not found.

One thing I did notice is that the /dev/dsp files have changed their permissions to user peeples group root at 660. I guess that's OK.

I also tried running xmms from the console. I got this when the song started up:

mcop warning: user defined signal handler found for SIG_PIPE, overriding

What does that mean?
 
Old 10-03-2002, 02:15 AM   #11
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 48
I'm not sure why xmms gave you this error, did it quit immedietly after?

post the result of:
cat /proc/modules

and look for the snd-pcm-plugin in:
/lib/modules/2.4.19/misc

(2.4.19 is for kernel 2.4.19, which your post implies you are running, if not
change it appropriately)

If it's not there, go to the compilation directory and look for it in there:

cd path_to_ALSA_source
find . -name \*pcm-plugin\*

Let me know what you find.
 
Old 10-03-2002, 06:42 PM   #12
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
XMMS kept looking like it was playing the song. The little light bars were jumping up and down...

cat /proc/modules
snd-pcm-oss 42212 1 (autoclean)
snd-mixer-oss 10944 0 (autoclean) [snd-pcm-oss]
snd-opl3-synth 11100 0 (unused)
snd-seq-instr 7052 0 [snd-opl3-synth]
snd-seq-midi-emul 6592 0 [snd-opl3-synth]
snd-seq 44108 0 [snd-opl3-synth snd-seq-instr snd-seq-midi-emul]
snd-ainstr-fm 2256 0 [snd-opl3-synth]
snd-cs4236 3104 1
snd-opl3-lib 7424 0 [snd-opl3-synth snd-cs4236]
snd-hwdep 4864 0 [snd-opl3-lib]
snd-cs4236-lib 11968 0 [snd-cs4236]
snd-mpu401-uart 4316 0 [snd-cs4236]
snd-rawmidi 17056 0 [snd-mpu401-uart]
snd-seq-device 5484 0 [snd-opl3-synth snd-seq snd-opl3-lib snd-rawmidi]
snd-cs4231-lib 18112 0 [snd-cs4236 snd-cs4236-lib]
snd-pcm 74848 0 [snd-pcm-oss snd-cs4236-lib snd-cs4231-lib]
snd-timer 13792 0 [snd-seq snd-opl3-lib snd-cs4231-lib snd-pcm]
snd 35784 0 [snd-pcm-oss snd-mixer-oss snd-opl3-synth snd-seq-instr snd-seq snd-cs4236 snd-opl3-lib snd-hwdep snd-cs4236-lib snd-mpu401-uart snd-rawmidi snd-seq-device snd-cs4231-lib snd-pcm snd-timer]
soundcore 6212 6 [snd]
8139too 15104 1
mii 1980 0 [8139too]
nls_cp437 5120 1 (autoclean)
vfat 11804 1 (autoclean)
fat 35992 0 (autoclean) [vfat]

The directory /lib/modules/2.4.19/misc does not exist. The only subdirectories under 2.4.19 are: build, kernel, and pcmcia. There is a misc subdirectory under my old kernel (2.4.18-3), but it doesn't have the snd-pcm-plugin either. Should I have a misc subdirectory under 2.4.19?

I went into the alsa-driver directory that I compiled the program in and typed the find command "find . -name \*pcm-plugin\*" (without quotes) and nothing was returned. (no error message, nothin').

denny
 
Old 10-03-2002, 09:01 PM   #13
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 48
Ok. . .

The modules for my ALSA were installed in /lib/modules/2.4.19/misc,
maybe yours were installed in /lib/modules/2.4.19/kernel/sound?

In the alsa-utils directory (you did install those, right?), there should be a
couple of programs,
alsamixer
alsactl
amixer
aplay
You should be able to run alsamixer and unmute all of the outputs.

I have a script that is run on initialization that does the following:
(amixer is a non-interactive version of alsamixer)
Try running the following just by hand and see if it makes a difference. If
it does, put it into an initialization script so it's run on boot.

#!/bin/sh
amixer set PCM 22 unmute -q
amixer set PC\ Speaker 22 unmute -q
amixer set Master 22 unmute -q
amixer set Master\ Mono 22 unmute -q
#amixer set Headphone 22 unmute -q
amixer set Phone 22 unmute -q
amixer set Aux 22 unmute -q
amixer set Video 22 unmute -q
amixer set CD 22 unmute -q
amixer set Input\ Gain 22 unmute -q
amixer set Line 22 unmute -q
amixer set MIC 22 unmute -q

Also, figure out how to use the alsactl program, since you may be able to
use it to do the same thing as above, only more cleanly (some could
say).
 
Old 10-03-2002, 10:56 PM   #14
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
Doing all of those amixer commands didn't help.

I think I should go back and re-configure, make , and make install all of the ALSA ( I must have done something different, since I have the /misc directory under 2.4.18-3 and I don't under 2.4.19) What do you think? But, then again, all of the modules are listed when I run lsmod, so the 'puter has to be able to find them somewhere.

I don't know.

When I restarted KDE this time I noticed under gkrellm that CPU usage was at 100% for a while, the I got some message about sound server and CPU overload. Then cpu usage dropped back to normal.

When I try XMMS, now I don't even see the bouncing lights under the running time anymore (but the song title does scroll across the screen).

denny
 
Old 10-04-2002, 12:59 AM   #15
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 48
Did running the commands return anything?

Are you comfortable working in a console? If so, it would be best to try to
get things working w/o KDE's or gnome's (screwed up) sound servers.
They both seem to cause a lot of problems for a lot of people, and if we
can get the sound to work w/o worrying about a sound server, then we
can be sure it's working. . . (occam's razor; decrease the complexity. . .)


By the way, cat somefile.wav > /dev/dsp will probably only cause damage
to your ears if it works. You should cat somefile.au > /dev/dsp (au is
Sun's raw audio format, and can be sent directly to the device, I'm not
sure that waves can).

It may not be a bad idea to recompile. . .
If you do so, you should start over with
tar zxvf alsa-xxxx
make clean
./configure
make
make install
(with all the apropriate options that you may need)
Are you compiling all three packages, lib, driver, utils?

Just to be a smart ass, are your speakers plugged in and turned on?
 
  


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
does this sound blaster use alsa module emu10k1? hedpe Linux - Hardware 7 03-20-2006 10:58 AM
no sound, can't install ALSA marsguy Linux - Hardware 5 11-22-2004 11:55 PM
ALSA sound drivers don't install swamysk Linux - Newbie 1 11-20-2004 01:01 PM
ALSA install error - 'Can't locate module snd-au8830 Foxy Linux - Hardware 10 07-07-2004 12:15 PM
New Install - ALSA Sound Problem bassbrnr Slackware 4 01-17-2003 05:23 PM


All times are GMT -5. The time now is 07:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration