Installed both Xen-4.1.3 and 4.2.1 on the same system - Ubuntu Precise.
Used same method of installing - from source (''make world''
etc.)
4.2.1 works as expected.
4.1.3 gives this error:
$ sudo xl list
libxl: error: libxl.c:556:libxl_list_domain: geting domain info list:
Permission denied
libxl_domain_infolist failed.
$ sudo xl info
host : DaneelOlivaw
release : 3.2.0-35-generic
version : #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012
machine : x86_64
libxl: error: libxl.c:3648:libxl_get_physinfo: getting physinfo:
Permission denied
libxl_physinfo failed.
libxl: error: libxl.c:3973:libxl_get_scheduler: getting domain info
list: Permission denied
xen_major : 4
xen_minor : 1
xen_extra : .3
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 : (null)
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : unavailable
xen_commandline : placeholder
cc_compiler : gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-11precise2)
cc_compile_by : skippy
cc_compile_domain :
cc_compile_date : Wed Jan 9 14:26:24 EST 2013
xend_config_format : 4
Same result from just running as root (su).
Rebooted several times - no difference.
Any suggestions?
On Wed, 2013-01-09 at 21:33 +0000, Skippy VonDrake wrote:> Installed both Xen-4.1.3 and 4.2.1 on the same system - Ubuntu Precise. > > Used same method of installing - from source (''make world'' etc.) > 4.2.1 works as expected. > > 4.1.3 gives this error: > > $ sudo xl list > libxl: error: libxl.c:556:libxl_list_domain: geting domain info list: > Permission deniedThis is almost always down to a mistmatch between the tools and the hypervisor, if you are running the 4.1.3 hypervisor then this suggests that it is likely that you are picking up the 4.2.1 version of xl. I expect you installed 4.1.3 first and then 4.2.1 so the 4.2.1 tools are what is currently on the system. Xen doesn''t really support multiple concurrent installations like this, although the Debian (and therefore the Ubuntu) packages do patch things in various ways to improve on this (I''m not sure if you are installing from source or packages though). Ian.