[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ed Rackham wrote:
> After getting WINE for my previous post to this list, I've decided to install
> a driver for my graphics card. However, It hasn't been plain sailing at all,
> pretty much as far from it as possible!
>
> To start off with some background info:
>
> [blueprint@localhost ~]$ uname -r
> 2.6.11-6mdk
> [blueprint@localhost blueprint]# rpm -qa | grep kernel
> kernel-2.6.11.6mdk-1-1mdk
> kernel-source-stripped-2.6-2.6.11-6mdk
>
> Now, I follow the instructions to install the driver (log out of X, telinit 3
> etc...). I then run the driver installation which starts off ok, but it
> cannot find a precompiled kernel interface on my computer, nor a matching one
> on their servers, so the installer begins to build a kernel interface. The
> progress bar gets to 100% but then errors saying ERROR: Unable to build the
> NVIDIA kernel module.
>
> No matter what I do I can't get past this point. I've tried an older driver
> version, but it conflicts with rivafb.
>
> Any ideas? The following is the output of the nvidia installation log:
>
> # BEGIN LOG #
>
> nvidia-installer log file '/var/log/nvidia-installer.log'
> creation time: Sun Jun 4 16:08:23 2006
>
> 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 : true
> 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 : /root/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 test with CC="cc".
> -> Kernel source path: '/lib/modules/2.6.11-6mdk/source'
> -> Kernel output path: '/lib/modules/2.6.11-6mdk/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.11-6mdk/sou
> rce SYSOUT=/lib/modules/2.6.11-6mdk/build'...
>
> NVIDIA: calling KBUILD...
> make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.11-6mdk/build KBUILD_VERBOSE=1 -C
> /lib/modules/2.6.11-6mdk/source
> SUBDIRS=/root/tmp/selfgz24337/NVIDIA-Linux-x
> 86-1.0-8762-pkg1/usr/src/nv modules
> make -C /lib/modules/2.6.11-6mdk/build \
> KBUILD_SRC=/usr/src/linux-2.6.11-6mdk KBUILD_VERBOSE=1 \
> KBUILD_CHECK=
> KBUILD_EXTMOD="/root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762
> -pkg1/usr/src/nv" \
> -f /usr/src/linux-2.6.11-6mdk/Makefile modules
> mkdir
> -p /root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/.tm
> p_versions
> make -f /usr/src/linux-2.6.11-6mdk/scripts/Makefile.build
> obj=/root/tmp/self
> gz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv
> echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\"
>> /root/tmp/selfgz243
> 37/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv_compiler.h
> cc
> -Wp,-MD,/root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv
> /.nv.o.d -nostdinc
> -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/inclu
> de -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/include
> -
> I/root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv -Wall
> -Wstr
> ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
> -ffreestandin
> g -O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2
> -fno-unit-a
> t-a-time -march=i686
> -I/usr/src/linux-2.6.11-6mdk/include/asm-i386/mach-defa
> ult -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
> -I/root/t
> mp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv -Wall -Wimplicit
> -W
> return-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
> -Wpointer-arit
> h -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual
> -W
> no-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM
> -DDYNAMIC
> _SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8762 -UDEBUG
> -U_DEBUG -DNDEBUG -DNV_PCI_GET_CLASS_PRESENT -DNV_PM_MESSAGE_T_PRESENT
> -DNV_
> PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT
> -DNV_REMAP_PFN_RANGE_PR
> ESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -DKBUILD_BASENAME=nv
> -DKBUILD_M
> ODNAME=nvidia
> -c -o /root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.o
> /root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c
> In file included from include/linux/module.h:10,
>
> from /root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/u
> sr/src/nv/nv-linux.h:51,
>
> from /root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/u
> sr/src/nv/nv.c:14:
> include/linux/sched.h:37:31: rsbac/cap_getname.h: No such file or directory
> In file included from include/linux/module.h:10,
>
> from /root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/u
> sr/src/nv/nv-linux.h:51,
>
> from /root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/u
> sr/src/nv/nv.c:14:
> include/linux/sched.h: In function `capable':
> include/linux/sched.h:942: warning: implicit declaration of function
> `rsbac_
> cap_log_missing_cap'
> In file included from include/linux/dmapool.h:14,
> from include/linux/pci.h:863,
>
> from /root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/u
> sr/src/nv/nv-linux.h:76,
>
> from /root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/u
> sr/src/nv/nv.c:14:
> include/asm/io.h: In function `check_signature':
> include/asm/io.h:242: warning: wrong type argument to increment
> /root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c: In
> fun
> ction `nv_kern_mmap':
> /root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c:2077:
> w
> arning: implicit declaration of function `vm_insert_page'
> make[4]: ***
> [/root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/n
> v/nv.o] Error 1
> make[3]: ***
> [_module_/root/tmp/selfgz24337/NVIDIA-Linux-x86-1.0-8762-pkg1/u
> sr/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.
>
> # END LOG #
>
in /usr/src/linux do you have a .configure file ??
If this doesn't excise i expect you do not have a configured kernel
source. Sometimes you find there is a configuration file in /boot
specific to your running kernel... copy this in to /usr/src/linux as
.configure and re-try the nvidia drivers install
Alternativly try the non commercial, and free, drivers for xorg... just
an idea..
- --
Neil Stone
Systems Administrator
FlashTek UK
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d+(++) s: a-(?) C++++(--) UL++++$ P+ L+++ E- W+++ N+
o+ w--- O M PS+ Y+ PGP++ t+ 5+ X+ R+ tv+ b- DI++ D+++ G
e h--- r+++ y++++(**)
- -----END GEEK CODE BLOCK-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEgyz5z3Av8JKgzxQRAmp3AJ0aMrvIQbz1n2npx0nSAyZKr37y3ACePjrW
fxKNrKNP08d8/oQisrdLVGM=
=xeWC
-----END PGP SIGNATURE-----
--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html