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

Re: [Xen-users] XEN 4.0 on Ubuntu Karmic

To: xen-users@xxxxxxxxxxxxxxxxxxx, lists@xxxxxxxxx
Subject: Re: [Xen-users] XEN 4.0 on Ubuntu Karmic
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Thu, 8 Apr 2010 14:29:29 -0700 (PDT)
Cc:
Delivery-date: Thu, 08 Apr 2010 14:33:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1270762169; bh=OBfE+UtGsMJodPBnTbHXJbSDJ8XsXU/rklmVMqZGndQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=vuReUUqN5deog6OsluYAsuHHMIM9aiywwSoPbAfSjIJAiT2NvIF21CIL+IqOf3WjypXJ5LXrNk1MVQ1xkb/IuqTh6sIdN9EWtjCJO76olg02KTj5rBi52uVl6JSNZU9nd4acjHrtcWuQ0cph7BIpT2S3JpXohZSLzoFcrIvYfRk=
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:In-Reply-To:MIME-Version:Content-Type; b=5/jCqMY2tLfkKBHXC/ui1/57khiobIRQa7Dk9rYa1/zlW4ExiF+8PQRQKtl9ZdFCAvg6DxSF4GO2zzLOZNy8BKT5oq5sb6mU6oq22bx5UqC3w72ICEHfMkmA4bnX4s3LFbBsXI8b/9lEdXi5Rvq1ucl/3fSoyd8YspEkKi7v2Jc=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1270757651.521.56.camel@ubu7700>
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
Wait ...

 # dpkg -i /root/linux-image-2.6.32.10_pvops0.1_i386.deb - not mine
# depmod 2.6.32.10 - not mine
# update-initramfs -c -k 2.6.32.10 not mine

***************** this ones ***************************
# make
# make modules_install install
# mkinitramfs -o /boot/initrd-2.6.32.10.img 2.6.32.10 
*******************************************************

Don't touch grub at all

# apt-get install grub
# grub-install /dev/sda
# update-grub

This is link :-

http://www.linux.com/myblog-admin/virt-installvirt-manager-at-xen-40-rc8-263210-pvops-dom0-on-top-ubuntu-karmic-koala-server.html

Boris.

--- On Thu, 4/8/10, Thomas Halinka <lists@xxxxxxxxx> wrote:

From: Thomas Halinka <lists@xxxxxxxxx>
Subject: [Xen-users] XEN 4.0 on Ubuntu Karmic
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Thursday, April 8, 2010, 4:14 PM

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

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