Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vanilla kernel: nvidia driver was put in "old" ker
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Wed Jun 19, 2002 9:04 pm    Post subject: vanilla kernel: nvidia driver was put in "old" ker Reply with quote

I have done the instructions (emerge nvidia stuff) to get the nvidia driver.
However, module could'nt be loaded.

When looking for it, is seems that it is put in de direcory
/lib/modules/2.4.19-gentoo-r5/kernel/video

while my (most recent (working :)) kernel is compiled from the vanilla sources.
(I also have /lib/modules/2.4.18/kernel/, with only the dummy driver for networking)

Is is safe to create a directory video under the 2.4.18/kernel direcotry and put the nvidia driver there?
_________________
haree
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jun 19, 2002 9:06 pm    Post subject: Reply with quote

When you use a new kernel, you have to re-emerge everything that installs kernel modules.

Code:
# emerge nvidia-kernel alsa-driver ...
[/code]
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Wed Jun 19, 2002 9:08 pm    Post subject: Reply with quote

module is linked again /usr/src/linux. I think it goes a little further it checks this link for it's version. so you probably have /usr/src/linux->/usr/src/linux-2.4.19-gentoo-r5 (or something). Remember /usr/src/linux needs to point to the working kernel and has to be initialised with make ....config dep.

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Wed Jun 19, 2002 9:09 pm    Post subject: Reply with quote

delta407 wrote:
When you use a new kernel, you have to re-emerge everything that installs kernel modules.

Code:
# emerge nvidia-kernel alsa-driver ...
[/code]


Read before you post, hehe, you will get more posts then me any way, .... :lol:
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Wed Jun 19, 2002 9:12 pm    Post subject: Reply with quote

I didn't change the link linux to the new kernel.

I just copied the created bzImage in /2.4.18 to /boot and everything works fine.

after that I installed nvidia.

Is it necessary to update the link to the new kernel? and is it usefull to do it afterwards? (I mean after I compiled the kernel and everything)
_________________
haree
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jun 19, 2002 9:18 pm    Post subject: Reply with quote

Updating the /usr/src/linux link isn't necessary, but it's awfully nice to have it constantly pointing to the running kernel. It's mostly a human thing...
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Wed Jun 19, 2002 9:19 pm    Post subject: Reply with quote

rieger wrote:
I didn't change the link linux to the new kernel.

I just copied the created bzImage in /2.4.18 to /boot and everything works fine.

after that I installed nvidia.

Is it necessary to update the link to the new kernel? and is it usefull to do it afterwards? (I mean after I compiled the kernel and everything)


External modules are normally compiled using /usr/src/linux.
nvidia-kernel-1.0.2960.ebuild:
Code:
   make KERNDIR="/usr/src/linux" \
      clean NVdriver || die


Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Thu Jun 20, 2002 7:25 am    Post subject: Reply with quote

ok.
I get it.

last question:

How do I update the link to the new kernel?
_________________
haree
Back to top
View user's profile Send private message
leej
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 280

PostPosted: Thu Jun 20, 2002 9:07 am    Post subject: Reply with quote

rieger wrote:
ok.
I get it.

last question:

How do I update the link to the new kernel?


ln -s /usr/src/linux-2.x.x /usr/src/linux

Doesn't portage do that for you with more recent kernel sources?
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Thu Jun 20, 2002 9:39 am    Post subject: Reply with quote

leej wrote:

ln -s /usr/src/linux-2.x.x /usr/src/linux
Doesn't portage do that for you with more recent kernel sources?


probably not.
I had emerged vanilla-sources and got this 4.18 kernel.
And no new symlink was created as I know now.
_________________
haree
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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