nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Nvidia-Treiber installieren funktioniert nicht (Kernel 2.6.30)

Von: Anton Blau (tony.blue@gmx.de) [Profil]
Datum: 23.12.2009 14:07
Message-ID: <4b321638$0$6719$9b4e6d93@newsspool2.arcor-online.net>
Newsgroup: at.linux
Hallo Newsgroup,

ich möchte auf meinem Rechner (Debian stable mit Kernel 2.6.30 aus
www.backports.org) die NVIDIA Treiber bauen. Leider funktioniert das

m-a auto-install nvidia-kernel${VERSION}-source

nicht.

Leider verstehe ich nicht weshalb.

Hier das log:

vdr:/usr/src/modules/nvidia-kernel# less
/var/cache/modass/nvidia-kernel-source.
/var/cache/modass/nvidia-kernel-source.: Datei oder Verzeichnis nicht
gefunden
vdr:/usr/src/modules/nvidia-kernel# less
/var/cache/modass/nvidia-kernel-source.
nvidia-kernel-source.apt_policy
nvidia-kernel-source.buildlog.2.6.30-bpo.2-686.1261517062
vdr:/usr/src/modules/nvidia-kernel# less
/var/cache/modass/nvidia-kernel-source.
nvidia-kernel-source.apt_policy
nvidia-kernel-source.buildlog.2.6.30-bpo.2-686.1261517062
vdr:/usr/src/modules/nvidia-kernel# less
/var/cache/modass/nvidia-kernel-source. buildlog.2.6.30-bpo.2-686.1261517062
/usr/src/modules/nvidia-kernel/conftest.h:24:2: error: #error
kmem_cache_create() conftest failed!
In file included from
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/io.h:22,
from /usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/pci.h:54,
from /usr/src/modules/nvidia-kernel/nv-linux.h:86,
from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/linux-headers-2.6.30-bpo.2-common/arch/x86/include/asm/io.h: In
function 'writeq':
/usr/src/linux-headers-2.6.30-bpo.2-common/arch/x86/include/asm/io.h:70:
warning: pointer of type 'void *' used in arithmetic
In file included from
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/dma-mapping.h:7,
from
/usr/src/linux-headers-2.6.30-bpo.2-common/include/asm-generic/pci-dma-comp
at.h:7,
from
/usr/src/linux-headers-2.6.30-bpo.2-common/arch/x86/include/asm/pci.h:129,
from /usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/pci.h:1098,
from /usr/src/modules/nvidia-kernel/nv-linux.h:86,
from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/scatterlist.h:
In function 'sg_virt':
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/scatterlist.h:199:
warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/modules/nvidia-kernel/nv-linux.h:107:27: error:
asm/semaphore.h: Datei oder Verzeichnis nicht gefunden
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:109,
from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/highmem.h: In
function 'zero_user_segments':
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/highmem.h:147:
warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/highmem.h:147:
warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/highmem.h:147:
warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/highmem.h:147:
warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/highmem.h:150:
warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/highmem.h:150:
warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/highmem.h:150:
warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/highmem.h:150:
warning: pointer of type 'void *' used in arithmetic
/usr/src/modules/nvidia-kernel/nv-linux.h:574:2: error: #error
"NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
In file included from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/modules/nvidia-kernel/nv-linux.h: In function
'nv_execute_on_all_cpus':
/usr/src/modules/nvidia-kernel/nv-linux.h:669: error: too many arguments
to function 'on_each_cpu'
/usr/src/modules/nvidia-kernel/nv-linux.h: At top level:
/usr/src/modules/nvidia-kernel/nv-linux.h:825: error: conflicting types
for 'pm_message_t'
/usr/src/linux-headers-2.6.30-bpo.2-common/include/linux/pm.h:41: error:
previous declaration of 'pm_message_t' was here
/usr/src/modules/nvidia-kernel/nv.c:360: warning: initialization from
incompatible pointer type
/usr/src/modules/nvidia-kernel/nv.c: In function 'nvos_proc_create':
/usr/src/modules/nvidia-kernel/nv.c:622: error: 'struct proc_dir_entry'
has no member named 'owner'
/usr/src/modules/nvidia-kernel/nv.c:623: error: 'struct proc_dir_entry'
has no member named 'owner'
/usr/src/modules/nvidia-kernel/nv.c:624: error: 'struct proc_dir_entry'
has no member named 'owner'
/usr/src/modules/nvidia-kernel/nv.c:644: error: 'struct proc_dir_entry'
has no member named 'owner'
/usr/src/modules/nvidia-kernel/nv.c:657: error: 'struct proc_dir_entry'
has no member named 'owner'
/usr/src/modules/nvidia-kernel/nv.c:668: error: 'struct proc_dir_entry'
has no member named 'owner'
/usr/src/modules/nvidia-kernel/nv.c:678: error: 'struct proc_dir_entry'
has no member named 'owner'
/usr/src/modules/nvidia-kernel/nv.c:688: error: 'struct proc_dir_entry'
has no member named 'owner'
/usr/src/modules/nvidia-kernel/nv.c:699: error: 'struct proc_dir_entry'
has no member named 'owner'
/usr/src/modules/nvidia-kernel/nv.c:706: error: 'struct proc_dir_entry'
has no member named 'owner'
/usr/src/modules/nvidia-kernel/nv.c: In function
'nvos_proc_add_warning_file':
/usr/src/modules/nvidia-kernel/nv.c:741: error: 'struct proc_dir_entry'
has no member named 'owner'
/usr/src/modules/nvidia-kernel/nv.c: In function 'nv_kern_cpu_callback':
/usr/src/modules/nvidia-kernel/nv.c:1299: error: too many arguments to
function 'smp_call_function'
/usr/src/modules/nvidia-kernel/nv.c:1306: error: too many arguments to
function 'smp_call_function'
/usr/src/modules/nvidia-kernel/nv.c: In function 'nvidia_init_module':
/usr/src/modules/nvidia-kernel/nv.c:1339: error: implicit declaration of
function 'NV_KMEM_CACHE_CREATE'
/usr/src/modules/nvidia-kernel/nv.c:1339: error: expected expression
before 'nv_stack_t'
/usr/src/modules/nvidia-kernel/nv.c:1349: error: implicit declaration of
function 'NV_KMEM_CACHE_DESTROY'
/usr/src/modules/nvidia-kernel/nv.c:1448: error: expected expression
before 'nv_pte_t'
/usr/src/modules/nvidia-kernel/nv.c: In function 'nv_kern_open':
/usr/src/modules/nvidia-kernel/nv.c:2027: warning: passing argument 2 of
'request_irq' from incompatible pointer type
/usr/src/modules/nvidia-kernel/nv.c:4007:6: warning:
"NV_AGP_BACKEND_ACQUIRE_ARGUMENT_COUNT" is not defined
/usr/src/modules/nvidia-kernel/nv.c: In function 'nv_agp_init':
/usr/src/modules/nvidia-kernel/nv.c:4024: error: too few arguments to
function 'agp_backend_acquire'
/usr/src/modules/nvidia-kernel/nv.c:4026: error: too few arguments to
function 'agp_backend_release'
make[6]: *** [/usr/src/modules/nvidia-kernel/nv.o] Fehler 1
make[5]: *** [_module_/usr/src/modules/nvidia-kernel] Fehler 2
make[4]: *** [sub-make] Fehler 2
make[3]: *** [all] Fehler 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.30-bpo.2-686'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Fehler 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
make[1]: *** [build-stamp] Fehler 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
make: *** [kdist_image] Fehler 2
(END)

Kann mir hier jemand einen Tipp geben?

An anderer Stelle habe ich den Tipp bekommen, dass die Nvidia-Treiber
für Kernel 2.6.30 zu alt sein könnten. Wo finde ich denn funktionierende
Treiber, die ich im "Debian-Way" installieren kann?

Danke!


Anton Blau

[ Auf dieses Posting antworten ]

Antworten