From mboxrd@z Thu Jan 1 00:00:00 1970 From: eXeC001er Subject: Re: [PATCH] Re: blktap2 problem with pvops kernel 2.6.32.13 and xen 4.0-rc1 Date: Mon, 31 May 2010 20:28:27 +0400 Message-ID: References: <140338.31157.qm@web56107.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016e655023ebf0c8e0487e6580c Return-path: In-Reply-To: <140338.31157.qm@web56107.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Boris Derzhavets Cc: Xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org --0016e655023ebf0c8e0487e6580c Content-Type: multipart/alternative; boundary=0016e655023ebf0c880487e6580a --0016e655023ebf0c880487e6580a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have same error with xen-unstable. in attach patch for xen-4.0-testing.hg Signed-off-by: eXeC001er --- 2010/5/31 Boris Derzhavets > Xen-unstable patched via yours patch , built and installed on top of > Ubuntu 10.04. > Dom0 loaded with 2.6.32.14 pvops ( 2.6.32.10 same results) > Environment:- > > host : LucidSRV > release : 2.6.32.14 > version : #6 SMP Mon May 31 18:08:00 MSD 2010 > machine : x86_64 > nr_cpus : 4 > nr_nodes : 1 > cores_per_socket : 4 > threads_per_core : 1 > cpu_mhz : 2833 > hw_caps : > bfebfbff:20100800:00000000:00000940:0408e3fd:00000000:00000001:00000000 > virt_caps : hvm > total_memory : 8190 > free_memory : 2052 > free_cpus : 0 > xen_major : 4 > xen_minor : 1 > xen_extra : -unstable > 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=3D0xffff800000000000 > xen_changeset : Fri May 28 10:54:07 2010 +0100 21492:96917cf25bf= 3 > xen_commandline : > cc_compiler : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) > cc_compile_by : root > cc_compile_domain : > cc_compile_date : Mon May 31 19:00:21 MSD 2010 > xend_config_format : 4 > > Attempted to load F13 PV DomU ( working fine inder Xen 4.0 & 2.6.32.14) > > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=90 > =E2=94=82 Fedora (2.6.33.3-85.fc13.x86_64) = =E2=94=82 > =E2=94=82 = =E2=94=82 > =E2=94=82 = =E2=94=82 > =E2=94=82 = =E2=94=82 > =E2=94=82 = =E2=94=82 > =E2=94=82 = =E2=94=82 > =E2=94=82 = =E2=94=82 > =E2=94=82 = =E2=94=82 > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=98 > Use the ^ and v keys to select which entry is highlighted. > Press enter to boot the selected OS, 'e' to edit the > commands before booting, 'a' to modify the kernel arguments > before booting, or 'c' for a command line. > > root@LucidSRV:/home/boris/fedora# Error: (4, 'Out of memory', "panic: > xc_dom_boot.c:144: xc_dom_boot_mem_init: can't allocate low memory for > domain") > > > Boris. > > --- On *Mon, 5/31/10, eXeC001er * wrote: > > > From: eXeC001er > Subject: Re: [Xen-devel] [PATCH] Re: blktap2 problem with pvops kernel > 2.6.32.13 and xen 4.0-rc1 > To: "Boris Derzhavets" > Cc: "Xen-devel" , "Keir Fraser" < > keir.fraser@eu.citrix.com> > Date: Monday, May 31, 2010, 6:27 AM > > > Patch for xen-unstable.hg > > 2010/5/31 Boris Derzhavets > > > >> I've attempted to process patch for xen-4.0.0-0.7.f12.src.rpm it gives a= n >> errors. >> Is it written for xen 4.0 ? I did some manual check . >> >> Boris. >> >> >> --- On *Sun, 5/30/10, eXeC001er >> >* wrote: >> >> >> From: eXeC001er >> > >> Subject: Re: [Xen-devel] [PATCH] Re: blktap2 problem with pvops kernel >> 2.6.32.13 and xen 4.0-rc1 >> To: "Keir Fraser" >> > >> Cc: "Boris Derzhavets" >, >> "Xen-devel" >> > >> Date: Sunday, May 30, 2010, 11:00 AM >> >> >> this patch remove problems with blktap2 devices: >> 1. If we use blktap2 disk device then DomU does not boot. Returned error= : File >> 'vhd:/path/.../disk.img' doesn't exist. >> 2. Created blktap2 disk device does not accessible immediately after >> connecting: If we use pygrub then DomU does not boot. Returned error: Di= sk >> is not accessible. >> >> Signed-off-by: eXeC001er >> > >> --- >> >> 2010/5/30 Keir Fraser >> > >> >>> Needs a patch description and a signed-off-by line. >>> >>> -- Keir >>> >>> On 30/05/2010 13:21, "eXeC001er" > >>> wrote: >>> >>> > My python-experience is small, but i tied to rewrite. >>> > New in attach. >>> > >>> > 2010/5/30 Keir Fraser >>> > >>> >> On 30/05/2010 11:37, "Pasi K=C3=A4rkk=C3=A4inen" > >>> wrote: >>> >> >>> >>> On Sun, May 30, 2010 at 02:02:06PM +0400, eXeC001er wrote: >>> >>>> I have already sent a patch 1 weak ago. >>> (blktap2_control_func.patch) >>> >>>> repeat in attach. >>> >>>> Thanks. >>> >>> >>> >>> Ok, thanks. >>> >>> >>> >>> Keir: I guess this is not committed yet? >>> >> >>> >> I'm not too happy about the sleep(5). I guess if there's no better >>> solution >>> >> coming up I should just whack this patch in? >>> >> >>> >> -- Keir >>> >> >>> >>> -- Pasi >>> >>> >>> >>>> 2010/5/30 Pasi K=C3=A4rkk=C3=A4inen <[1]pasik@iki.fi >>> > >>> >>>> >>> >>>> On Sun, May 30, 2010 at 11:17:51AM +0400, eXeC001er wrote: >>> >>>>> I've attempted to install Nexenta Core 3 image under Xen 4.0 >>> >>>> (2.6.32.13 >>> >>>>> pvops) on top of F13. Sample nexenta3.cfg profile contains 4 >>> >>>> lines like >>> >>>>> this:- >>> >>>>> >>> >>>>> disk=3D['tat:tapdisk:vhd:/path/../disk.img,xvda,w'] ( from >>> sample) >>> >>>>> >>> >>>>> It generates message >>> >>>>> =C3=82 File 'vhd:/path/.../disk.img' doesn't exist. >>> >>>>> >>> >>>>> Boris. >>> >>>>> P.S. It was already in one of the threads @xen-users. >>> >>>>> >>> >>>>> This bug in "def _parse_uname(uname):" >>> >>>> (tools/python/xen/util/blkif.py) >>> >>>>> (taptype, fn) =3D fn.split(":", 1) >>>>>>=C3=82 (taptype, fn) = =3D >>> >>>> fn.split(":", >>> >>>>> 2)[1:3] >>> >>>> >>> >>>> Can you send a proper patch, as unified diff (diff -u), with = a >>> >>>> Signed-off-by line? >>> >>>> -- Pasi >>> >>>> >>> >>>> References >>> >>>> >>> >>>> Visible links >>> >>>> 1. mailto:pasik@iki.fi >>> >>> >>> >>>> diff -r d0420ab97345 tools/python/xen/util/blkif.py >>> >>>> --- a/tools/python/xen/util/blkif.py Fri May 21 16:21:39 2010 +010= 0 >>> >>>> +++ b/tools/python/xen/util/blkif.py Sat May 22 01:21:15 2010 +040= 0 >>> >>>> @@ -87,7 +87,7 @@ >>> >>>> fn =3D "/dev/%s" %(fn,) >>> >>>> >>> >>>> if typ in ("tap", "tap2"): >>> >>>> - (taptype, fn) =3D fn.split(":", 1) >>> >>>> + (taptype, fn) =3D fn.split(":", 2)[1:] >>> >>>> return (fn, taptype) >>> >>>> >>> >>>> def blkdev_uname_to_file(uname): >>> >>>> diff -r d0420ab97345 tools/python/xen/xend/XendDomainInfo.py >>> >>>> --- a/tools/python/xen/xend/XendDomainInfo.py Fri May 21 16:21:39 >>> 2010 >>> >>>> +0100 >>> >>>> +++ b/tools/python/xen/xend/XendDomainInfo.py Sat May 22 01:21:15 >>> 2010 >>> >>>> +0400 >>> >>>> @@ -3292,6 +3292,7 @@ >>> >>>> fn =3D BOOTLOADER_LOOPBACK_DEVICE >>> >>>> >>> >>>> try: >>> >>>> + time.sleep(5) >>> >>>> blcfg =3D bootloader(blexec, fn, self, False, >>> >>>> bootloader_args, kernel, >>> ramdisk, args) >>> >>>> finally: >>> >>>> @@ -3299,7 +3300,7 @@ >>> >>>> log.info ("Unmounting %s >>> from %s." % >>> >>>> (fn, BOOTLOADER_LOOPBACK_DEVICE)) >>> >>>> >>> >>>> - dom0.destroyDevice('tap', >>> BOOTLOADER_LOOPBACK_DEVICE) >>> >>>> + dom0.destroyDevice(devtype, >>> >>>> BOOTLOADER_LOOPBACK_DEVICE) >>> >>>> >>> >>>> if blcfg is None: >>> >>>> msg =3D "Had a bootloader specified, but can't fi= nd >>> disk" >>> >>> >>> >> >>> >> >>> > >>> > >>> >>> >>> >> >> -----Inline Attachment Follows----- >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> >> > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > --0016e655023ebf0c880487e6580a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have same error with xen-unstable.

