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 02-06-2005, 06:18 AM   #1
doctorwebbox
Member
 
Registered: Jun 2003
Location: Rotherham, South Yorkshire, England
Distribution: Debian
Posts: 117

Rep: Reputation: 15
Cannot get NVIDIA-Linux-x86_64-1.0-6629-pkg2.run to run properly


I have just bought a fancy new 64 bit machine with an NVidia FX5200 and am struggling to get it installed. I am running 2.6.9-9-amd64-generic and have the kernel headers package installed.

The installer seems to be working fine until is about 80% done compiling then it just falls over. This is the output of /var/log/nvidia-installer.log:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Feb 6 12:07:33 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
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
6629). As part of installing this driver (version: 1.0-6629), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.9-9-amd64-generic/build'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: 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!
-> 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.9-9-amd64-g
eneric/build SYSOUT=/lib/modules/2.6.9-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.9-9-amd64-generic/build SUB
DIRS=/tmp/selfgz4735/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv modules
mkdir -p /tmp/selfgz4735/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.tmp_v
ersions
make -f scripts/Makefile.build obj=/tmp/selfgz4735/NVIDIA-Linux-x86_64-1.0-6
629-pkg2/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4735/NVI
DIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz4735/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.n
v.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-
prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fomit-frame-
pointer -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign
-compare -fno-asynchronous-unwind-tables -I/tmp/selfgz4735/NVIDIA-Linux-x86
_64-1.0-6629-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wforma
t -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -
O -fno-common -mno-red-zone -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_
NAMES -D__KERNEL__ -DMODULE -mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_K
ERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86_64
-DNV_64_BITS -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV
_PCI_DISABLE_DEVICE_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=
nvidia -c -o /tmp/selfgz4735/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.t
mp_nv.o /tmp/selfgz4735/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c
cc1: error: code model `kernel' not supported in the 32 bit mode
make[3]: *** [/tmp/selfgz4735/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/n
v.o] Error 1
make[2]: *** [_module_/tmp/selfgz4735/NVIDIA-Linux-x86_64-1.0-6629-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.

The only way I have found of setting up my graphics card is to opt for a non 64 bit kernel and use a different installer, but this seems daft as I've paid good money for this 64 bit machine. Can anyone help?
 
  


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
NVIDIA (NVIDIA-Linux-x86-1.0-7667-pkg1.run) undef00 Linux - Hardware 8 08-21-2005 02:35 PM
The script needs uudecode(1) to run properly xelt Linux - Software 1 04-18-2005 03:14 PM
The script needs uudecode(1) to run properly EvILHaCk Fedora 2 01-06-2005 03:56 AM
NVIDIA-Linux-x86-1.0-5111-pkg1.run ?? dolphans1 Mandriva 7 09-01-2004 09:39 AM
Can't get my video card to run properly... Cyberus Red Hat 0 02-24-2004 06:01 PM

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

All times are GMT -5. The time now is 06:24 PM.

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