View Single Post
Old 11-11-08, 10:41 PM   #1
muchologo
Registered User
 
Join Date: Nov 2008
Posts: 3
Default XEN - NVIDIA - STEP BY STEP

THERE'S NO NEED TO USE ANY PATCH

STEP1
REBOOT IN NON-XEN KERNEL IN TERMINAL

sudo -s
vim /etc/inittab
change id:5:initdefault: to id:3:initdefault:
reboot

STEP2
DOWNLOAD THE DRIVERS
sudo -s
cd /usr/src/
wget http://us.download.nvidia.com/XFree8...77.80-pkg2.run (32-bit)
wget http://us.download.nvidia.com/XFree8...77.80-pkg1.run (64-bit)

STEP3
INSTALL SOME PACKAGES FOR COMPILING THE DRIVERS

/sbin/yast2 –install kernel-source gcc make

STEP4
INSTALL THE DRIVERS IN THE NON-XEN KERNEL

cd /usr/src/
sh NVIDIA-Linux-x86_64-173.14.12-pkg2.run -q
sax2 -r -m 0=nvidia
reboot

STEP5
REBOOT IN XEN KERNEL AND MAKE CONFIG

sudo -s
cd /usr/src/linux
cp arch/i386/defconfig.xen .config (32-bit)
cp arch/x86_64/defconfig.xen .config (64-bit)
make oldconfig && make scripts && make prepare

STEP6
EXTRACT THE DRIVERS FOR XEN

cd /usr/src/
sh NVIDIA* --extract-only

STEP7
COMPILE THE DRIVERS

cd /usr/src/NVIDIA*/usr/src/nv/
IGNORE_XEN_PRESENCE=y CC="gcc -DNV_VMAP_4_PRESENT -DNV_SIGNAL_STRUCT_RLIM" make SYSSRC=/usr/src/linux module

STEP8
INSTALL AND PROBE THE DRIVERS

JUST TO BE SURE WHAT'S YOUR XEN KERNEL VERSION <kernel-version> = uname -r
cp nvidia.ko /lib/modules/<kernel-version>-xen/kernel/drivers/video/
cd /lib/modules/<kernel-version>-xen/kernel/drivers/video/
depmod -a
modprobe nvidia
init5

STEP 9
IF NOT XGL IS ENABLED DURING THE PROBE

<control><Alt><F1>
init 3
gnome-xgl-switch --enable-xgl
init 5

STEP10
OPEN TERMINAL

sudo -s
vim /etc/inittab
change id:3:initdefault: to id:5:initdefault:
reboot

------------------------------------------------------------------------------------------
YOU WILL PROBABLY NEED TO REBOOT SO I ATTACH A PDF GUIDE
Please post your experience with this guide
Attached Files
File Type: pdf NVIDIA-XEN-Terminal.pdf (3.4 KB, 1250 views)
muchologo is offline   Reply With Quote