in attach patch for= =C2=A0xen-4.0-testing.hg=

Signed-off-by: eXeC001er <exec= ooler@gmail.com>
---


2010/5/31 Boris = Derzhavets <b= derzhavets@yahoo.com>
=C2=A0Xen-unstable patched via yours patc= h ,=C2=A0 built and installed on top of Ubuntu 10.04.
=C2=A0Dom0 loaded = with 2.6.32.14 pvops ( 2.6.32.10 same results)
=C2=A0Environment:-

host=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : LucidS= RV
release=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : 2.6.32.14
version=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : #6 = SMP Mon May 31 18:08:00 MSD 2010
machine=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : x86_64
nr= _cpus=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 : 4
nr_nodes=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : 1
cores_per_socket=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 : 4
threads_per_core=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : 1cpu_mhz=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : 2833
hw_caps=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : bfebfbff:201008= 00:00000000:00000940:0408e3fd:00000000:00000001:00000000
virt_caps=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 : hvm
total_memory=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 : 8190
free_memory=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : 2052
free_cpus=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : 0
xen_maj= or=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 : 4
xen_minor=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 : 1
xen_extra=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : -unstable
xen_caps=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : = xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_6= 4
xen_scheduler=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 := credit
xen_pagesize=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 : 4096
platform_params=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : virt_start=3D0x= ffff800000000000
xen_changeset=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 : Fri May 28 10:54:07 2010 +0100 21492:96917cf25bf3
xen_com= mandline=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :
cc_compiler=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : gcc version = 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
cc_compile_by=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : = root
cc_compile_domain=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :
cc_compile_da= te=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Mon May 31 19:00:21 MSD 2010=
xend_config_format=C2=A0=C2=A0=C2=A0=C2=A0 : 4

