[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about installing nvidia driver



Hi all,

     I have tried the following command suggested by Gary Parker.

# sh NVIDIA-Linux-x86-1.0-4349.run \ --kernel-include-path=/usr/src/kernel-headers-2.4.18-bf2.4/include/ \ --kernel-install-path=/lib/modules/2.4.18-bf2.4/kernel/drivers/video/

However, I still cannot install the driver. This time, the log file do not give useful information about the error.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed May 26 21:33:31 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-headers-2.6.5
 kernel install path     : /lib/modules/2.6.5/kernel/drivers/video
 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
  that the installer will need to compile a new kernel interface.
-> Using the kernel source path '/usr/src/kernel-headers-2.6.5' as specified by
  the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/kernel-headers-2.6.5'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
  executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
  ce.o os-registry.o nvidia.mod.o
  rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
  rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/kernel-headers-2.6.
  5'...
  Unable to determine kernel version.
  make: *** [select_makefile] Error 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.

Does the "make clean" step contribute the error suggested by the following website?
      http://home.comcast.net/~andrex/Debian-nVidia/troubleshooting.html

Regards,
James Ng




Gary Parker wrote:

James Ng <james_nghk_debian_user <at> yahoo.com.hk> writes:

Thank you for your reply.

After I make do the following things, the nvidia-installer can run, but
I cannot still install the nvidia driver.

cd /usr/src/linux
make include/version.h

I do not know how to solve this problem, although someone say that the
solution is in the README file...

RROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.
-> Kernel module load error: insmod: QM_MODULES: Function not implemented


I just spent a couple of days messing with the Nvidia installer on a new
computer running Woody (2.4.18-bf2.4).
Here is what I did to get X to run:

I had to apt-get kernel-headers-2.4.18-bf2.4.  I also grabbed
kernel-source-2.4.18-bf2.4 though I am not sure it was necessary.

I then ren the installer with options pointing to my headers and install path:
# sh NVIDIA-Linux-x86-1.0-4349.run \ --kernel-include-path=/usr/src/kernel-headers-2.4.18-bf2.4/include/ \ --kernel-install-path=/lib/modules/2.4.18-bf2.4/kernel/drivers/video/

I then used "dpkg-reconfigure xserver-xfree86" to configure xfree86.  In
particular to select the xserver as nvidia, remove the dri and Glcore modules
and add the glx module.

Following this:
# modprobe nvidia

Last, I added "nvidia" to /etc/modules

Everything works fine now.

Hope this helps.

Gary Parker
Cayuse, Oregon









Reply to: