problem nvidia driver 256.44 and linux 2.6.33.7-rt29

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

As usually, lastest nvidia drivers cannot be used with linux -rt. series

I've tried to compile the nvidia module v256.44 into  linux 2.6.33.7-rt29 ..

And the following is the error log

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Aug 4 23:17:03 2010
installer version: 256.44

Using: nvidia-installer ncurses user interface
-> Only installing a kernel module for a non-running kernel; skipping the "is
an X server running?" test.
-> Only installing a kernel module for a non-running kernel; skipping the "is
an NVIDIA kernel module loaded?" test.
-> License accepted.
-> Installing NVIDIA driver version 256.44.
-> Not probing for precompiled kernel interfaces.
-> Performing CC sanity check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.33.7-rt29/source'
-> Kernel output path: '/lib/modules/2.6.33.7-rt29/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; make clean'...
-> Building kernel module:
executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.33.7-rt29/sourc
e SYSOUT=/lib/modules/2.6.33.7-rt29/build'...
NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.33.7-rt29/build \
KBUILD_SRC=/usr/src/kernels/linux-2.6.33.7-rt29 \
KBUILD_EXTMOD="/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel" -f /usr/src/
kernels/linux-2.6.33.7-rt29/Makefile \
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are
missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/.tmp_versions ; rm -
f /tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/.tmp_versions/*
make -f /usr/src/kernels/linux-2.6.33.7-rt29/scripts/Makefile.build obj=/tmp
/selfgz2864/NVIDIA-Linux-x86-256.44/kernel
cc -Wp,-MD,/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/.nv.o.d -nostdi
nc -isystem /usr/lib/gcc/i686-redhat-linux/4.4.4/include -I/usr/src/kernels/
linux-2.6.33.7-rt29/arch/x86/include -Iinclude -I/usr/src/kernels/linux-2.6
.33.7-rt29/include -include include/generated/autoconf.h -I/tmp/selfgz2864
/NVIDIA-Linux-x86-256.44/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototyp
es -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function
-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -
msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -ma
rch=i686 -mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fs
tack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-s
ign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno
-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-siblin
g-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow
-fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz2864/NVIDIA-Linux-x86-25
6.44/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__
-DMODULE -DNVRM -DNV_VERSION_STRING=\"256.44\" -UDEBUG -
U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_ST
R(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2864/NVIDIA-
Linux-x86-256.44/kernel/nv.o /tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/
nv.c
In file included from /usr/src/kernels/linux-2.6.33.7-rt29/arch/x86/include/
asm/uaccess.h:571,
from include/linux/poll.h:13,
from /tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv-linu
x.h:84,
from /tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:13
:
/usr/src/kernels/linux-2.6.33.7-rt29/arch/x86/include/asm/uaccess_32.h: In f
unction ‘copy_from_user’:
/usr/src/kernels/linux-2.6.33.7-rt29/arch/x86/include/asm/uaccess_32.h:209:
warning: comparison between signed and unsigned integer expressions
In file included from /tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:13
:
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv-linux.h: At top level:
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv-linux.h:221: error: expect
ed ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nv_
spinlock_t’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv-linux.h:1366: error: expec
ted specifier-qualifier-list before ‘nv_spinlock_t’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c: In function ‘nv_alloc
_file_private’:
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:2047: error: implicit de
claration of function ‘semaphore_init’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:2048: error: ‘nv_file_
private_t’ has no member named ‘waitqueue’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:2049: error: implicit de
claration of function ‘atomic_spin_lock_init’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:2049: error: ‘nv_file_
private_t’ has no member named ‘fp_lock’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c: In function ‘nv_kern_
poll’:
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:2837: error: ‘nv_file_
private_t’ has no member named ‘waitqueue’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:2840: error: implicit de
claration of function ‘atomic_spin_lock_irqsave’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:2840: error: ‘nv_file_
private_t’ has no member named ‘fp_lock’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:2851: error: implicit de
claration of function ‘atomic_spin_unlock_irqrestore’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:2851: error: ‘nv_file_
private_t’ has no member named ‘fp_lock’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c: In function ‘nv_post_
event’:
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:4206: error: ‘nv_file_
private_t’ has no member named ‘fp_lock’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:4223: error: ‘nv_file_
private_t’ has no member named ‘waitqueue’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:4224: error: ‘nv_file_
private_t’ has no member named ‘fp_lock’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c: In function ‘nv_get_e
vent’:
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:4238: error: ‘nv_file_
private_t’ has no member named ‘fp_lock’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:4241: error: ‘nv_file_
private_t’ has no member named ‘fp_lock’
/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.c:4266: error: ‘nv_file_
private_t’ has no member named ‘fp_lock’
make[4]: *** [/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel/nv.o] Error 1
make[3]: *** [_module_/tmp/selfgz2864/NVIDIA-Linux-x86-256.44/kernel] Error
2
make[2]: *** [sub-make] 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

Any patch to fix it ?
Thank you
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux