LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Soundcard (https://www.linuxquestions.org/questions/linux-hardware-18/soundcard-86470/)

endfx 08-27-2003 11:23 PM

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.

MasterC 08-28-2003 04:29 AM

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

endfx 08-28-2003 10:22 AM

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

slightcrazed 08-28-2003 11:00 AM

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

endfx 08-28-2003 01:31 PM

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)
:)

slightcrazed 08-28-2003 03:12 PM

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


All times are GMT -5. The time now is 12:04 AM.