View previous topic :: View next topic |
Author |
Message |
nibblebot n00b
Joined: 20 Jul 2005 Posts: 35 Location: New Orleans, LA, USA
|
Posted: Tue Feb 27, 2007 11:13 pm Post subject: [SOLVED] alsa as modules "invalid module format" |
|
|
fresh 2006.1 install, world updated, 2.6.19 kernel
--
I get the following error when trying to load the alsa modules:
Code: | * Loading ALSA modules ...
* Loading: snd-card-0 ...
WARNING: Error inserting soundcore (/lib/modules/2.6.19-gentoo-r5/kernel/sound/soundcore.ko): Invalid module format [ ok ]
* Loading: snd-pcm-oss ...
WARNING: Error inserting soundcore (/lib/modules/2.6.19-gentoo-r5/kernel/sound/soundcore.ko): Invalid module format [ ok ]
* Loading: snd-seq ...
WARNING: Error inserting soundcore (/lib/modules/2.6.19-gentoo-r5/kernel/sound/soundcore.ko): Invalid module format [ ok ] |
I would like to get alsa working as modules.
Relevant kernel config as follows:
Code: | CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_RTCTIMER=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_INTEL8X0=m
|
/etc/modules.d/alsa:
Code: | alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1
|
/etc/modules.autoload.d/kernel-2.6:
relevant dmesg output:
Code: | soundcore: exports duplicate symbol sound_class (owned by kernel)
|
It seems ALSA always gives me problems.
Any suggestions?
TIA.
Last edited by nibblebot on Fri Mar 02, 2007 8:28 pm; edited 1 time in total |
|
Back to top |
|
|
ashnikes n00b
Joined: 29 Jun 2006 Posts: 6
|
|
Back to top |
|
|
ashnikes n00b
Joined: 29 Jun 2006 Posts: 6
|
|
Back to top |
|
|
ashnikes n00b
Joined: 29 Jun 2006 Posts: 6
|
Posted: Wed Feb 28, 2007 4:22 am Post subject: |
|
|
taken from this post:
Quote: | It looks like you have updated gcc between compiling the kernel and the alsa modules. The kernel and its modules need to be compiled with the same version of gcc - the kernel checks.
Rebuild and reinstall your kernel starting with make clean.
The other possibility is that your module-init-tools needs to be rebuilt. I don't know why that helps but its fixed this issue for me a few times now. |
|
|
Back to top |
|
|
sugar Guru
Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
|
Back to top |
|
|
ashnikes n00b
Joined: 29 Jun 2006 Posts: 6
|
Posted: Wed Feb 28, 2007 4:32 am Post subject: |
|
|
Awww, common, I was going to solve this one. Im still looking up answers. I would have found it eventually. |
|
Back to top |
|
|
nibblebot n00b
Joined: 20 Jul 2005 Posts: 35 Location: New Orleans, LA, USA
|
Posted: Wed Feb 28, 2007 8:34 pm Post subject: |
|
|
ashnikes:
I do know how to use search.
i recompiled gcc and module-init-tools, then recompiled kernel.
i have never used the alsa-driver on this install, so there are no librarys in /lib/... for the alsa-driver
I was just trying to load the modules correctly. |
|
Back to top |
|
|
nibblebot n00b
Joined: 20 Jul 2005 Posts: 35 Location: New Orleans, LA, USA
|
Posted: Fri Mar 02, 2007 8:28 pm Post subject: |
|
|
this worked for me. |
|
Back to top |
|
|
sugar Guru
Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
|
Back to top |
|
|
|