=C2=A0Attempted t= o load F13 PV DomU ( working fine inder Xen 4.0 & 2.6.32.14)


=E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=90=
=C2=A0=E2=94=82 Fedora (2.6.33.3-85.fc13.x86_64)=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =E2=94=82
=C2=A0=E2=94=82=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A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E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=98
=C2=A0=C2=A0=C2=A0=C2=A0 Use the ^ and v keys to sele= ct which entry is highlighted.
=C2=A0=C2=A0=C2=A0=C2=A0 Press enter to boot the selected OS, 'e' t= o edit the
=C2=A0=C2=A0=C2=A0=C2=A0 commands before booting, 'a'= to modify the kernel arguments
=C2=A0=C2=A0=C2=A0=C2=A0 before booting, or 'c' for a command line.

root@LucidSRV:/h= ome/boris/fedora# Error: (4, 'Out of memory', "panic: xc_dom_b= oot.c:144: xc_dom_boot_mem_init: can't allocate low memory for domain&q= uot;)


Boris.

--- On Mon, 5/31/10, eXeC001er &l= t;execooler@gmail.= com> wrote:

From: eXeC001er <execooler@gmail.com>
Subject: Re: [Xen-de= vel] [PATCH] Re: blktap2 problem with pvops kernel 2.6.32.13 and xen 4.0-r= c1
To: "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: "Xen-d= evel" <xen-devel@lists.xensource.com>, "Keir Fraser" <<= a href=3D"mailto:keir.fraser@eu.citrix.com" target=3D"_blank">keir.fraser@e= u.citrix.com>
Date: Monday, May 31, 2010, 6:27 AM

