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

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


I finish with compilation of kernel 2.6.24.3 and try to install drivers for nVidia GeForce 8600M GS. I use NVIDIA-Linux-x86-100.14.09-pkg1.run:

./nvidia-installer -K -k 2.6.24.3

/var/log/nvidia-installer.log:
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 : 2.6.24.3
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
-> 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-2.6.24.3'
-> Kernel output path: '/usr/src/linux-2.6.24.3'
-> 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
a.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 -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-2.6.24.3 SYSO
UT=/usr/src/linux-2.6.24.3'...
sh ./conftest.sh "cc" "cc" /usr/src/linux-2.6.24.3 /usr/src/linux-2.6.24.3 c
c_sanity_check full_output
sh ./conftest.sh "cc" "cc" /usr/src/linux-2.6.24.3 /usr/src/linux-2.6.24.3 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-2.6.24.3 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; \
/bin/false)
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
4.09-pkg1/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/Source/drivers/nVidia/NVIDIA-Linux-
x86-100.14.09-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /home/Source/driver
s/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv_compiler.h
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
no-multichar
-Werror -O -fno-common -msoft-float -MD -Wsign-compare -Wno-cast
-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VE
RSION_STRING=\"100.14.09\" -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM
-DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_
MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESEN
T -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP
_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PR
ESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
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
ivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c
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
-pkg1/usr/src/nv/nv-linux.h:19,
from /home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09
-pkg1/usr/src/nv/nv.c:14:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arith
metic
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
-pkg1/usr/src/nv/nv-linux.h:78,
from /home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09
-pkg1/usr/src/nv/nv.c:14:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:293: warning: pointer of type 'void *' used in a
rithmetic
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
In function '__nv_setup_pat_entries':
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
946: warning: comparison between signed and unsigned
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
In function '__nv_restore_pat_entries':
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
972: warning: comparison between signed and unsigned
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
In function 'nv_kern_cpu_callback':
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
1278: warning: comparison between signed and unsigned
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
1285: warning: comparison between signed and unsigned
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
In function 'nvidia_init_module':
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
1322: error: too many arguments to function 'kmem_cache_create'
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
1431: error: too many arguments to function 'kmem_cache_create'
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
1567: error: void value not ignored as it ought to be
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
In function 'nvidia_exit_module':
/home/Source/drivers/nVidia/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:
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: 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.

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-2.6.24.3"

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, 09:12 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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, 05:03 AM   #3
crashmeister
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 2.6.24.3' 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*
/usr/src/linux-headers-2.6.24-1-amd64:
arch drivers init lib Module.symvers scripts usr
block fs ipc Makefile net security
crypto include kernel mm samples sound

/usr/src/linux-headers-2.6.24-1-common:
arch crypto fs init kernel Makefile net security usr
block drivers include ipc lib mm samples sound

/usr/src/linux-kbuild-2.6.24:
scripts

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, 07:55 AM   #4
Diewi
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, 09:31 AM   #5
botzkoz
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.
 
  


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

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

All times are GMT -5. The time now is 06:50 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