Nvidia on MandrakeCooker with kernel 2.6.7

From: Jakub Kocourek (jakub.kocourek_at_volny.cz)
Date: 06/29/04


Date: Tue, 29 Jun 2004 14:24:04 +0200

Hi,
I've problem with my Nvidia FX5600. Today, I installed and configurred
kernel-2.6.7-2mdk.i586 from MandrakeCooker. System is OK, but I can't
install Nvidia driver. This is log:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jun 29 14:08:40 2004

option status:
   license pre-accepted : false
   update : false
   force update : false
   expert : true
   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 : /root/tmp
   ftp site : ftp://download.nvidia.com

chdir("./")
Using: nvidia-installer ncurses user interface
-> Searching for system utilities:
-> found `insmod` : `/sbin/insmod`
-> found `modprobe` : `/sbin/modprobe`
-> found `rmmod` : `/sbin/rmmod`
-> found `lsmod` : `/sbin/lsmod`
-> found `depmod` : `/sbin/depmod`
-> found `ldconfig` : `/sbin/ldconfig`
-> found `ld` : `/usr/bin/ld`
-> found `objcopy` : `/usr/bin/objcopy`
-> License accepted.
-> Kernel module installation path (Answer:
    '/lib/modules/2.6.7-2mdksmp/kernel/drivers/video ')
-> Kernel module installation path:
/lib/modules/2.6.7-2mdksmp/kernel/drivers/v
    ideo
-> 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)
-> 220 SJEQNXFTP5 Microsoft FTP Service (Version 5.0).
-> 331 Anonymous access allowed, send identity (e-mail name) as password.
-> 230 Anonymous user logged in.
-> 200 Type set to I.
-> 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.
-> Kernel source path (Answer: '/lib/modules/2.6.7-2mdksmp/build ')
-> Kernel source path: '/lib/modules/2.6.7-2mdksmp/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.7-2mdksmp/b
    uild'...
    echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" >
/root/tmp/selfgz823
    4/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv_compiler.h
      CC [M]
/root/tmp/selfgz8234/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
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/us
    r/src/nv/nv-linux.h:52,
                     from
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/us
    r/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
    /root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:
At top
    level:
 
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1185: wa
    rning: initialization from incompatible pointer type
      CC [M]
/root/tmp/selfgz8234/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
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/us
    r/src/nv/nv-linux.h:52,
                     from
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/us
    r/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]
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-
    interface.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
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/us
    r/src/nv/nv-linux.h:52,
                     from
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/us
    r/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
      CC [M]
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-
    registry.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
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/us
    r/src/nv/nv-linux.h:52,
                     from
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/us
    r/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]
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nvi
    dia.o
      Building modules, stage 2.
      MODPOST
      CC
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nvi
    dia.mod.o
      LD [M]
/root/tmp/selfgz8234/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nvi
    dia.ko
-> done.
-> Kernel module compilation complete.
    executing: '/sbin/insmod ./usr/src/nv/nvidia.ko
silence_nvidia_output=1'...
    insmod: error inserting './usr/src/nv/nvidia.ko': -1 Invalid module
format
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
        because the kernel module was built using the wrong kernel
source files.
        Please make sure you have installed the kernel source files for your
        kernel; on Red Hat Linux systems, for example, be sure you have the
        'kernel-source' rpm installed. If you know the correct kernel
source
        files are installed, you may specify the kernel source path with the
        '--kernel-source-path' commandline option.
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've kernel sources installed and don't know where is the problem :-/

Thanks

Jakub Kocourek



Relevant Pages

  • How can I fix errors and warnings in nvidia module for Tesla C1060
    ... I am trying to install driver of nvidia Tesla C1060 on x86 based ... Unable to load the kernel module 'nvidia.ko'. ...
    (Linux-Kernel)
  • Re: Kernel 2.6.16 Problems FC4 and FC5
    ... Regardless of what I tried Star Office 6.0 would not start or could it be ... , as well as NVIDIA drivers (Could not get it to ... Once again I did a total restore of FC4 w kernel 2.6.15-1.1833. ... links were being broken when I tried to "install" FC5. ...
    (Fedora)
  • HAL Crashes on Ubuntu 6.10
    ... I have a fresh install of Ubuntu 6.10 on a Dell Optiplex GX270. ... The kernel is 2.6.17-10-generic. ... nvidia: ...
    (Ubuntu)
  • NVIDIA driver on Suse 9.1
    ... I've got a NVIDIA FX 5600 and I'm trying to install the driver from the ... the kernel module is build 100%. ...
    (alt.os.linux)
  • Re: nVidia drivers
    ... They wanted to install the 2.4.27 kernel. ... I tried the installer from nVidia, one of the 8000 series drivers. ... What do I need to do to get this damn driver to install? ...
    (Debian-User)