Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa problem[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
desatan
n00b
n00b


Joined: 20 Aug 2005
Posts: 72

PostPosted: Thu Oct 06, 2005 10:38 am    Post subject: Alsa problem[solved] Reply with quote

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
View user's profile Send private message
feivelda
Guru
Guru


Joined: 21 Feb 2005
Posts: 480
Location: Frankfurt, Germany

PostPosted: Thu Oct 06, 2005 11:57 am    Post subject: Reply with quote

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
View user's profile Send private message
desatan
n00b
n00b


Joined: 20 Aug 2005
Posts: 72

PostPosted: Thu Oct 06, 2005 12:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
feivelda
Guru
Guru


Joined: 21 Feb 2005
Posts: 480
Location: Frankfurt, Germany

PostPosted: Thu Oct 06, 2005 12:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
maxima
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 150

PostPosted: Thu Oct 06, 2005 12:37 pm    Post subject: Reply with quote

did u just update the kernel ?
Back to top
View user's profile Send private message
desatan
n00b
n00b


Joined: 20 Aug 2005
Posts: 72

PostPosted: Thu Oct 06, 2005 12:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Oct 06, 2005 1:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
feivelda
Guru
Guru


Joined: 21 Feb 2005
Posts: 480
Location: Frankfurt, Germany

PostPosted: Thu Oct 06, 2005 1:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Oct 06, 2005 1:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
desatan
n00b
n00b


Joined: 20 Aug 2005
Posts: 72

PostPosted: Thu Oct 06, 2005 2:52 pm    Post subject: Reply with quote

thank both of you very much. :lol: :lol:
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Oct 06, 2005 3:06 pm    Post subject: Reply with quote

desatan wrote:
thank both of you very much. :lol: :lol:

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
View user's profile Send private message
desatan
n00b
n00b


Joined: 20 Aug 2005
Posts: 72

PostPosted: Thu Oct 06, 2005 3:33 pm    Post subject: Reply with quote

sorry.my english is too bad to clearly say how to sovle it.
i sovled it by feivelda's advisor:
"Now I know. You have to config your alsa script like in the Dmix guide "

http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix#Installing_ALSA
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Oct 06, 2005 3:41 pm    Post subject: Reply with quote

desatan wrote:
sorry.my english is too bad to clearly say how to sovle it.
i sovled it by feivelda's advisor:
"Now I know. You have to config your alsa script like in the Dmix guide "

http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix#Installing_ALSA

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
View user's profile Send private message
desatan
n00b
n00b


Joined: 20 Aug 2005
Posts: 72

PostPosted: Thu Oct 06, 2005 3:53 pm    Post subject: Reply with quote

Headrush wrote:
desatan wrote:
sorry.my english is too bad to clearly say how to sovle it.
i sovled it by feivelda's advisor:
"Now I know. You have to config your alsa script like in the Dmix guide "

http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix#Installing_ALSA

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
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Wed Oct 12, 2005 11:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum