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.