View previous topic :: View next topic |
Author |
Message |
charliecompany Tux's lil' helper
Joined: 10 Apr 2004 Posts: 106
|
Posted: Tue Jan 04, 2005 3:53 am Post subject: nvidia and kernel 2.6.10 |
|
|
I just upgraded to gentoo-dev-sources-2.6.10-r2 today and when I tried to re-emerge nvidia-kernel-6629-r1, it kept telling me that the kernel had not been compiled yet. I know it was looking in the right directory and that the kernel was compiled. I tried the installer off of nvidia's website and it worked fine. Any ideas on what was causing the problem? _________________ The only difference between genious and stupidity is that stupidity has no limits. |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Tue Jan 04, 2005 8:06 am Post subject: |
|
|
make sure /usr/src/linux points to your compiled kernel sources
it checks that sources have been compiled by looking for the existance of /usr/src/linux/System.map - maybe you manually removed this by accident? _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
charliecompany Tux's lil' helper
Joined: 10 Apr 2004 Posts: 106
|
Posted: Tue Jan 04, 2005 1:38 pm Post subject: |
|
|
System.map is there and /usr/src/linux points to the correct kernel version. _________________ The only difference between genious and stupidity is that stupidity has no limits. |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Tue Jan 04, 2005 1:51 pm Post subject: |
|
|
you could check the contents of your $KERNEL_DIR environment variable and post the exact error message _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
charliecompany Tux's lil' helper
Joined: 10 Apr 2004 Posts: 106
|
Posted: Tue Jan 04, 2005 10:47 pm Post subject: |
|
|
I checked KERNEL_DIR and it wasn't set to anything, so I set it to /usr/src/linux and the same error message came up. Here it is.
Code: | >>> emerge (2 of 2) media-video/nvidia-kernel-1.0.6629-r1 to /
x86
>>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-6629-pkg1.run
x86
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.10-gentoo-r2
* These sources have not yet been compiled.
* We cannot build against an uncompiled tree.
* To resolve this, please type the following:
*
* # cd /usr/src/linux
* # make oldconfig
* # make bzImage modules modules_install
*
* Then please try merging this module again.
!!! ERROR: media-video/nvidia-kernel-1.0.6629-r1 failed.
!!! Function check_kernel_built, Line 369, Exitcode 0
!!! Kernel sources need compiling first
!!! If you need support, post the topmost build error, NOT this status message.
|
_________________ The only difference between genious and stupidity is that stupidity has no limits. |
|
Back to top |
|
|
charliecompany Tux's lil' helper
Joined: 10 Apr 2004 Posts: 106
|
Posted: Fri Jan 07, 2005 4:15 am Post subject: |
|
|
bump _________________ The only difference between genious and stupidity is that stupidity has no limits. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Fri Jan 07, 2005 8:05 am Post subject: |
|
|
Have you compiled that kernel yet? (2.6.10-r2) _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Fri Jan 07, 2005 10:39 am Post subject: |
|
|
try emerge sync. we made some changes to the linux-mod eclass recently, maybe it helped? _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
charliecompany Tux's lil' helper
Joined: 10 Apr 2004 Posts: 106
|
Posted: Tue Jan 11, 2005 1:06 am Post subject: |
|
|
works now. Not sure what fixed it though. Thanks everybody. _________________ The only difference between genious and stupidity is that stupidity has no limits. |
|
Back to top |
|
|
charliecompany Tux's lil' helper
Joined: 10 Apr 2004 Posts: 106
|
Posted: Tue Jan 11, 2005 1:09 am Post subject: |
|
|
Just noticed something after it finished. Code: | * Updating module dependencies for 2.6.10-gentoo-r2 ...
*
* /usr/src/linux/System.map not found.
* You must manually update the kernel module dependencies using depmod.
* | I know that System.map is there though. Any ideas on this one on what could be causing it? _________________ The only difference between genious and stupidity is that stupidity has no limits. |
|
Back to top |
|
|
|