Mail archive
alpine-devel

[alpine-devel] Xen: first experiments

From: Leonardo <rnalrd_at_gmail.com>
Date: Fri, 28 Sep 2012 11:08:18 +0200

Hi,

I've just started to play with alpine-xen-2.4.5-x86_64 iso + libvirt,
and I've hit the first issues.

So far I've followed http://wiki.alpinelinux.org/wiki/Xen_LiveCD, setup
my local storage, installed and started libvirt.

When creating a new domain via libvirt, it reports this error:

xc: detail: Failed allocation for dom 2: 2048 extents of order 0
xc: error: Could not allocate memory for HVM guest. (16 = Device or
resource busy): Internal error

Googling around I've found this:

"Sufficient memory was not reserved for fully virtualized guests when
creating new guests. Memory listed as available by the xm info command
could not be fully allocated to the guest. When attempting create a
fully virtualized guest with more than or equal to the maximum available
memory value, the following error message would appear:
Error: (1, 'Internal error', 'Could not allocate memory for HVM guest.\n (16 = Device or resource busy)')
This issue has been resolved by improving the memory balloon driver to
correctly allocate memory for fully virtualized guests and fully
virtualized guests using the Intel VT-d extensions for PCI passthrough.
(BZ#512041)"

(from http://www.centos.org/docs/5/html/5.5/Technical_Notes/xen.html
)

This is what "xl info" reports:

kvbn1:~# xl info
host : kvbn1
release : 3.3.8-grsec
version : #4-Alpine SMP Tue Jul 17 13:08:00 UTC 2012
machine : x86_64
nr_cpus : 8
nr_nodes : 2
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 2128
hw_caps :
bfebfbff:28100800:00000000:00003b40:009ce3bd:00000000:00000001:00000000
virt_caps : hvm hvm_directio
total_memory : 8179
free_memory : 909
free_cpus : 0
xen_major : 4
xen_minor : 1
xen_extra : .2
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 :
cc_compiler : gcc version 4.6.3 (Alpine 4.6.3-r0)
cc_compile_by : buildozer
cc_compile_domain : alpinelinux.org
cc_compile_date : Fri Jun 22 14:59:04 UTC 2012
xend_config_format : 4


I'd like also to try creating a domain without libvirt, and I tried
following this http://wiki.xen.org/wiki/Xen_Beginners_Guide. However I
cannot find on Alpine a xen-tools package to run "xen-create-image", for
creating a config file to feed to "xl" in order to create a domain.

I'm pretty new to Xen, so if anyone can give me a suggestion it will be
very much appreciated.

Thank you

- leonardo





---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Fri Sep 28 2012 - 11:08:18 UTC