Monthly Archives: March 2010 Weekly Newsletter Vol 10 No 12

Welcome to the new weekly newsletter with a variety of information to keep you updated on all things Xen. This newsletter is an upgrade from my previous weekly communications and is meant to offer a broader scope of activities. Please feel free to contact me with suggestions for the newsletter.

Xen News

Xen Events

  • Xen Summit North America at AMD April 28-29, 2010
  • Xen Directions 2010
    • South America – August 31 – September 1 in Sao Paulo, Brazil
    • North America – August 9 in Boston, MA as part of LinuxCon
  • Citrix Synergy May 11 – 13 in San Francisco, CA – Looking for booth volunteers
  • SouthEast LinuxFest 2010 June 12-13, 2010 in Spartanburg, SC – Looking for booth volunteers
  • Xen Summit Asia – Tentative dates are Nov 2-3, 2010 in Seoul, Korea (Stay Tuned)
  • Bring to an event near year – Do you know of an event near you that would be served by having a booth? If so, I have a proposal for working together to support that event;

Xen Products

Xen Members in Action

Xen Weekly Stats

  • Project Golden Ratio – March statistics and final Q1 statistics will be posted late next week
  • xen-users had 51 questions and 144 responses on those questions for the week
  • Activity – 20,800 visitors for week, 1,378 went to Tutorial Support Page (

The complete newsletter with all data including the summary of all xen-users/xen-devel/xen-api mailing lists can be found at

Steps to try Xen 4.0.0 Release Candidate 8 on Ubuntu Lucid 10.04 64 Bits

Great post in xen-users today from Thiago Martins…

Running Xen 4.0.0-rc8 with Linux paravirt_ops    dom0 on top of Ubuntu Lucid 10.04 64bits

This is a quick guide to help us to try the new Xen.
Also I have the composite window manager on top of the Xen! With full 3D support!

To achieve this I do:

1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system;

1.1 – Install some packages:

aptitude install build-essential libncurses5-dev dpkg-dev debhelper fakeroot

2- Download and install a new kernel with dom0 pv_ops enabled:

sudo -s
cd /usr/src
git clone git:// linux-2.6-xen
cd linux-2.6-xen
git pull
git reset –hard
git checkout -b xen/stable origin/xen/stable
git pull

2.1 – Download the kernel config file attached to this mail (config-for-xen-

Copy the config file to the kernel source dir:

cp ~Downloads/config-for-xen- /usr/src/linux-2.6-xen/.config

You can see the differences of my config file against the Lucid one:

diff /boot/config-2.6.32-17-generic ~Downloads/config-for-xen- | vim –

…both are close to each other.

2.2 Configure, compile and install:

make menuconfig # Enable the dom0 support and the Xen backend/frontend/xenfs stuffs…
chmod g-s /usr/src -R     # To avoid the error: “dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775)”
make dep-pkg
dpkg -i ../linux-image**.deb
update-initramfs -c -k
echo “xen-evtchn” >> /etc/modules

Now you can try your new kernel without Xen, if you want, it should work smootly.

3- Download and install the latest Xen:

Preparing your environment:

apt-get build-dep xen-3.3
aptitude install uuid-dev iasl texinfo

Download and compile:

cd /usr/src
hg clone -r 4.0.0-rc8
cd xen-unstable.hg
make xen
make tools
make stubdom
make install-xen
make install-tools PYTHON_PREFIX_ARG=
make install-stubdom

update-rc.d xend defaults 20 21
update-rc.d xendomains defaults 21 20

4- Configuring your Grub2 through the file /etc/grub.d/40_custom:

—- cut here —-
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the ‘exec tail’ line above.
menuentry “Xen 4.0.0-rc8 / Ubuntu 10.4 kernel pvops” {
insmod ext2
set root=(hd0,1)
multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy
module (hd0,1)/vmlinuz- dummy=dummy root=/dev/mapper/HyperDeskVG01-tcmc–dell–lucid ro
module (hd0,1)/initrd.img-
—- cut here —-

Don’t forget to change your “root=” option of your Linux!

Run update-grub again:


5- Reboot into your new dom0!


6- Look if your Xen is up and running

xm list
xm info

.. if not:

/etc/init.d/xendomains stop
/etc/init.d/xend stop
/etc/init.d/xend start
/etc/init.d/xendomains start

xm list
xm info

iPhone App for Community?

Xen Community:

I have been thinking lately about new ways to push out information on our community and have decided that maybe we should create an iPhone Application for Before I undertake any such activity, I thought I would ask the community for input; so what do you think?

As an aside, I did get this link from a community manager group I belong to about building a mobile website vs an iPhone app.

Looking for your thoughts?

XCP Tutorial – Installing Windows PV Drivers

In my continuing series of XCP tutorials, I am focusing today on the installation of PV Drivers on your Windows Guest. In my last tutorial, I reviewed the steps in installing a Windows 7 guest on XCP, see here.

STEP 1 – Have your Windows Guest up and running and visible via your console, in my case OpenXenCenter. (Note: this is not a requirement but made things easier for me)

STEP 2- Connect to your XCP machine via a SSH terminal

STEP 3 – Free any existing CD connections to the VM via the command xe vm-cd-eject vm=<target VM name>

STEP 4 – Connect the VM CD to the Windows PV Drivers ISO already on your XCP machine via the comment xe vm-cd-insert cd-name=xs-tools.iso vm=<target VM name>

STEP 5 – Back on OpenXenCenter, I saw a window asking me to install the drivers via an executable. I simply followed the instructions and all things were installed!

More info on CLI commands and examples at