nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   (1.0-9629) Unable to determine the nvidia ke"Erorrnel module filename (http://www.nvnews.net/vbulletin/showthread.php?t=79902)

jwkfs 11-09-06 03:05 AM

(1.0-9742) Unable to determine the nvidia kernel module filename (fixed)
 
I'm having trouble installing the newest beta version on Ubuntu 6.10 amd64; the previous version installed no problem.

When I attempt to build the kernel module, the installer displays the following error:

"Error: unable to determine the NVIDIA kernel module filename."

in the background, I see:
Code:

:896: ==: unexpected operator
make[1]: Makefile: no such file or directory
make[1]: *** no rule to make target `Makefile'. Stop.
make: *** [print-module-filename] Error 2

I have installed the latest kernel headers ( apt-get install linux-headers-`uname -r` ) as well as the kernel source.

cat /var/log/nvidia-installer.log:
Code:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Nov  9 01:19:08 2006

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall              : false
  driver info            : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files    : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup              : false
  kernel module only      : false
  sanity                  : false
  add this kernel        : false
  no runlevel check      : false
  no network              : false
  no ABI note            : false
  no RPMs                : false
  no kernel module        : false
  force SELinux          : default
  no X server check      : false
  force tls              : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path  : (not specified)
  OpenGL install prefix  : (not specified)
  OpenGL install libdir  : (not specified)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 install libdir : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name            : (not specified)
  kernel include path    : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path    : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list          : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
  9625).  As part of installing this driver (version: 1.0-9742), the existing
  driver will be uninstalled.  Are you sure you want to continue? ('no' will a
  bort installation) (Answer: Yes)
-> 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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.17-10-generic/build'
-> Kernel output path: '/lib/modules/2.6.17-10-generic/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
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.

Thanks for any suggestions!

emery 11-09-06 07:35 AM

Re: (1.0-9629) Unable to determine the nvidia ke"Erorrnel module filename
 
Hi!, you have to extract the package from NVIDIA-Linux-x86_64-1.0-9742-pkg2.run

To do this just type : sudo sh NVIDIA-Linux-x86_64-1.0-9742-pkg2.run -x

then go to the directory just created and type : cd usr/src/nv

then you have to change a little code from the file conftest.sh, to do this :

sudo vim conftest.sh

then in the line 350 where it says : if [ "$RET" == "0" ]; then
change it to if [ "$RET" = "0" ]; then

save the changes

and then in the console close gdm and run ./nvidia-installer

jwkfs 11-09-06 11:45 AM

Re: (1.0-9629) Unable to determine the nvidia ke"Erorrnel module filename
 
Works great, thanks for the reply!

John


All times are GMT -5. The time now is 01:37 AM.

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