Gentoo Archives: gentoo-doc-cvs

From: Shyam Mani <fox2mike@×××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: alsa-guide.xml
Date: Fri, 09 Sep 2005 06:49:47
Message-Id: 200509090645.j896joPl019392@robin.gentoo.org
1 fox2mike 05/09/09 06:49:31
2
3 Modified: xml/htdocs/doc/en alsa-guide.xml
4 Log:
5 #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.
6
7 Revision Changes Path
8 1.61 +76 -4 xml/htdocs/doc/en/alsa-guide.xml
9
10 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
11 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
12 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
13
14 Index: alsa-guide.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v
17 retrieving revision 1.60
18 retrieving revision 1.61
19 diff -u -r1.60 -r1.61
20 --- alsa-guide.xml 30 Aug 2005 11:38:02 -0000 1.60
21 +++ alsa-guide.xml 9 Sep 2005 06:49:31 -0000 1.61
22 @@ -1,5 +1,5 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.60 2005/08/30 11:38:02 fox2mike Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.61 2005/09/09 06:49:31 fox2mike Exp $ -->
26
27 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
28
29 @@ -18,8 +18,8 @@
30 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
31 <license/>
32
33 -<version>2.8</version>
34 -<date>2005-08-30</date>
35 +<version>2.9</version>
36 +<date>2005-09-09</date>
37
38 <chapter>
39 <title>Introduction</title>
40 @@ -739,6 +739,76 @@
41 0: SigmaTel STAC9721/23
42 </pre>
43
44 +<p>
45 +The other most common issue users face is the dreaded "Unknown symbol in module"
46 +error. An example of the same is shown below.
47 +</p>
48 +
49 +<pre caption="Unknown Symbol in module error">
50 +# <i>/etc/init.d/alsasound start</i>
51 + * Loading ALSA modules ...
52 + * Loading: snd-card-0 ... [ ok ]
53 + * Loading: snd-pcm-oss ...
54 +WARNING: Error inserting snd_mixer_oss
55 +(/lib/modules/2.6.12-gentoo-r6/kernel/sound/core/oss/snd-mixer-oss.ko): Unknown
56 +symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting
57 +snd_pcm_oss
58 +(/lib/modules/2.6.12-gentoo-r6/kernel/sound/core/oss/snd-pcm-oss.ko): Unknown
59 +symbol in module, or unknown parameter (see dmesg)
60 + [ !! ]
61 + * Loading: snd-mixer-oss ...
62 +FATAL: Error inserting snd_mixer_oss
63 +(/lib/modules/2.6.12-gentoo-r6/kernel/sound/core/oss/snd-mixer-oss.ko): Unknown
64 +symbol in module, or unknown parameter (see dmesg)
65 + [ !! ]
66 + * Loading: snd-seq ... [ ok ]
67 + * Loading: snd-emu10k1-synth ... [ ok ]
68 + * Loading: snd-seq-midi ... [ ok ]
69 + * Restoring Mixer Levels ... [ ok ]
70 +</pre>
71 +
72 +<p>
73 +And when you take a look at <c>dmesg</c> as suggested, you're quite likely to
74 +see:
75 +</p>
76 +
77 +<pre caption="dmesg output">
78 +<comment>(Only relevant portions are shown below)</comment>
79 +# <i>dmesg | less</i>
80 +ACPI: PCI Interrupt 0000:02:06.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 209
81 +snd_mixer_oss: Unknown symbol snd_unregister_oss_device
82 +snd_mixer_oss: Unknown symbol snd_register_oss_device
83 +snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
84 +snd_mixer_oss: Unknown symbol snd_oss_info_register
85 +snd_pcm_oss: Unknown symbol snd_unregister_oss_device
86 +snd_pcm_oss: Unknown symbol snd_register_oss_device
87 +snd_pcm_oss: Unknown symbol snd_mixer_oss_ioctl_card
88 +snd_pcm_oss: Unknown symbol snd_oss_info_register
89 +snd_mixer_oss: Unknown symbol snd_unregister_oss_device
90 +snd_mixer_oss: Unknown symbol snd_register_oss_device
91 +snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
92 +snd_mixer_oss: Unknown symbol snd_oss_info_register
93 +</pre>
94 +
95 +<p>
96 +The above issue is caused when you switch from <c>alsa-driver</c> to in-kernel
97 +ALSA because when you unmerge <c>alsa-driver</c> the module files are config
98 +protected and hence get left behind. So, when you switch to in-kernel
99 +drivers, running <c>modprobe</c> gives you a mix of <c>alsa-driver</c> and
100 +in-kernel modules thus causing the above errors.
101 +</p>
102 +
103 +<p>
104 +The solution is quite easy. We just need to manually remove the problem causing
105 +directory after you unmerge <c>alsa-driver</c>. Be sure to remove the correct
106 +kernel version and not the current one!
107 +</p>
108 +
109 +<pre caption="Removing the alsa-driver modules">
110 +<comment>(Replace KERNELVER with your kernel version)</comment>
111 +# <i>rm -rf /lib/modules/KERNELVER/alsa-driver</i>
112 +</pre>
113 +
114 </body>
115 </section>
116 </chapter>
117 @@ -783,7 +853,9 @@
118
119 <pre caption="Loading Soundfonts">
120 <comment>(First, copy the Soundfont)</comment>
121 -# <i>cp /mnt/win2k/Program\ Files/CreativeSBLive2k/SFBank/8MBGMSFX.SF2 /usr/share/sounds/sf2/</i>
122 +# <i>cp /mnt/win2k/Program\ Files/CreativeSBLive2k/SFBank/8MBGMSFX.SF2 /usr/share/sounds/sf2/</i>
123 +<comment>(Or get it from your SoundBlaster CD)</comment>
124 +# <i>cp /mnt/cdrom/AUDIO/ENGLISH/SFBANK/8MBGMSFX.SF2 /usr/share/sounds/sf2/</i>
125 <comment>(We load the specific Soundfont)</comment>
126 # <i>asfxload /usr/share/sounds/sf2/8MBGMSFX.SF2</i>
127 </pre>
128
129
130
131 --
132 gentoo-doc-cvs@g.o mailing list