Patch for xen-unstable.hg

2010/5/3= 1 Boris Derzhavets <bderzhavets@yahoo= .com>
I've attempted to process patch for x= en-4.0.0-0.7.f12.src.rpm it gives an errors.
Is it written for xen 4.0 ?= =C2=A0 I did some manual check .

Boris.


--- On Sun, 5/30/10, eXeC001er <execooler@gmail.com> wrote:

From: eXeC001er <execooler@gmail.com>
Subje= ct: Re: [Xen-devel] [PATCH] Re: blktap2 problem with pvops kernel 2.6.32.1= 3 and xen 4.0-rc1
To: "Keir Fraser" <keir.fraser@eu.citrix.= com>
Cc: "Boris Derzhavets" <bderzhavets@yahoo.com= >, "Xen-devel" <xen-devel@list= s.xensource.com>
Date: Sunday, May 30, 2010, 11:00 AM


this patch remove problems with blktap2 devices:=
1. If we use blktap2 disk device then DomU does not boot. Re= turned error:=C2=A0File 'vhd:/path/.../disk.img' doesn't= exist.
2. Created blktap2 disk device does not accessible=C2=A0immediately after connecting: I= f we use pygrub then DomU does not boot. Returned error: Disk is not access= ible.

Signed-off-b= y: eXeC001er <execooler@gmail.com>
---
2010/5/30 Keir Fraser <keir.frase= r@eu.citrix.com>
Needs a patch description and a signed-off-by line.

=C2=A0-- Keir

On 30/05/2010 13:21, "eXeC001er" <execooler@gma= il.com> wrote:

