View Single Post
Old 03-27-05, 11:37 AM   #2
Registered User
Join Date: Mar 2005
Posts: 3
Default Re: Help installing NVIDIA Debian AMD64

I'm having the exact same problem. I have no idea what's going on but I can not get the nvidia installer to....well install. Here's my kernel and everything I've installed/done. I'm using this guide:

O/S: Debian sarge, with some packages from unstable (mostly just the kernel)

Video card: nVidia GeForce 6800GT

Kernel: 2.6.10-9-amd64-k8, kernel image installed from Debian package repositories

Kernel headers installed? /usr/src/kernel-headers-2.6.10-9-amd64-k8/

Symbolic link setup correctly?
 ls -l /lib/modules/2.6.10-9-amd64-k8/build
lrwxrwxrwx  1 root root 41 2005-03-19 13:39 /lib/modules/2.6.10-9-amd64-k8/build -> /usr/src/kernel-headers-2.6.10-9-amd64-k8
nvidia driver version being installed:

Now I booted into the right kernel, and I have X shutdown so I can get into the installer menu. After accepting the license agreement it says no pre-compiled interface or something found for your kernel, so then it tries to compile it and fails. Here's the /var/log/nvidia-installer.log output.

creation time: Sun Mar 20 06:35:15 2005

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
  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
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  compat32 install prefix : /emul/ia32-linux
  installer install prefix: /usr
  utility install prefix  : /usr
  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              :
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
   that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.10-9-amd64-k8/build'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing change_page_attr() check.
WARNING: Your Linux kernel has problems in its implementation of 
         the change_page_attr kernel interface.  The NVIDIA kernel 
         module will attempt to work around these problems, but 
         system stability may be affected.  It is recommended that 
         you update to a 2.6.11 or newer kernel.
         Please see APPENDIX N: KNOWN ISSUES in NVIDIA's README for 
         more details.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
   agp.o os-interface.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 *~
   rm -f -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.10-9-amd64-
   k8/build SYSOUT=/lib/modules/2.6.10-9-amd64-k8/build'...
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.10-9-amd64-k8/build SUBDIRS
   =/tmp/selfgz4523/NVIDIA-Linux-x86_64-1.0-7167-pkg2/usr/src/nv modules
   mkdir -p /tmp/selfgz4523/NVIDIA-Linux-x86_64-1.0-7167-pkg2/usr/src/nv/.tmp_v
   make -f scripts/ obj=/tmp/selfgz4523/NVIDIA-Linux-x86_64-1.0-7
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4523/NVI
     cc -Wp,-MD,/tmp/selfgz4523/NVIDIA-Linux-x86_64-1.0-7167-pkg2/usr/src/nv/.n
   v.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-
   prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2     -fomit-fr
   ame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-block
   s     -Wno-sign-compare -fno-asynchronous-unwind-tables   -I/tmp/selfgz4523/N
   DIA-Linux-x86_64-1.0-7167-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Ws
   witch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith  -Wno-multich
   ar  -W
   error -O -fno-common -mno-red-zone -MD   -Wsign-compare -Wno-cast-qual -Wno-
   error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -mcmodel=kernel -DNTRM -D
   -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz4523/
   NVIDIA-Linux-x86_64-1.0-7167-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz4523/NVIDI
   /tmp/selfgz4523/NVIDIA-Linux-x86_64-1.0-7167-pkg2/usr/src/nv/nv.c:1: error: 
   code model `kernel' not supported in the 32 bit mode
   make[3]: *** [/tmp/selfgz4523/NVIDIA-Linux-x86_64-1.0-7167-pkg2/usr/src/nv/n
   v.o] Error 1
   make[2]: *** [_module_/tmp/selfgz4523/NVIDIA-Linux-x86_64-1.0-7167-pkg2/usr/
   src/nv] Error 2
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 2
-> 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
I think this is another wonderful 64-bit/32-bit problem I've been having lately. I went through the readme but I couldn't find anything that helped me fix this problem. If anyone has any ideas at all how to fix this please help. I've been at this for a couple days now and it's getting to be really frusterating.
Roots is offline   Reply With Quote