Hi list, I use xen-4.1.1 for our project. We made a patch for xen-4.1.1 for supporting our ''HLFS'' driver. (The patch is in the attachment, and our project''s sources is located here: http://code.google.com/p/cloudxy/).After adding this patch i do following commands with xen (Note, change the drivers/Makefile and control/Makefile for HLFS directory directing to our hlfs source dir). # pwd /root/xen-4.1.1/tools #make clean ... #make ... #make install And then i restart xencommons and xend. #/etc/init.d/xencommons restart #/etc/init.d/xend restart # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 909 2 r----- 452.4 # xm info host : local00212201021a.zte.com.cn release : 2.6.32.39 version : #1 SMP Sun Feb 19 11:21:09 CST 2012 machine : x86_64 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 1795 hw_caps : bfebfbff:20100800:00000000:00000940:0000e31d:00000000:00000001:00000000 virt_caps : total_memory : 984 free_memory : 60 free_cpus : 0 xen_major : 4 xen_minor : 1 xen_extra : .1 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable xen_commandline : cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-51) cc_compile_by : root cc_compile_domain : zte.com.cn cc_compile_date : Thu Feb 23 23:32:01 CST 2012 xend_config_format : 4 At last, i do tap-ctl to create our hlfs type device node. # tap-ctl create -a hlfs:local:///tmp/testenv/testfs /dev/xen/blktap-2/tapdev0 I see the /var/log/messages like following: # cat /var/log/messages | tail -10 Feb 24 02:42:43 local00212201021a avahi-daemon[4144]: Joining mDNS multicast group on interface peth0.IPv6 with address fe80::221:22ff:fe01:21a. Feb 24 02:42:43 local00212201021a avahi-daemon[4144]: Registering new address record for fe80::221:22ff:fe01:21a on peth0. Feb 24 02:42:43 local00212201021a avahi-daemon[4144]: New relevant interface eth0.IPv6 for mDNS. Feb 24 02:42:43 local00212201021a avahi-daemon[4144]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::221:22ff:fe01:21a. Feb 24 02:42:43 local00212201021a avahi-daemon[4144]: Registering new address record for fe80::221:22ff:fe01:21a on eth0. Feb 24 02:42:47 local00212201021a dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 Feb 24 02:42:47 local00212201021a dhclient: DHCPACK from 192.168.1.1 Feb 24 02:42:47 local00212201021a NET[31575]: /sbin/dhclient-script : updated /etc/resolv.conf Feb 24 02:42:47 local00212201021a dhclient: bound to 192.168.1.4 -- renewal in 32898 seconds. Feb 24 02:52:17 local00212201021a tap-ctl: tap-err:tap_ctl_wait: tapdisk2[31763] failed, status 127 The log says tapdisk2 happens to an error. Can anyone give me some suggestions to deal with this problem? -- Thanks Harry Wei _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Hi list, I use xen-4.1.1 for our project. We made a patch for xen-4.1.1 for supporting our ''HLFS'' driver. (The patch is in the attachment, and our project''s sources is located here: http://code.google.com/p/cloudxy/).After adding this patch i do following commands with xen (Note, change the drivers/Makefile and control/Makefile for HLFS directory directing to our hlfs source dir). # pwd /root/xen-4.1.1/tools #make clean ... #make ... #make install And then i restart xencommons and xend. #/etc/init.d/xencommons restart #/etc/init.d/xend restart # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 909 2 r----- 452.4 # xm info host : local00212201021a.zte.com.cn release : 2.6.32.39 version : #1 SMP Sun Feb 19 11:21:09 CST 2012 machine : x86_64 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 1795 hw_caps : bfebfbff:20100800:00000000:00000940:0000e31d:00000000:00000001:00000000 virt_caps : total_memory : 984 free_memory : 60 free_cpus : 0 xen_major : 4 xen_minor : 1 xen_extra : .1 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable xen_commandline : cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-51) cc_compile_by : root cc_compile_domain : zte.com.cn cc_compile_date : Thu Feb 23 23:32:01 CST 2012 xend_config_format : 4 At last, i do tap-ctl to create our hlfs type device node. # tap-ctl create -a hlfs:local:///tmp/testenv/testfs /dev/xen/blktap-2/tapdev0 I see the /var/log/messages like following: # cat /var/log/messages | tail -10 Feb 24 02:42:43 local00212201021a avahi-daemon[4144]: Joining mDNS multicast group on interface peth0.IPv6 with address fe80::221:22ff:fe01:21a. Feb 24 02:42:43 local00212201021a avahi-daemon[4144]: Registering new address record for fe80::221:22ff:fe01:21a on peth0. Feb 24 02:42:43 local00212201021a avahi-daemon[4144]: New relevant interface eth0.IPv6 for mDNS. Feb 24 02:42:43 local00212201021a avahi-daemon[4144]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::221:22ff:fe01:21a. Feb 24 02:42:43 local00212201021a avahi-daemon[4144]: Registering new address record for fe80::221:22ff:fe01:21a on eth0. Feb 24 02:42:47 local00212201021a dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 Feb 24 02:42:47 local00212201021a dhclient: DHCPACK from 192.168.1.1 Feb 24 02:42:47 local00212201021a NET[31575]: /sbin/dhclient-script : updated /etc/resolv.conf Feb 24 02:42:47 local00212201021a dhclient: bound to 192.168.1.4 -- renewal in 32898 seconds. Feb 24 02:52:17 local00212201021a tap-ctl: tap-err:tap_ctl_wait: tapdisk2[31763] failed, status 127 The log says tapdisk2 happens to an error. Can anyone give me some suggestions to deal with this problem? -- Thanks Harry Wei _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi, 2012/2/23 harryxiyou <harryxiyou@gmail.com>:> Feb 24 02:52:17 local00212201021a tap-ctl: tap-err:tap_ctl_wait: > tapdisk2[31763] failed, status 127 > > The log says tapdisk2 happens to an error.127 is usually a file not found? Flo -- the purpose of libvirt is to provide an abstraction layer hiding all xen features added since 2006 until they were finally understood and copied by the kvm devs.
Hi, 2012/2/23 harryxiyou <harryxiyou@gmail.com>:> Feb 24 02:52:17 local00212201021a tap-ctl: tap-err:tap_ctl_wait: > tapdisk2[31763] failed, status 127 > > The log says tapdisk2 happens to an error.127 is usually a file not found? Flo -- the purpose of libvirt is to provide an abstraction layer hiding all xen features added since 2006 until they were finally understood and copied by the kvm devs.
On Fri, Feb 24, 2012 at 4:22 AM, Florian Heigl <florian.heigl@gmail.com> wrote:> Hi,Hi Florian,> > > 2012/2/23 harryxiyou <harryxiyou@gmail.com>: >> Feb 24 02:52:17 local00212201021a tap-ctl: tap-err:tap_ctl_wait: >> tapdisk2[31763] failed, status 127 >> >> The log says tapdisk2 happens to an error. > > 127 is usually a file not found? >Yeah, you are right. We missed a dynamic shared lib file. I should think more for this matter but a common sense. Anyway, it is solved now. Thanks for your help ;-) -- Thanks Harry Wei
On Fri, Feb 24, 2012 at 4:22 AM, Florian Heigl <florian.heigl@gmail.com> wrote:> Hi,Hi Florian,> > > 2012/2/23 harryxiyou <harryxiyou@gmail.com>: >> Feb 24 02:52:17 local00212201021a tap-ctl: tap-err:tap_ctl_wait: >> tapdisk2[31763] failed, status 127 >> >> The log says tapdisk2 happens to an error. > > 127 is usually a file not found? >Yeah, you are right. We missed a dynamic shared lib file. I should think more for this matter but a common sense. Anyway, it is solved now. Thanks for your help ;-) -- Thanks Harry Wei