[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.

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)

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)

On lun, 2013-09-30 at 11:27 +0530, cooldharma06 wrote:
hi,
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
Oh, so you are on Debian/Ubuntu... Which version (so that I can try to replicate your configuration) ?
* ./configure = --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-xen=yes --with-libxl=yes
Mmm... ok, that's the libvirt part. How did you install Xen? I'm sure I asked that already, but I can't remember whether or no you answered (if yes, sorry). Last time I tired to compile libvirt with libxl=yes on a Debian system it was failing because of some issues with the Xen Debian packages (or so I recall), although that was with Xen 4.3.0. So, did you also build Xen yourself or you apt-get installed it?
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
Mmm... I have to admit that the most of the testing I did when working on the patch for libvirt that introduced the call to libxl_get_physinfo() that is failing, happened on Xen 4.3, but I'm sure I tested it with 4.2 a couple of times, and I don't see why it wouldn't work there... If you tell me the precise version of the distro you're using I'll see if I can give it a try. 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)

hi, i am using debian flavor called BOSS. *uname -a* Linux boss 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux i installed XEN-4.2.1 from the source. *virsh # version* error: failed to connect to the hypervisor error: no valid connection error: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory * * *root@boss[src]#libvirtd -v* 2013-09-30 13:05:36.836+0000: 8199: info : libvirt version: 1.1.2 2013-09-30 13:05:36.836+0000: 8199: error : libxlCapsInitHost:86 : internal error: Failed to get node physical info from libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : libxlStateInitialize:1362 : cannot create capabilities for libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : virStateInitialize:840 : Initialization of LIBXL state driver failed: internal error: Failed to get node physical info from libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : daemonRunStateInit:909 : Driver state initialization failed *root@boss[src]#libvirtd --version* /opt/libvirt-1.1.2/daemon/.libs/lt-libvirtd (libvirt) 1.1.2 these are the things which is in my system. Regards, cooldharma06. On Mon, Sep 30, 2013 at 4:23 PM, Dario Faggioli <dario.faggioli@citrix.com>wrote:
On lun, 2013-09-30 at 11:27 +0530, cooldharma06 wrote:
hi,
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
Oh, so you are on Debian/Ubuntu... Which version (so that I can try to replicate your configuration) ?
* ./configure = --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-xen=yes --with-libxl=yes
Mmm... ok, that's the libvirt part. How did you install Xen? I'm sure I asked that already, but I can't remember whether or no you answered (if yes, sorry).
Last time I tired to compile libvirt with libxl=yes on a Debian system it was failing because of some issues with the Xen Debian packages (or so I recall), although that was with Xen 4.3.0.
So, did you also build Xen yourself or you apt-get installed it?
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
Mmm... I have to admit that the most of the testing I did when working on the patch for libvirt that introduced the call to libxl_get_physinfo() that is failing, happened on Xen 4.3, but I'm sure I tested it with 4.2 a couple of times, and I don't see why it wouldn't work there...
If you tell me the precise version of the distro you're using I'll see if I can give it a try.
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)

