View Single Post
Old 12-01-06, 05:00 PM   #4
ude6
Registered User
 
Join Date: Dec 2006
Posts: 5
Default Re: NVIDIA module for SUSE 10.2RC1 and XEN

Bad Luck I think I replyed to early...when I ran glxinfo I got MESA
as renderer. Therefor I think I was out of luck..

Here the output from my commands:

zeus:~/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv # make SYSSRC=/usr/src/linux module

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/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 missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/.tmp_versions
rm -f /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv
cc -Wp,-MD,/root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/.os-interface.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.1.2/include -Iinclude/asm/mach-xen -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -D__XEN_INTERFACE_VERSION__=0x00030203 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -fasynchronous-unwind-tables -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-float -mcmodel=kernel -mno-red-zone -minline-all-stringops -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=9629 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_IRQ_HANDLER_WITH_PTREGS_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/.tmp_os-interface.o /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/os-interface.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:12,
from include/linux/spinlock_types.h:12,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/nv-linux.h:51,
from /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/os-interface.c:26:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/sched.h:54,
from include/linux/module.h:9,
from /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/nv-linux.h:51,
from /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/os-interface.c:26:
include/linux/nodemask.h: In function ‘__first_node’:
include/linux/nodemask.h:229: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function ‘__next_node’:
include/linux/nodemask.h:235: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function ‘__first_unset_node’:
include/linux/nodemask.h:253: warning: signed and unsigned type in conditional expression
In file included from include/asm/elf.h:48,
from include/linux/elf.h:7,
from include/linux/module.h:16,
from /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/nv-linux.h:51,
from /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/os-interface.c:26:
include/asm/compat.h: In function ‘compat_alloc_user_space’:
include/asm/compat.h:202: warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:564,
from /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/nv-linux.h:77,
from /root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/os-interface.c:26:
include/asm/mach-xen/asm/io.h: In function ‘check_signature’:
include/asm/mach-xen/asm/io.h:294: warning: wrong type argument to increment
/root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/os-interface.c: In function ‘os_delay’:
/root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/os-interface.c:506: warning: unused variable ‘jiffies’
/root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/os-interface.c: In function ‘os_set_mlock_capability’:
/root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/os-interface.c:1283: error: ‘struct task_struct’ has no member named ‘rlim’
make[3]: *** [/root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv/os-interface.o] Fehler 1
make[2]: *** [_module_/root/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv] Fehler 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Fehler 1
make: *** [module] Fehler 2


------

zeus:~/962x/NVIDIA-Linux-x86_64-1.0-9629-pkg2/usr/src/nv # uname -a
Linux zeus 2.6.18.2-33-xen #1 SMP Mon Nov 27 11:46:27 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux




Let me know if you micht need anything more.
The patch you sent applied to the 9629 version with two minor line
changes.
ude6 is offline   Reply With Quote