|
|
#1 | |
|
Registered User
Join Date: Apr 2004
Posts: 3
|
this is my situation: i am running fedora core 2 test 2. i have previously got the nvidia driver to work fine, by recompiling my own kernel, with the apropriate configs set, and then jsut doing a regular install of the driver. however, this time, on kernel 2.6.5, the compile of the driver fails. this is my error log as generated by the installer program:
nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Wed Apr 14 21:23:54 2004 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 : false no questions : false silent : false XFree86 install prefix : /usr/X11R6 OpenGL install prefix : /usr Installer install prefix: /usr kernel source path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp site : ftp://download.nvidia.com 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: No) -> No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface. -> Kernel source path: '/lib/modules/2.6.5-1.322custom/build' -> Performing cc_version_check with CC="cc". -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa ce.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 *~ -> Building kernel module: executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.5-1.322cust om/build'... echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz2607/NVI DIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv_compiler.h CC [M] /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o In file included from include/linux/list.h:7, from include/linux/wait.h:14, from include/asm/semaphore.h:41, from include/linux/sched.h:18, from include/linux/module.h:10, from /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/nv-linux.h:52, from /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/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 arith metic /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nvos_malloc_pages': /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:385: warning: use of cast expressions as lvalues is deprecated /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nvos_create_alloc': /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:513: warning: use of cast expressions as lvalues is deprecated /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:523: warning: use of cast expressions as lvalues is deprecated /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: At top level : /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1185: warning : initialization from incompatible pointer type /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nv_alloc_file_private': /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1193: warning : use of cast expressions as lvalues is deprecated /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1204: warning : use of cast expressions as lvalues is deprecated /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nv_kern_open': /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1265: warning : use of cast expressions as lvalues is deprecated /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nv_kern_ctl_open': /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1914: warning : use of cast expressions as lvalues is deprecated CC [M] /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.o In file included from include/linux/list.h:7, from include/linux/wait.h:14, from include/asm/semaphore.h:41, from include/linux/sched.h:18, from include/linux/module.h:10, from /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/nv-linux.h:52, from /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/os-agp.c:24: include/linux/prefetch.h: In function `prefetch_range': include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith metic CC [M] /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-inter face.o In file included from include/linux/list.h:7, from include/linux/wait.h:14, from include/asm/semaphore.h:41, from include/linux/sched.h:18, from include/linux/module.h:10, from /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/nv-linux.h:52, from /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/os-interface.c:26: include/linux/prefetch.h: In function `prefetch_range': include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith metic /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-interface.c: In function `os_alloc_contig_pages': /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-interface.c:292 : warning: use of cast expressions as lvalues is deprecated /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-interface.c: In function `save_wb': /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-interface.c:748 : warning: use of cast expressions as lvalues is deprecated CC [M] /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-regis try.o In file included from include/linux/list.h:7, from include/linux/wait.h:14, from include/asm/semaphore.h:41, from include/linux/sched.h:18, from include/linux/module.h:10, from /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/nv-linux.h:52, from /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/os-registry.c:14: include/linux/prefetch.h: In function `prefetch_range': include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith metic LD [M] /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nvidia.o /bin/sh: line 1: /tmp/selfgz2607/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/. tmp_versions/nvidia.mod: No such file or directory Building modules, stage 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 www.nvidia.com. any anyone can make any sugestions as to some package i might have missing or some kernel option/module i miseed, please get back to me asap. thank you. |
|
|
|
|
|
|
#2 | |
|
550Ti
Join Date: Jan 2004
Location: New Zealand
Posts: 854
|
If you are going from kernel 2.4 to 2.6 you need the package module-init-tools (but I would think this is in Fedora). Did the kernel compile go OK, install and run fine? Try older nVidia drivers too.
|
|
|
|
|
|
|
#3 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
This looks like a KBUILD problem (introduced in 2.6.5?) that has recently been fixed (see LKML).
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Apr 2004
Posts: 3
|
can you give me any more information on this LKML ? thanks.
|
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Apr 2004
Posts: 3
|
oops, ha, my bad, just though about the acronym
|
|
|
|
|
|
#6 | |
|
Old Geek
Join Date: Apr 2004
Posts: 8
|
If you haven't found it yet, check the "Nvidia 5336 driver with Fedora Core 2" thread.
Phil |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| nvidia driver quality decrease? | legluondunet | NVIDIA Linux | 17 | 06-26-12 10:03 AM |
| NVIDIA Driver Installation | flores.facundo | NVIDIA Linux | 2 | 06-24-12 08:37 AM |
| Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 | Ferianto85 | NVIDIA Linux | 0 | 05-18-12 08:35 PM |
| Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) | Katchina404 | NVIDIA Linux | 9 | 01-12-03 08:49 AM |
| nvidia + 2.4.19 gentoo = messed up | ulukay | NVIDIA Linux | 18 | 11-01-02 11:58 PM |