Drivers Xen Gpl Pv Driver Developers Network & Wireless Cards

I do need to de-select 'Copy Network Settings' during a custom install of gplpv. Leaving 'Copy network settings' resulted in a BSOD for me in 2008R2 x64. I run Xen 4.4.0-RELEASE built from source on Debian Jessie amd64. PV drivers 1.0.1089 tested on windows 7 x64 pro SP1, dom0 Debian Wheezy with xen 4.4 from source and upstream qemu =1.6.1. The Citrix PV driver components are listed in the Windows registry under HKEYLOCALMACHINE SYSTEM CurrentControlSet services. These driver components are as follows: xenevtchn, xeniface, xennet, Xennet6, xensvc, xenvbd, and xenvif. Citrix also has a driver component named XenGuestAgent, which runs as a Windows service.

>
> I'm in the process of migrating XenServer virtuals over to open source
> Xen. Things are going along really well, except I haven't been able
to
> successfully remove the Citrix Windows PV drivers and then install the
> GPLPV drivers. After I remove the Citrix PV drivers, the drivers seem
> like they are gone. I then install the GPLPV drivers, which claim to
> install successfully, but then the system pops up a message saying it
> found the Citrix XenSource PV Ethernet adapter again and it wants to
> install xennet.sys from the XenSource directories (which are no longer
> there). I've shown it where the new xennet.sys driver is, but that
> doesn't make it happy. Somewhere in this mix is some old INF file or
> something that is preventing the GPL drivers from taking over
completely.
>
> Any ideas how to really uninstall the Citrix drivers?
>
Some suggestions..
. you should still be able to force installation via manually installing
the driver with the 'have disk' option.
. delete all the oem*.[ip]nf files that are for the citrix drivers (from
c:windowsinf)
. search the registry (currentcontrolset) for any reference to xen and
delete it, but be careful. Windows must be remembering the deviceID
My GPLPV drivers enumerate devices as eg xenvbd768, xenvif0. Citrix
drivers must be doing the same. I would if I should enumerate them with
a slightly different prefix..
James
_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xensource.com/xen-users
  • I do need to de-select 'Copy Network Settings' during a custom install of gplpv. Leaving 'Copy network settings' resulted in a BSOD for me in 2008R2 x64. I run Xen 4.4.0-RELEASE built from source on Debian Jessie amd64. PV drivers 1.0.1089 tested on windows 7 x64 pro SP1, dom0 Debian Wheezy with xen 4.4 from source and upstream qemu =1.6.1.
  • I'm in the process of migrating XenServer virtuals over to open source Xen. Things are going along really well, except I haven't been able to successfully remove the Citrix Windows PV drivers and then install the GPLPV drivers. After I remove the Citrix PV drivers, the drivers seem like they are gone.

Howto install a Windows 2k8 r2 on a xen host with GPL PV drivers v0.10.0.130

Contents

[Update: Signed drivers can be found here]

The machine is called 'slate', and has a single 32Gbyte disk. The xen host is running (a very old) Fedora 8 with xen-3.1.2-5.fc8.

Install Server 2008 R2

Assign a lump of disk (from a LVM volume) for the operating system (32Gbytes), and boot from the installation media DVD. Use a VNC client to step through the graphical installation. Use the following 'xm' style configuration:

Note: A Windows Vista x64 machine was used as the VNC client during installation. For some reason connecting to the VNC session over a Putty SSH tunnel using the loopback interface didn't work (the connection hung during the initial handshake). Binding to the ethernet interface of the Xen host, and going directly worked well.

GPL PV Drivers

Given the Windows machine is Server 2008 R2 x64, the drivers must have 'wlh' and 'amd64' in their name. The current revision is gplpv_fre_wlh_AMD64_0.10.0.130.

The installation of the drivers was very straightforward. Given the drivers are signed for 'test mode' operation, and a certificate is provided, the pain to get the drivers installed is reasonably low. I created an ISO image with the MSI install program on it, and added the ISO image as a CDROM device. This means the qemu network adapter doesn't have to be used or configured (but this would be another way to get the drivers onto the machine).

The 'xm' style VM configuration with the gpl pv driver as a second CDROM device is:

The four steps I followed are:

  1. set 'test signing' mode on
  2. reboot
  3. install driver MSI
  4. reboot

To enable test signing mode execute:

Once the driver was installed and the machine was rebooted, I configured a static IPv4 and IPv6 address on the network adapter, and enabled remote desktop.

Device manager indicated that the driver was being used, by the presence of the 'Xen Net Device Driver' and 'Xen PV Disk SCSI Disk Device'.

Note: The shutdown service works well 'out of the box'. Shutting the machine down from the xen host with 'xm shutdown slate' performs an orderly shutdown.

Drivers xen gpl pv driver developers network download

Running 'xm' configuration

Once the machine is up and running:

  • change the boot device back to 'c' drive
  • change the network interface to 'type=paravirtualised' (so that qemu-dm doesn't create a tap device)

Residual Issues

Given I am running an old version of xen in domain 0 (v3.1.2), there is an issue with using the GPL PV driver such that the CDROM devices no longer function, and the 'Intel(r) 82371SB PCI Bus Master IDE Controller' device has an issue.

Upgrading to the latest xen would solve this issue.

Links

  • GPL PV v0.10.0.97 announcement
  • Installing Xen Windows Gpl Pv (outdated)
  • Driver Signature Enforcement Override
  • Installing signed GPLPV drivers

Appendices

Windows Server 2008 R2 Installation gallery

Ready to install. Pick the time and currency format.

Select which version of the operating system to install.

Accept the license terms (like there is a real choice).

Pick custom install (this is a fresh install, not an upgrade)

The install program creates a 100MByte partition. There was no choice.

Installation begins. Note that the machine does reboot during the install.

And reboots..

Set the Administrator password

Enter a new password

Overall the installation was reasonably easy and quick.

GPL PV Driver Installation Gallery

Once the 'bcdedit /set testsigning on' is run, and the machine has rebooted, the 'test mode' should display in the lower right of the desktop.

Run the GPL PV driver installation msi.

Accept the license. Abbott labs (adc) port devices driver.

The custom install shows what will be installed. Note how the 'test mode' signing certificate is installed.

Install.

Install the drivers, and always trust the 'GPLPV_Test_Cert'.

Drivers Xen Gpl Pv Driver Developers Network Topology

The installation is done.

Drivers Xen Gpl Pv Driver Developers Network & Wireless Cards Download

Reboot the system to activate the drivers.

Drivers Xen Gpl Pv Driver Developers Network & Wireless Cards Online

After rebooting, the device manager shows the following devices (Note: the system is using Xen 3.1.2 on the host - modern xen hosts may hide more)