WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] kernel-3.0-0 dom0, python2.7, and xen 4.0.x on ubuntu 11.10

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] kernel-3.0-0 dom0, python2.7, and xen 4.0.x on ubuntu 11.10
From: Mark Pryor <tlviewer@xxxxxxxxx>
Date: Wed, 15 Jun 2011 19:05:45 -0700 (PDT)
Delivery-date: Wed, 15 Jun 2011 19:07:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1308189945; bh=jTyJz39sD0GZQtIo0q0tbNiYFEH4QB6zjgJjjXVCtqQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=oP287uLW117MTePVrQ23EXaULRY2bFa08yi0kzQ2q53LQOGOnnzssQuAtzsYG3LVid1hwvAbRpqUB2FY3CtOgOxarZSHFa6eFrZ5+v2RE6eFMLKI2b7BSi7+TBhWdZoOEUPbbP42gFmAvBPXPeOMVHxkPD8dgECHSyyJUJDyZJQ=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=vqIARipvt4uvOk7sU5puhwt03aif68yJdsFa8iEGaee0xcrp+uOcJafpQkzWflyqGaupjrvj0QczPICN5iYpdLw0XNqAZYguzW4fZeDXlRzqa/i6cdKDVVx93totMY+lrNDDu/CU3YrTCopDGrhbnh7Pj9Dslb6tcyCoxcQ7tnM=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
list,

Ubuntu 11.10 has kernel-3.0-0 (since about a week) and its ready for dom0. The 
important dom0 modules needed for domU are built `=m` and they must be loaded 
at startup for xen to work and create domU.

11.10 is changing quickly and I have no development packages installed yet.
It seemed frugal to try some 4.0.x builds that succeeded on 11.04 where 
python2.7 is stock - same with 11.10.

This required using xen-4.0.x/install.sh while in 11.04 with 11.10 fs mounted 
and running the install script.

I tried first with xen-4.0.2, but failed after trying for 2 hours to get it 
working. 
4.0.1 worked after a few easy mods.

There is a problem with /dist/install as applies to Ubuntu, where we have
`ls /usr` ->
bin  games  include  lib  lib64  local  sbin  share  src

the directory list is flat. lib64 is also a dir, not a symlink to lib.

to fix it.
--------
cd ./dist/install/usr
cp -a ./lib64/* ./lib
rm -rf ./lib64

then `sh ./install.sh /mnt` does the right thing, where /mnt is the destination 
fs.

Patch set for 11.04
-------------
to build xen-4.0.1 on 11.04 requited this patch set:
http://paste.ubuntu.com/544701/

although xend starts in 11.10, there is an xmlrpc bug fixed via this
http://lists.xensource.com/archives/html/xen-devel/2010-08/msg01104.html

preload modules for dom0
--------
$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

xen-evtchn
xen-gntdev
xen-gntalloc
xenfs
xen-blkback
xen-netback
dm-mod
dummy
it87
------------- snip ------

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu oneiric (development branch)
Release:        11.10
Codename:       oneiric

$ sudo xm info
host                   : olot64
release                : 3.0-0-server
version                : #1-Ubuntu SMP Thu Jun 9 16:50:35 UTC 2011
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 3066
hw_caps                : 
bfebfbff:20100800:00000000:00000940:0408e3bd:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 4094
free_memory            : 2254
node_to_cpu            : node0:0-1
node_to_memory         : node0:2254
node_to_dma32_mem      : node0:2254
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : dummy=dummy dom0_mem=764M earlyprintk=xen 
guest_loglvl=all loglvl=all
cc_compiler            : gcc version 4.5.2 (Ubuntu/Linaro 4.5.1-12ubuntu1)
cc_compile_by          : tlviewer
cc_compile_domain      :
cc_compile_date        : Thu Dec 16 14:02:23 PST 2010
xend_config_format     : 4


$ brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.00241d23f6ed       no              eth0
                                                        vif2.0
                                                        vif3.0

$ sudo xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   764     2     r-----     29.6
karmicbs                                     3   512     2     -b----      2.1
sl6bs                                        2   512     1     -b----      3.2

-- 
Mark



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>