Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
edit... alright i got it 2 point to the right directory and now its saying i need to remove rivafb.. w0w could this get any more complicated... i have read where im gonna have 2 recompile.. wtf.. can anyone help me on this one.. here is the error
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Mar 10 01:58:44 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 : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : /usr/src/linux-2.6.8-24/
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.
-> 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.
-> Using the kernel source path '/usr/src/linux-2.6.8-24/' as specified by the
'--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.6.8-24/'
-> 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=/usr/src/linux-2.6.8-24/ SYS
OUT=/usr/src/linux-2.6.8-24/'...
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 /usr/src/linux-2.6.8-24/ SUBDIRS=/tmp/selfgz
11023/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv modules
Makefile:465: .config: No such file or directory
mkdir -p /tmp/selfgz11023/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.tmp_
versions
WARNING: Symbol version dump /usr/src/linux-2.6.8-24/Module.symvers is miss
ing, modules will have CONFIG_MODVERSIONS disabled.
make -f scripts/Makefile.build obj=/tmp/selfgz11023/NVIDIA-Linux-x86_64-1.0-
6629-pkg2/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz11023/NV
IDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz11023/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.
nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict
-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame
-pointer -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sig
n-compare -fno-asynchronous-unwind-tables -funit-at-a-time -I/tmp/selfgz1102
3/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-typ
e -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-mu
ltichar -Werror -O -fno-common -mno-red-zone -MD -Wno-cast-qual -Wno-erro
r -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -mcmodel=kernel -DNTRM -D_GNU
_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -D
NV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_O
K -DNVCPU_X86_64 -DNV_64_BITS -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE
_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_
CLASS_SIMPLE_CREATE_PRESENT -DMODULE -DK
BUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz11023/NVIDIA-Linu
x-x86_64-1.0-6629-pkg2/usr/src/nv/nv.o /tmp/selfgz11023/NVIDIA-Linux-x86_64-
1.0-6629-pkg2/usr/src/nv/nv.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /tmp/selfgz11023/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr
/src/nv/nv-linux.h:52,
from /tmp/selfgz11023/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr
/src/nv/nv.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/asm/pci.h:95,
from include/linux/pci.h:861,
from /tmp/selfgz11023/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr
/src/nv/nv-linux.h:75,
from /tmp/selfgz11023/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr
/src/nv/nv.c:14:
include/asm-generic/pci-dma-compat.h: In function `pci_map_page':
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' u
sed in arithmetic
/bin/sh: scripts/basic/fixdep: No such file or directory
make[3]: *** [/tmp/selfgz11023/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/
nv.o] Error 1
make[2]: *** [_module_/tmp/selfgz11023/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.
**EDIT** alright, i got it installed FINALLY, i had the older version of my source installed and once i got the newer one, it worked like a charm. thanks for all of your help though. i really appreciate it..
a had that 'problem' with rivafb too.. i removed it from kernel.. really dont need it.
well, all that stuff about yast and installing kernel sources is nice, but my debian
isnt really using yast and i dont think it ever will
i have my kernel sources unpacked in /usr/src/linux (default path that nvidia-installer uses)
and the installer says that he cant find that sources. i had also tried to pointed him there
(--kernel-source-path=/usr/src/linux) with no success :/
do a search for "kernel.h" and look where it comes up, thats what it is looking for. although i didn't have the latest up 2 date source, i figured out that it was my problem and took care of it within 5 min..
Sorry, my dial-up was down for a few days (stop laughing!)... I couldn't post a reply. I did get the driver working properly now, thanks to everyone for their help. it turned out that I was overlooking the "cp -a /dev/nvidia* /etc/udev/devices" command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.