hi, i found something im my log: (libvirtd.log) i dont know about this. but it may be helpful for you. So i am forwarding this. 2013-09-26 11:43:58.507+0000: 10718: error : virDriverLoadModule:78 : failed to load module /usr/local/lib/libvirt/connection-driver/libvirt_driver_libxl.so /usr/lib/libxenlight.so.2.0: undefined symbol: xs_check_watch 2013-09-26 11:43:58.790+0000: 10729: error : virCommandWait:2348 : internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root USER=root LOGNAME=root /usr/bin/kvm -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory No accelerator found! 2013-09-26 11:43:58.838+0000: 10729: error : virCommandWait:2348 : internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root USER=root LOGNAME=root /usr/bin/kvm -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory No accelerator found! 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied ********* suggest me some solutions. Regards, cooldharma06 On Mon, Sep 30, 2013 at 6:36 PM, cooldharma06 <cooldharma06@gmail.com>wrote:
hi,
i am using debian flavor called BOSS.
*uname -a* Linux boss 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
i installed XEN-4.2.1 from the source.
*virsh # version* error: failed to connect to the hypervisor error: no valid connection error: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory * * *root@boss[src]#libvirtd -v* 2013-09-30 13:05:36.836+0000: 8199: info : libvirt version: 1.1.2 2013-09-30 13:05:36.836+0000: 8199: error : libxlCapsInitHost:86 : internal error: Failed to get node physical info from libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : libxlStateInitialize:1362 : cannot create capabilities for libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : virStateInitialize:840 : Initialization of LIBXL state driver failed: internal error: Failed to get node physical info from libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : daemonRunStateInit:909 : Driver state initialization failed
*root@boss[src]#libvirtd --version* /opt/libvirt-1.1.2/daemon/.libs/lt-libvirtd (libvirt) 1.1.2
these are the things which is in my system.
Regards, cooldharma06.
On Mon, Sep 30, 2013 at 4:23 PM, Dario Faggioli <dario.faggioli@citrix.com
wrote:
On lun, 2013-09-30 at 11:27 +0530, cooldharma06 wrote:
hi,
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
Oh, so you are on Debian/Ubuntu... Which version (so that I can try to replicate your configuration) ?
* ./configure = --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-xen=yes --with-libxl=yes
Mmm... ok, that's the libvirt part. How did you install Xen? I'm sure I asked that already, but I can't remember whether or no you answered (if yes, sorry).
Last time I tired to compile libvirt with libxl=yes on a Debian system it was failing because of some issues with the Xen Debian packages (or so I recall), although that was with Xen 4.3.0.
So, did you also build Xen yourself or you apt-get installed it?
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
Mmm... I have to admit that the most of the testing I did when working on the patch for libvirt that introduced the call to libxl_get_physinfo() that is failing, happened on Xen 4.3, but I'm sure I tested it with 4.2 a couple of times, and I don't see why it wouldn't work there...
If you tell me the precise version of the distro you're using I'll see if I can give it a try.
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)

On 10/01/2013 04:22 AM, cooldharma06 wrote:
hi,
[please don't top-post on technical lists]
'scsi-generic,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory No accelerator found!
Run 'virt-host-validate' and fix any problems it points out. In particular, you may have to enable virtualization in your bios and do a hard reboot to pick up on that change. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

cooldharma06 wrote:
hi,
i found something im my log: (libvirtd.log)
i dont know about this. but it may be helpful for you. So i am forwarding this.
2013-09-26 11:43:58.507+0000: 10718: error : virDriverLoadModule:78 : failed to load module /usr/local/lib/libvirt/connection-driver/libvirt_driver_libxl.so /usr/lib/libxenlight.so.2.0: undefined symbol: xs_check_watch
Seems your libxenlight.so is not linked properly. xs_check_watch is provided by libxenstore, which should be linked with libxenlight # ldd /usr/lib64/libxenlight.so.4.3 | grep libxenstore libxenstore.so.3.0 => /usr/lib64/libxenstore.so.3.0 (0x00007faa807a5000) As Dario mentioned elsewhere in this thread, you need to tell how you "installed" Xen 4.2.1 from source. Perhaps it is not configured/built/installed properly. Regards, Jim
2013-09-26 11:43:58.790+0000: 10729: error : virCommandWait:2348 : internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root USER=root LOGNAME=root /usr/bin/kvm -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory No accelerator found!
2013-09-26 11:43:58.838+0000: 10729: error : virCommandWait:2348 : internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root USER=root LOGNAME=root /usr/bin/kvm -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory No accelerator found!
2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied
********* suggest me some solutions.
Regards, cooldharma06
On Mon, Sep 30, 2013 at 6:36 PM, cooldharma06 <cooldharma06@gmail.com <mailto:cooldharma06@gmail.com>> wrote:
hi,
i am using debian flavor called BOSS.
*uname -a* Linux boss 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
i installed XEN-4.2.1 from the source.
*virsh # version* error: failed to connect to the hypervisor error: no valid connection error: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory * * *root@boss[src]#libvirtd -v* 2013-09-30 13:05:36.836+0000: 8199: info : libvirt version: 1.1.2 2013-09-30 13:05:36.836+0000: 8199: error : libxlCapsInitHost:86 : internal error: Failed to get node physical info from libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : libxlStateInitialize:1362 : cannot create capabilities for libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : virStateInitialize:840 : Initialization of LIBXL state driver failed: internal error: Failed to get node physical info from libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : daemonRunStateInit:909 : Driver state initialization failed
*root@boss[src]#libvirtd --version* /opt/libvirt-1.1.2/daemon/.libs/lt-libvirtd (libvirt) 1.1.2
these are the things which is in my system.
Regards, cooldharma06.
On Mon, Sep 30, 2013 at 4:23 PM, Dario Faggioli <dario.faggioli@citrix.com <mailto:dario.faggioli@citrix.com>> wrote:
On lun, 2013-09-30 at 11:27 +0530, cooldharma06 wrote: > hi, > 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 > Oh, so you are on Debian/Ubuntu... Which version (so that I can try to replicate your configuration) ?
> * ./configure = --prefix=/usr --localstatedir=/var --sysconfdir=/etc > --with-xen=yes --with-libxl=yes > Mmm... ok, that's the libvirt part. How did you install Xen? I'm sure I asked that already, but I can't remember whether or no you answered (if yes, sorry).
Last time I tired to compile libvirt with libxl=yes on a Debian system it was failing because of some issues with the Xen Debian packages (or so I recall), although that was with Xen 4.3.0.
So, did you also build Xen yourself or you apt-get installed it?
> 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 > Mmm... I have to admit that the most of the testing I did when working on the patch for libvirt that introduced the call to libxl_get_physinfo() that is failing, happened on Xen 4.3, but I'm sure I tested it with 4.2 a couple of times, and I don't see why it wouldn't work there...
If you tell me the precise version of the distro you're using I'll see if I can give it a try.
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)

