LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 03-22-2005, 05:46 AM   #1
doctorwebbox
Member
 
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 NVIDIA-Linux-x86_64-1.0-6629-pkg2.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 : ftp://download.nvidia.com
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-
9-amd64-generic/build'...
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/Makefile.build obj=/tmp/nvidia-4023
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/nvidia-4023/nv
_compiler.h
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
-D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSIO
N=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_I
NT64_OK -DNVCPU_X86_64 -DNV_64_BITS -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHAN
GE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -DKBUILD_BASE
NAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/nvidia-4023/.tmp_nv.o /tmp/nvidia
-4023/nv.c
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: left KBUILD.
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, 09:59 AM   #2
huibert.alblas
Member
 
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.
 
  


Reply



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 10:55 AM
amd drivers 0n1t3hn00b Linux - Software 14 10-18-2005 01:59 PM
problems with nvidia and amd 64 danielg Linux - Hardware 4 11-05-2004 07:39 AM
Mandrake 10.0/AMD 64/Nvidia drivers fail TravisOSF Mandriva 6 05-21-2004 12:02 AM
Fastrack Dual AMD Drivers new Kernel Help MMCSOrion Linux - General 0 05-22-2003 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:23 AM.

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