View previous topic :: View next topic |
Author |
Message |
rieger Tux's lil' helper
Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Wed Jun 19, 2002 9:04 pm Post subject: vanilla kernel: nvidia driver was put in "old" ker |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jun 19, 2002 9:06 pm Post subject: |
|
|
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 |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Wed Jun 19, 2002 9:08 pm Post subject: |
|
|
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 |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Wed Jun 19, 2002 9:09 pm Post subject: |
|
|
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, .... _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
rieger Tux's lil' helper
Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Wed Jun 19, 2002 9:12 pm Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jun 19, 2002 9:18 pm Post subject: |
|
|
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 |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Wed Jun 19, 2002 9:19 pm Post subject: |
|
|
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 |
|
|
rieger Tux's lil' helper
Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Thu Jun 20, 2002 7:25 am Post subject: |
|
|
ok.
I get it.
last question:
How do I update the link to the new kernel? _________________ haree |
|
Back to top |
|
|
leej Apprentice
Joined: 18 May 2002 Posts: 280
|
Posted: Thu Jun 20, 2002 9:07 am Post subject: |
|
|
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 |
|
|
rieger Tux's lil' helper
Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Thu Jun 20, 2002 9:39 am Post subject: |
|
|
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 |
|
|
|