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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-22-04, 06:43 PM   #1
forestial
Registered User
 
Join Date: Feb 2004
Posts: 13
Default Problem installing NVIDIA driver on Debian

I have a freshly installed version of Debian 3.0r2 (woody).
Graphics card is a TNT2 RIVA (Diamond Viper V770).

When I run

sh NVIDIA-Linux-x86-1.0.5336-pkg1.run

I go through a few menu choices and it attempts to build
a kernel interface module for me. But this always fails
with the error

ERROR: Unable to determine the NVIDIA kernel module filename.

I have the kernel source in usr/src and I have the /usr/src/linux
symlink pointif to it.

The complete log file from the installer is below.



nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Feb 21 22:16:42 2004

option status:
license pre-accepted : false
update : false
force update : false
expert : false
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 : /usr/src/kernel-source-2.4.18
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> 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)
-> 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.
-> Using the kernel source path '/usr/src/kernel-source-2.4.18' as specified by
the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/kernel-source-2.4.18'
-> 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.
forestial is offline   Reply With Quote
Old 02-22-04, 08:20 PM   #2
whig
550Ti
 
Join Date: Jan 2004
Location: New Zealand
Posts: 854
Default

From reading your post the installer is looking for source in /usr/src/kernel-source-2.4.18. Does that directory exist?
whig is offline   Reply With Quote
Old 02-22-04, 10:30 PM   #3
forestial
Registered User
 
Join Date: Feb 2004
Posts: 13
Default

>>From reading your post the installer is looking for source in /usr/src/kernel-source-2.4.18. Does that directory exist?

Yes, it does.

I should clarify that I specified the --kernel-source-path=/usr/src/kernel-source-2.4.18
on the command line.

Last edited by forestial; 02-23-04 at 07:31 AM.
forestial is offline   Reply With Quote
Old 02-23-04, 02:45 PM   #4
oufresh
Registered User
 
Join Date: Feb 2004
Posts: 7
Default debian kernel

NVIDIA-Linux-x86-1.0.5336-pkg1.run is unable to find a precompilated kernel. I have the source kernel in /usr/src/kernel-source-2.4.18.
oufresh is offline   Reply With Quote
Old 02-23-04, 07:43 PM   #5
forestial
Registered User
 
Join Date: Feb 2004
Posts: 13
Default Re: debian kernel

Quote:
Originally posted by oufresh
NVIDIA-Linux-x86-1.0.5336-pkg1.run is unable to find a precompilated kernel. I have the source kernel in /usr/src/kernel-source-2.4.18.
Do you mean that I need to build the kernel in the kernel-source-2.4.18 directory? Currently it contains only the source itself.
forestial is offline   Reply With Quote
Old 02-23-04, 11:16 PM   #6
gildor
Registered User
 
Join Date: Feb 2004
Location: Southern California
Posts: 1
Default

Seems like a circular error: Can't install the driver because it can't find the nvidia kernel module because the driver installer can't install it!

Sadly, I am having the same probelm as you with the exact same video card. I also recently installed woodyr2, although I updated to the 2.4.28-686 kernel.

Same result, however...

Try posting on the linux.debian.user Usenet group. I haven't been able to find anyone with the problem we are having exactly, but there is nvidia driver related threads. In fact, go to Google Groups and search for the thread: nvidia driver compiling problem. It is a current thread and Google will even let you post follwups.

I will do this myself as soon as get home from this business trip I am on so I can post my own installer log results.
__________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
-Gildor LOTR:FOTR
gildor is offline   Reply With Quote
Old 02-24-04, 12:19 AM   #7
kommisar
Registered User
 
Join Date: Feb 2004
Posts: 8
Default same compiler version

Hi

I think I had the same problem when I tried to install the latest Nvidia drivers. My stock debian3r2 2.2.20 kernel was compiled with Gcc 2.7 but the GCC installed on my system was 2.95. When I tried to compile the nvidia drivers with the 2.95 it gave me a compiler version warning that I ignored and then gave me the module name error. When I compiled my own 2.4.18 kernel using GCC 2.95 and then tried to install the nvidia drivers the module name error went away and I was able to complete the installation.
kommisar is offline   Reply With Quote
Old 02-24-04, 02:11 AM   #8
crimarti
Registered User
 
Join Date: Feb 2004
Posts: 3
Default Re: same compiler version

Quote:
Originally posted by kommisar
Hi

