LinuxQuestions.org
Register a domain and help support LQ
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 04-15-2004, 05:12 AM   #1
maenho
Member
 
Registered: Nov 2003
Location: Belgium
Posts: 81

Rep: Reputation: 15
ALSA pain


Hi all,

I'm having problems getting sound out of an Soundblaster Ensoniq AudioPCI on Red Hat 9. I've compiled a 2.6.5 and was tempted by the good reviews of ALA so I downloaded

alsa-driver-1.04
alsa-lib-1.0.4
alsa-oss-1.0.4
alsa-utils-1.0.4

Soundcard support (soundcore) is compiled as module since that is the best for use with ALSA so I've read somewhere. I've compiled ALSA into the kernel as well or as modules but it makes no difference. No OSS is compiled at all.

When I run alsconf it correctly detects my soundcard and makes the changes to modprobe.conf. After that the manual states that I should be hearing sound but I hear nothing.

lsmod gives me nothing sound related:

Module Size Used by
nvidia 2074664 12
autofs 15872 0
8139too 24896 0
mii 5184 1 8139too
crc32 4352 1 8139too
ohci1394 34944 0
ieee1394 109840 1 ohci1394
hid 25152 0

When I stick to the manual and do a

modprobe snd-ens1371;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

I get some errors like;
WARNING: Error inserting snd (/lib/modules/2.6.5/kernel/sound/acore/snd.ko): Inp ut/output error
WARNING: Error inserting snd (/lib/modules/2.6.5/kernel/sound/acore/snd.ko): Inp ut/output error
WARNING: Error inserting snd (/lib/modules/2.6.5/kernel/sound/acore/snd.ko): Inp ut/output error
WARNING: Error inserting snd (/lib/modules/2.6.5/kernel/sound/acore/snd.ko): Inp ut/output error
WARNING: Error inserting snd_seq (/lib/modules/2.6.5/kernel/sound/acore/seq/snd- seq.ko): Device or resource busy
FATAL: Error inserting snd_seq_oss (/lib/modules/2.6.5/kernel/sound/acore/seq/os s/snd-seq-oss.ko): Device or resource busy

in the system logs I get:

Apr 15 11:09:57 RedMaster kernel: snd: no version for "struct_module" found: kernel tainted.
Apr 15 11:09:57 RedMaster kernel: ALSA /temp/alsa-driver-1.0.4/acore/sound.c:362: unable to register native major device number 116
Apr 15 11:09:57 RedMaster kernel: ALSA /temp/alsa-driver-1.0.4/acore/timer.c:1828: unable to register timer device (-16)
Apr 15 11:09:57 RedMaster kernel: ALSA /temp/alsa-driver-1.0.4/acore/sound.c:362: unable to register native major device number 116
Apr 15 11:09:58 RedMaster kernel: ALSA /temp/alsa-driver-1.0.4/acore/oss/mixer_oss.c:1261: unable to register OSS mixer device 0:0
Apr 15 11:09:58 RedMaster kernel: ALSA /temp/alsa-driver-1.0.4/acore/oss/pcm_oss.c:2417: unable to register OSS PCM device 0:0
Apr 15 11:09:58 RedMaster kernel: ALSA /temp/alsa-driver-1.0.4/acore/oss/pcm_oss.c:2417: unable to register OSS PCM device 0:1
Apr 15 11:09:58 RedMaster kernel: ALSA /temp/alsa-driver-1.0.4/acore/sound.c:362: unable to register native major device number 116
Apr 15 11:09:58 RedMaster kernel: ALSA /temp/alsa-driver-1.0.4/acore/sound.c:362: unable to register native major device number 116
Apr 15 11:09:58 RedMaster kernel: ALSA /temp/alsa-driver-1.0.4/acore/seq/oss/seq_oss.c:226: can't register device seq


but now I have sound !! I have OSS emulation and everything. Yippee

Unfortunately after rebooting not one soundmodule is loaded and in the System logs I find:

ALSA device list:
No soundcards found.

I can do the modprobe trick again but that's annoying of course.

anybody ?

oh, and the kernel tainting part I got from installing NVIDIA drivers
 
Old 04-15-2004, 07:52 PM   #2
pjbgravely
Member
 
Registered: Mar 2004
Location: USA
Distribution: Aptosid, Ubuntu server, DSL
Posts: 53

Rep: Reputation: 15
Did you run sndconfig after the modprobe. I think that will keep it after reboot.

Any Non GPL binary will cause the kernel taint warning, it just means you don't have a all GPL setup, any way it's just the driver, don't worry about it.
 
Old 04-16-2004, 05:58 AM   #3
maenho
Member
 
Registered: Nov 2003
Location: Belgium
Posts: 81

Original Poster
Rep: Reputation: 15
I tried sndconfig just now. It sais I do not have modular sound support, because he cannot find soundcore.o. I do have modular sound support (modinfo soundcore assured me here) but for some reason sndconfig does not seem to be aware of that. Maybe it's not supporting 2.6 kernels or something.

I had the impression that sndconfig is for OSS and that alsaconfig is it's alter ego on ALSA systems. This is just a guess.

So basically sndconfig does not seem to work.

thanks for the help anyway
 
  


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
Sorry to be a pain, but can someone help please? twirl Programming 5 09-06-2005 06:15 PM
LFS pain in the... Rojong Linux From Scratch 4 01-08-2005 10:13 PM
What a pain BajaNick General 4 08-31-2003 12:15 AM
The Pain... crichards General 11 02-22-2003 06:19 AM
oh the pain, the pain of c bobthebat Programming 2 07-04-2002 12:30 PM


All times are GMT -5. The time now is 01:13 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