|
|
#1 | |
|
Registered User
Join Date: Aug 2007
Posts: 2
|
Compile failed originally using kernel 2.6.18.3 with a message that nvidia.ko couldn't be loaded due to a miss match with the compiler. Built new kernel 2.6.22 now it fails with the following:-
I have as suggested in the error log run 'make oldconfig && make prepare on the kernel sources' with no effect. Also experimented with the patch in http://www.nvnews.net/vbulletin/showthread.php?t=95296 on the assumption it is not working so it can't get worse. The compile progresses further now but still fails. This is all a bit over my head really so any advice would be most welcome first time I have even tried to build a kernel so could have done something stupid. Thanks. nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Aug 13 19:41:26 2007 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false precompiled interfaces : true 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 : false 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 force tls : (not specified) force compat32 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) compat32 install chroot : (not specified) compat32 install prefix : (not specified) compat32 install libdir : (not specified) utility install prefix : (not specified) utility install libdir : (not specified) doc install prefix : (not specified) 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. -> 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: 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. -> Performing CC sanity check with CC="cc". -> Performing CC version check with CC="cc". -> Kernel source path: '/lib/modules/2.6.22-custom/source' -> Kernel output path: '/lib/modules/2.6.22-custom/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-i2c.o nv.o nv -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.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.22-custom/s ource SYSOUT=/lib/modules/2.6.22-custom/build'... NVIDIA: calling KBUILD... make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.22-custom/build KBUILD_VERBOSE=1 - C /lib/modules/2.6.22-custom/source SUBDIRS=/tmp/selfgz4326/NVIDIA-Linux-x86 _64-1.0-8776-pkg2/usr/src/nv modules make -C /lib/modules/2.6.22-custom/build \ KBUILD_SRC=/usr/src/linux-2.6.22 \ KBUILD_EXTMOD="/tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv " -f /usr/src/linux-2.6.22/Makefile 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 /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.tmp_v ersions rm -f /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.tmp_vers ions/* make -f /usr/src/linux-2.6.22/scripts/Makefile.build obj=/tmp/selfgz4326/NVI DIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4326/NVI DIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv_compiler.h cc -Wp,-MD,/tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.n v.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include -D__KE RNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.22/include -include include /linux/autoconf.h -I/tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/s rc/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare - fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGN AL_FRAME=1 -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-sta tement -Wno-pointer-sign -I/tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg 2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscri pts -Wparentheses -Wpointer-arith -Wno-m ultichar -Werror -O -fno-common -mno-red-zone -minline-all-stringops -MD -Ws ign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DM ODULE -mcmodel=kernel -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_ MINOR_VERSION=0 -DNV_PATCHLEVEL=8776 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_S TRUCT_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_S TATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_C HANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D "KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c - o /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.tmp_nv.o /tm p/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv.c In file included from /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv.c:14: /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv-linux.h:17:2 6: error: linux/config.h: No such file or directory In file included from include/linux/sched.h:56, from include/linux/utsname.h:35, from /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv.c:14: include/linux/nodemask.h: In function ‘__first_node’: include/linux/nodemask.h:229: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function ‘__next_node’: include/linux/nodemask.h:235: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function ‘__first_unset_node’: include/linux/nodemask.h:253: warning: signed and unsigned type in condition al expression In file included from include/linux/list.h:8, from include/linux/wait.h:22, from include/asm/semaphore.h:42, from include/linux/sched.h:59, from include/linux/utsname.h:35, from /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv.c:14: include/linux/prefetch.h: In function ‘prefetch_range’: include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a rithmetic In file included from include/asm/pci.h:92, from include/linux/pci.h:766, from /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:76, from /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv.c:14: include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’: include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *� used in arithmetic In file included from include/linux/compat.h:14, from include/asm/mtrr.h:106, from /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:104, from /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv.c:14: include/asm/compat.h: In function ‘compat_alloc_user_space’: include/asm/compat.h:202: warning: pointer of type ‘void *’ used in arit hmetic /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv.c: At top le vel: /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv.c:102: warni ng: ‘kmem_cache_t’ is deprecated /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv.c: In functi on ‘nv_kern_open’: /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv.c:1805: warn ing: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/inte rrupt.h:66) /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv.c:1805: warn ing: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/inte rrupt.h:66) /tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv.c:1806: warn ing: passing argument 2 of ‘request_irq’ from incompatible pointer type make[4]: *** [/tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/n v.o] Error 1 make[3]: *** [_module_/tmp/selfgz4326/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv] Error 2 make[2]: *** [modules] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [mdl] 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. |
|
|
|
|
|
|
#2 | |
|
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
|
1.0-8776 is no longer supported, and isn't expected to work with recent kernels. Please upgrade to the latest driver which supports your GPU.
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Aug 2007
Posts: 2
|
I'm an idiot been a long day though. Downloaded the newest drivers and then went and installed the old drivers that have been sitting there for months no wonder it didn't work. There is however a new problem now with not found libraries, but we are a lot closer than before. Will look at it tomorrow when I am awake and if I need more help will ask. Thanks for pointing out my stupid error.
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) | Katchina404 | NVIDIA Linux | 9 | 01-12-03 08:49 AM |
| Compiling Errors In Debian | Scorched | NVIDIA Linux | 14 | 09-26-02 11:02 AM |
| Problems with a GeForce4 MX 440 under Debian | Iainuki | NVIDIA Linux | 1 | 09-24-02 09:27 PM |
| nvidea drivers on 2.4.18 Debian (3.0 woody) | thor | NVIDIA Linux | 2 | 08-20-02 02:51 PM |