Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-09-04, 07:32 PM   #1
Turtle
Registered User
 
Join Date: Oct 2003
Posts: 9
Default linux 2.6.2 -- 5336 kernel compile error

I just installed gentoo with kernel 2.6.2-mm1. I downloaded the 5336 drivers and installed them, but the compile stops just before reaching 100% and errors saying that it cant find the kernel sources and that i need to use the --kernel-source-path extension. I use "--kernel-source-path /usr/src/linux" but that does nothing.

I dont know if that is the right usage of the extension, or if I need to do something different. I do know that that is the path to my kernel source.
I dont even know if that extension will solve my problem.

Im kind of at a loss and any info would be great.

Thanks.

The actual error says: "Unable to load the kernel module 'nvidia.ko'. This is most likely because the kernel module was built using the wrong kernel source files for your kernel; on red hat linux systems, for example, be srue you have the kernel-source rpm installed. If you know the correct kernel source are installed, you may specify the kernel source path with the '--kernel-source-path' command option"

Hope this helps.
Turtle is offline   Reply With Quote
Old 02-09-04, 08:04 PM   #2
Turtle
Registered User
 
Join Date: Oct 2003
Posts: 9
Default

well, I tried "--kernel-name=linux-2.6.2-mm1" and it compiles successfully. Thats good. But then I edited my XF86Config file, and now when i startx, it errors saying: "EE - failed to initilize the nvidia kernel. EE - ****ABORTING****. EE - Screens found, but none with usable configurations."

The screens are fine, so i just dont think my nvidia kernel got installed.
Turtle is offline   Reply With Quote
Old 02-09-04, 08:17 PM   #3
whig
550Ti
 
Join Date: Jan 2004
Location: New Zealand
Posts: 854
Default

Check that the nvidia kernel module is loaded with lsmod and then modprobe it if not.
whig is offline   Reply With Quote
Old 02-15-04, 06:22 AM   #4
a^folken
Registered User
 
Join Date: Feb 2004
Location: France
Posts: 2
Default

I have exactly the same problem with the kernel 2.6.2 and the Nvidia drivers 5336.
I also tried with --kernel-name=2.6.2, and I get exactly the same error.
So I tried insmod, the module can't be load maually because of a gcc version mimatch: i used gcc v2.95 to compile my kernel, i've actually the version 3.3.
I tried export IGNORE_CC_MISMATCH=yes before compiling the module , i get the same result.

i use linux debian sid and my vidoe card is GeForce FX5900XT.

Can someone help me?
a^folken is offline   Reply With Quote
Old 02-15-04, 07:00 AM   #5
666_1337
Registered User
 
Join Date: Dec 2003
Posts: 28
Send a message via ICQ to 666_1337
Default

recompile the kernel with gcc 3.3
666_1337 is offline   Reply With Quote
Old 02-15-04, 07:58 AM   #6
a^folken
Registered User
 
Join Date: Feb 2004
Location: France
Posts: 2
Default

I did it and now i can't load any module at all =( .
a^folken is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 06:47 PM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
295.40 295 cannot be compiled on 3.2 kernel delta32 NVIDIA Linux 4 05-27-12 09:47 PM
Mandrake 9 and nVidia drivers HunterA3 NVIDIA Linux 9 10-09-02 02:54 AM

All times are GMT -5. The time now is 06:53 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.