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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-07-04, 10:16 AM   #1
0xff
Registered User
 
Join Date: Feb 2004
Location: Sofia, Bulgaria
Posts: 3
Question ERROR: Unable to determine the NVIDIA kernel module filename

Hi,

Since I started using the 2.6.0 kernel I've experienced numerous problems with the NVidia driver. When I first migrated to 2.6.0 a driver supporting it wasn't ready. I downloaded some patched driver from some german site (as far as I can remember) but this driver isn't very efficient - even some small flash animations eat my CPU time.
Now that the 5336 driver (which is said to support 2.6.0) is ready I've been trying to install it but I get the following error (when trying to compile the kernel interface):
.......
....
-> Performing cc_version_check with CC="cc".
ERROR: Unable to determine the NVIDIA kernel module filename.

I tried all the options that I thought would help but - no effect. I've searched this forum but I didn't find the answer either.
So if anyone has had the same problem and has solved it, please let me know.
I'm using kernel 2.6.0, gcc version 3.2.3, glibc 2.3.2, on a P4
Thanks in advance.
0xff is offline   Reply With Quote
Old 02-07-04, 10:40 AM   #2
Corona688
Registered User
 
Join Date: Feb 2004
Posts: 93
Default

There are known problems with some official nvidia releases that cause them to not compile under 2.6.x kernels, though I haven't seen that particular error before. Perhaps one of the unofficial patches will work, google is a wonderful thing.
Corona688 is offline   Reply With Quote
Old 02-07-04, 12:05 PM   #3
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

The error message indicates that no kernel sources could be found or that their location was misdetected; can you post the complete installation log file (/var/log/nvidia-installer.log)? With respect to the patched drivers, it is worth noting that the patching (of older driver releases) for Linux 2.6 does not induce additional overhead.
zander is offline   Reply With Quote
Old 02-08-04, 03:29 AM   #4
0xff
Registered User
 
Join Date: Feb 2004
Location: Sofia, Bulgaria
Posts: 3
Default

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Feb 8 11:28:49 2004

option status:
license pre-accepted : true
update : false
force update : false
expert : true
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

chdir("./")
Using: nvidia-installer ncurses user interface
-> Searching for system utilities:
-> found `insmod` : `/sbin/insmod`
-> found `modprobe` : `/sbin/modprobe`
-> found `rmmod` : `/sbin/rmmod`
-> found `lsmod` : `/sbin/lsmod`
-> found `depmod` : `/sbin/depmod`
-> found `ldconfig` : `/sbin/ldconfig`
-> found `ld` : `/usr/bin/ld`
-> found `objcopy` : `/usr/bin/objcopy`
-> License accepted by command line option.
-> Kernel module installation path (Answer:
'/lib/modules/2.6.0/kernel/drivers/video ')
-> Kernel module installation path: /lib/modules/2.6.0/kernel/drivers/video
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> 220 SJEQNXFTP5 Microsoft FTP Service (Version 5.0).
-> 331 Anonymous access allowed, send identity (e-mail name) as password.
-> 230 Anonymous user logged in.
-> 200 Type set to I.
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path (Answer: '/lib/modules/2.6.0/build ')
-> Kernel source path: '/lib/modules/2.6.0/build'
-> Performing cc_version_check with CC="cc".
ERROR: Unable to determine the NVIDIA kernel module filename.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.

This is the full log file. My card is GF FX5200
0xff is offline   Reply With Quote
Old 02-08-04, 04:22 AM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

Does /lib/modules/2.6.0/build point to the correct (configured) 2.6.0 source tree?
zander is offline   Reply With Quote
Old 02-08-04, 04:48 AM   #6
fadlouni
Registered User
 
Join Date: Aug 2003
Location: beirut lebanon
Posts: 7
Default

I just migrated yesterday to 2.6.2 from 2.4, my distro is based on some redhat 7.something, but i upgrade/compiled lots of stuff, it can't be recognised as any distro now :-) . i had this exact problem. even though in /lib/modules/2.6.2/build was pointing to the correct source tree /usr/src/linux-2.6.2