> My python-experience=C2=A0is small, but i tied to rewrite.
> New in attach.
>
> 2010/5/30 Keir Fraser <keir.fraser@eu.citrix.c= om>
>> On 30/05/2010 11:37, "Pasi K=C3=A4rkk=C3=A4inen" <pasik@iki.fi> wrote:
>>
>>> On Sun, May 30, 2010 at 02:02:06PM +0400, eXeC001er wrote:
>>>> =C2=A0 =C2=A0I have already sent a patch 1 weak ago. (blkt= ap2_control_func.patch)
>>>> =C2=A0 =C2=A0repeat in attach.
>>>> =C2=A0 =C2=A0Thanks.
>>>
>>> Ok, thanks.
>>>
>>> Keir: I guess this is not committed yet?
>>
>> I'm not too happy about the sleep(5). I guess if there's n= o better solution
>> coming up I should just whack this patch in?
>>
>> =C2=A0-- Keir
>>
>>> -- Pasi
>>>
>>>> =C2=A0 =C2=A02010/5/30 Pasi K=C3=A4rkk=C3=A4inen <[1]pasik@iki.fi>
>>>>
>>>> =C2=A0 =C2=A0 =C2=A0On Sun, May 30, 2010 at 11:17:51AM +04= 00, eXeC001er wrote:
>>>>> =C2=A0 =C2=A0 =C2=A0I've attempted to install Nexe= nta Core 3 image under Xen 4.0
>>>> =C2=A0 =C2=A0 =C2=A0(2.6.32.13
>>>>> =C2=A0 =C2=A0 =C2=A0pvops) on top of F13. Sample nexen= ta3.cfg profile contains 4
>>>> =C2=A0 =C2=A0 =C2=A0lines like
>>>>> =C2=A0 =C2=A0 =C2=A0this:-
>>>>>
>>>>> =C2=A0 =C2=A0 =C2=A0disk=3D['tat:tapdisk:vhd:/path= /../disk.img,xvda,w'] ( from sample)
>>>>>
>>>>> =C2=A0 =C2=A0 =C2=A0It generates message
>>>>> =C2=A0 =C2=A0 =C2=A0=C3=82 File 'vhd:/path/.../dis= k.img' doesn't exist.
>>>>>
>>>>> =C2=A0 =C2=A0 =C2=A0Boris.
>>>>> =C2=A0 =C2=A0 =C2=A0P.S. It was already in one of the = threads @xen-users.
>>>>>
>>>>> =C2=A0 =C2=A0This bug in "def _parse_uname(uname)= :"
>>>> =C2=A0 =C2=A0 =C2=A0(tools/python/xen/util/blkif.py)
>>>>> =C2=A0 =C2=A0(taptype, fn) =3D fn.split(":",= 1) >>>>>>=C3=82 (taptype, fn) =3D
>>>> =C2=A0 =C2=A0 =C2=A0fn.split(":",
>>>>> =C2=A0 =C2=A02)[1:3]
>>>>
>>>> =C2=A0 =C2=A0 =C2=A0Can you send a proper patch, as unifie= d diff (diff -u), with a
>>>> =C2=A0 =C2=A0 =C2=A0Signed-off-by line?
>>>> =C2=A0 =C2=A0 =C2=A0-- Pasi
>>>>
>>>> References
>>>>
>>>> =C2=A0 =C2=A0Visible links
>>>> =C2=A0 =C2=A01. mailto:pasik@iki.fi
>>>
>>>> diff -r d0420ab97345 tools/python/xen/util/blkif.py
>>>> --- a/tools/python/xen/util/blkif.py Fri May 21 16:21:39 2= 010 +0100
>>>> +++ b/tools/python/xen/util/blkif.py Sat May 22 01:21:15 2= 010 +0400
>>>> @@ -87,7 +87,7 @@
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0fn =3D "/dev/%s" %(fn,)
>>>>
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if typ in ("tap&quo= t;, "tap2"):
>>>> - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(taptype, fn) = =3D fn.split(":", 1)
>>>> + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(taptype, fn) = =3D fn.split(":", 2)[1:]
>>>> =C2=A0 =C2=A0 =C2=A0return (fn, taptype)
>>>>
>>>> =C2=A0def blkdev_uname_to_file(uname):
>>>> diff -r d0420ab97345 tools/python/xen/xend/XendDomainInfo.= py
>>>> --- a/tools/python/xen/xend/XendDomainInfo.py Fri May 21 1= 6:21:39 2010
>>>> +0100
>>>> +++ b/tools/python/xen/xend/XendDomainInfo.py Sat May 22 0= 1:21:15 2010
>>>> +0400
>>>> @@ -3292,6 +3292,7 @@
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0fn =3D BOOTLOADER_LOOPBACK_DEVICE
>>>>
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0try:
>>>> + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0t= ime.sleep(5)
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0blcfg =3D bootloader(blexec, fn, self, False,
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 bootl= oader_args, kernel, ramdisk, args)
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0finally: >>>> @@ -3299,7 +3300,7 @@
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0log.info <http://log.info> ("Unmounting %s from %= s." %
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (fn, = BOOTLOADER_LOOPBACK_DEVICE))
>>>>
>>>> - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0dom0.destroyDevice('tap', BOOTLOADER_LOOPBACK_DEVICE)<= br> >>>> + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0dom0.destroyDevice(devtype,
>>>> BOOTLOADER_LOOPBACK_DEVICE)
>>>>
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if blcfg i= s None:
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0msg =3D "Had a bootloader specified, but can't find disk&quo= t;
>>>
>>
>>
>
>




