On Thu, 2006-03-30 at 08:56 +0200, Hans Müller wrote: > Hello, I have update to the last FC4 kernel, but the nvidia driver will not compile with this > version, here the log: > > nvidia-installer log file '/var/log/nvidia-installer.log' > creation time: Thu Mar 30 08:35:04 2006 > > 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 : true > 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 : ftp://download.nvidia.com > 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- > 8178). As part of installing this driver (version: 1.0-8178), 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 (ftp://download.nvidia.com)? (Answer: No) > -> No precompiled kernel interface was found to match your kernel; this means > that the installer will need to compile a new kernel interface. > -> Performing CC test with CC="cc". > -> Kernel source path: '/lib/modules/2.6.16-1.2069_FC4/source' > -> Kernel output path: '/lib/modules/2.6.16-1.2069_FC4/build' > -> Performing rivafb check. > -> Performing nvidiafb 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 -f stprof stprof.o symtab.h > rm -f -rf .tmp_versions > -> Building kernel module: > executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.16-1.2069_F > C4/source SYSOUT=/lib/modules/2.6.16-1.2069_FC4/build'... > > NVIDIA: calling KBUILD... > make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.16-1.2069_FC4/build KBUILD_VERBOSE > =1 -C /lib/modules/2.6.16-1.2069_FC4/source SUBDIRS=/tmp/selfgz3498/NVIDIA-L > inux-x86-1.0-8178-pkg1/usr/src/nv modules > make -C /lib/modules/2.6.16-1.2069_FC4/build \ > KBUILD_SRC=/usr/src/kernels/2.6.16-1.2069_FC4-i686 \ > KBUILD_EXTMOD="/tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv" -f > /usr/src/kernels/2.6.16-1.2069_FC4-i686/Makefile modules > mkdir -p /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_vers > ions > make -f /usr/src/kernels/2.6.16-1.2069_FC4-i686/scripts/Makefile.build obj=/ > tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv > echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3498/NVI > DIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv_compiler.h > cc -Wp,-MD,/tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv.o > .d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.2/include -D__KERN > EL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.16-1.2069_FC4-i686/include > -include include/linux/autoconf.h -I/tmp/selfgz3498/NVIDIA-Linux-x86-1.0-81 > 78-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-str > ict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -g -pipe -m > soft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mprefer > red-stack-boundary=2 -march=i686 -mtune=pentium4 -mregparm=3 -I/usr/src/kern > els/2.6.16-1.2069_FC4-i686/include/asm-i386/mach-default -Iinclude/asm-i386/ > mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz3 > 498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type > -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multi > char -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_ > LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MA > JOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DN > DEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DM > ODULE -D"KBUILD_STR(s)=#s" -D"KB > UILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o / > tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_nv.o /tmp/self > gz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/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:41, > from include/linux/sched.h:20, > from include/linux/module.h:10, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv-linux.h:47, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv.c:14: > include/linux/prefetch.h: In Funktion »prefetch_range«: > include/linux/prefetch.h:62: Warnung: Zeiger auf Typen »void *« in Arithme > tik verwendet > In file included from include/linux/dmapool.h:14, > from include/linux/pci.h:522, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv-linux.h:71, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv.c:14: > include/asm/io.h: In Funktion »check_signature«: > include/asm/io.h:258: Warnung: Argument falschen Typs für Inkrementierung > In file included from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv.c:14: > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2: > warning: #warning "conftest.sh failed, assuming remap_page_range(4)!" > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: Auf höchste > r Ebene: > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:296: Warnung: > Initialisierung von inkompatiblem Zeigertyp > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In Funktion > »nvos_get_agp_device_by_class«: > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: Warnung: > implizite Deklaration der Funktion »pci_find_class« > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: Warnung: > Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:516: Warnung: > Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In Funktion > »nvidia_init_module«: > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: Warnung > : implizite Deklaration der Funktion »pm_register« > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: Warnung > : Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1423: Warnung > : implizite Deklaration der Funktion »pm_unregister« > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In Funktion > »nv_kern_mmap«: > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1979: Warnung > : implizite Deklaration der Funktion »remap_page_range« > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In Funktion > »nvos_count_devices«: > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3641: Warnung > : Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3647: Warnung > : Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung > cc -Wp,-MD,/tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv-v > m.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.2/include -D__K > ERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.16-1.2069_FC4-i686/inclu > de -include include/linux/autoconf.h -I/tmp/selfgz3498/NVIDIA-Linux-x86-1.0 > -8178-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno- > strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -g -pipe > -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpref > erred-stack-boundary=2 -march=i686 -mtune=pentium4 -mregparm=3 -I/usr/src/ke > rnels/2.6.16-1.2069_FC4-i686/include/asm-i386/mach-default -Iinclude/asm-i38 > 6/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfg > z3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-ty > pe -Wswitch -Wfo > rmat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror > -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_ > NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 > -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MUL > TIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUIL > D_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD > _STR(nvidia)" -c -o /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/n > v/.tmp_nv-vm.o /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv- > vm.c > In file included from include/linux/list.h:7, > from include/linux/wait.h:23, > from include/asm/semaphore.h:41, > from include/linux/sched.h:20, > from include/linux/module.h:10, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv-linux.h:47, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv-vm.c:14: > include/linux/prefetch.h: In Funktion »prefetch_range«: > include/linux/prefetch.h:62: Warnung: Zeiger auf Typen »void *« in Arithme > tik verwendet > In file included from include/linux/dmapool.h:14, > from include/linux/pci.h:522, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv-linux.h:71, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv-vm.c:14: > include/asm/io.h: In Funktion »check_signature«: > include/asm/io.h:258: Warnung: Argument falschen Typs für Inkrementierung > In file included from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv-vm.c:14: > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2: > warning: #warning "conftest.sh failed, assuming remap_page_range(4)!" > cc -Wp,-MD,/tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-a > gp.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.2/include -D__ > KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.16-1.2069_FC4-i686/incl > ude -include include/linux/autoconf.h -I/tmp/selfgz3498/NVIDIA-Linux-x86-1. > 0-8178-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno > -strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -g -pip > e -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpr > eferred-stack-boundary=2 -march=i686 -mtune=pentium4 -mregparm=3 -I/usr/src/ > kernels/2.6.16-1.2069_FC4-i686/include/asm-i386/mach-default -Iinclude/asm-i > 386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/sel > fgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn- > type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno- > multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-erro > r -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -D > NV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBU > G -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESEN > T -DMODULE -D"KBUIL > D_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUIL > D_STR(nvidia)" -c -o /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/ > nv/.tmp_os-agp.o /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/o > s-agp.c > In file included from include/linux/list.h:7, > from include/linux/wait.h:23, > from include/asm/semaphore.h:41, > from include/linux/sched.h:20, > from include/linux/module.h:10, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv-linux.h:47, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/os-agp.c:24: > include/linux/prefetch.h: In Funktion »prefetch_range«: > include/linux/prefetch.h:62: Warnung: Zeiger auf Typen »void *« in Arithme > tik verwendet > In file included from include/linux/dmapool.h:14, > from include/linux/pci.h:522, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv-linux.h:71, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/os-agp.c:24: > include/asm/io.h: In Funktion »check_signature«: > include/asm/io.h:258: Warnung: Argument falschen Typs für Inkrementierung > In file included from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/os-agp.c:24: > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2: > warning: #warning "conftest.sh failed, assuming remap_page_range(4)!" > cc -Wp,-MD,/tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-i > nterface.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.2/includ > e -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.16-1.2069_FC4-i68 > 6/include -include include/linux/autoconf.h -I/tmp/selfgz3498/NVIDIA-Linux- > x86-1.0-8178-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraph > s -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer - > g -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-put > s -mpreferred-stack-boundary=2 -march=i686 -mtune=pent > ium4 -mregparm=3 -I/usr/src/kernels/2.6.16-1.2069_FC4-i686/include/asm-i386/ > mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement - > Wno-pointer-sign -I/tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/n > v -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen > theses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-comp > are -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -D > NTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PAT > CHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT > -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENA > ME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /t > mp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_os-interface.o > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c > In file included from include/linux/list.h:7, > from include/linux/wait.h:23, > from include/asm/semaphore.h:41, > from include/linux/sched.h:20, > from include/linux/module.h:10, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv-linux.h:47, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/os-interface.c:26: > include/linux/prefetch.h: In Funktion »prefetch_range«: > include/linux/prefetch.h:62: Warnung: Zeiger auf Typen »void *« in Arithme > tik verwendet > In file included from include/linux/dmapool.h:14, > from include/linux/pci.h:522, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/nv-linux.h:71, > from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/os-interface.c:26: > include/asm/io.h: In Funktion »check_signature«: > include/asm/io.h:258: Warnung: Argument falschen Typs für Inkrementierung > In file included from /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv/os-interface.c:26: > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2: > warning: #warning "conftest.sh failed, assuming remap_page_range(4)!" > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c: In > Funktion »os_set_mlock_capability«: > /tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c:137 > 5: Fehler: »struct task_struct« hat kein Element namens »rlim« > make[4]: *** [/tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-i > nterface.o] Fehler 1 > make[3]: *** [_module_/tmp/selfgz3498/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src > /nv] Fehler 2 > make[2]: *** [modules] Fehler 2 > NVIDIA: left KBUILD. > nvidia.ko failed to build! > make[1]: *** [mdl] Fehler 1 > make: *** [module] Fehler 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. > I'd suggest you apply the patches from: http://www.nvnews.net/vbulletin/showthread.php?t=62021 Gilboa