All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem loading module snd-emu10k1
@ 2003-11-07  5:30 J. Scott Amort
  2003-11-07  7:44 ` J. Scott Amort
  0 siblings, 1 reply; 3+ messages in thread
From: J. Scott Amort @ 2003-11-07  5:30 UTC (permalink / raw)
  To: alsa-devel

Hi,

I can't get module emu10k1 to load with 0.9.8.  It compiles fine, but
when I try modprobe snd-emu10k1, I get:

/lib/modules/2.4.22-1.2115.nptl/kernel/sound/pci/emu10k1/snd-emu10k1.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.22-1.2115.nptl/kernel/sound/pci/emu10k1/snd-emu10k1.o:
insmod
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/pci/emu10k1/snd-emu10k1.o
failed
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/pci/emu10k1/snd-emu10k1.o:
insmod snd-emu10k1 failed

Here is the insmod output:

Using
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/pci/emu10k1/snd-emu10k1.o
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/pci/emu10k1/snd-emu10k1.o:
unresolved symbol snd_hwdep_new_R87e4a6ea
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/pci/emu10k1/snd-emu10k1.o:
unresolved symbol snd_util_memhdr_new_R86b9ead1
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/pci/emu10k1/snd-emu10k1.o:
unresolved symbol __snd_util_mem_alloc_Raf5d58ef
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/pci/emu10k1/snd-emu10k1.o:
unresolved symbol __snd_util_memblk_new_R970b7c65
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/pci/emu10k1/snd-emu10k1.o:
unresolved symbol __snd_util_mem_free_R74f21f45
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/pci/emu10k1/snd-emu10k1.o:
unresolved symbol snd_util_memhdr_free_Rd52ead8c

And of course, the device does exist, here is lspci -vv:

00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev
08)
        Subsystem: Creative Labs CT4832 SBLive! Value
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (500ns min, 5000ns max)
        Interrupt: pin A routed to IRQ 5
        Region 0: I/O ports at b000 [size=32]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 
Running Fedora Core 1.  Any guidance would be appreciated!

Thanks,

Scott



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem loading module snd-emu10k1
  2003-11-07  5:30 Problem loading module snd-emu10k1 J. Scott Amort
@ 2003-11-07  7:44 ` J. Scott Amort
  2003-11-07 18:31   ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: J. Scott Amort @ 2003-11-07  7:44 UTC (permalink / raw)
  To: alsa-devel

Well, I seemed to have solved this - found this patch:

Index: alsa-kernel/pci/emu10k1/emumixer.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emumixer.c,v
retrieving revision 1.18
diff -u -r1.18 emumixer.c
--- alsa-kernel/pci/emu10k1/emumixer.c	23 Oct 2003 14:34:53 -0000	1.18
+++ alsa-kernel/pci/emu10k1/emumixer.c	2 Nov 2003 11:23:13 -0000
@@ -540,10 +540,6 @@
 			return -ENOMEM;
 		if ((err = snd_ctl_add(card, kctl)))
 			return err;
-		if ((kctl = snd_ctl_new1(&snd_emu10k1_spdif_control, emu)) == NULL)
-			return -ENOMEM;
-		if ((err = snd_ctl_add(card, kctl)))
-			return err;
 	}
 
 	if (emu->audigy) {

,applied it and presto!  Also, I discovered that Fedora Core 1 ships
with two versions of gcc - 3.3.2 and 3.2.3, the latter for kernel
compiling.  So, in addition to applying the patch, I compiled with the
3.2.3 gcc version.  Anyways, it works now, so I am happy.

Best Regards,

Scott



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem loading module snd-emu10k1
  2003-11-07  7:44 ` J. Scott Amort
@ 2003-11-07 18:31   ` Takashi Iwai
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2003-11-07 18:31 UTC (permalink / raw)
  To: J. Scott Amort; +Cc: alsa-devel

At Thu, 06 Nov 2003 23:44:55 -0800,
J. Scott Amort wrote:
> 
> Well, I seemed to have solved this - found this patch:

is it a Dell's OEM board?
then it's fixed (right now) on cvs.


Takashi


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-07 18:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-07  5:30 Problem loading module snd-emu10k1 J. Scott Amort
2003-11-07  7:44 ` J. Scott Amort
2003-11-07 18:31   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.