View previous topic :: View next topic |
Author |
Message |
Kestrell Kestrell Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 13 Aug 2004 Posts: 115 Location: Moscow
|
Posted: Thu Sep 30, 2004 12:12 am Post subject: Nvidia Drivers Re-Emerge? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
hw-tph l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/37431231840a20aaa902cf.jpg)
Joined: 08 Jan 2004 Posts: 768 Location: Uppsala, Sweden
|
Posted: Thu Sep 30, 2004 12:25 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
hw-tph l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/37431231840a20aaa902cf.jpg)
Joined: 08 Jan 2004 Posts: 768 Location: Uppsala, Sweden
|
Posted: Thu Sep 30, 2004 12:28 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Kestrell Kestrell Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 13 Aug 2004 Posts: 115 Location: Moscow
|
Posted: Thu Sep 30, 2004 1:12 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|