hi, i prepared my xen-4.2.1 document with this mail. kindly refer the below attachment. i installed libvirt 1.1.1 like this it giving the following error: ./autogen.sh --system --with-xen=yes make /daemon/libvirtd -d then i checked with the virsh ->version virsh # version error: failed to connect to the hypervisor error: no valid connection error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory but virsh -version -> 1.1.1 and also libvirtd --version -> 1.1.1 how to solve the above error. Small request i found the libvirt but its not active kindly make active that one. It will help the beginners. regards, cooldharma06 On Fri, Oct 4, 2013 at 9:52 PM, Jim Fehlig <jfehlig@suse.com> wrote:
cooldharma06 wrote:
hi,
i found something im my log: (libvirtd.log)
i dont know about this. but it may be helpful for you. So i am forwarding this.
2013-09-26 11:43:58.507+0000: 10718: error : virDriverLoadModule:78 : failed to load module /usr/local/lib/libvirt/connection-driver/libvirt_driver_libxl.so /usr/lib/libxenlight.so.2.0: undefined symbol: xs_check_watch
Seems your libxenlight.so is not linked properly. xs_check_watch is provided by libxenstore, which should be linked with libxenlight
# ldd /usr/lib64/libxenlight.so.4.3 | grep libxenstore libxenstore.so.3.0 => /usr/lib64/libxenstore.so.3.0 (0x00007faa807a5000)
As Dario mentioned elsewhere in this thread, you need to tell how you "installed" Xen 4.2.1 from source. Perhaps it is not configured/built/installed properly.
Regards, Jim
2013-09-26 11:43:58.790+0000: 10729: error : virCommandWait:2348 : internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root USER=root LOGNAME=root /usr/bin/kvm -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory No accelerator found!
2013-09-26 11:43:58.838+0000: 10729: error : virCommandWait:2348 : internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root USER=root LOGNAME=root /usr/bin/kvm -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory No accelerator found!
2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied
********* suggest me some solutions.
Regards, cooldharma06
On Mon, Sep 30, 2013 at 6:36 PM, cooldharma06 <cooldharma06@gmail.com <mailto:cooldharma06@gmail.com>> wrote:
hi,
i am using debian flavor called BOSS.
*uname -a* Linux boss 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
i installed XEN-4.2.1 from the source.
*virsh # version* error: failed to connect to the hypervisor error: no valid connection error: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory * * *root@boss[src]#libvirtd -v* 2013-09-30 13:05:36.836+0000: 8199: info : libvirt version: 1.1.2 2013-09-30 13:05:36.836+0000: 8199: error : libxlCapsInitHost:86 : internal error: Failed to get node physical info from libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : libxlStateInitialize:1362 : cannot create capabilities for libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : virStateInitialize:840 : Initialization of LIBXL state driver failed: internal error: Failed to get node physical info from libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : daemonRunStateInit:909 : Driver state initialization failed
*root@boss[src]#libvirtd --version* /opt/libvirt-1.1.2/daemon/.libs/lt-libvirtd (libvirt) 1.1.2
these are the things which is in my system.
Regards, cooldharma06.
On Mon, Sep 30, 2013 at 4:23 PM, Dario Faggioli <dario.faggioli@citrix.com <mailto:dario.faggioli@citrix.com>> wrote:
On lun, 2013-09-30 at 11:27 +0530, cooldharma06 wrote: > hi, > 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 > Oh, so you are on Debian/Ubuntu... Which version (so that I can try to replicate your configuration) ?
> * ./configure = --prefix=/usr --localstatedir=/var --sysconfdir=/etc > --with-xen=yes --with-libxl=yes > Mmm... ok, that's the libvirt part. How did you install Xen? I'm sure I asked that already, but I can't remember whether or no you answered (if yes, sorry).
Last time I tired to compile libvirt with libxl=yes on a Debian system it was failing because of some issues with the Xen Debian packages (or so I recall), although that was with Xen 4.3.0.
So, did you also build Xen yourself or you apt-get installed it?
> 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 > Mmm... I have to admit that the most of the testing I did when working on the patch for libvirt that introduced the call to libxl_get_physinfo() that is failing, happened on Xen 4.3, but I'm sure I tested it with 4.2 a couple of times, and I don't see why it wouldn't work there...
If you tell me the precise version of the distro you're using I'll see if I can give it a try.
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)

