![]() |
NVIDIA module for SUSE 10.2RC1 and XEN
Dear all,
has anyone gotten the pataches for the NVIDIA driver and XEN to work on SUSE 10.2? I have been using the script/instruction from here http://www.nvnews.net/vbulletin/showthread.php?t=68703 and http://www.nvnews.net/vbulletin/showthread.php?t=78632 and here: http://www.nvnews.net/vbulletin/showthread.php?t=68648 but I had no luck sofar. THANKS FOR ANY HELP! ude6 |
Re: NVIDIA module for SUSE 10.2RC1 and XEN
Please try this one:
http://www.nvnews.net/vbulletin/showthread.php?t=77597 Which kernel and nvidia driver version are you using? What exactly is the problem? (i.e. compilation ir module insertion failed) regards Bernhard |
Re: NVIDIA module for SUSE 10.2RC1 and XEN
Thanks for the (very) fast reply!
I think I have managed the driver to work... THANKS! What is the best way to verify that the nvidia driver is actually running? ude6 |
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. |
Re: NVIDIA module for SUSE 10.2RC1 and XEN
From what i can see, -DNV_SIGNAL_STRUCT_RLIM is not set during
compilation. Might be a problem with the build system. Please try this: Code:
CC="gcc -DNV_SIGNAL_STRUCT_RLIM" make SYSSRC=/usr/src/linux moduleBernhard |
Re: NVIDIA module for SUSE 10.2RC1 and XEN
U are a STAR!!!!
IT WORKS!!!! THANK YOU SOOOOOO MUCH!!!! :D |
Re: NVIDIA module for SUSE 10.2RC1 and XEN
Hi, I just tried this on final SUSE 10.2 (not RC1) and although I can successfully build and load the module, when I actually go to start X, I get a blank screen. It seems to Kernel 'OOPS', and I can't recover any graphics, though it seems to respond to keyboard input in some way. (ctrl-alt-del cleanly shuts down and reboots the system)
This is on x86_64 (Core2 Duo, 2GB RAM), with a GeForce 7900GT and a 7300LE (I've tried xorg.confs with one or both cards enabled, it doesn't make a difference) and with the 9631 drivers. Non-Xen kernel+nvidia drivers work fine. Below is the kernel log: Quote:
phil |
Re: NVIDIA module for SUSE 10.2RC1 and XEN
Code:
Dec 10 15:46:55 schism kernel: NVRM: This version of the Linux kernel does not provide the vmap()Please try this: Code:
CC="gcc -DNV_VMAP_4_PRESENT -DNV_SIGNAL_STRUCT_RLIM" make SYSSRC=/usr/src/linux module(use nvidia-bug-report.sh to generate the log file. zip the log before attaching to your post). regards Bernhard |
Re: NVIDIA module for SUSE 10.2RC1 and XEN
I'm using SUSE 10.2 and I followed the instructions from this post:
http://www.nvnews.net/vbulletin/showthread.php?t=77597 but I noticed that you need to have the source of the Xen kernel, which it doesn't come with SUSE 10.2 or it does? Anyways, I patched the nvidia driver, I followed all the instructions and it compiled without any problems, I copied the module to the kernel-xen folder, no problem but when I restart using the Xen kernel, it showed: nvidia.ko : Invalid kernel module format (or something like that) Am I missing something? Any help is greatly appreciated!! David. |
Re: WORKING : NVIDIA module for SUSE 10.2RC1 and XEN
I've got the driver compiled against the xen kernel in opensuse 10.2 GM, by doing the following:
First, get the right modules installed, using smart, or YaST or whatever, and download the nVidia driver and the patch: Code:
smart install kernel-source kernel-syms kernel-xenCode:
telinit 3Code:
sh ./NVIDIA-Linux-x86_64-1.0-9631-pkg2.run --extract-onlyCode:
telinit 5One question, when I do telinit 5, everything appears to work, but this appears in my logs - is this a problem? According to the README, it sounds like I'm going to have problems with instability Code:
Dec 14 11:48:51 getafix kernel: NVRM: loading NVIDIA Linux x86_64 Kernel Module 1.0-9631 Thu Nov 9 17:35:27 PST 2006Clint |
NVIDIA module for SUSE 10.2
I need some help. I have an MSI board K8N SLI-F, AMD 4400+ X2, 2 GB of OCZ Ram, EVGA 7600 GT with 256MB,
I had SuSe 10.1 running great with 3D and everything. I updated to SuSe 10.2 and then the problems started. Choppy video, I did the Yast deal where you add the Nvidia url and all that. It updated and then I could not get back into GUI, it is giving me an error saying that the Nvidia module could not start, no usable screens. ??? So I figured I would just reload with a New Install, but when I get to the end of the install and do the video test it locks up my PC with lots of blue lines at the top of the screen. Can anyone help walk me thru getting this working? Thank you in advance for your help. Muddrum |
Re: WORKING : NVIDIA module for SUSE 10.2RC1 and XEN
Thanks Clint! that worked perfectly. I'm having the same error messages you are getting and XGL doesn't work correctly but beryl works great.
David. |
| All times are GMT -5. The time now is 03:34 AM. |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.