-----Inline Attachment Follows-----


= _______________________________________________
Xen-devel mailing listXen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel



-----Inline Attachment Follows-----

_________________= ______________________________
Xen-devel mailing list
Xen-dev= el@lists.xensource.com
http://l= ists.xensource.com/xen-devel


--0016e655023ebf0c880487e6580a-- --0016e655023ebf0c8e0487e6580c Content-Type: text/x-patch; charset=US-ASCII; name="blktap2_control_func-xen-4.0-testing.hg.patch" Content-Disposition: attachment; filename="blktap2_control_func-xen-4.0-testing.hg.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g9vim2qe0 ZGlmZiAtciAzNzBmZDlmOTdjNzAgdG9v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pc24ndCBh Y2Nlc3NpYmxlIgotICAgICAgICBsb2cuZXJyb3IobXNnKQotICAgICAgICByYWlzZSBWbUVycm9y KG1zZykKKyAgICBhdHRlbXB0ID0gMAorICAgIHdoaWxlIFRydWU6CisgICAgICAgIGlmIG5vdCBv cy5hY2Nlc3MoZGlzaywgb3MuUl9PSykgYW5kIGF0dGVtcHQgPiAzOgorICAgICAgICAgICAgbXNn ID0gIkRpc2sgaXNuJ3QgYWNjZXNzaWJsZSIKKyAgICAgICAgICAgIGxvZy5lcnJvcihtc2cpCisg ICAgICAgICAgICByYWlzZSBWbUVycm9yKG1zZykKKyAgICAgICAgZWxzZToKKyAgICAgICAgICAg IGJyZWFrCisgICAgICAgIHRpbWUuc2xlZXAoMSkKKyAgICAgICAgYXR0ZW1wdCA9IGF0dGVtcHQg KyAxCiAKICAgICBpZiBvcy51bmFtZSgpWzBdID09ICJOZXRCU0QiIGFuZCBkaXNrLnN0YXJ0c3dp dGgoJy9kZXYvJyk6CiAgICAgICAgZGlzayA9IGRpc2sucmVwbGFjZSgiL2Rldi8iLCAiL2Rldi9y IikKZGlmZiAtciAzNzBmZDlmOTdjNzAgdG9vbHMvcHl0aG9uL3hlbi94ZW5kL1hlbmREb21haW5J bmZvLnB5Ci0tLSBhL3Rvb2xzL3B5dGhvbi94ZW4veGVuZC9YZW5kRG9tYWluSW5mby5weQlTYXQg TWF5IDIyIDA3OjE4OjE2IDIwMTAgKzAxMDAKKysrIGIvdG9vbHMvcHl0aG9uL3hlbi94ZW5kL1hl bmREb21haW5JbmZvLnB5CU1vbiBNYXkgMzEgMjA6Mjg6MjAgMjAxMCArMDQwMApAQCAtMzI2OSw3 ICszMjY5LDcgQEAKICAgICAgICAgICAgICAgICAgICAgbG9nLmluZm8oIlVubW91bnRpbmcgJXMg ZnJvbSAlcy4iICUKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGZuLCBCT09UTE9BREVS X0xPT1BCQUNLX0RFVklDRSkpCiAKLSAgICAgICAgICAgICAgICAgICAgZG9tMC5kZXN0cm95RGV2 aWNlKCd0YXAnLCBCT09UTE9BREVSX0xPT1BCQUNLX0RFVklDRSkKKyAgICAgICAgICAgICAgICAg ICAgZG9tMC5kZXN0cm95RGV2aWNlKGRldnR5cGUsIEJPT1RMT0FERVJfTE9PUEJBQ0tfREVWSUNF KQogCiAgICAgICAgICAgICBpZiBibGNmZyBpcyBOb25lOgogICAgICAgICAgICAgICAgIG1zZyA9 ICJIYWQgYSBib290bG9hZGVyIHNwZWNpZmllZCwgYnV0IGNhbid0IGZpbmQgZGlzayIK --0016e655023ebf0c8e0487e6580c Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --0016e655023ebf0c8e0487e6580c--