Share your knowledge at the LQ Wiki.
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-16-2008, 04:59 PM   #1
LQ Newbie
Registered: Mar 2008
Posts: 6

Rep: Reputation: 0
nVidia GeForce 8600M GS driver problem

I finish with compilation of kernel and try to install drivers for nVidia GeForce 8600M GS. I use

./nvidia-installer -K -k

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Mar 16 22:46:09 2008

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : false
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : true
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name :
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
-> Only installing a kernel module for a non-running kernel; skipping the "is
an X server running?" test.
-> Only installing a kernel module for a non-running kernel; skipping the "is
an NVIDIA kernel module loaded?" test.
-> License accepted.
-> Not probing for precompiled kernel interfaces.
-> Performing CC sanity check with CC="cc".
-> Kernel source path: '/usr/src/linux-'
-> Kernel output path: '/usr/src/linux-'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen 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-i2c.o nvacpi.
o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.o nvidi
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 -f stprof stprof.o symtab.h Modules.symvers
rm -f -rf .tmp_versions
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux- SYSO
sh ./ "cc" "cc" /usr/src/linux- /usr/src/linux- c
c_sanity_check full_output
sh ./ "cc" "cc" /usr/src/linux- /usr/src/linux- s
elect_makefile full_output
make --no-print-directory -f Makefile module

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux- SUBDIRS=/home/Source
/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
mkdir -p /home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src
/nv/.tmp_versions ; rm -f /home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.1
make -f scripts/ obj=/home/Source/drivers/nVidia/NVIDIA-Linux-
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /home/Source/driver
cc -Wp,-MD,/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr
/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.1.2/
include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wun
def -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wer
ror-implicit-function-declaration -O2 -pipe -msoft-float -mregparm=3 -freg-s
truct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=i686 -ffreest
anding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_F
RAME=1 -Iinclude/asm-x86/mach-default -fomit-frame-pointer -fno-stack-prote
ctor -Wdeclaration-after-statement -Wno-pointer-sign -I/home/Source/driver
s/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv -Wall -Wimplicit -Wretur
n-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -W
-Werror -O -fno-common -msoft-float -MD -Wsign-compare -Wno-cast
KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/Source/dr
ivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.o /home/Source/dr
In file included from include/linux/list.h:8,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:49,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:57,
from include/linux/sched.h:53,
from include/linux/utsname.h:35,
from /home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09
from /home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arith
In file included from include/asm/dma-mapping_32.h:5,
from include/asm/dma-mapping.h:2,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:88,
from include/linux/pci.h:796,
from /home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09
from /home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:293: warning: pointer of type 'void *' used in a
In function '__nv_setup_pat_entries':
946: warning: comparison between signed and unsigned
In function '__nv_restore_pat_entries':
972: warning: comparison between signed and unsigned
In function 'nv_kern_cpu_callback':
1278: warning: comparison between signed and unsigned
1285: warning: comparison between signed and unsigned
In function 'nvidia_init_module':
1322: error: too many arguments to function 'kmem_cache_create'
1431: error: too many arguments to function 'kmem_cache_create'
1567: error: void value not ignored as it ought to be
In function 'nvidia_exit_module':
1599: error: void value not ignored as it ought to be
make[3]: *** [/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/us
r/src/nv/nv.o] Error 1
make[2]: *** [_module_/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09
-pkg1/usr/src/nv] Error 2
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

If I boot with the new kernel and run "./nvidia-installer" without parameters I receive error that tell something like kernel source does not match your kernel. I try to run:
"./nvidia-installer -K --kernel-source-path=/usr/src/linux-"

log file of the execution is the same as the upper one.

Please tell me what is wrong here, because I can not understand it.

P.S. If you need additional information to help me please write.
Old 03-16-2008, 10:12 PM   #2
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
You need to point the installer to the location of your kernel-source files, those source files must match the kernel version you are currently running.
Old 03-17-2008, 06:03 AM   #3
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
If you are installing for the kernel you are running you don't need the '-K -k' part.

What does uname -a and ls /usr/src/linux* say?

uname -a
Linux kaiser 2.6.24-1-amd64 #1 SMP Mon Feb 11 13:47:43 UTC 2008 x86_64 GNU/Linux

ls /usr/src/linux*
arch drivers init lib Module.symvers scripts usr
block fs ipc Makefile net security
crypto include kernel mm samples sound

arch crypto fs init kernel Makefile net security usr
block drivers include ipc lib mm samples sound


Your output might be different - the important part is that in uname -a the kernel version is '2.6.24-1-amd64' and in /usr/src/linux is the same version.
Old 03-17-2008, 08:55 AM   #4
LQ Newbie
Registered: Jun 2003
Location: Freising, Germany
Distribution: Gentoo Linux 2.6.13-r5 x86_64 (amd64)
Posts: 16

Rep: Reputation: 0
I think you should download the latest nvidia-driver, at least version 169.09. I had the same problem with a quadro fx 1600m and a 2.6.24 kernel.
Old 03-17-2008, 10:31 AM   #5
LQ Newbie
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I download and install latest drivers from nVidia site. Everything is OK now. May be the problem was that main drivers was old.

Thanks for your help.


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
Nvidia Geforce 4 driver problem...... junky354 Linux - Hardware 3 03-14-2008 11:59 PM
help editing xf86config for nvidia geforce mx440 after installing nvidia driver linguist Linux - Newbie 11 06-13-2006 07:31 AM
NVIDIA display driver problem with GeForce 6600GT Fedora Core 4 lumberjack03 Linux - Hardware 4 02-14-2006 07:36 AM
Nvidia Driver Problem with GeForce 440 Go tinksmartbstupi Linux - Software 2 03-21-2005 12:38 PM
Nvidia Geforce FX 5200 Driver Problem On SuSE 9.1 DozenEggs Linux - Hardware 0 07-24-2004 12:29 AM

All times are GMT -5. The time now is 02:42 AM.

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