View previous topic :: View next topic |
Author |
Message |
5th_Horseman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Oct 2004 Posts: 48
|
Posted: Mon Feb 21, 2005 7:47 pm Post subject: Nvidia Driver and Kernel Rebuilds |
|
|
Statement: When I do a "genkernel --menuconfig all" I also have to do a unmerge and re-emerge my nvidia drivers
Question: Am I doing something wrong in my build process or is there something else that I should be doing?
------ INFO -----------------
I am using gentoo-dev-sources on an AMD64 system.
When the system reboots I get an error from XORG that the NVIDIA driver could not be loaded..
I do a modprobe -l | grep nvidia and it is there. (It loads from the modules.autoload.d/(kernelversion) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rmh3093 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/11158936964568ccc986073.png)
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Mon Feb 21, 2005 8:01 pm Post subject: |
|
|
modprobe -l does not mean its loaded, thats a list of all modules
lsmod shows if its loaded, is it? _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
5th_Horseman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Oct 2004 Posts: 48
|
Posted: Mon Feb 21, 2005 8:03 pm Post subject: |
|
|
ahh, well I am rebuilding my kernel as we speak so I'll have an answer very soon. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cadorna Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Dec 2004 Posts: 215 Location: Argentina
|
Posted: Mon Feb 21, 2005 8:54 pm Post subject: |
|
|
if you're building a new kernel, then you have to reemerge nvidia-kernel because it has to be reinstalled in the new kernel directories under /lib/modules/'uname -r'/video (besides I think it's also need to be recompiled with the new kernel source, so you can't just copy the video directory to your new kernel directory)
this happens with all the propietary drivers, not only nvidia ones |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Frodg l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/924793376438a729e35287.gif)
Joined: 11 Feb 2004 Posts: 761
|
Posted: Mon Feb 21, 2005 9:02 pm Post subject: |
|
|
You will need to recreate the symlink to your new kernel (/usr/src/linux), then reemerge nvidia so it compiles against the new kernel.... _________________ Aerosolo ergo sum - I spray therefore I am
Gentoo - Registered Linux User # 361400 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cadorna Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Dec 2004 Posts: 215 Location: Argentina
|
Posted: Mon Feb 21, 2005 10:03 pm Post subject: |
|
|
[quote="Frodg"]You will need to recreate the symlink to your new kernel (/usr/src/linux), then reemerge nvidia so it compiles against the new kernel....[/quote]
I've assumed he have done that already, becuase he executes the command genkernel --menuconfig all, else it would be something like genkernel --kerneldir=/usr/src/yourkernel --menuconfig all, adn then yes, as you said, he would have to recreate the symlink to /usr/src/linux |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|