View previous topic :: View next topic |
Author |
Message |
Matrix905 n00b
Joined: 01 Apr 2005 Posts: 23
|
Posted: Fri Oct 28, 2005 8:06 am Post subject: emerge -uD world + Kernel Update issues [SOLVED] |
|
|
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
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 |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Oct 28, 2005 8:13 am Post subject: |
|
|
The modules need recompiling also, after a kernel upgrade. So:
Code: | emerge nvidia-kernel alsa-driver madwifi |
|
|
Back to top |
|
|
_loki_ l33t
Joined: 18 Dec 2003 Posts: 680 Location: in the shell
|
Posted: Fri Oct 28, 2005 8:14 am Post subject: |
|
|
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 |
|
|
r3pek Retired Dev
Joined: 17 Sep 2003 Posts: 568 Location: Lisbon - Portugal
|
Posted: Fri Oct 28, 2005 10:58 am Post subject: |
|
|
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 |
|
|
Matrix905 n00b
Joined: 01 Apr 2005 Posts: 23
|
Posted: Fri Oct 28, 2005 2:45 pm Post subject: |
|
|
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
- M - |
|
Back to top |
|
|
r3pek Retired Dev
Joined: 17 Sep 2003 Posts: 568 Location: Lisbon - Portugal
|
Posted: Fri Oct 28, 2005 2:59 pm Post subject: |
|
|
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 |
|
|
Matrix905 n00b
Joined: 01 Apr 2005 Posts: 23
|
Posted: Fri Oct 28, 2005 11:55 pm Post subject: |
|
|
Hey R3pek,
Right on the money! rebuild-module worked like a charm! lol thanks so much for all your help!!!!
And tho those kind other people that also helped,
Thanks to everyone that replied and helped solve my problem too
- M - |
|
Back to top |
|
|
|