hi, i removed all libvirt things form my system and i installed libvirt-0.9.12 frm my repository. then i installed libvirt-1.1.2 from the source with following commands. ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-xen=yes --with-libxl=yes make make install now its works with XM. but with xl its not working... i attached the corresponding screenshots also. kindly refer the attachment. Regards, cooldharma06 On Sat, Oct 5, 2013 at 4:20 PM, cooldharma06 <cooldharma06@gmail.com> wrote:
hi,
i prepared my xen-4.2.1 document with this mail. kindly refer the below attachment.
i installed libvirt 1.1.1 like this it giving the following error:
./autogen.sh --system --with-xen=yes make /daemon/libvirtd -d
then i checked with the virsh ->version virsh # version error: failed to connect to the hypervisor error: no valid connection error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
but virsh -version -> 1.1.1 and also libvirtd --version -> 1.1.1
how to solve the above error.
Small request i found the libvirt but its not active kindly make active that one. It will help the beginners.
regards, cooldharma06
On Fri, Oct 4, 2013 at 9:52 PM, Jim Fehlig <jfehlig@suse.com> wrote:
cooldharma06 wrote:
hi,
i found something im my log: (libvirtd.log)
i dont know about this. but it may be helpful for you. So i am forwarding this.
2013-09-26 11:43:58.507+0000: 10718: error : virDriverLoadModule:78 : failed to load module /usr/local/lib/libvirt/connection-driver/libvirt_driver_libxl.so /usr/lib/libxenlight.so.2.0: undefined symbol: xs_check_watch
Seems your libxenlight.so is not linked properly. xs_check_watch is provided by libxenstore, which should be linked with libxenlight
# ldd /usr/lib64/libxenlight.so.4.3 | grep libxenstore libxenstore.so.3.0 => /usr/lib64/libxenstore.so.3.0 (0x00007faa807a5000)
As Dario mentioned elsewhere in this thread, you need to tell how you "installed" Xen 4.2.1 from source. Perhaps it is not configured/built/installed properly.
Regards, Jim
2013-09-26 11:43:58.790+0000: 10729: error : virCommandWait:2348 : internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root USER=root LOGNAME=root /usr/bin/kvm -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory No accelerator found!
2013-09-26 11:43:58.838+0000: 10729: error : virCommandWait:2348 : internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root USER=root LOGNAME=root /usr/bin/kvm -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory No accelerator found!
2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied 2013-09-26 12:20:14.030+0000: 10721: error : xenHypervisorDoV2Sys:1011 : Unable to issue hypervisor ioctl 3166208: Permission denied
********* suggest me some solutions.
Regards, cooldharma06
On Mon, Sep 30, 2013 at 6:36 PM, cooldharma06 <cooldharma06@gmail.com <mailto:cooldharma06@gmail.com>> wrote:
hi,
i am using debian flavor called BOSS.
*uname -a* Linux boss 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
i installed XEN-4.2.1 from the source.
*virsh # version* error: failed to connect to the hypervisor error: no valid connection error: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory * * *root@boss[src]#libvirtd -v* 2013-09-30 13:05:36.836+0000: 8199: info : libvirt version: 1.1.2 2013-09-30 13:05:36.836+0000: 8199: error : libxlCapsInitHost:86 : internal error: Failed to get node physical info from libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : libxlStateInitialize:1362 : cannot create capabilities for libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : virStateInitialize:840 : Initialization of LIBXL state driver failed: internal error: Failed to get node physical info from libxenlight 2013-09-30 13:05:36.836+0000: 8199: error : daemonRunStateInit:909 : Driver state initialization failed
*root@boss[src]#libvirtd --version* /opt/libvirt-1.1.2/daemon/.libs/lt-libvirtd (libvirt) 1.1.2
these are the things which is in my system.
Regards, cooldharma06.
On Mon, Sep 30, 2013 at 4:23 PM, Dario Faggioli <dario.faggioli@citrix.com <mailto:dario.faggioli@citrix.com>> wrote:
On lun, 2013-09-30 at 11:27 +0530, cooldharma06 wrote: > hi, > 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 > Oh, so you are on Debian/Ubuntu... Which version (so that I can try to replicate your configuration) ?
> * ./configure = --prefix=/usr --localstatedir=/var --sysconfdir=/etc > --with-xen=yes --with-libxl=yes > Mmm... ok, that's the libvirt part. How did you install Xen? I'm sure I asked that already, but I can't remember whether or no you answered (if yes, sorry).
Last time I tired to compile libvirt with libxl=yes on a Debian system it was failing because of some issues with the Xen Debian packages (or so I recall), although that was with Xen 4.3.0.
So, did you also build Xen yourself or you apt-get installed it?
> 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 > Mmm... I have to admit that the most of the testing I did when working on the patch for libvirt that introduced the call to libxl_get_physinfo() that is failing, happened on Xen 4.3, but I'm sure I tested it with 4.2 a couple of times, and I don't see why it wouldn't work there...
If you tell me the precise version of the distro you're using I'll see if I can give it a try.
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)

