NVidia binary driver for card unsupported in current driver
Christoph Georgi
christoph.georgi at web.de
Mon Aug 22 07:13:04 UTC 2005
i don't want to sound silly, but are you sudoing the whole operation?
the nvidia binary drivers did never failed on my machine.. (although the
drivers do :( )
christoph
volvoguy wrote:
> Hi all,
>
> I'm wondering if there might be someone more familiar with NVidia's
> binary drivers than I am that could help me compile one that works. As
> a preface, this is on my Breezy testing box so it may just be that it
> isn't going to work at all right now.
>
> My card is an "NVIDIA Corporation NV5M64 [RIVA TNT2 Model 64/Model 64
> Pro]" who's support was dropped starting with the 7xxx driver series.
> Since I doubt that support for older cards is (or can be) backported
> into the package available via Synaptic, I'm trying to compile the
> module from the installer available on Nvidia's website:
>
> NVIDIA-Linux-x86-1.0-6629-pkg1.run
>
> So I exit X and run the installer with sudo. The first time around I
> was warned that the current gcc compiler (4.0) is different than the
> one used to build my kernel (3.4). I didn't know where to set the
> default so I just changed the symlink /usr/bin/gcc to point to 3.4
> instead of 4.0. That got me one step further. Then I got the message
> that support for rivafb was compiled into my kernel as a module and
> that I'd have to disable that for the nvidia driver to work. No
> problem - I selected OK and it proceeded to try and build the nvidia
> driver. This failed, and since I don't do a lot of compiling (I left
> Slackware for Ubuntu for a reason :), I'm not sure how to diagnose (or
> even understand) the problem. I'm attaching the "nvidia-installer.log"
> file in hopes that someone can give me some clues about how to
> proceed.
>
> Thanks!
>
>
>
> ------------------------------------------------------------------------
>
> nvidia-installer log file '/var/log/nvidia-installer.log'
> creation time: Sun Aug 21 00:45:26 2005
>
> 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
> 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-
> 7174). As part of installing this driver (version: 1.0-6629), 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: 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.
> -> Kernel source path: '/lib/modules/2.6.12-7-686/build'
> -> Performing CC test with CC="cc".
> -> Performing rivafb check.
> -> Performing rivafb module check.
> WARNING: Your kernel was configured to include rivafb support as
> a loadable kernel module.
>
> The rivafb driver conflicts with the NVIDIA driver; the
> NVIDIA kernel module will still be built and installed,
> but be aware that the NVIDIA driver will not be able to
> function properly if the rivafb module is loaded!
> -> 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 -rf .tmp_versions
> -> Building kernel module:
> executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.12-7-686/bu
> ild SYSOUT=/lib/modules/2.6.12-7-686/build'...
> Your kernel was configured to include rivafb support as
> a loadable kernel module.
>
> The rivafb driver conflicts with the NVIDIA driver; the
> NVIDIA kernel module will still be built and installed,
> but be aware that the NVIDIA driver will not be able to
> function properly if the rivafb module is loaded!
>
> *** Failed rivafb module sanity check, but continuing! ***
>
>
> NVIDIA: calling KBUILD...
> make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.12-7-686/build SUBDIRS=/tmp
> /selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
> mkdir -p /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_vers
> ions
> make -f scripts/Makefile.build obj=/tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629
> -pkg1/usr/src/nv
> echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz5629/NVI
> DIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
> cc -Wp,-MD,/tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv.o
> .d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/3.4.5/include -D__KERNEL_
> _ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -
> fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -m
> preferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i38
> 6/mach-default -Wdeclaration-after-statement -I/tmp/selfgz5629/NVIDIA-Linux
> -x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wform
> at -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror
> -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KER
> NEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMO
> DULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_U
> NIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBU
> G -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABL
> E_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT
> -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz5629
> /NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz5629/NVIDIA-
> Linux-x86-1.0-6629-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/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
> /nv/nv-linux.h:52,
> from /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-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
> In file included from include/linux/dmapool.h:14,
> from include/linux/pci.h:864,
> from /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
> /nv/nv-linux.h:75,
> from /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
> /nv/nv.c:14:
> include/asm/io.h: In function `check_signature':
> include/asm/io.h:253: warning: wrong type argument to increment
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
> `nvidia_init_module':
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:930: warning:
> `pm_register' is deprecated (declared at include/linux/pm.h:106)
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
> `nvidia_exit_module':
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1051: warning
> : `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
> `_get_phys_address':
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2509: warning
> : passing arg 1 of `pmd_offset' from incompatible pointer type
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
> `nv_agp_init':
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2991: warning
> : implicit declaration of function `inter_module_get'
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2992: warning
> : `inter_module_put' is deprecated (declared at include/linux/module.h:568)
> cc -Wp,-MD,/tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv-v
> m.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/3.4.5/include -D__KERN
> EL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasin
> g -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float
> -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i
> 386/mach-default -Wdeclaration-after-statement -I/tmp/selfgz5629/NVIDIA-Lin
> ux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wfo
> rmat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werro
> r -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__K
> ERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
> MODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV
> _UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDE
> BUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI
> _DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_
> PRESENT -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /tmp
> /selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_nv-vm.o /tmp/self
> gz5629/NVIDIA-Linux-x86-1.0-6629-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/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
> /nv/nv-linux.h:52,
> from /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
> /nv/nv-vm.c:14:
> include/linux/prefetch.h: In function `prefetch_range':
> include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
> metic
> In file included from include/linux/dmapool.h:14,
> from include/linux/pci.h:864,
> from /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
> /nv/nv-linux.h:75,
> from /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
> /nv/nv-vm.c:14:
> include/asm/io.h: In function `check_signature':
> include/asm/io.h:253: warning: wrong type argument to increment
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c: At top le
> vel:
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c:59: warnin
> g: 'cache_flush' defined but not used
> cc -Wp,-MD,/tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-a
> gp.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/3.4.5/include -D__KER
> NEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasi
> ng -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-floa
> t -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/asm
> -i386/mach-default -Wdeclaration-after-statement -I/tmp/selfgz5629/NVIDIA-L
> inux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -W
> format -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -W
> error -O -fno-common -MD -Wno-cast-qual -Wno-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_VERSION=0 -DNV_PATCHLEVEL=6629
> -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -
> DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_
> DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_P
> RESENT -DMODULE -DKBUILD_BASENAME=os_agp -DKBUILD_MODNAME=nvidia -c -o /tmp
> /selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/sel
> fgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-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/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
> /nv/nv-linux.h:52,
> from /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-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
> In file included from include/linux/dmapool.h:14,
> from include/linux/pci.h:864,
> from /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
> /nv/nv-linux.h:75,
> from /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
> /nv/os-agp.c:24:
> include/asm/io.h: In function `check_signature':
> include/asm/io.h:253: warning: wrong type argument to increment
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: At top l
> evel:
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: error
> : parse error before '*' token
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni
> ng: type defaults to `int' in declaration of `drm_agp_p'
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni
> ng: data definition has no type or storage class
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
> ion `KernInitAGP':
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:76: warni
> ng: assignment discards qualifiers from pointer target type
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:85: error
> : request for member `acquire' in something not a structure or union
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:88: warni
> ng: `inter_module_put' is deprecated (declared at include/linux/module.h:568
> )
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:113: erro
> r: request for member `copy_info' in something not a structure or union
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:173: erro
> r: request for member `enable' in something not a structure or union
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:185: erro
> r: request for member `release' in something not a structure or union
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:186: warn
> ing: `inter_module_put' is deprecated (declared at include/linux/module.h:56
> 8)
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
> ion `KernTeardownAGP':
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:216: erro
> r: request for member `release' in something not a structure or union
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:218: warn
> ing: `inter_module_put' is deprecated (declared at include/linux/module.h:56
> 8)
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
> ion `KernAllocAGPPages':
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:265: erro
> r: request for member `allocate_memory' in something not a structure or unio
> n
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:273: erro
> r: request for member `bind_memory' in something not a structure or union
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:290: erro
> r: request for member `unbind_memory' in something not a structure or union
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:305: erro
> r: request for member `free_memory' in something not a structure or union
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
> ion `KernMapAGPPages':
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:345: erro
> r: request for member `unbind_memory' in something not a structure or union
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
> ion `KernFreeAGPPages':
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:444: erro
> r: request for member `unbind_memory' in something not a structure or union
> /tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:445: erro
> r: request for member `free_memory' in something not a structure or union
> make[3]: *** [/tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-a
> gp.o] Error 1
> make[2]: *** [_module_/tmp/selfgz5629/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
> /nv] Error 2
> NVIDIA: left KBUILD.
> 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.
>
--
Christoph Georgi
-----------------------------
email. christoph.georgi at web.de
fon. +49 (0)160 9790 3488
registered linux user #380268
ubuntu 5.04 (ubuntu.com)
More information about the ubuntu-users
mailing list