View previous topic :: View next topic |
Author |
Message |
desatan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Aug 2005 Posts: 72
|
Posted: Thu Oct 06, 2005 10:38 am Post subject: Alsa problem[solved] |
|
|
cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LINGUAS="zh_CN"
ACCEPT_KEYWORDS="~amd64 amd64 ~x86 x86"
USE="cjk -qt"
PORTDIR_OVERLAY="/usr/local/portage"
ALSA_CARDS="via82xx"
~ # lspci -v |grep audio
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
~ # /etc/init.d/alsasound restart
* Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: save_state:1163: No soundcards found... [ !! ] * Unloading ALSA ... [ ok ] * Unloading ALSA modules ... [ ok ] * Loading ALSA modules ...
* Could not detect custom ALSA settings. Loading all detected alsa drivers.
* Loading: snd_via82xx ...
WARNING: Could not open '/lib/modules/2.6.13-gentoo/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko': No such file or directory
WARNING: Error inserting snd_pcm (/lib/modules/2.6.13-gentoo/alsa-driver/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.13-gentoo/alsa-driver/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_via82xx (/lib/modules/2.6.13-gentoo/alsa-driver/pci/snd-via82xx.ko): Unknown symbol in module, or unknown parameter (see dmes [ !! ] * Loading: snd-seq ...
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.13-gentoo/alsa-driver/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq (/lib/modules/2.6.13-gentoo/alsa-driver/acore/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ] * ERROR: Failed to load necessary drivers [ ok ] * Restoring Mixer Levels ...
* No mixer config in /etc/asound.state, you have to unmute your card! [ ok ]
~ #
Last edited by desatan on Thu Oct 06, 2005 2:52 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
feivelda Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Funny_Figure/gruft.gif)
Joined: 21 Feb 2005 Posts: 480 Location: Frankfurt, Germany
|
Posted: Thu Oct 06, 2005 11:57 am Post subject: |
|
|
Have you installed the alsa-driver package?
In your make.conf, ACCEPT_KEYWORDS="~amd64" does it all for your architecture, because amd64 is a subtype of ~amd64 and ~x86 isn't for your architecture |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
desatan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Aug 2005 Posts: 72
|
Posted: Thu Oct 06, 2005 12:07 pm Post subject: |
|
|
feivelda wrote: | Have you installed the alsa-driver package? |
yes,i have installed it successfully.
emerge -s alsa-driver
Searching...
[ Results for search key : alsa-driver ]
[ Applications found : 1 ]
* media-sound/alsa-driver
Latest version available: 1.0.9b
Latest version installed: 1.0.9b
Size of downloaded files: 1,972 kB
Homepage: http://www.alsa-project.org/
Description: Advanced Linux Sound Architecture kernel modules
License: GPL-2 LGPL-2.1
feivelda wrote: |
In your make.conf, ACCEPT_KEYWORDS="~amd64" does it all for your architecture, because amd64 is a subtype of ~amd64 and ~x86 isn't for your architecture |
thanks,i am a newbie. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
feivelda Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Funny_Figure/gruft.gif)
Joined: 21 Feb 2005 Posts: 480 Location: Frankfurt, Germany
|
Posted: Thu Oct 06, 2005 12:26 pm Post subject: |
|
|
Now I know. You have to config your alsa script like in the Dmix guide
The config there is also for the via82xx.
Note, that you must replace the snd-cmipci with snd-via82xx |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
maxima Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 01 Oct 2004 Posts: 150
|
Posted: Thu Oct 06, 2005 12:37 pm Post subject: |
|
|
did u just update the kernel ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
desatan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Aug 2005 Posts: 72
|
Posted: Thu Oct 06, 2005 12:40 pm Post subject: |
|
|
maxima wrote: | did u just update the kernel ? |
non,i have compiled it.
it seems have to recompile it by feivelda's advisor.
HoHo,Sorry for my bad english.i am a chinese. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Headrush Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/111332295641fa913c28fea.jpg)
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Thu Oct 06, 2005 1:02 pm Post subject: |
|
|
This is a common problem when people switch between using the in-kernel ALSA drivers and the alsa-driver package.
Kernel modules from the previous method remain and cause problems.
The quickest/simple solution is to remove the modules directory (/lib/modules/2.6.13-gentoo and then rebuilt your kernel modules using make modules_install
If you're going to only use the in-kernel ALSA drivers, make sure to unmerge alsa-driver.
If you're going to use the alsa-driver package, make sure to re-emerge alsa-driver after the kernel modules are updated.
(And make sure you haven't included ALSA support in the kernel) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
feivelda Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Funny_Figure/gruft.gif)
Joined: 21 Feb 2005 Posts: 480 Location: Frankfurt, Germany
|
Posted: Thu Oct 06, 2005 1:17 pm Post subject: |
|
|
I think not so, I think he has compiled the alsa-driver package directly.
Because he said, alsa-driver compiled sucessfully. This isn't so when the alsa options in the kernel config are activated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Headrush Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/111332295641fa913c28fea.jpg)
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Thu Oct 06, 2005 1:48 pm Post subject: |
|
|
feivelda wrote: | I think not so, I think he has compiled the alsa-driver package directly.
Because he said, alsa-driver compiled sucessfully. This isn't so when the alsa options in the kernel config are activated. |
Assuming the alsa-driver is emerged after the kernel is built with ALSA support. If you compiled the alsa-driver first and then rebuilt kernel -> no error.
The in-kernel and alsa-driver packages install the sound modules in different spots in the /lib/modules/ tree.
Code: | WARNING: Could not open '/lib/modules/2.6.13-gentoo/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko': No such file or directory |
Trying to load one from /lib/modules/2.6.13-gentoo/kernel/sound directory. (In-kernel I believe)
Code: | WARNING: Error inserting snd_pcm (/lib/modules/2.6.13-gentoo/alsa-driver/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg) |
Trying to load one from /lib/modules/2.6.13-gentoo/alsa-driver (ALSA-driver I believe) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
desatan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Aug 2005 Posts: 72
|
Posted: Thu Oct 06, 2005 2:52 pm Post subject: |
|
|
thank both of you very much. ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Headrush Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/111332295641fa913c28fea.jpg)
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Thu Oct 06, 2005 3:06 pm Post subject: |
|
|
desatan wrote: | thank both of you very much. ![Laughing :lol:](images/smiles/icon_lol.gif) |
Did you get the problem fixed?
If so, please post what you did to help others would might have the same problems. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
desatan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Aug 2005 Posts: 72
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Headrush Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/111332295641fa913c28fea.jpg)
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Thu Oct 06, 2005 3:41 pm Post subject: |
|
|
I know english isn't your first language, but if you can understand, are you saying that configuring dmix following the HOWTO fixed the unresolved symbol problems with the modules?
I would think these are two separate problems and dmix wouldn't change that. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
desatan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Aug 2005 Posts: 72
|
Posted: Thu Oct 06, 2005 3:53 pm Post subject: |
|
|
Headrush wrote: |
I know english isn't your first language, but if you can understand, are you saying that configuring dmix following the HOWTO fixed the unresolved symbol problems with the modules?
I would think these are two separate problems and dmix wouldn't change that. |
i did by the HOWTO document and recompiled kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bigun Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/5922216385c812b00647c9.jpg)
Joined: 21 Sep 2003 Posts: 2198
|
Posted: Wed Oct 12, 2005 11:48 pm Post subject: |
|
|
What if you use genkernel? Is it any different? _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|