Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -uD world + Kernel Update issues [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
Matrix905
n00b
n00b


Joined: 01 Apr 2005
Posts: 23

PostPosted: Fri Oct 28, 2005 8:06 am    Post subject: emerge -uD world + Kernel Update issues [SOLVED] Reply with quote

Hey everyone,

after a recent emerge -uD world, all the modules have ceased to load. Basically I

Code:
 emerege -uD world
etc-update


and then fixed the config files that needed fixing (at least I'm pretty sure I did this correctly). Also after the emerge, the Kernel sources got updated to 2.16.13-r3 so I proceeded with

Code:

cp /usr/src/linux-2.6.12-r9/.config /usr/src/linux-2.6.13-r3/
rm linux
ln -s linux-2.6.13-r3 linux
cd linux
make menuconfig
make && make modules_install
cp arch/i386/boot/bzImage /boot


This part all works fine and I did mount boot before I copied bzImage over. I boot up and I notice that some of the dependancies stopped working during the initial boot phase. So once that's all done I login and find that none of the modules have been loaded. I check modules.d and moduels.autoload.d and they have all the modules I normally would load with 2.6.12-r9.

Since I'm still a noob I'm actually kind of lost as to how to resolve this issue and how to get the modules to load. I've tried modprobing the modules but that doesn't do anyhting I get a FATAL modules * doesn't exist error.

The list of modules and things that are broken after this kernel update are:

alsa (snd-mixer, snd-emu10k1, etc)
nvidia
ndiswrapper

and as a result of the nvidia module not loading, X can not start :P

Sorry for the noob-ness but I am really lost and I have searched the forums but my queries must be wrong

Again thanks for everyone's help in advance,

- M -


Last edited by Matrix905 on Fri Oct 28, 2005 11:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Oct 28, 2005 8:13 am    Post subject: Reply with quote

The modules need recompiling also, after a kernel upgrade. So:
Code:
emerge nvidia-kernel alsa-driver madwifi
Back to top
View user's profile Send private message
_loki_
l33t
l33t


Joined: 18 Dec 2003
Posts: 680
Location: in the shell

PostPosted: Fri Oct 28, 2005 8:14 am    Post subject: Reply with quote

after kernel update you have to remerge external modules (all modules are in /lib/modules/kernel-version), the new kernel does not know about external modules until you remerge them.. You could complie alsa into the kernel to have less hustle next time..
Back to top
View user's profile Send private message
r3pek
Retired Dev
Retired Dev


Joined: 17 Sep 2003
Posts: 568
Location: Lisbon - Portugal

PostPosted: Fri Oct 28, 2005 10:58 am    Post subject: Reply with quote

Use module-rebuild
Code:
emerge module-rebuild

after that, just
Code:
module-rebuild list
to see what modules will be recompiled... and
Code:
module-rebuild rebuild
and it will recompile all the external modules that need to be recompiled.
Back to top
View user's profile Send private message
Matrix905
n00b
n00b


Joined: 01 Apr 2005
Posts: 23

PostPosted: Fri Oct 28, 2005 2:45 pm    Post subject: Reply with quote

module-rebuild sounds like a good way to go:D thanks for your quick replies, as soon as I get back home I'll give that a shot. However, since my desktop is wireless, and as soon as I move to the new kernel, the wireless card quits working, is it possible to

Code:
emerge -f modules-rebuild


under the 2.6.12 kernel and then move back over to the 2.6.13 and then run the

Code:
emerge module-rebuild


under the new kernel?

or would I have to fetch all the external module drivers as well? before I modules-rebuild?

thanks again! I'm getting the hang of this now :D

- M -
Back to top
View user's profile Send private message
r3pek
Retired Dev
Retired Dev


Joined: 17 Sep 2003
Posts: 568
Location: Lisbon - Portugal

PostPosted: Fri Oct 28, 2005 2:59 pm    Post subject: Reply with quote

There's no problem on booting without wireless. If you don't clean the /usr/portage/distfiles dir, then you have all the files you need. just "module-rebuild rebuild" after boot.
If you clean the distfiles dir, than after you recompiled the kernel and before rebooting the system, you can already run "module-rebuild rebuild".
Back to top
View user's profile Send private message
Matrix905
n00b
n00b


Joined: 01 Apr 2005
Posts: 23

PostPosted: Fri Oct 28, 2005 11:55 pm    Post subject: Reply with quote

Hey R3pek,

Right on the money! rebuild-module worked like a charm! lol thanks so much for all your help!!!! :D


And tho those kind other people that also helped,

Thanks to everyone that replied and helped solve my problem too :D

- M -
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