Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia Driver and Kernel Rebuilds
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
5th_Horseman
n00b
n00b


Joined: 06 Oct 2004
Posts: 48

PostPosted: Mon Feb 21, 2005 7:47 pm    Post subject: Nvidia Driver and Kernel Rebuilds Reply with quote

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
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Mon Feb 21, 2005 8:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
5th_Horseman
n00b
n00b


Joined: 06 Oct 2004
Posts: 48

PostPosted: Mon Feb 21, 2005 8:03 pm    Post subject: Reply with quote

ahh, well I am rebuilding my kernel as we speak so I'll have an answer very soon.
Back to top
View user's profile Send private message
Cadorna
Apprentice
Apprentice


Joined: 30 Dec 2004
Posts: 215
Location: Argentina

PostPosted: Mon Feb 21, 2005 8:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Frodg
l33t
l33t


Joined: 11 Feb 2004
Posts: 761

PostPosted: Mon Feb 21, 2005 9:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cadorna
Apprentice
Apprentice


Joined: 30 Dec 2004
Posts: 215
Location: Argentina

PostPosted: Mon Feb 21, 2005 10:03 pm    Post subject: Reply with quote

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