but the way i got it working is by giving the kernel source directory manually to the nvidia installer:

./NVIDIA-Linux-x86-1.0-5336-pkg1.run --kernel-source-path=/usr/src/linux-2.6.2/

then it installed fine and it worked and gave me a boost of +200 fps on my 5900 :-).

Later on i had a problem where if i reboot, my X server when it tries to load, it doesn't load the nvidia module automatically, so i added "modprobe nvidia" to my rc.local . But i don't think it's an nvidia problem, as i had to load manually lots of other drivers (sound, cdrom, usb-storatge, etc..). Not sure why i needed to do that in 2.6.2 and not 2.4 (maybe old redhat init scripts needs to be updated), but since it works with rc.local, i'm happy :-).

Hope this helps.

Regards,
Fadi.
fadlouni is offline   Reply With Quote
Old 02-08-04, 05:01 AM   #7
0xff
Registered User
 
Join Date: Feb 2004
Location: Sofia, Bulgaria
Posts: 3
Default I fixed it here is the solution for those who might be interested

As I've been trying to find the problem, I extracted the .run file's contents and started trying to compile the driver manually. First I started inspecting the file usr/src/nv/makefile. It failed to determine the kernel name. As I mentioned before none of the command-line options helped and all my symlinks were OK. So I renamed this file to filemake so it doesn't interfere and made a symlink: Makefile -> Makefile.kbuild, which is supposed to be the makefile for 2.6 and newer kernels.
When I tried to compile I got an error saying that my kernel didn't have modules support and that there was not a .config file. At the moment I was enlighted that the compilation requires a .config file in /usr/src/linux-2.6.0. I apologize if this little detail is written with capital letters in the README or somewhere else but I didn't see it.
I had my kernel config file named confid-ide-2.6.0 so I renamed it .config and ... guess what... - I have a running X now :-)
Anyway as you could have read from this thread the reason for this upgrade of the driver was that I used an unsupported driver that seemed to cause some overhead. The new driver didn't fix that. As I am writing this my CPU usage is between 3% and 11%, which is a bit disappointing because with my 2.4.24 kernel I could watch a divX with mplayer and my CPU usage was 0%. :-(

Enjoy
0xff is offline   Reply With Quote
Old 02-08-04, 05:37 AM   #8
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

Well, the README clearly states that configured kernel sources are required for any kernel the .run package does not include a kernel interface file for. The installer failed because linux/include/version.h was missing; KBUILD can easily generate it from a .config file, but that won't do the installer any good; it should probably check for the existance of linux/include/version.h in the future to make the problem more easily understandable.
zander is offline   Reply With Quote

Old 02-08-04, 04:59 PM   #9
p1A
Registered User
 
Join Date: Feb 2004
Posts: 1
Thumbs up Solution for Slackware 9.1.0 & kernel 2.6.2

I tried everythink I read here, but nothink worked out. Still the same problem. And so I tried to copy the file "version.h" from <kernel_source>/include/linux to <kernel_source>/include, and ran again nvidia-installer and this time everythink went ok.
p1A is offline   Reply With Quote
Old 12-10-06, 06:01 AM   #10
belda
Belda
 
Join Date: Dec 2006
Location: Prague, Czech Republic (Europe:)
Posts: 1
Thumbs up Re: ERROR: Unable to determine the NVIDIA kernel module filename

consider if u really need the latest driver, i googled the 9625 and it worked well (i got 7900GS)
belda is offline   Reply With Quote
Old 12-10-06, 08:54 AM   #11
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: ERROR: Unable to determine the NVIDIA kernel module filename

Quote:
Originally Posted by belda
consider if u really need the latest driver, i googled the 9625 and it worked well (i got 7900GS)
The thread is over 2 years old... Just farming posts?
Lithorus 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
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
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 06:23 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM

All times are GMT -5. The time now is 03:24 PM.


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