-   Linux - Hardware (
-   -   NVidia drivers on AMD 64 (

doctorwebbox 03-22-2005 06:46 AM

NVidia drivers on AMD 64
I can't get NVidia drivers to compile for a 64 bit kernel on my new machine.

This is the log output when I tryied to run when using the 2.6.10-9-amd64-generic kernel with the headers package installed (although I've tried it with several different 64 bit kernels):

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Mar 22 11:35:42 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 : true
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
-> Kernel source path: '/lib/modules/2.6.10-9-amd64-generic/build'
-> Copying kernel module sources to temporary directory.
-> Building kernel interface:
executing: 'cd /tmp/nvidia-4023; make nv-linux.o SYSSRC=/lib/modules/2.6.10-
Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!

*** Failed rivafb module sanity check, but continuing! ***

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.10-9-amd64-generic/build SU
BDIRS=/tmp/nvidia-4023 modules
mkdir -p /tmp/nvidia-4023/.tmp_versions
make -f scripts/ obj=/tmp/nvidia-4023
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/nvidia-4023/nv
cc -Wp,-MD,/tmp/nvidia-4023/.nv.o.d -nostdinc -iwithprefix include -D__KER
NEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasi
ng -fno-common -O2 -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -
pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables
-I/tmp/nvidia-4023 -Wall -Wimplicit -Wret
urn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
-Wno-multichar -Werror -O -fno-common -mno-red-zone -MD -Wno-cast-qual -W
no-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -mcmodel=kernel -DNTRM
NAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/nvidia-4023/.tmp_nv.o /tmp/nvidia
cc1: error: code model `kernel' not supported in the 32 bit mode
make[3]: *** [/tmp/nvidia-4023/nv.o] Error 1
make[2]: *** [_module_/tmp/nvidia-4023] Error 2
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [nv-linux.o] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module interface.
ERROR: Unable to add a precompiled kernel interface for the running kernel.

The driver compiles fine using non 64 bit kernels with the appropriate installer. Can anyone help?

huibert.alblas 03-22-2005 10:59 AM

I had problems building the Nvidia drivers with debian prepackaged kernels, and header packages.

My way out was to build my own kernel, Nvidia compiled fine then.

All times are GMT -5. The time now is 02:58 AM.