Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsa modules get lost after kernel recompilation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
dpfeifle
n00b
n00b


Joined: 02 Jul 2002
Posts: 8

PostPosted: Tue Jul 02, 2002 8:30 am    Post subject: alsa modules get lost after kernel recompilation Reply with quote

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


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jul 02, 2002 8:35 am    Post subject: Reply with quote

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


Joined: 02 Jul 2002
Posts: 8

PostPosted: Tue Jul 02, 2002 8:45 am    Post subject: Reply with quote

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


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jul 02, 2002 8:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Ozymandias
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 81
Location: Netherlands

PostPosted: Tue Jul 02, 2002 12:03 pm    Post subject: Reply with quote

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


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jul 02, 2002 12:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ozymandias
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 81
Location: Netherlands

PostPosted: Tue Jul 02, 2002 12:24 pm    Post subject: Reply with quote

jup, RTFM me oeps :)

thanx anyway, greetz Ozy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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