cooldharma06
2013-Sep-27 07:26 UTC
[libvirt-users] (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
hi i want to install libvirt-1.1.2 in xen -4.2.1. i installed int he following manner: 1. downloaded source from libvirt/org (libvirt-1.1.2) 2. untarred & run ./configure --with-xen=yes --with-libxl=yes 3. then make and make install. i also enabled the (xend-unix-server yes) in xend config file. i run libvirtd -v and getting the followning error: root@boss[libexec]#libvirtd -v 2013-09-27 07:24:46.501+0000: 29517: info : libvirt version: 1.1.2 2013-09-27 07:24:46.501+0000: 29517: error : libxlCapsInitHost:86 : internal error: Failed to get node physical info from libxenlight 2013-09-27 07:24:46.501+0000: 29517: error : libxlStateInitialize:1362 : cannot create capabilities for libxenlight 2013-09-27 07:24:46.502+0000: 29517: error : virStateInitialize:840 : Initialization of LIBXL state driver failed: internal error: Failed to get node physical info from libxenlight 2013-09-27 07:24:46.502+0000: 29517: error : daemonRunStateInit:909 : Driver state initialization failed If i missed anything in the installation plz correct me. and guide me to solve this error. regards, cooldharma06.
Dario Faggioli
2013-Sep-27 16:51 UTC
Re: [libvirt-users] (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
On ven, 2013-09-27 at 12:56 +0530, cooldharma06 wrote:> root@boss[libexec]#libvirtd -v > 2013-09-27 07:24:46.501+0000: 29517: info : libvirt version: 1.1.2 > 2013-09-27 07:24:46.501+0000: 29517: error : libxlCapsInitHost:86 : > internal error: Failed to get node physical info from libxenlight > 2013-09-27 07:24:46.501+0000: 29517: error : > libxlStateInitialize:1362 : cannot create capabilities for libxenlight > 2013-09-27 07:24:46.502+0000: 29517: error : virStateInitialize:840 : > Initialization of LIBXL state driver failed: internal error: Failed to > get node physical info from libxenlight > 2013-09-27 07:24:46.502+0000: 29517: error : daemonRunStateInit:909 : > Driver state initialization failed >So, it appears it is this piece of code that is failing, in src/libxl/libxl_conf.c: static int libxlCapsInitHost(libxl_ctx *ctx, virCapsPtr caps) { libxl_physinfo phy_info; int host_pae; if (libxl_get_physinfo(ctx, &phy_info) != 0) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("Failed to get node physical info from libxenlight")); return -1; } ... } Weird... I'm sorry I have to run now... Jim, any clue? I'll try to investigate more on Monday. Meanwhile, can we see the output of the following commands (with or without libvirtd running, that shouldn't matter). ~# xl info -n ~# xl list -n ~# xl vcpu-list Thanks and Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
cooldharma06
2013-Sep-30 05:57 UTC
Re: [libvirt-users] (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
hi, thanks for your response. i cleaned that above one and installed in this following steps: * sudo apt-get install gcc make pkg-config libxml2-dev libgnutils-dev libdevmapper-dev libcurl4-gnutls-dev python-dev libpciaccess-dev libxen-dev libnl-dev * ./configure = --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-xen=yes --with-libxl=yes * make * make install now i am getting the same error as mentioned in the previous mail. The output of the above mentioned commands are: *root@boss[daemon]#xl info -n* host : boss release : 3.2.0-4-amd64 version : #1 SMP Debian 3.2.41-2 machine : x86_64 nr_cpus : 8 max_cpu_id : 7 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 2 cpu_mhz : 3392 hw_caps : bfebfbff:28100800:00000000:00007f40:77bae3ff:00000000:00000001:00000281 virt_caps : hvm total_memory : 3970 free_memory : 442 sharing_freed_memory : 0 sharing_used_memory : 0 free_cpus : 0 cpu_topology : cpu: core socket node 0: 0 0 0 1: 0 0 0 2: 1 0 0 3: 1 0 0 4: 2 0 0 5: 2 0 0 6: 3 0 0 7: 3 0 0 numa_info : node: memsize memfree distances 0: 4590 442 10 xen_major : 4 xen_minor : 2 xen_extra : .1 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 : placeholder cc_compiler : gcc (Debian 4.7.2-5) 4.7.2 cc_compile_by : root cc_compile_domain : cc_compile_date : Tue Jul 30 10:23:51 IST 2013 xend_config_format : 4 *root@boss[daemon]#xl list -n* option `n'' not supported. Name ID Mem VCPUs State Time(s) Domain-0 0 3476 8 r----- 327.1 *root@boss[daemon]#xl vcpu-list* Name ID VCPU CPU State Time(s) CPU Affinity Domain-0 0 0 7 -b- 55.4 any cpu Domain-0 0 1 5 -b- 40.6 any cpu Domain-0 0 2 1 -b- 43.8 any cpu Domain-0 0 3 3 r-- 33.0 any cpu Domain-0 0 4 6 -b- 44.9 any cpu Domain-0 0 5 4 -b- 39.5 any cpu Domain-0 0 6 2 -b- 41.5 any cpu Domain-0 0 7 0 -b- 35.4 any cpu suggest me some solution to solve this error. thanks & Regards, cooldharma06. On Fri, Sep 27, 2013 at 10:21 PM, Dario Faggioli <dario.faggioli@citrix.com>wrote:> On ven, 2013-09-27 at 12:56 +0530, cooldharma06 wrote: > > > > root@boss[libexec]#libvirtd -v > > 2013-09-27 07:24:46.501+0000: 29517: info : libvirt version: 1.1.2 > > 2013-09-27 07:24:46.501+0000: 29517: error : libxlCapsInitHost:86 : > > internal error: Failed to get node physical info from libxenlight > > 2013-09-27 07:24:46.501+0000: 29517: error : > > libxlStateInitialize:1362 : cannot create capabilities for libxenlight > > 2013-09-27 07:24:46.502+0000: 29517: error : virStateInitialize:840 : > > Initialization of LIBXL state driver failed: internal error: Failed to > > get node physical info from libxenlight > > 2013-09-27 07:24:46.502+0000: 29517: error : daemonRunStateInit:909 : > > Driver state initialization failed > > > So, it appears it is this piece of code that is failing, in > src/libxl/libxl_conf.c: > > static int > libxlCapsInitHost(libxl_ctx *ctx, virCapsPtr caps) > { > libxl_physinfo phy_info; > int host_pae; > > if (libxl_get_physinfo(ctx, &phy_info) != 0) { > virReportError(VIR_ERR_INTERNAL_ERROR, "%s", > _("Failed to get node physical info from > libxenlight")); > return -1; > } > > ... > } > > Weird... I''m sorry I have to run now... Jim, any clue? > > I''ll try to investigate more on Monday. > > Meanwhile, can we see the output of the following commands (with or > without libvirtd running, that shouldn''t matter). > > ~# xl info -n > ~# xl list -n > ~# xl vcpu-list > > Thanks and Regards, > Dario > > -- > <<This happens because I choose it to happen!>> (Raistlin Majere) > ----------------------------------------------------------------- > Dario Faggioli, Ph.D, http://about.me/dario.faggioli > Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
cooldharma06
2013-Sep-30 05:57 UTC
Re: [libvirt-users] (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
hi, thanks for your response. i cleaned that above one and installed in this following steps: * sudo apt-get install gcc make pkg-config libxml2-dev libgnutils-dev libdevmapper-dev libcurl4-gnutls-dev python-dev libpciaccess-dev libxen-dev libnl-dev * ./configure = --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-xen=yes --with-libxl=yes * make * make install now i am getting the same error as mentioned in the previous mail. The output of the above mentioned commands are: *root@boss[daemon]#xl info -n* host : boss release : 3.2.0-4-amd64 version : #1 SMP Debian 3.2.41-2 machine : x86_64 nr_cpus : 8 max_cpu_id : 7 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 2 cpu_mhz : 3392 hw_caps : bfebfbff:28100800:00000000:00007f40:77bae3ff:00000000:00000001:00000281 virt_caps : hvm total_memory : 3970 free_memory : 442 sharing_freed_memory : 0 sharing_used_memory : 0 free_cpus : 0 cpu_topology : cpu: core socket node 0: 0 0 0 1: 0 0 0 2: 1 0 0 3: 1 0 0 4: 2 0 0 5: 2 0 0 6: 3 0 0 7: 3 0 0 numa_info : node: memsize memfree distances 0: 4590 442 10 xen_major : 4 xen_minor : 2 xen_extra : .1 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 : placeholder cc_compiler : gcc (Debian 4.7.2-5) 4.7.2 cc_compile_by : root cc_compile_domain : cc_compile_date : Tue Jul 30 10:23:51 IST 2013 xend_config_format : 4 *root@boss[daemon]#xl list -n* option `n' not supported. Name ID Mem VCPUs State Time(s) Domain-0 0 3476 8 r----- 327.1 *root@boss[daemon]#xl vcpu-list* Name ID VCPU CPU State Time(s) CPU Affinity Domain-0 0 0 7 -b- 55.4 any cpu Domain-0 0 1 5 -b- 40.6 any cpu Domain-0 0 2 1 -b- 43.8 any cpu Domain-0 0 3 3 r-- 33.0 any cpu Domain-0 0 4 6 -b- 44.9 any cpu Domain-0 0 5 4 -b- 39.5 any cpu Domain-0 0 6 2 -b- 41.5 any cpu Domain-0 0 7 0 -b- 35.4 any cpu suggest me some solution to solve this error. thanks & Regards, cooldharma06. On Fri, Sep 27, 2013 at 10:21 PM, Dario Faggioli <dario.faggioli@citrix.com>wrote:> On ven, 2013-09-27 at 12:56 +0530, cooldharma06 wrote: > > > > root@boss[libexec]#libvirtd -v > > 2013-09-27 07:24:46.501+0000: 29517: info : libvirt version: 1.1.2 > > 2013-09-27 07:24:46.501+0000: 29517: error : libxlCapsInitHost:86 : > > internal error: Failed to get node physical info from libxenlight > > 2013-09-27 07:24:46.501+0000: 29517: error : > > libxlStateInitialize:1362 : cannot create capabilities for libxenlight > > 2013-09-27 07:24:46.502+0000: 29517: error : virStateInitialize:840 : > > Initialization of LIBXL state driver failed: internal error: Failed to > > get node physical info from libxenlight > > 2013-09-27 07:24:46.502+0000: 29517: error : daemonRunStateInit:909 : > > Driver state initialization failed > > > So, it appears it is this piece of code that is failing, in > src/libxl/libxl_conf.c: > > static int > libxlCapsInitHost(libxl_ctx *ctx, virCapsPtr caps) > { > libxl_physinfo phy_info; > int host_pae; > > if (libxl_get_physinfo(ctx, &phy_info) != 0) { > virReportError(VIR_ERR_INTERNAL_ERROR, "%s", > _("Failed to get node physical info from > libxenlight")); > return -1; > } > > ... > } > > Weird... I'm sorry I have to run now... Jim, any clue? > > I'll try to investigate more on Monday. > > Meanwhile, can we see the output of the following commands (with or > without libvirtd running, that shouldn't matter). > > ~# xl info -n > ~# xl list -n > ~# xl vcpu-list > > Thanks and Regards, > Dario > > -- > <<This happens because I choose it to happen!>> (Raistlin Majere) > ----------------------------------------------------------------- > Dario Faggioli, Ph.D, http://about.me/dario.faggioli > Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) > >
Ian Campbell
2013-Sep-30 09:21 UTC
Re: (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
On Fri, 2013-09-27 at 12:56 +0530, cooldharma06 wrote:> i also enabled the (xend-unix-server yes) in xend config file.You should not run the xend process if you want to use libxl.> and guide me to solve this error.Do commands like "xl list" and "xl info" work? Ian.
Ian Campbell
2013-Sep-30 09:21 UTC
Re: [libvirt-users] [Xen-users] (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
On Fri, 2013-09-27 at 12:56 +0530, cooldharma06 wrote:> i also enabled the (xend-unix-server yes) in xend config file.You should not run the xend process if you want to use libxl.> and guide me to solve this error.Do commands like "xl list" and "xl info" work? Ian.
Reasonably Related Threads
- (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
- Re: (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
- Re: (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
- Re: [libvirt-users] (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
- Re: (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2