LinuxQuestions.org
Help answer threads with 0 replies.
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 05-28-2003, 04:21 PM   #1
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Rep: Reputation: 15
Question More ALSA probs


well, I've managed to download and compile my ALSA drivers and stuff, everything went just fine, I did it all by the book...

but when I ran the:
modprobe snd-opl3sa2;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

it gave me a bunch of error messages:

/lib/modules/2.4.20-8/kernel/sound/isa/snd-opl3sa2.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8/kernel/sound/isa/snd-opl3sa2.o: insmod /lib/modules/2.4.20-8/kernel/sound/isa/snd-opl3sa2.o: failed
/lib/modules/2.4.20-8/kernel/sound/isa/snd-opl3sa2.o: insmod snd-opl3sa2 failed



how do I fix this?
 
Old 05-28-2003, 05:38 PM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
did you remember to modprobe soundcore before all the other ones?
 
Old 05-29-2003, 02:45 AM   #3
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
I've had this, and usually its because your soundcard has allready been loaded (usually with the wrong driver, hence irq conflict message).

Check modules.conf and rc.local incase you have a conflicting driver in there. Once i removed that, everything modprobed perfectly. That was on both slack 9 and redhat 8 and 9.

Hope that helps.
 
Old 05-29-2003, 08:12 AM   #4
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
jpbarto: yes, I did, and it outputted that it worked.. don't remember the exact version numers and stuff now, but I did..

Evilone: You may be right, but how do I know which drivers are the right ones and which ones are wrong?
Should I delete EVERYTHING in those files or what?
A few days ago, I did tamper with modules.conf, but now as I had problems with installing ALSA, I changed it back to the way it was before I changed it...
But what to do?
 
Old 05-29-2003, 08:24 AM   #5
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
to see what modules are running type 'lsmod'. this will list all modules in your kernel. See any that look like sound drivers? All the presently installed sound drivers will / should reside in /lib/modules/<kernel-version>/kernel/drivers/sound

Evilone: good call about drivers already being loaded.
ziggamon: if lsmod proves unfruitful the drivers may be compiled into the kernel. However I'm not a Redhat guy so I'm not sure what is common practice for their kernels (do they go for lots of modules out the box or for a really-huge-support-everything kernel?)
 
Old 05-30-2003, 06:21 AM   #6
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
yes, actually, when I ran lsmod I found many sound-related modules:


adlib_card 1252 0 (unused)
opl3 14784 0 [adlib_card]
sound 74228 0 [adlib_card opl3]
soundcore 6404 2 [sound]


what do I do with them now?
 
Old 05-30-2003, 06:32 AM   #7
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
I tried to comment everything that had to do with sound drivers in modules.conf and now lsmod doesn't output any sound-related modules...

and the modprobe gives the same errors...
 
Old 05-30-2003, 08:34 AM   #8
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
I wanna make sure I've got this str8...

you do a fresh reboot and there's no sound modules loaded because you commented them out in modules.conf.

then you modprobe soundcore and begin modprobing snd-opl3sa2 and then you still get the error mentioned in the first post. is that right?
 
Old 05-30-2003, 08:37 AM   #9
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
what type of card do you have? I couldn't find any on alsa's matrix that uses the opl3sa2 driver.

scratch that... had to dig deeper.

Last edited by jpbarto; 05-30-2003 at 08:38 AM.
 
Old 05-30-2003, 08:49 AM   #10
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
actually, I hadn't modprobed soundcore since I commented away everything there was in modules.conf

now I tried to modprobe soundcore, and it didn't output a thing. Nothingl.
 
Old 05-30-2003, 08:49 AM   #11
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
I have a Yamaha YMF719 I think, but I'm not sure
 
Old 05-30-2003, 09:24 AM   #12
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
if you modprobe soundcore and it doesn't output anything... doesn't mean its not loaded... take a look as lsmod after you modprobe soundcore to see if its loaded.
 
Old 05-30-2003, 09:37 AM   #13
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
You were right, after modprobing soundcore, it was found by lsmod...

but what do I do now?
 
Old 05-30-2003, 10:44 AM   #14
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
now try to modprobe snd-opl3sa2 and cross your fingers.
 
Old 05-30-2003, 10:53 AM   #15
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
nope... same errors as before
 
  


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
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
ALSA probs kanati Linux - Hardware 1 02-01-2005 09:17 PM
debian: alsa snd-ens1371 probs el_focco Linux - Newbie 2 09-18-2003 06:35 PM
ALSA Install probs //alias Linux - Software 1 06-29-2003 03:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:55 AM.

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
Open Source Consulting | Domain Registration