I think I had the same problem when I tried to install the latest Nvidia drivers. My stock debian3r2 2.2.20 kernel was compiled with Gcc 2.7 but the GCC installed on my system was 2.95. When I tried to compile the nvidia drivers with the 2.95 it gave me a compiler version warning that I ignored and then gave me the module name error. When I compiled my own 2.4.18 kernel using GCC 2.95 and then tried to install the nvidia drivers the module name error went away and I was able to complete the installation.
well, that's great but i have no idea how to compile my own kernel 2.4.18 using GCC 2.95, could you give us a step-by-step guide?, please. i'm having the same error with my ti4200.

thankz in advance!

c.
crimarti is offline   Reply With Quote

Old 02-24-04, 08:03 AM   #9
forestial
Registered User
 
Join Date: Feb 2004
Posts: 13
Default

Well I built the kernel from the kernel-sources-2.4.18 - just did
make dep
make clean
make bzImage

this worked just fine (using gcc 2.95 which is standard on debian 3.0).
By the way it produces a different kernel than the one I am running
- the make created 'bzImage' whereas I am actually running a kernel
called vmlinuz-2.4.18-bf2.4 which is what the debian installer gave me.

(crimarti - the step-by-step instructions for building the kernel are in
a HOWTO file in the Documentation directory under kernel-source-2.4.18.
I forget the exact filename but this is pretty standard stuff and I think
the three lines I listed above are all you really need.)

Anyway, building the kernel from source made no difference to my
problem with the NVIDIA installer. I am beginning to suspect that
the 5336 version of the NVIDIA stuff has some dependency on the
2.6.x kernel and won't work with 2.4.x (?)

Now I am pursuing a different approach, as outlined in
http://people.debian.org/~rdonald/index.php
Towards the end of that page he has a section titled
"Build instructions when using Debian kernels". So far I
have successfully built the nvidia-kernel package but have not
attempted to run X yet since building that. (Not clear if I also
need to build the nvidia-glx stuff or if that is optional.)
forestial is offline   Reply With Quote
Old 02-24-04, 08:18 AM   #10
oufresh
Registered User
 
Join Date: Feb 2004
Posts: 7
Default trying 2.6.3 kernel

thanks prople i'll try to compile the 2.6.3 kernel and i'll tell what happens.
oufresh is offline   Reply With Quote
Old 02-24-04, 11:52 AM   #11
evan
Registered User
 
Join Date: Feb 2004
Posts: 5
Default

I had the same problem, too. I am on debian/unstable and I think that it is because I had upgraded my gcc between my kernel compilation and the installation of nvidia drivers.

So I recompiled my kernel again (2.6.3), rebooted on it, and then installed the nvidia drivers. Then I didn't have this error anymore ("Unable to determine the NVIDIA kernel module filename")

By the way, the gcc detection script in the install script of the nvidia driver doesn't work, but this is not really a problem.
evan is offline   Reply With Quote
Old 02-24-04, 03:28 PM   #12
kommisar
Registered User
 
Join Date: Feb 2004
Posts: 8
Default Need to install new kernel as well

Quote:
Originally posted by forestial
Well I built the kernel from the kernel-sources-2.4.18 - just did
make dep
make clean
make bzImage

this worked just fine (using gcc 2.95 which is standard on debian 3.0).
By the way it produces a different kernel than the one I am running
- the make created 'bzImage' whereas I am actually running a kernel
called vmlinuz-2.4.18-bf2.4 which is what the debian installer gave me.

Did you install your newly compiled kernel ? If not you are still running the one you installed with Debian which may not have been compiled with 2.95. I think the command to install the new kernel image is something along the lines of "dpkg -i kernel_image_2.4.18*.deb". You then probably have to re-run lilo (or grub) to make sure that the volume boot record points to the new kernel image and then reboot to get it running. Your running kernel should be compiled by the same version of gcc that you use to compile the nvidia drivers.


Quote:
Originally posted by forestial

Anyway, building the kernel from source made no difference to my
problem with the NVIDIA installer. I am beginning to suspect that
the 5336 version of the NVIDIA stuff has some dependency on the
2.6.x kernel and won't work with 2.4.x (?)
I run the 5336 drivers with a kernel image made from the 2.4.18 debian kernel source. This is not a 2.4.18 problem.

Last edited by kommisar; 02-24-04 at 03:45 PM.
kommisar 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
[9800gt] Xorg black screen after installing nvidia driver HacKurx NVIDIA Linux 1 06-07-12 01:29 PM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
GF4 Nvidia Driver 2960, Win TV Problem, Freeze titan3025 NVIDIA Linux 5 09-06-02 07:12 AM
download problem with linux NVIDIA driver packages Timo NVIDIA Linux 7 07-31-02 09:22 AM

All times are GMT -5. The time now is 12:39 PM.


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