nvidia driver in lenny

Érico Teixeira ericomtx at yahoo.com.br
Thu Feb 26 04:40:25 PST 2009


I´m trying to install nvidia driver in lenny 

my kernel is this one :
2.6.26-1-686 

#lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics 

Controller (rev 04)

I´ve installed the package:
#dpkg -i nvidia-kernel-2.6.26-1-686_173.14.09+3_i386.deb

after that I´ve takent he following steps:
#ln -sf /usr/bin/gcc-4.1 /usr/bin/cc
#/etc/init.d/gdm stop
#m-a prepare 
#sh NVIDIA-Linux-x86-180.29-pkg1.run --x-module-patch=/usr/lib/xorg/modules

here is my /var/log/nvidia-installer.log :

....

Using: nvidia-installer ncurses user interface
WARNING: You do not appear to have an NVIDIA GPU supported by the 180.29 NVIDIA
Linux graphics driver installed in this system. For further details,
please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README
available on the Linux driver download page at http://www.nvidia.com.
-> License accepted.
-> Installing NVIDIA driver version 180.29.
-> 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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.26-1-686/build'
-> Kernel output path: '/lib/modules/2.6.26-1-686/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.26-1-686/bu
ild SYSOUT=/lib/modules/2.6.26-1-686/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.26-1-686/build SUBDIRS=/tmp
/selfgz15411/NVIDIA-Linux-x86-180.29-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)

....

include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic

...

In file included from include/linux/list.h:6,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:49,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:57,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz15411/NVIDIA-Linux-x86-180.29-pkg1/usr/src/
nv/nv-linux.h:19,
from /tmp/selfgz15411/NVIDIA-Linux-x86-180.29-pkg1/usr/src/
nv/nv-vm.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:92,
from include/linux/pci.h:948,
from /tmp/selfgz15411/NVIDIA-Linux-x86-180.29-pkg1/usr/src/
nv/nv-linux.h:86,
from /tmp/selfgz15411/NVIDIA-Linux-x86-180.29-pkg1/usr/src/
nv/nv-vm.c:14:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /tmp/selfgz15411/NVIDIA-Linux-x86-180.29-pkg1/usr/src/
nv/nv-linux.h:113,
from /tmp/selfgz15411/NVIDIA-Linux-x86-180.29-pkg1/usr/src/
nv/nv-vm.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic

....

NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
installed in this system is not supported by this NVIDIA Linux graphics
driver release.

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 No such device
-> Kernel messages:
[ 18.981497] NET: Registered protocol family 10
[ 18.982011] lo: Disabled Privacy Extensions
[ 19.395065] lp: driver loaded but no devices found
[ 19.448443] ppdev: user-space parallel port driver
[ 22.168445] pcmcia: Detected deprecated PCMCIA ioctl usage from process:
discover.
[ 22.168445] pcmcia: This interface will soon be removed from the kernel;
please expect breakage unless you upgrade to new tools.
[ 22.168445] pcmcia: see
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
[ 24.737716] Bluetooth: Core ver 2.11
[ 24.739475] NET: Registered protocol family 31
[ 24.739548] Bluetooth: HCI device and connection manager initialized
[ 24.739618] Bluetooth: HCI socket layer initialized
[ 24.807541] Bluetooth: L2CAP ver 2.9
[ 24.807613] Bluetooth: L2CAP socket layer initialized
[ 24.876146] Bluetooth: RFCOMM socket layer initialized
[ 24.876146] Bluetooth: RFCOMM TTY layer initialized
[ 24.876146] Bluetooth: RFCOMM ver 1.8
[ 25.700374] ADDRCONF(NETDEV_UP): eth2: link is not ready
[ 25.919571] eth1: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 44.704026] eth1: no IPv6 routers present
[ 5543.819902] nvidia: module license 'NVIDIA' taints kernel.
[ 5543.825610] NVRM: No NVIDIA graphics adapter found!
[ 5694.278329] NVRM: No NVIDIA graphics adapter found!
[ 6036.064334] NVRM: No NVIDIA graphics adapter found!
[ 6216.542003] NVRM: No NVIDIA graphics adapter found!
[ 8545.971689] NVRM: No NVIDIA graphics adapter found

....

my /usr/src content is this:
lrwxrwxrwx 1 root src 35 2009-02-22 03:46 linux -> /usr/src/linux-headers-2.6.26-1-686
drwxr-xr-x 4 root root 4096 2009-02-24 21:50 linux-headers-2.6.26-1-486
drwxr-xr-x 4 root root 4096 2009-02-22 03:46 linux-headers-2.6.26-1-686
drwxr-xr-x 4 root root 4096 2009-02-24 21:50 linux-headers-2.6.26-1-686-bigmem
drwxr-xr-x 4 root root 4096 2009-02-24 21:50 linux-headers-2.6.26-1-amd64
drwxr-xr-x 18 root root 4096 2009-02-22 03:45 linux-headers-2.6.26-1-common
drwxr-xr-x 18 root root 4096 2009-02-24 21:50 linux-headers-2.6.26-1-common-openvz
drwxr-xr-x 18 root root 4096 2009-02-24 21:51 linux-headers-2.6.26-1-common-vserver
drwxr-xr-x 18 root root 4096 2009-02-24 21:51 linux-headers-2.6.26-1-common-xen
drwxr-xr-x 4 root root 4096 2009-02-24 21:50 linux-headers-2.6.26-1-openvz-686
drwxr-xr-x 4 root root 4096 2009-02-24 21:51 linux-headers-2.6.26-1-vserver-686
drwxr-xr-x 4 root root 4096 2009-02-24 21:51 linux-headers-2.6.26-1-vserver-686-bigmem
drwxr-xr-x 4 root root 4096 2009-02-24 21:51 linux-headers-2.6.26-1-xen-686
drwxr-xr-x 3 root root 4096 2009-02-22 03:46 linux-kbuild-2.6.26
lrwxrwxrwx 1 root src 26 2009-02-22 03:46 linux-OLDVERSION.1235285180 -> 

linux-headers-2.6.26-1-686
drwxr-xr-x 22 root root 4096 2009-02-24 22:16 linux-source-2.6.26
-rw-r--r-- 1 root root 48398221 2009-01-10 12:37 linux-source-2.6.26.tar.bz2
drwxrwxr-x 3 root src 4096 2009-02-22 23:44 modules
drwxr-xr-x 7 root root 4096 2009-02-22 19:24 rpm

Can anyone help me out on this please




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20090226/6f6dab5f/attachment.html>


More information about the xorg mailing list