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] Fresh ubuntu/11.10 install with xen/4.1; virsh doesn't r

To: Boris Derzhavets <bderzhavets@xxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Fresh ubuntu/11.10 install with xen/4.1; virsh doesn't run
From: Richard Broberg <rhbroberg@xxxxxxxxx>
Date: Fri, 21 Oct 2011 09:15:54 -0700 (PDT)
Cc:
Delivery-date: Fri, 21 Oct 2011 09:17:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1319213755; bh=WODh7VMVaL4WjeWxbsRn9cIRqAzdQlDYAwNoylvKRYM=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Ey+p3UhC/REqk8SzYRU3tEw2aWSljgiNYOG3gIA1OJ56rG1pS4mdnnkdoGF5VudtmCO4Cnb0yN1d2EAlfFMBZRfPf+H+SrI5BHB+zHy/GUq/+51rFUtf0BzGqPwu6qnQoakC0niSJxVz1hQQ1jIOrObhKEBAw3UCMgCSXfWi360=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=x1ADTgxR17ohrqIm9Xn4NHxXyzA4PpQZgiYVk7miFjnu/EGMJAZ0xeJHo1m71msQOoPoU35RpTE+ZqBu667mxLZu/XoB5UOSV9AoRtcknF1qt5J+9fkgzLgsLHfm+vd/5YcrYN5W53LzJW98t6hqXuFGtL9RaPtPlLQ1e/JNUUw=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1319175318.2790.YahooMailClassic@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <3E46B891-030D-4C81-B42C-74755E8B592B@xxxxxxxxx> <1319175318.2790.YahooMailClassic@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Richard Broberg <rhbroberg@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
That may indeed be the case, but I need more details in a response to fix the problem - as in - what to do to fix it.  The end result is that I have a xen-enabled kernel with xen installed, but cannot run any (useful) xen commands (virt-install fails, as noted).

I could not find any obvious document explaining "follow these guidelines for setting up xen on ubuntu/11.10" - but I'd be happy to be pointed to one.

I am very excited that xen is in the mainstream kernel - and I would like to see better adoption of xen as well.  Having it work out-of-the-box will help that cause.

From what I can tell, there seems to be some installation issues with respect to pathnames - keymap directories and qemu binaries and the like.


From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
To: xen-users@xxxxxxxxxxxxxxxxxxx; Richard Broberg <rhbroberg@xxxxxxxxx>
Sent: Friday, October 21, 2011 1:35 AM
Subject: Re: [Xen-users] Fresh ubuntu/11.10 install with xen/4.1; virsh doesn't run

virsh&libvirt environment is not set for Xen.

Boris.

--- On Thu, 10/20/11, Richard Broberg <rhbroberg@xxxxxxxxx> wrote:

From: Richard Broberg <rhbroberg@xxxxxxxxx>
Subject: [Xen-users] Fresh ubuntu/11.10 install with xen/4.1; virsh doesn't run
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Thursday, October 20, 2011, 10:31 PM

I'm using a fresh ubuntu/11.10 install (I've tried this on both x86 and x86_64 - same behavior on each).
After installation and applying outstanding o/s updates, I issue:

apt-get install -y xen-hypervisor-4.1-i386

I reboot, choose the xen choice from the grub menu at bootup.

root@ubuntu-server:~# virsh version
error: failed to get the hypervisor version
error: internal error Cannot find suitable emulator for i686
Compiled against library: libvir 0.9.2
Using library: libvir 0.9.2
Using API: QEMU 0.9.2

I can see services running:

root@ubuntu-server:~# pgrep xen -l
20 xenwatch
21 xenbus
946 xenstored
951 xenconsoled
1094 xend
1095 xend

root@ubuntu-server:~# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  7153     4     r-----    115.6

root@ubuntu-server:~# xl info
host                   : ubuntu-server
release                : 3.0.0-12-generic-pae
version                : #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011
machine                : i686
nr_cpus                : 4
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2400
hw_caps                : bfebfbff:20100000:00000000:00000940:0000e3bd:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 8157
free_memory            : 1730
free_cpus              : 0
xen_major              : 4
xen_minor              : 1
xen_extra              : .1
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          : unavailable
xen_commandline        : placeholder
cc_compiler            : gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
cc_compile_by          : doko
cc_compile_domain      : ubuntu.com
cc_compile_date        : Thu Oct  6 13:29:48 UTC 2011
xend_config_format     : 4


Also - running 'virt-install' fails as well:

virt-install --hvm --name demo --ram 1024 --nodisks --livecd --graphics vnc --cdrom /mnt/iso-images/linux/ubuntu-11.10-desktop-i386.iso
ERROR    unable to connect to 'localhost:8000': Connection refused





_______________________________________________
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