Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia and kernel 2.6.10
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
charliecompany
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2004
Posts: 106

PostPosted: Tue Jan 04, 2005 3:53 am    Post subject: nvidia and kernel 2.6.10 Reply with quote

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


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Tue Jan 04, 2005 8:06 am    Post subject: Reply with quote

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
View user's profile Send private message
charliecompany
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2004
Posts: 106

PostPosted: Tue Jan 04, 2005 1:38 pm    Post subject: Reply with quote

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


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Tue Jan 04, 2005 1:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
charliecompany
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2004
Posts: 106

PostPosted: Tue Jan 04, 2005 10:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
charliecompany
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2004
Posts: 106

PostPosted: Fri Jan 07, 2005 4:15 am    Post subject: Reply with quote

bump
_________________
The only difference between genious and stupidity is that stupidity has no limits.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6069
Location: Removed by Neddy

PostPosted: Fri Jan 07, 2005 8:05 am    Post subject: Reply with quote

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


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Fri Jan 07, 2005 10:39 am    Post subject: Reply with quote

try emerge sync. we made some changes to the linux-mod eclass recently, maybe it helped?
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
charliecompany
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2004
Posts: 106

PostPosted: Tue Jan 11, 2005 1:06 am    Post subject: Reply with quote

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
View user's profile Send private message
charliecompany
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2004
Posts: 106

PostPosted: Tue Jan 11, 2005 1:09 am    Post subject: Reply with quote

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