This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>, Stephen Spector <stephen.spector@xxxxxxxxxx>
Subject: [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
From: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
Date: Fri, 3 Sep 2010 14:26:48 -0300
Delivery-date: Fri, 03 Sep 2010 10:29:13 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=iNcoB4z6kdetLHAB7vCNygrX2jCo/07HLX8r5h9xNlw=; b=MrKMnX2QT4dflzevz3T6GwbtDwYS9+3CWZAJ3HfBss9JMFP3Ou6FruR2O9N/ZH1lbx 2T1kgy+EDVZ8YfoW3XjayT2EMZjClpVW11ONfvm8oV/PNK5dt+Ma7zs8ifYJNkB2QBDt TAIlAtkWxr1VcL4tZSh1twUGU6rEFOG/emSTY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=DjGCBRvRLbOVNd0yXDf7d+m2BykrB6nbCIpv+5NfEXAdMwzPD/NLzO/dZ+gX605HZj uQ1kNXnUNfG3Nirx6o92ZvcOmviPzqIrIpCU19tewadZzOgi9n2rpnSxKbrZeeTVr+X7 zN175qg6KNtBGYJHbkyWqmFvkhGAHagVZS4iA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimdy1E1rRBm3JRgrz3L=j+WvmwmGR2UUA-=VG5F@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimdy1E1rRBm3JRgrz3L=j+WvmwmGR2UUA-=VG5F@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

 If my server is down, all of you can download the Linux configuration file (a.k.a. .config) from an attachment of this mail.


2010/8/31 Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>

 Tomorrow in my "live" presentation at Linuxcon Xen Directions! I'll show the Xen Live CD to the public!
 To celebrate! I want to share my last procedure to get and run Xen 4.0.1 on Ubuntu 10.04 64 bits, here we go:

      The procedure:

 1- Install all the packages:

 aptitude update
 aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev debhelper fakeroot uuid-dev iasl texinfo git-core
 apt-get build-dep xen-3.3

 2- Download, compile and install Xen and its tools:

 cd /usr/src
 wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz
 tar xf xen-4.0.1.tar.gz
 cd xen-4.0.1
 make xen
 make tools
 make stubdom
 make install-xen
# make install-tools
 make install-tools PYTHON_PREFIX_ARG=
 make install-stubdom

 3- Download, compile and install Linux from the Jemery's tree:

 make prep-kernels
 wget http://livexen01.worldweb.com.br/linux-config- -O build-linux-2.6-pvops_x86_64/.config
 cd build-linux-2.6-pvops_x86_64
 make menuconfig # Change whatever you want, if you now what you're doing...
 chmod g-s /usr/src/ -R
 make deb-pkg
 dpkg -i ../linux-image-*.deb
 update-initramfs -c -k

 4- Enable Xen at boot:

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

 5- Configure the Grub2:

 vim /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.1, Ubuntu 10.4 kernel' {
        insmod ext2
        set root='(hd0,4)'
        multiboot (hd0,4)/boot/xen-4.0.1.gz dummy=dummy dom0_mem=832M
        module (hd0,4)/boot/vmlinuz- dummy=dummy root=/dev/sda4 i915.modeset=0 earlyprintk=xen ro
        module (hd0,4)/boot/initrd.img-
---- cut here ----

 NOTE.: Pay attention to you root partition and also you'll need to disable the KMS (maybe the nomodeset option works for you) of your videoboard.


 Choose the right Grub2 menu entry...



Attachment: linux-config-
Description: Binary data

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Re: Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D, Martinx - ジェームズ <=