View previous topic :: View next topic |
Author |
Message |
dpfeifle n00b
Joined: 02 Jul 2002 Posts: 8
|
Posted: Tue Jul 02, 2002 8:30 am Post subject: alsa modules get lost after kernel recompilation |
|
|
hi,
i installed the also driver correctly and sound worked well.
but after a kernel re-configuration/compilation, the modules
get lost.
what should i configure / patch / ... to get alsa along with
my kernel?
regards,
-didi |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Tue Jul 02, 2002 8:35 am Post subject: |
|
|
emerge alsa-driver again.
After compiling a kernel, you should re-emerge addon modules (e.g. alsa, nvidia etc...). _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
dpfeifle n00b
Joined: 02 Jul 2002 Posts: 8
|
Posted: Tue Jul 02, 2002 8:45 am Post subject: |
|
|
mksoft wrote: | emerge alsa-driver again.
After compiling a kernel, you should re-emerge addon modules (e.g. alsa, nvidia etc...). |
thanks!
is there any chance to avoid this for each kernel
modification/compilation?
-didi |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Tue Jul 02, 2002 8:58 am Post subject: |
|
|
Hmm, I never tested it, but you can try to build the kernel without setting version information on modules.
This is in Loadable module support | Set version information on all module symbols.
To quote from the above option's help:
Quote: | CONFIG_MODVERSIONS: Usually, modules have to be recompiled whenever you switch to a new kernel. Saying Y here makes it possible, and safe, to use the same modules even after compiling a new kernel; this requires the program modprobe. All the software needed for module support is in the modutils package (check the file Documentation/Changes for location and latest version). NOTE: if you say Y here but don't have the program genksyms (which is also contained in the above mentioned modutils package), then the building of your kernel will fail. If you are going to use modules that are generated from non-kernel sources, you would benefit from this option. Otherwise it's not that important. So, N ought to be a safe bet. |
After that recompile the kernel and external modules, and from this point you can use the extrnal modules without compiling them after kernel recompilation.
I'd still recomend rebuiliding the modules if you switch kernel versions. It is safer and quote easy to do _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
Ozymandias Tux's lil' helper
Joined: 10 Apr 2002 Posts: 81 Location: Netherlands
|
Posted: Tue Jul 02, 2002 12:03 pm Post subject: |
|
|
About alsa-driver, how do I only make it compile for my soundcard? I don't need 40 or so modules for 40 different cards.
and about modversions, it isn't all that beautiful a system: when recompiling the whole kernel, versions md5's change and alsa modules become unusable again. only when recompiling modules, the system works.
greetz Ozy |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Tue Jul 02, 2002 12:11 pm Post subject: |
|
|
To build only specific cards (from alsa-driver ebuild):
"If you want to only compile for specific card(s), set ALSA_CARDS environment variable accordingly".
So,
Code: | ALSA_CARDS="_the_cards_you_want" emerge alsa-driver |
_________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
Ozymandias Tux's lil' helper
Joined: 10 Apr 2002 Posts: 81 Location: Netherlands
|
Posted: Tue Jul 02, 2002 12:24 pm Post subject: |
|
|
jup, RTFM me oeps
thanx anyway, greetz Ozy |
|
Back to top |
|
|
|