[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Fresh ubuntu/11.10 install with xen/4.1; virsh doesn't run


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, Richard Broberg <rhbroberg@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Thu, 20 Oct 2011 22:35:18 -0700 (PDT)
  • Cc:
  • Delivery-date: Thu, 20 Oct 2011 22:36:34 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=PfFCuJ+0cF/SqgqfHCAZ/pWLW7XUeX9T9FkPlDT2jQEG3VyhE+B75EmmVFjAK4D/tRepQ1j6aNeO4gaaQcJjg7kTQfSwQX9CVn4Gjh2VkCkokv+i4eFcjiWcr5EeAV9C2DHCiZAxYXKLLT2/B9/aexT41omuagRR6glgEg6q9w0=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.