fox2mike    05/09/09 06:49:31

  Modified:    xml/htdocs/doc/en alsa-guide.xml
  Log:
  #102891 - Added info about the Unknown Symbol in module error thanks to dsd. 
Added another location to get soundfont file (from the SB CD), thanks to Robert 
Millan for the hint.

Revision  Changes    Path
1.61      +76 -4     xml/htdocs/doc/en/alsa-guide.xml

file : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/alsa-guide.xml?rev=1.61&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/alsa-guide.xml?rev=1.61&content-type=text/plain&cvsroot=gentoo
diff : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/alsa-guide.xml.diff?r1=1.60&r2=1.61&cvsroot=gentoo

Index: alsa-guide.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- alsa-guide.xml      30 Aug 2005 11:38:02 -0000      1.60
+++ alsa-guide.xml      9 Sep 2005 06:49:31 -0000       1.61
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.60 
2005/08/30 11:38:02 fox2mike Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.61 
2005/09/09 06:49:31 fox2mike Exp $ -->
 
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
@@ -18,8 +18,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>2.8</version>
-<date>2005-08-30</date>
+<version>2.9</version>
+<date>2005-09-09</date>
 
 <chapter>
 <title>Introduction</title>
@@ -739,6 +739,76 @@
 0: SigmaTel STAC9721/23
 </pre>
 
+<p>
+The other most common issue users face is the dreaded "Unknown symbol in 
module"
+error. An example of the same is shown below.
+</p>
+
+<pre caption="Unknown Symbol in module error">
+# <i>/etc/init.d/alsasound start</i>
+ * Loading ALSA modules ...
+ *   Loading: snd-card-0 ...                                              [ ok 
]
+ *   Loading: snd-pcm-oss ...
+WARNING: Error inserting snd_mixer_oss
+(/lib/modules/2.6.12-gentoo-r6/kernel/sound/core/oss/snd-mixer-oss.ko): Unknown
+symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting
+snd_pcm_oss
+(/lib/modules/2.6.12-gentoo-r6/kernel/sound/core/oss/snd-pcm-oss.ko): Unknown
+symbol in module, or unknown parameter (see dmesg)                             
+                                                                          [ !! 
]
+ *   Loading: snd-mixer-oss ...
+FATAL: Error inserting snd_mixer_oss
+(/lib/modules/2.6.12-gentoo-r6/kernel/sound/core/oss/snd-mixer-oss.ko): Unknown
+symbol in module, or unknown parameter (see dmesg)                             
+                                                                          [ !! 
]
+ *   Loading: snd-seq ...                                                 [ ok 
]
+ *   Loading: snd-emu10k1-synth ...                                       [ ok 
]
+ *   Loading: snd-seq-midi ...                                            [ ok 
]
+ * Restoring Mixer Levels ...                                             [ ok 
]
+</pre>
+
+<p>
+And when you take a look at <c>dmesg</c> as suggested, you're quite likely to
+see:
+</p>
+
+<pre caption="dmesg output">
+<comment>(Only relevant portions are shown below)</comment>
+# <i>dmesg | less</i>
+ACPI: PCI Interrupt 0000:02:06.0[A] -> Link [APC3] -> GSI 18 (level, low) -> 
IRQ 209
+snd_mixer_oss: Unknown symbol snd_unregister_oss_device
+snd_mixer_oss: Unknown symbol snd_register_oss_device
+snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
+snd_mixer_oss: Unknown symbol snd_oss_info_register
+snd_pcm_oss: Unknown symbol snd_unregister_oss_device
+snd_pcm_oss: Unknown symbol snd_register_oss_device
+snd_pcm_oss: Unknown symbol snd_mixer_oss_ioctl_card
+snd_pcm_oss: Unknown symbol snd_oss_info_register
+snd_mixer_oss: Unknown symbol snd_unregister_oss_device
+snd_mixer_oss: Unknown symbol snd_register_oss_device
+snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
+snd_mixer_oss: Unknown symbol snd_oss_info_register
+</pre>
+
+<p>
+The above issue is caused when you switch from <c>alsa-driver</c> to in-kernel
+ALSA because when you unmerge <c>alsa-driver</c> the module files are config
+protected and hence get left behind. So, when you switch to in-kernel
+drivers, running <c>modprobe</c> gives you a mix of <c>alsa-driver</c> and
+in-kernel modules thus causing the above errors.
+</p>
+
+<p>
+The solution is quite easy. We just need to manually remove the problem causing
+directory after you unmerge <c>alsa-driver</c>. Be sure to remove the correct
+kernel version and not the current one!
+</p>
+
+<pre caption="Removing the alsa-driver modules">
+<comment>(Replace KERNELVER with your kernel version)</comment>
+# <i>rm -rf /lib/modules/KERNELVER/alsa-driver</i>
+</pre>
+
 </body>
 </section>
 </chapter>
@@ -783,7 +853,9 @@
 
 <pre caption="Loading Soundfonts">
 <comment>(First, copy the Soundfont)</comment>
-# <i>cp /mnt/win2k/Program\ Files/CreativeSBLive2k/SFBank/8MBGMSFX.SF2 
/usr/share/sounds/sf2/</i>
+# <i>cp /mnt/win2k/Program\ Files/CreativeSBLive2k/SFBank/8MBGMSFX.SF2 
/usr/share/sounds/sf2/</i> 
+<comment>(Or get it from your SoundBlaster CD)</comment>
+# <i>cp /mnt/cdrom/AUDIO/ENGLISH/SFBANK/8MBGMSFX.SF2 /usr/share/sounds/sf2/</i>
 <comment>(We load the specific Soundfont)</comment>
 # <i>asfxload /usr/share/sounds/sf2/8MBGMSFX.SF2</i>
 </pre>



-- 
[email protected] mailing list

Reply via email to