Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Hi, I'm having problems installing drivers for my Geforce 6800 GT on SUSE 9.1 personal. The error message I get when I try to install them is "ERROR: unable to build NVIDIA kernel module". Here is the log from the installation.
How can I fix this? Thanks.
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Apr 23 14:19:46 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 : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : *removed*
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-
5336). As part of installing this driver (version: 1.0-7167), 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 (*removed*)? (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: '/usr/src/linux'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> 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 SYSOUT=/usr/s
rc/linux'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/selfgz318/NVIDIA
-Linux-x86-1.0-7167-pkg1/usr/src/nv modules
Makefile:438: .config: No such file or directory
mkdir -p /tmp/selfgz318/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/.tmp_versi
ons
WARNING: Symbol version dump /usr/src/linux-2.6.5-7.151/Module.symvers is m
issing, modules will have CONFIG_MODVERSIONS disabled.
make -f scripts/Makefile.build obj=/tmp/selfgz318/NVIDIA-Linux-x86-1.0-7167-
pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz318/NVID
IA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz318/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/.nv.o.
d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prot
otypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -m
preferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -Iinclude/asm-
i386/mach-default -O2 -fomit-frame-pointer -I/tmp/selfgz318/NVIDIA-Linux-x8
6-1.0-7167-pkg
1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscri
pts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -M
D -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNE
L__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODU
LE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7167 -DNV_UNI
X -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG
-DNV_REMAP_PAGE_RANGE_5_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISAB
LE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_VMAP_4_PRESENT -DMO
DULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz318/NVIDI
A-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.o /tmp/selfgz318/NVIDIA-Linux-x86-1.
0-7167-pkg1/usr/src/nv/nv.c
/bin/sh: line 1: scripts/basic/fixdep: No such file or directory
make[3]: *** [/tmp/selfgz318/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.o]
Error 1
make[2]: *** [_module_/tmp/selfgz318/NVIDIA-Linux-x86-1.0-7167-pkg1/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 *removed*.
First of all read the file '/var/log/nvidia-installer.log'. You can post it here so we can take a look at it together. MAybe we find the solution there. I had problems installing this driver too so i decided to change to a different distro since i found out that there was a distro problem when having this module to work. But your make is complainning that a file is missing.
"/bin/sh: line 1: scripts/basic/fixdep: No such file or directory".
Where should it be? Under the module's source tree? Another question. Have you tried to install it from RPM?
The log I posted was from the file you mentioned, and I didn't know there was an RPM version of the drivers, do you mean installing through YaST? I think those drivers on YaST are RPMs. It that is what you meant, then yes, I tried installing them from YaST, but when I did, nothing changed. I'm new to linux, I don't really understand what you mean when you say "Under the module's source tree"... Is fixdep something I need to install?
I had the same problem. fixdep is located in /usr/src/linux/scripts/basic. But if haven't got compiled kernel or you haven't kernel source you can't compile nvidia-kernel. In this folder there is fixdep.c. I didn't compile kernel, just I did make menuconfig. At the beginning it created file fixdep. Then I could compile nvidia-kernel. I hope it will help you.
I dont know if yast uses RPM but it doesnt look like. Try to find out about "yum" or "apt" both are different ways to keep your system updated. You downloaded the source for the drivers from nvidia's website, right? The folder it created is what i mean by "module source tree". I read your post again and this message "Makefile:438: .config: No such file or directory" means that it couldnt find the ".config" file under your kernel source tree. That file holds your kernel configuration options. You probably dont have the kernel source or yours is precompiled... you need it to be configured. Try to follow rsuchy's post and see if it helps you. If it doesnt post the new messages back.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.