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] XEN 4.0 on Ubuntu Karmic

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] XEN 4.0 on Ubuntu Karmic
From: Thomas Halinka <lists@xxxxxxxxx>
Date: Thu, 08 Apr 2010 22:14:11 +0200
Delivery-date: Thu, 08 Apr 2010 13:18:54 -0700
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>
Reply-to: lists@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

im trying to run XEN 4.0 on Ubuntu Karmic...

I tried the following steps, taken from
(http://bderzhavets.wordpress.com/) :

# apt-get install libcurl4-openssl-dev xserver-xorg-dev python2.6-dev
mercurial gitk build-essential libncurses5-dev uuid-dev gawk gettext
texinfo bcc bridge-utils iasl

# cd /usr/src/ && hg clone http://xenbits.xen.org/xen-4.0-testing.hg
# cd xen-4.0-testing.hg/
# vim Config.mk
Set in Config.mk
PYTHON = python
PYTHON_PREFIX_ARG 
# make xen && make tools && make stubdom
# make install-xen && make install-tools && make install-stubdom
# update-rc.d xend defaults 20 21
# update-rc.d xendomains defaults 21 20
# dpkg -i /root/linux-image-2.6.32.10_pvops0.1_i386.deb
# depmod 2.6.32.10
# update-initramfs -c -k 2.6.32.10
# apt-get install grub
# grub-install /dev/sda
# update-grub

reboot works fine and xen seems running...

        root@thohal-laptop:~# xm list
        Name                                        ID   Mem VCPUs
        State   Time(s)
        Domain-0                                     0   508     2
        r-----     30.6
        root@thohal-laptop:~# xm info
        host                   : thohal-laptop
        release                : 2.6.32.10
        version                : #4 SMP Fri Apr 2 01:38:01 CEST 2010
        machine                : i686
        nr_cpus                : 2
        nr_nodes               : 1
        cores_per_socket       : 2
        threads_per_core       : 1
        cpu_mhz                : 2194
        hw_caps                :
        bfebfbff:20100000:00000000:00000940:0000e3bd:00000000:00000001:00000000
        virt_caps              : hvm
        total_memory           : 847
        free_memory            : 486
        node_to_cpu            : node0:0-1
        node_to_memory         : node0:486
        node_to_dma32_mem      : node0:486
        max_node_id            : 0
        xen_major              : 4
        xen_minor              : 0
        xen_extra              : .0
        xen_caps               : xen-3.0-x86_32p hvm-3.0-x86_32
        hvm-3.0-x86_32p 
        xen_scheduler          : credit
        xen_pagesize           : 4096
        platform_params        : virt_start=0xf5800000
        xen_changeset          : Wed Apr 07 12:38:28 2010 +0100
        21091:f28f1ee587c8
        xen_commandline        : dom0_mem=512M
        cc_compiler            : gcc version 4.4.1 (Ubuntu
        4.4.1-4ubuntu9) 
        cc_compile_by          : root
        cc_compile_domain      : 
        cc_compile_date        : Thu Apr  8 21:46:51 CEST 2010
        xend_config_format     : 4

But i cannot start any VMs...

        root@thohal-laptop:~# xm create /etc/xen/xmexample.hvm
        Using config file "/etc/xen/xmexample.hvm".
        Started domain ExampleHVMDomain (id=3)
        root@thohal-laptop:~# xm list
        Name                                        ID   Mem VCPUs
        State   Time(s)
        Domain-0                                     0   508     2
        r-----     32.8
        root@thohal-laptop:~# xm create test.cfg -c
        Using config file "/etc/xen/test.cfg".
        Error: (4, 'Out of memory', 'xc_dom_alloc_segment: segment
        ramdisk too large (0x9266 > 0x8000 - 0xad8 pages)\n')


HVM and PVM are not starting....
        
        root@thohal-laptop:~# mount | grep xen
        xenfs on /proc/xen type xenfs (rw)
        
And as Boris wrote packages are installed into 
        
        ls /usr/local/lib/python2.6/dist-packages/
        fsimage.so  grub  pygrub-0.3.egg-info  xen  xen-3.0.egg-info
        

I also tried a fresh install, with 

  # make install-tools PYTHON_PREFIX_ARG=

which didnt help, too :-(

Any Ideas?

Regards,

Thomas

        
        



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