On lun, 2013-10-07 at 13:58 +0530, cooldharma06 wrote:
hi,
i removed all libvirt things form my system and i installed libvirt-0.9.12 frm my repository.
then i installed libvirt-1.1.2 from the source with following commands.
Does this mean that you have two copies of libvirt installed, one from the distro packages (0.9.12) and one from sources (1.1.2) at the same time on the same box? 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)

On 10/07/2013 02:28 AM, cooldharma06 wrote:
hi,
i removed all libvirt things form my system and i installed libvirt-0.9.12 frm my repository.
then i installed libvirt-1.1.2 from the source with following commands.
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-xen=yes --with-libxl=yes
make
make install
now its works with XM. but with xl its not working...
i attached the corresponding screenshots also. kindly refer the attachment.
Sending 271k of attachments to multiple mailing lists is considered poor netiquette - the effort to send that much from the mail server to the large number of recipients of each list, as well as the fact that not all list recipients have broadband access and have to pay for every byte downloaded, means that it is much nicer to copy-and-paste the text contents of error messages, and/or host your screenshots on an external site and merely post the URL to your screenshots rather than attaching them to the mail. Also, we ask that you avoid top-posting on technical lists. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On Sat, 2013-10-05 at 16:20 +0530, cooldharma06 wrote:
i prepared my xen-4.2.1 document with this mail. kindly refer the below attachment.
You should check that you haven't got any stale Xen libraries from a previous installation lying around. You can check if they are being picked up by using ldd as Jim demonstrated. After cleaning up rerunning ldconfig is usually a good idea. Ian

