View Single Post
Old 04-18-06, 05:52 PM   #1
Registered User
Join Date: Jul 2005
Location: Munich
Posts: 910
Default [PATCH] nv-1.0-8756 with Xen-3.0.1 on Fedora Core 5


I figured out how to get the nvidia linux graphics driver
working with the latest Fedora Core 5 stock xen0 kernel
(means, without the need to patch and recompile the kernel).

The patch for the nvidia glue sources (patch-nv-1.0-8756-xen-3.0.2-2)
can be found at:

1. Install the xen kernels:
yum install kernel-xen0 kernel-xen0-devel
yum install kernel-xenU kernel-xenU-devel
This will also install the xen tool package and create an appropriate
boot menu option for the bootloader in /boot/grub/menu.lst.

2. Patch and compile the nvidia kernel module:
cd /usr/local/src
cp -r <nvidia glue sources> nv-1.0-8756-xen-3.0.2-2
cd nv-1.0-8756-xen-3.0.2-2
patch -p1 < <path to patch>/patch-nv-1.0-8756-xen-3.0.2-2
make clean
make SYSSRC=/usr/src/kernels/2.6.16-1.2080_FC5xen0-i686 module
3. Manually define the missing symbol entry for xen_tlb_flush():
cd /usr/local/src/nv-1.0-8756-xen-3.0.2-2
XEN_TLB_FLUSH=`grep xen_tlb_flush$ /boot/ | colrm 9`
ld -m elf_i386 --defsym xen_tlb_flush=0x$XEN_TLB_FLUSH -r -o nvidia.ko nvidia.o nvidia.mod.o
4. Install the nvidia kernel module:
cd /usr/local/src/nv-1.0-8756-xen-3.0.2-2
cp nvidia.ko lib/modules/2.6.16-1.2080_FC5xen0/kernel/drivers/video
depmod -a 2.6.16-1.2080_FC5xen0
Reboot your system and select the "Fedora Core (2.6.16-1.2080_FC5xen0)"
in the grub bootloader menu.

Feedback appreciated


JaXXoN is offline   Reply With Quote