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.htmlpreload 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@xxxxxxxxxxxxxxxxxxxhttp://lists.xensource.com/xen-users