Re: Nvidia driver installation error
On Wed, 13 Oct 2004 13:44:09 +0200
"Philippe Dhont (Sea-ro)" <philippe.dhont@searo.be> spake thus:
>
>
> Hello,
>
> I'm trying to install a nvidia driver on my system
>
> System is debian sarge with new kernel 2.6.8.1, XEON proc, sata disks
> and 1GB RAM.
> The video card is a nvidia quadro PCI-E series card.
>
> I downloaded the driver from nvidia,
> Started it with:
>
> Sh NVIDIA-Linux-x86-1.0-6111-pkg1.run
> --kernel-source-path=/home/software/kernel2.6.8.1/linux-2.6.8.1
>
>
> Then i get into the installation menu, i follow the menu options and the
> program is building a kernel module and right after that i get:
>
> 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.
>
>
> I don't understand the error, i have a new kernel (uname -r gives
> 2.6.8.1) and the kernel source files are on the location i added
> (/home/software/kernel2.6.8.1/linux-2.6.8.1)
>
>
> This is my nvidia logfile:
>
>
>
> nvidia-installer log file '/var/log/nvidia-installer.log'
> creation time: Wed Oct 13 13:25:46 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
> X install prefix : /usr/X11R6
> OpenGL install prefix : /usr
> Installer install prefix: /usr
> kernel source path : /home/software/kernel2.6.8.1/linux-2.6.8.1
> 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.
> -> Using the kernel source path
> '/home/software/kernel2.6.8.1/linux-2.6.8.1' as
> specified by the '--kernel-source-path' commandline option.
> -> Kernel source path: '/home/software/kernel2.6.8.1/linux-2.6.8.1'
> -> Performing cc_version_check with CC="cc".
> -> Performing rivafb check.
> -> Performing rivafb module check.
> -> Cleaning kernel module build directory.
> executing: 'cd ./usr/src/nv; make clean'...
> grep: /lib/modules/2.6.8.1/build/Makefile: No such file or directory
> grep: /lib/modules/2.6.8.1/build/Makefile: No such file or directory
> grep: /lib/modules/2.6.8.1/build/Makefile: No such file or directory
> grep: /lib/modules/2.6.8.1/build/Makefile: No such file or directory
> grep: /lib/modules/2.6.8.1/build/Makefile: No such file or directory
> grep: /lib/modules/2.6.8.1/build/Makefile: No such file or directory
> 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=/home/software/kernel2.6.8.1
> /linux-2.6.8.1 SYSOUT=/home/software/kernel2.6.8.1/linux-2.6.8.1'...
>
> NVIDIA: calling KBUILD...
> make -C /home/software/kernel2.6.8.1/linux-2.6.8.1 \
> KBUILD_SRC=/home/software/kernel2.6.8.1/linux-2.6.8.1
> KBUILD_VERBOSE=1
> \
> KBUILD_CHECK=
> KBUILD_EXTMOD="/tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/
> usr/src/nv" \
> -f /home/software/kernel2.6.8.1/linux-2.6.8.1/Makefile
> modules
> mkdir -p
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_vers
> ions
> make -f
> /home/software/kernel2.6.8.1/linux-2.6.8.1/scripts/Makefile.build ob
> j=/tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
> echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" >
> /tmp/selfgz3346/NVI
> DIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
> cc
> -Wp,-MD,/tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nv.o
> .d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2
> -I/home/
> software/kernel2.6.8.1/linux-2.6.8.1/include
> -I/tmp/selfgz3346/NVIDIA-Linux
> -x86-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes
> -Wno-trigraphs -fno-
> strict-aliasing -fno-common -pipe -msoft-float -mpref
> erred-stack-boundary=2 -march=pentium4
> -I/home/software/kernel2.6.8.1/linux-
> 2.6.8.1/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default
> -O2 -f
> omit-frame-pointer
> -I/tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
> /nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
> -Wchar-subscripts -Wpar
> entheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD
> -Wno-cast
> -qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM
> -D_GNU_S
> OURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
> -DNV_MAJOR_VERSION=1 -DNV_
> MINOR_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX
> -DNV_INT64_OK -DNV
> CPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT
> -DNV_CLASS_S
> IMPLE_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia
> -c -o /t
> mp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_nv.o
> /tmp/selfg
> z3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c
> 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/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
> /nv/nv-linux.h:52,
> from
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-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
> cc
> -Wp,-MD,/tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.os-a
> gp.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude
> -Iinclude2 -I/h
> ome/software/kernel2.6.8.1/linux-2.6.8.1/include
> -I/tmp/selfgz3346/NVIDIA-L
> inux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes
> -Wno-trigraphs -
> fno-strict-aliasing -fno-common -pipe -msoft-float
> -mpreferred-stack-boundar
> y=2 -march=pentium4
> -I/home/software/kernel2.6.8.1/linux-2.6.8.1/include/asm
> -i386/mach-default -Iinclude/asm-i386/mach-default -O2
> -fomit-frame-pointer
> -I/tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wal
> l -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
> -Wparentheses
> -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD
> -Wno-cast-qual -Wn
> o-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM
> -D_GNU_SOURCE -D_
> LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
> -DNV_MINOR_VER
> SION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK
> -DNVCPU_X86 -
> UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT
> -DNV_CLASS_SIMPLE_PRE
> SENT -DMODULE -DKBUILD_BASENAME=os_agp -DKBUILD_MODNAME=nvidia -c -o
> /tmp/se
> lfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_os-agp.o
> /tmp/selfgz
> 3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.c
> 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/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
> /nv/nv-linux.h:52,
> from
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-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
> -Wp,-MD,/tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.os-i
> nterface.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude
> -Iinclude
> 2 -I/home/software/kernel2.6.8.1/linux-2.6.8.1/include
> -I/tmp/selfgz3346/NV
> IDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes
> -Wno-trigr
> aphs -fno-strict-aliasing -fno-common -pipe -msoft-float
> -mpreferred-stack-b
> oundary=2 -march=pentium4
> -I/home/software/kernel2.6.8.1/linux-2.6.8.1/inclu
> de/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2
> -fomit-frame-po
> inter -I/tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
> -Wall -Wi
> mplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
> -Wparentheses -Wpo
> inter-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual
> -Wno-er
> ror -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D
> _GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
> -DNV_MAJOR_VERSION=1
> -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX
> -DNV_INT64_OK
> -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT
> -DNV_CLA
> SS_SIMPLE_PRESENT -DMODULE -DKBUILD_BASENAME=os_interface
> -DKBUILD_MODNAME=n
> vidia -c -o
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_o
> s-interface.o
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-i
> nterface.c
> 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/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
> /nv/nv-linux.h:52,
> from
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-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
> cc
> -Wp,-MD,/tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.os-r
> egistry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude
> -Iinclude2
> -I/home/software/kernel2.6.8.1/linux-2.6.8.1/include
> -I/tmp/selfgz3346/NVID
> IA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes
> -Wno-trigrap
> hs -fno-strict-aliasing -fno-common -pipe -msoft-float
> -mpreferred-stack-bou
> ndary=2 -march=pentium4
> -I/home/software/kernel2.6.8.1/linux-2.6.8.1/include
> /asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2
> -fomit-frame-poin
> ter -I/tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
> -Wall -Wimp
> licit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
> -Wpoin
> ter-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual
> -Wno-erro
> r -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE
> -D_LOOSE_
> KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
> -DNV_MINOR_VERSION=0
> -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86
> -UDEBUG
> -U_DEBUG -DNDEBUG
> -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT -DMODULE
> -DKBUILD_B
> ASENAME=os_registry -DKBUILD_MODNAME=nvidia -c -o
> /tmp/selfgz3346/NVIDIA-Lin
> ux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_os-registry.o
> /tmp/selfgz3346/NVIDIA-Li
> nux-x86-1.0-6111-pkg1/usr/src/nv/os-registry.c
> 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/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
> /nv/nv-linux.h:52,
> from
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-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 elf_i386 -r -o
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/s
> rc/nv/nvidia.o
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-
> kernel.o
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o /tmp
> /selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-agp.o
> /tmp/selfgz33
> 46/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-interface.o
> /tmp/selfgz3346/
> NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/os-registry.o
> Building modules, stage 2.
> make -rR -f
> /home/software/kernel2.6.8.1/linux-2.6.8.1/scripts/Makefile.modp
> ost
> scripts/mod/modpost -i
> /home/software/kernel2.6.8.1/linux-2.6.8.1/Module.s
> ymvers vmlinux
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nvi
> dia.o
> cc
> -Wp,-MD,/tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nvid
> ia.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude
> -Iinclude2
> -I/home/software/kernel2.6.8.1/linux-2.6.8.1/include
> -I/home/software/kernel
> 2.6.8.1/linux-2.6.8.1/ -I -Wall -Wstrict-prototypes -Wno-trigraphs
> -fno-stri
> ct-aliasing -fno-common -pipe -msoft-float
> -mpreferred-stack-boundary=2 -mar
> ch=pentium4
> -I/home/software/kernel2.6.8.1/linux-2.6.8.1/include/asm-i386/ma
> ch-default -Iinclude/asm-i386/mach-default
> -O2 -fomit-frame-pointer -DKBUILD_BASENAME=nvidia
> -DKBUILD_MODNAME=nvidia -
> DMODULE -c -o
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nvid
> ia.mod.o
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nvidia.mo
> d.c
> ld -m elf_i386 -r -o
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/sr
> c/nv/nvidia.ko
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nvi
> dia.o
> /tmp/selfgz3346/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nvidia.mod.o
> NVIDIA: left KBUILD.
> -> done.
> -> Kernel module compilation complete.
> 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.
> -> Kernel module load error: insmod: QM_MODULES: Function not
> implemented
>
> insmod: cannot open /proc/ksyms No such file or directory
> 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 ideas ?
> Cheers,
> Philippe
yes, try installing the source and headers for your kernel ie if from
apt then apt-cache seach kernel | grep your.kernel.version and install
from there. then re-run the installer. should be good to go.
HTH
--
Luke Kearney <lukek@meibin.net>
Reply to: