View Single Post
Old 03-27-05, 11:37 AM   #2
Roots
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: http://serios.net/content/debian/nvi...ay-drivers.php

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
CHECK

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

Symbolic link setup correctly?
Code:
 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: NVIDIA-Linux-x86_64-1.0-7167-pkg2.run
CHECK

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.

Code:
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              : ftp://download.nvidia.com
  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
   ersions
   make -f scripts/Makefile.build obj=/tmp/selfgz4523/NVIDIA-Linux-x86_64-1.0-7
   167-pkg2/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4523/NVI
   DIA-Linux-x86_64-1.0-7167-pkg2/usr/src/nv/nv_compiler.h
     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
VI
   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
   _GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=
   1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7167  -DNV_UNIX  -DNV_LINUX  -DNV_INT
   64_OK  -DNVCPU_X86_64  -DNV_64_BITS    -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL
   _STRUCT_RLIM -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT  
   -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
   A-Linux-x86_64-1.0-7167-pkg2/usr/src/nv/nv.c
   /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: left KBUILD.
   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 www.nvidia.com.
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