[opensuse] Xen and NVIDIA
Has anyone managed to get the Nvidia driver working with Xen on 10.2 X86_64 ? I have the latest driver working without Xen, but it fails to install on a Xen enabled kernel. I've seen something about a hack script being used in 10.1. TIA -- david@bottrill.org www.bottrill.org Registered Linux user number 330730 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I have it working on a x86_64. What I did was: (USE IT AT YOUR OWN RISK!!) First I configured the kernel source for XEN, (If you know how to do it ... then do it! otherwise: Warning: I'm not an expert in this area so my solution probably is a very bad solution... but it worked.) I configured the kernel source for Xen doing this: I copied the config files from the XEN directory "defconfig.xen" and the "Module.symvers" to the root kernel source directory (/usr/src/linux/) and I copied some scripts from the /usr/src/linux-obj/x86_64/xen/scripts/ to the /usr/src/linux/scripts directory (I copied everything under the genksyms and mod directories) I don't know if that was the right thing to do or if you can do it in another way but after all it worked) I booted with the XEN kernel and I run as root in the /usr/src/linux directory : make oldconfig && make prepare Then, I booted with the default kernel and I downloaded the patch that you find in the first post of http://www.nvnews.net/vbulletin/showthread.php?t=77597 Then I did : (replace the file names for the corresponding versions, the patch even though was prepared for the version 9625 of the nvidia driver, it works with the latest version) sh NVIDIA-Linux-x86-1.0-9625-pkg1.run --extract-only cd NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv patch -p1 < ../../../../patch-nv-1.0-9625-xenrt.txt CC="gcc -DNV_VMAP_4_PRESENT -DNV_SIGNAL_STRUCT_RLIM" make SYSSRC=/usr/src/linux module cp nvidia.ko $KERNEL_VIDEODRIVER_DIR depmod -a $KERNEL_VERSION where $KERNEL_SOURCE_DIR is something like "/usr/src/linux" $KERNEL_VIDEODRIVER_DIR is something like "/lib/modules/2.6.18.2-34-xen/kernel/drivers/video" and $KERNEL_VERSION is something like: "2.6.18.2-34-xen" Boot again with the XEN kernel and it should work. If you need me to give you the driver already compiled for the 2.6.18.2-34-xen (x86_64) kernel I can give it to you via email. Let me know Good luck David. David Bottrill wrote:
Has anyone managed to get the Nvidia driver working with Xen on 10.2 X86_64 ? I have the latest driver working without Xen, but it fails to install on a Xen enabled kernel.
I've seen something about a hack script being used in 10.1.
TIA
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David Bottrill wrote:
Has anyone managed to get the Nvidia driver working with Xen on 10.2 X86_64 ? I have the latest driver working without Xen, but it fails to install on a Xen enabled kernel.
I've seen something about a hack script being used in 10.1.
TIA
Ooops. Don't follow my hackish solution of the previous email. This is the right way to do it : http://www.nvnews.net/vbulletin/showpost.php?s=bd5c968c8f78a9399d7a01fa4b621372&p=1098724&postcount=10 David. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 20 December 2006 01:17, David Canar wrote:
David Bottrill wrote:
Has anyone managed to get the Nvidia driver working with Xen on 10.2 X86_64 ? I have the latest driver working without Xen, but it fails to install on a Xen enabled kernel.
I've seen something about a hack script being used in 10.1.
TIA
Ooops. Don't follow my hackish solution of the previous email. This is the right way to do it :
http://www.nvnews.net/vbulletin/showpost.php?s=bd5c968c8f78a9399d7a01fa4b62 1372&p=1098724&postcount=10
David.
Thanks for that I will give it a go. David -- david@bottrill.org www.bottrill.org Registered Linux user number 330730 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
David Bottrill
-
David Canar