LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-27-2003, 11:23 PM   #1
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105

Rep: Reputation: 15
Soundcard


I just compiled a new kernel and my soundcard isn't working. I compiled the kernel with sound support and included the module I know works with my soundcard (worked with my previous kernel)
Soundcard: Soundblaster Audigy
(new)kernel: 2.4.22
distro: slackware

when I type: modprobe emu10k1
I get: /lib/modules/2.4.22TestKernel2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o: init_module: No such device
/lib/modules/2.4.22TestKernel2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o: 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.22TestKernel2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o: insmod /lib/modules/2.4.22TestKernel2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o failed

when I view /proc/pci I see that my soundcard doesn't have a IRQ
# /proc/pci: Bus 2, device 10, function 0:
Multimedia audio controller: Creative Labs SB Audigy (rev 3).
Master Capable. Latency=32. Min Gnt=2.Max Lat=20.
I/O at 0xd400 [0xd41f].
(just copied the soundcard info)

# lsmod:
00:00.0 Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 04)
00:01.0 PCI bridge: Intel Corp. 82850 850 (Tehama) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 04)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 04)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 04)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 04)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4600] (rev a3)
02:04.0 USB Controller: NEC Corporation USB (rev 41)
02:04.1 USB Controller: NEC Corporation USB (rev 41)
02:04.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
02:0a.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
02:0a.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)
02:0a.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 01)
02:0b.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 0c)

and I found this in dmesg:
PCI: No IRQ known for interrupt pin A of device 02:0a.0. Probably buggy MP table.
EMU10K1/Audigy soundcard not found or device busy

I'm lost on what to do now.
Thanks.
 
Old 08-28-2003, 04:29 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
From the beginning it looks like something is very wrong. cd into the directory where the driver 'doesn't' exist:
cd /lib/modules/2.4.22TestKernel2.4.22/kernel/drivers/sound/

Poke around and see if you find it, if you do..

insmod using the full path.

Run:
depmod -ae

And also, that's not a normal lsmod, I'm thinking you typed lspci, and either meant to say that's lspci, or didn't post the correct data

Lastly, not completely related, but have you looked into using ALSA for that soundcard instead of the kernel driver?

Cool
 
Old 08-28-2003, 10:22 AM   #3
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105

Original Poster
Rep: Reputation: 15
your right, thats supposed to say lspci.

I found the driver:
/lib/modules/2.4.22TestKernel2.4.22/kernel/drivers/sound/emu10k1
so I cd to that directory and type:
insmod emu10k1.o

I get:
emu10k1.o: init_module: No such device
emu10k1.o: 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

I didn't get anything from depmod.

I'm fairly new at linux, but it seems to me that my Soundcard isn't being detected. It shows up in lspci, but it has no IRQ (looking in /proc/interrupts and /proc/pci, it doesn't have an IRQ)

yes, I have checked in to ALSA as well. I've installed ALSA for my soundcard and I get similar problems when trying to load the modules.(actually I get the exact same error as above)

The IRQ part really confuses me. Why wouldn't my soundcard be assigned an IRQ?

Thanks
 
Old 08-28-2003, 11:00 AM   #4
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
I just did a kernel upgrade to 2.6 test3, and I think I remember having to compile in Plug and Pray support. Is it possible that you left this option out and that is maybe why no IRQ is assigned? Did you keep your .config file from your kernel compile? I would love to see a copy so that we can diagnose your compile options... the answer may be there.

slight
 
Old 08-28-2003, 01:31 PM   #5
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105

Original Poster
Rep: Reputation: 15
You want me to post the whole .config file? or just certain parts?

Its a rather large file to be posted, isn't it? (899 lines)
 
Old 08-28-2003, 03:12 PM   #6
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
Yeah, it is a bit big..... :P

specifically, if you could try to single out the sections re: sound card config/PCI and any plug and play settings.

This may not be the culprit, but I think it is best to rule this out before we start grasping at straws....

If you want to e-mail the file to me, I'd be happy to give it a go.

slightcrazed@linuxquestions.net

slight
 
  


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
Soundcard Driver for ALi M5451 Soundcard (Trident Module) xianzai Linux - Hardware 3 12-15-2006 12:00 PM
Soundcard being used by... something... Saint_Paul Linux - Hardware 4 04-01-2006 02:45 PM
Getting CD audio through PCI soundcard NOT motherboard soundcard HalfDiminished Debian 0 01-11-2005 06:59 AM
What soundcard should I use? TRON2 Linux - Hardware 3 11-01-2003 04:00 AM
How can I know the soundcard name ? volshta Linux - Hardware 2 10-30-2003 08:39 AM

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

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