Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 03-22-2005, 06:46 AM   #1
Registered: Jun 2003
Location: Rotherham, South Yorkshire, England
Distribution: Debian
Posts: 117

Rep: Reputation: 15
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?
Old 03-22-2005, 10:59 AM   #2
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI drivers and AMD X86/64 error. raid517 SUSE / openSUSE 2 12-10-2005 11:55 AM
amd drivers 0n1t3hn00b Linux - Software 14 10-18-2005 02:59 PM
problems with nvidia and amd 64 danielg Linux - Hardware 4 11-05-2004 08:39 AM
Mandrake 10.0/AMD 64/Nvidia drivers fail TravisOSF Mandriva 6 05-21-2004 01:02 AM
Fastrack Dual AMD Drivers new Kernel Help MMCSOrion Linux - General 0 05-22-2003 02:27 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration