Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia Drivers Re-Emerge?
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
Kestrell Kestrell
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2004
Posts: 115
Location: Moscow

PostPosted: Thu Sep 30, 2004 12:12 am    Post subject: Nvidia Drivers Re-Emerge? Reply with quote

Hello,
I have found that after I modify my kernel, occasionally the nvidia module fails to load on reboot and I have to re-emerge nvidia-kernel and nvidia-glx. After some searching on the forums it appears that this is sometimes the case. Is this the case? Or is something wrong with my setup?
Thanks!
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Thu Sep 30, 2004 12:25 am    Post subject: Reply with quote

When you build the nvidia driver module it will use your current kernel source (in /usr/src/linux) to compile against. When you update your kernel or recompile the same version it will break in 9 cases out of 10. It is to be expected. Plus, when you have a new name for your kernel the directory the kernel searches for modules will change, i.e. if you run 2.6.7 vanilla and upgrade to 2.8.7-ck7, the new directory for modules will be /lib/modules/2.6.7-ck7, when the old directory - where the nvidia module was located - would still be /lib/modules/2.6.7...so it's not so surprising that the kernel can't find the module. It is simply not where the kernel expects all modules to be.


Håkan
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Thu Sep 30, 2004 12:28 am    Post subject: Reply with quote

This goes for any other modules that are not in the kernel - cdemu, vmware, and so on. You will have to re-emerge them every time you update or change your kernel. If you use the external (not in the kernel source) Alsa drivers you will have to emerge them too.


Håk
Back to top
View user's profile Send private message
Kestrell Kestrell
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2004
Posts: 115
Location: Moscow

PostPosted: Thu Sep 30, 2004 1:12 am    Post subject: Reply with quote

Ok, thanks. Is this what most people do? Re-emerge all of their modules, or is their a better way to do it?
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