Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia - vanilla works - gentoo not
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
firmadankt
n00b
n00b


Joined: 29 May 2004
Posts: 21

PostPosted: Sat May 29, 2004 7:04 pm    Post subject: nvidia - vanilla works - gentoo not Reply with quote

hello,

it's the first time I installes gentoo. I did it stage1, and compiles two kernels. One vanilla 2.4.24 with the default-options (just the ones in the gentoo installation-howto), and a v2.4.25-gentoo-r2 , which I configured so, that it works best with my System (I guessed so). After emerging xfree, wdm, nvidia-kernel and nvidia glx, the gentoo-kernel didn't start wdm, but the vanilla kernel did it.

Can anyone help me please? Are there any options, which didn't work with the nvidia-kernel??
Back to top
View user's profile Send private message
firmadankt
n00b
n00b


Joined: 29 May 2004
Posts: 21

PostPosted: Sat May 29, 2004 7:13 pm    Post subject: Reply with quote

Before I forget,

I have a geforce 2 mx-400 on an athlon XP 1800+.
And I didn't choose any framebuffer options.
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Sat May 29, 2004 7:35 pm    Post subject: Reply with quote

everytime u recompile ur kernel u need to reemerge nvidia-kernel ;)
Back to top
View user's profile Send private message
firmadankt
n00b
n00b


Joined: 29 May 2004
Posts: 21

PostPosted: Sat May 29, 2004 8:11 pm    Post subject: Reply with quote

hmmm...

I think this isn the problem, 'cause Ifirst compiled the kernels (both) and teh I emerged nvidia-kernel, etc. (I emerged it running on the gentoo-kernel, and it works on the vanilla kernel)
Back to top
View user's profile Send private message
Rabbitt
n00b
n00b


Joined: 07 Jan 2004
Posts: 9
Location: Belmont, CA (usa)

PostPosted: Sun May 30, 2004 4:17 am    Post subject: Reply with quote

firmadankt wrote:
hmmm...

I think this isn the problem, 'cause Ifirst compiled the kernels (both) and teh I emerged nvidia-kernel, etc. (I emerged it running on the gentoo-kernel, and it works on the vanilla kernel)


Well, based on your above response, you're wrong - it is the problem. If you emerged it after compiling both kernels, then you actually only compiled it against one of your kernels. As the previous post mentioned - you have to compile it against each kernel that you want to use it with.

For future reference, unless you have tried a suggestion, don't discount it as a possible solution.

Now, the way in which you can compile it against kernel A when it is already compiled and working against kernel B is to do the following:


Code:

# ln -nsf /usr/src/`ls /usr/src | egrep -v '(\`readlink /usr/src/linux\`|linux)'` /usr/src/linux


Note: The above line will only work if you only have the two kernel source directories and the one symbolic link (/usr/src/linux). It changes the symlink (/usr/src/linux) so that it points to whatever your other kernel source directory is. So if it was pointing at the vanilla one, it willn now point at your gentoo one. Do that and then do another normal emerge of the nvidia-kernel driver (don't unmerge), and you should be fine.

However, I would suggest just sticking with one kernel anyway - especially if you don't understand how this all works yet.
_________________
Carl P. Corliss
System Administrator / Developer
www.xaraya.com
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