hi sorry for flooding the mail to you. i installed Libvirt 1.1.3 with xen 4.2.1 its working with xen xm and its not working with xl. and also i installed libvirt 1.1.2 with xen 4.2.1 its also working with xen xm and not xl. In my friend system, i installed xen 4.3 with libvirt 1.1.3. its working with both xl and xm. i followed the same procedure for both the installation. i attached both the things libvirt with xl and xm in the below attachment. i am confused with this things. i attached the screenshot also. Anyone clear me. Regards, cooldharma06 On Mon, Oct 7, 2013 at 2:17 PM, Ian Campbell <Ian.Campbell@citrix.com>wrote:
On Sat, 2013-10-05 at 16:20 +0530, cooldharma06 wrote:
i prepared my xen-4.2.1 document with this mail. kindly refer the below attachment.
You should check that you haven't got any stale Xen libraries from a previous installation lying around.
You can check if they are being picked up by using ldd as Jim demonstrated.
After cleaning up rerunning ldconfig is usually a good idea.
Ian

On Mon, 2013-10-07 at 15:45 +0530, cooldharma06 wrote:
hi
sorry for flooding the mail to you.
Did you read my mail and act on it? Just repeating yourself is not going to lead to your problem getting solved.
i installed Libvirt 1.1.3 with xen 4.2.1 its working with xen xm and its not working with xl.
and also i installed libvirt 1.1.2 with xen 4.2.1 its also working with xen xm and not xl.
In my friend system, i installed xen 4.3 with libvirt 1.1.3. its working with both xl and xm.
i followed the same procedure for both the installation.
i attached both the things libvirt with xl and xm in the below attachment.
i am confused with this things.
i attached the screenshot also. Anyone clear me.
Regards, cooldharma06
On Mon, Oct 7, 2013 at 2:17 PM, Ian Campbell <Ian.Campbell@citrix.com> wrote: On Sat, 2013-10-05 at 16:20 +0530, cooldharma06 wrote:
> i prepared my xen-4.2.1 document with this mail. kindly refer the > below attachment.
You should check that you haven't got any stale Xen libraries from a previous installation lying around.
You can check if they are being picked up by using ldd as Jim demonstrated.
After cleaning up rerunning ldconfig is usually a good idea.
Ian

On 10/07/2013 04:15 AM, cooldharma06 wrote:
hi
sorry for flooding the mail to you.
Sheesh - this one was 518k. I've modified the libvirt-users list moderation queue to reject anything larger than 100k (previously, it was at the (poor) mailman default of 4M). Apologies to recipients that we didn't have size limits enabled on libvirt-users earlier (the libvir-list has been size filtering for some time already). -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On sab, 2013-10-05 at 16:20 +0530, cooldharma06 wrote:
hi,
i prepared my xen-4.2.1 document with this mail. kindly refer the below attachment.
Geez... A doc file! :-O I know that these days OpenOffice is pretty good at handling those (and perhaps there are even alternatives) but, please, could you use something that is both: - OSS friendly - mailing-list/MUA friendly A test file either attached or embedded in the e-mail would be ok. Anyway, I checked out your document and it still is no working here, building xen fails. What's in your # cat /etc/debian_release What does $ gcc -v says?
i installed libvirt 1.1.1 like this it giving the following error:
./autogen.sh --system --with-xen=yes
You need a --with-libx here, but I see in another e-mail that you tried that already. Actually, looking at the whole thread, it really looks like you need to make sure what you are actually building and linking against, as Jim and Ian suggested.
Small request i found the libvirt but its not active kindly make active that one. It will help the beginners.
Sorry, what does this means exactly? "make active" what? 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)

On lun, 2013-09-30 at 18:36 +0530, cooldharma06 wrote:
hi,
Hey, sorry for replying back only now, but I was busy with other stuff and could not go through the steps of reproducing your configuration. Now I'm trying, but it seems I'm failing at it... :-(
i am using debian flavor called BOSS.
Never heard of that, and the website is not telling me whether it is based on stable, unstable or testing. At some point of this conversation, I guessed it was unstable, but I can't be sure... Can you check that?
uname -a Linux boss 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
i installed XEN-4.2.1 from the source.
Actually, can you report _how_ you did that? Installing 4.2.x on Debian unstable is failing in a bunch of weird ways here. What is it the exact procedure that you followed? 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)

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.
participants (5)
-
cooldharma06
-
Dario Faggioli
-
Eric Blake
-
Ian Campbell
-
Jim Fehlig