个人工具

“UbuntuHelp:XenVirtualMachine/NVidiaOnXenOnUbuntuEdgy”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/XenVirtualMachine/NVidiaOnXenOnUbuntuEdgy}} {{Languages|UbuntuHelp:XenVirtualMachine/NVidiaOnXenOnUbuntuEdgy}} == Introduction == See the follo...)
 
(正在重定向到 UbuntuHelp:XenVirtualMachine
 
(未显示2个用户的3个中间版本)
第1行: 第1行:
 +
#REDIRECT [[UbuntuHelp:XenVirtualMachine]]
 +
This document is obsolete and so was deleted. For installing Xen, go to [[UbuntuHelp:XenVirtualMachine|XenVirtualMachine]]
 +
----
 +
[[category:CategoryCleanup]]
 
{{From|https://help.ubuntu.com/community/XenVirtualMachine/NVidiaOnXenOnUbuntuEdgy}}
 
{{From|https://help.ubuntu.com/community/XenVirtualMachine/NVidiaOnXenOnUbuntuEdgy}}
 
{{Languages|UbuntuHelp:XenVirtualMachine/NVidiaOnXenOnUbuntuEdgy}}
 
{{Languages|UbuntuHelp:XenVirtualMachine/NVidiaOnXenOnUbuntuEdgy}}
 
 
== Introduction ==
 
 
See the following guide to make NVidia drivers work on xen kernel.
 
I managed to do it with and AMD64 Edgy eft with the 2.6.16-11.2 xen kernel installed quite as in the [XenVirtualMachine/XenOnUbuntuEdgy] page. The only difference was the use of the 2.6.16 kernel instead of the 2.6.17 as the 2.6.17 did a "kernel panic".
 
 
You will need to:
 
* Install xen
 
* Download and extract the NVidia drivers
 
* Download the patch
 
* Patch the nvidia drivers
 
* Compile and install the nvidia drivers
 
 
== Make Xen 3.0.3 work ==
 
 
See [XenVirtualMachine/XenOnUbuntuEdgy] for more help.
 
 
== Download and patch ==
 
 
First, get the NVidia drivers ont the [http://www.nvidia.com/content/drivers/ NVidia web site]. Here, we will assume you downloaded the NVIDIA-Linux-x86_64-1.0-9631-pkg2.run file on your home directory.
 
 
When downloaded, extract them:
 
<pre><nowiki>
 
cd ~
 
sh NVIDIA-Linux-x86_64-1.0-9631-pkg2.run -x
 
</nowiki></pre>
 
 
Get the patch with
 
<pre><nowiki>
 
wget http://www.nvnews.net/vbulletin/attachment.php?attachmentid=20801&d=1159874953
 
mv attachment.php\?attachmentid\=20801 ~/patch-nv-1.0-9625-xenrt.txt
 
</nowiki></pre>
 
 
Go to the NVidia kernel source directory
 
<pre><nowiki>
 
cd ~/NVIDIA-Linux-x86_64-1.0-9631-pkg2/usr/src/nv/
 
</nowiki></pre> and apply the patch
 
<pre><nowiki>
 
patch -p1 < ~/patch-nv-1.0-9625-xenrt.txt
 
</nowiki></pre>
 
 
== Prepare to install ==
 
 
Before compiling and installing, you should be sure that no other nvidia driver is present in your system. You can remove any nvidia-* package with
 
<pre><nowiki>
 
sudo apt-get remove nvidia-*</nowiki></pre>
 
 
and eventually uninstall old NVidia drivers with
 
<pre><nowiki>
 
sh ~/NVIDIA-Linux-x86_64-1.0-9631-pkg2.run --uninstall
 
</nowiki></pre>
 
 
Edit your /etc/X11/xorg.conf and in the device section, replace
 
<pre><nowiki>
 
driver "nvidia"
 
</nowiki></pre>
 
by
 
<pre><nowiki>
 
driver "nv"
 
</nowiki></pre>
 
 
Finaly, reboot on your xen kernel.
 
 
 
== Compile and install ==
 
Simply go to the NVidia source directory
 
<pre><nowiki>
 
cd ~/NVIDIA-Linux-x86_64-1.0-9631-pkg2/usr/src/nv/
 
</nowiki></pre>
 
and run
 
<pre><nowiki>
 
make
 
sudo make install
 
</nowiki></pre>
 
 
== Configure your Xorg.conf ==
 
 
Edit your /etc/X11/xorg.conf and in the device section, replace
 
<pre><nowiki>
 
driver "nv"</nowiki></pre>
 
by
 
<pre><nowiki>
 
driver "nvidia"</nowiki></pre>
 
 
Finaly, restart your X server and cross your fingers.
 
 
== Related Documentation ==
 
 
This howto is based on the [http://www.debian-administration.org/articles/493 Using the nvidia binary driver with Xen on Debian etch]
 
 
For more up to date informations, such as newer drivers support, see the [http://www.nvnews.net/vbulletin/ nvnews] forum, register and search "xen patch".
 
 
----
 
[[category:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年4月23日 (三) 12:07的最新版本

This document is obsolete and so was deleted. For installing Xen, go to XenVirtualMachine