PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : richtiger Nvidia Treiber?



MercuryCadium
29.11.08, 09:11
Servus!

Bin gerade dabei auf meinem Debian Lenny den Nvidia Treiber für meine Geforce2 MX/MX 400 zu installieren. Von der Nvidia Seite hab ich mir den aktuellsten Legacy Treiber geholt, beim installieren meldet der nun:



WARNING: The NVIDIA GeForce2 MX/MX 400 GPU installed in this system is
supported through the NVIDIA 1.0-96xx legacy Linux graphics
drivers. Please visit http://www.nvidia.com/object/unix.html for
more information. The 100.14.11 NVIDIA Linux graphics driver will
ignore this GPU.


Ich bilde mir irgendwo im Internet oder hier im Forum gelesen zu haben, das das tatsächlich so ist, hab aber jetzt nichts mehr dazu gefunden.

Wer hat noch diese Grafikkarte und kann mir weiterhelfen?
Danke im Voraus! MercuryCadium

Rain_maker
29.11.08, 09:26
WARNING: The NVIDIA GeForce2 MX/MX 400 GPU installed in this system is
supported through the NVIDIA 1.0-96xx legacy Linux graphics
drivers. Please visit http://www.nvidia.com/object/unix.html for
more information. The 100.14.11 NVIDIA Linux graphics driver will
ignore this GPU.


Mach das doch mal und schau nach, welcher Treiber Deine Karte unterstützt.

Greetz,

RM

MercuryCadium
13.12.08, 08:49
Hab nun versucht den nvidia 1.0-9639 treiber zu installieren. Die Installation bricht aber leider ab :(




debian:/var/log# uname -r
2.6.26-1-686





nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Dec 13 09:14:06 2008

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : 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
no kernel module : false
force SELinux : default
no X server check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
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.
-> 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 sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:

The compiler used to compile the kernel (gcc 4.1) does not exactly match the
current compiler (gcc 4.3). The Linux 2.6 kernel module loader rejects kern
el modules built with a version of gcc that does not exactly match that of t
he compiler used to build the running kernel.

If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: No)
-> 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'...
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 Modules.symvers
rm -f -rf .tmp_versions
-> 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
/selfgz2215/NVIDIA-Linux-x86-1.0-9639-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$
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fi$
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/.tmp_vers
ions ; rm -f /tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/.tmp_
versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz2215/NVI
DIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNEL_
_ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-functi
on-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -fre
g-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -DC
ONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-a
synchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/a
sm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno-
pointer-sign -I/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv -
Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthe
ses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-float -MD
-Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL_
_ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL
=9639 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDG
E_AGPGART_PRESENT
-DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAG
E_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_R
EMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -D
MODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MO
DNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pk
g1/usr/src/nv/.tmp_nv.o /tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/s
rc/nv/nv.c
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/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
/nv/nv.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/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
/nv/nv-linux.h:77,
from /tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
/nv/nv.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/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
/nv/nv-linux.h:99,
from /tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
/nv/nv.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
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
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:110: error: e
xpected ā=ā, ā,ā, ā;ā, āasmā or ā__attribute__ā before ā
ļæ½ļæ½*ā token
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
ānvos_create_allocā:
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error: ļæ½ ļæ½ļæ½nv_pte_t_cacheā undeclared (first use in this function)
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error: (
Each undeclared identifier is reported only once
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error: f
or each function it appears in.)
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
ānvos_free_allocā:
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:364: error: ļæ½ ļæ½ļæ½nv_pte_t_cacheā undeclared (first use in this function)
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
ānvos_proc_createā:
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:499: error: ļæ½ ļæ½ļæ½proc_root_driverā undeclared (first use in this function)
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
ā__nv_setup_pat_entriesā:
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:827: warning:
comparison between signed and unsigned
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
ā__nv_restore_pat_entriesā:
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:853: warning:
comparison between signed and unsigned
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
ānv_kern_cpu_callbackā:
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1159: warning
: comparison between signed and unsigned
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1166: warning
: comparison between signed and unsigned
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
ānvidia_init_moduleā:
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1292: error:
ānv_pte_t_cacheā undeclared (first use in this function)
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1292: error:
too many arguments to function ākmem_cache_createā
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1426: error:
void value not ignored as it ought to be
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
ānvidia_exit_moduleā:
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1453: error:
void value not ignored as it ought to be
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1557: error:
ānv_pte_t_cacheā undeclared (first use in this function)
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
ānv_kern_vma_nopageā:
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1677: error:
āNOPAGE_SIGBUSā undeclared (first use in this function)
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1684: error:
unknown field ānopageā specified in initializer
/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1684: warning
: initialization from incompatible pointer type
make[3]: *** [/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.o
] Fehler 1
make[2]: *** [_module_/tmp/selfgz2215/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
/nv] Fehler 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Fehler 1
make: *** [module] Fehler 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.

Nomai
13.12.08, 10:03
Hi,

GCC 4.1 über Apt installieren?



cu

MercuryCadium
13.12.08, 10:53
hi

gcc 4.1 ist installiert, allerdings auch gcc 4.3, sollte aber auch mit 4.3 funktionieren, das letzte mal hat es das jedenfalls.

Iluminat23
13.12.08, 12:06
gcc 4.1 ist installiert, allerdings auch gcc 4.3, sollte aber auch mit 4.3 funktionieren, das letzte mal hat es das jedenfalls.

du musst die gleich gcc version nutzen mit der der kernel übersetzt wurde

cat /proc/version

gruß iluminat23

MercuryCadium
13.12.08, 13:58
es kommt der selbe Fehler auch wenn ich auf gcc 4.1 wechsle :(

Skelli
13.12.08, 19:28
Gibt es einen besonderen Grund, nicht einfach die Debian Pakete zu nehmen?



apt-cache policy nvidia-kernel-legacy-96xx-`uname -r`
nvidia-kernel-legacy-96xx-2.6.26-1-amd64:
Installiert: (keine)
Kandidat: 96.43.07+2
Versions-Tabelle:
96.43.07+2 0
500 http://ftp.de.debian.org/debian/ lenny/non-free Packages


<http://wiki.debian.org/NvidiaGraphicsDrivers>

Gruß
Stefan