From: Boris Derzhavets Subject: Re: ZFS version for pygrub Date: Fri, 23 Apr 2010 05:54:47 -0700 (PDT) Message-ID: <431170.7090.qm@web56107.mail.re3.yahoo.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1827522383==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mark Johnson , eXeC001er Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1827522383== Content-Type: multipart/alternative; boundary="0-230417780-1272027287=:7090" --0-230417780-1272027287=:7090 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Link provided bellow would work for sure at Xen 4.0 Dom0 with pvops kernel = 2.6.32.10 (11) on top of F12 or Ubuntu 9.10 Server. http://bderzhavets.wordpress.com/2010/04/11/set-up-osol-2010-03-build-134-a= t-xen-4-0-2-6-32-10-pvops-kernel-on-of-ubuntu-karmic-koala-server/ I suspect that problems with MRJ's ZFS 24 patch for pygrub&fsimage.iso are connected with broken NWAM at least on OSOL 134. In other words,=A0 patch itself might be fine. DHCPDISCOVER stops working after first boot up configuring SMF and requires restart of service=20 =A0 # svcadm restart svc:/network/physical:nwam after login to obtain IP for DomU, what has nothing in common with patch me= ntioned above. I attempted to use patched pygrub only to load already creat= ed image. Pygrub at Xen 4.0 has problems with reading ISO images in general= . The issue might be specific for my environment as well. --- On Fri, 4/23/10, eXeC001er wrote: From: eXeC001er Subject: Re: [Xen-devel] ZFS version for pygrub To: "Mark Johnson" Cc: xen-devel@lists.xensource.com Date: Friday, April 23, 2010, 8:29 AM 2010/4/23 Mark Johnson =0AOn Fri, Apr 23, 2010 at 8:18 AM, eXeC001er wrote: =0A> I use latest revision of xen-unstable, kernel-2.6.32-4 from 'Debian Si= d' and =0A> Debian Squeeze for Dom0. =0A> I tried to create Opensolaris b132 DomU: =0A> my config (i use config =0A> from=A0http://blogs.sun.com/mrj/entry/installing_opensolaris_on): =0A>>:# cat ns.pv_i =0A> bootloader =3D "/usr/bin/pygrub" =0A> kernel =3D "/platform/i86xpv/kernel/amd64/unix" =0A> ramdisk =3D "/boot/x86.microroot" =0A> extra =3D "/platform/i86xpv/kernel/amd64/unix -B console=3Dttya,livemo= de=3Dtext" =0A> memory =3D 512 =0A> name =3D "OS_PV" =0A> vif =3D [ 'mac=3D00:16:3E:00:00:01', 'mac=3D00:16:3E:00:00:02' ] =0A> disk =3D [ 'file:/opt/ISO/osol-dev-132-x86.iso,6:cdrom,r', =0A> 'file:/opt/src/OS_PV/ns.img,0,w' ] =0A> on_reboot =3D 'destroy' =0A> on_crash =3D 'destroy' =0A> on_poweroff =3D 'destroy' =0A =0Aremove the kernel and ramdisk line above. e.g. =0A =0A =A0bootloader =3D "/usr/bin/pygrub" =0A =A0extra =3D "/platform/i86xpv/kernel/amd64/unix -B console=3Dttya,live= mode=3Dtext" =0A =A0memory =3D 512=A0=0A =0AMRJUsing config file "./ns.pv_i".Error: Boot loader didn't return any da= ta!=A0=0A=0A =0A>>:#=A0xm create ns.pv_i -c =0A> Using config file "./ns.pv_i". =0A> Error: Cannot find kernel "/platform/i86xpv/kernel/amd64/unix" =0A> The method proposed by Boris Derzhavets=A0works fine. =0A> (http://bderzhavets.wordpress.com/2010/04/14/zfs-24-support-via-pygrub= -fsimage-iso-patch-for-xen-4-0-dom0-pvops-2-6-32-11-on-top-of-f12/). =0A=0A> p.s: =0A>>:#=A0pygrub /opt/ISO/osol-dev-132-x86.iso =0A> linux (kernel /var/run/xend/boot/boot_kernel.GQYAjq)(ramdisk =0A> /var/run/xend/boot/boot_ramdisk.Q_bPCY)(args =0A> "/platform/i86xpv/kernel/amd64/unix") =0A> Thanks. =0A> 2010/4/7 eXeC001er =0A>> =0A>> When this patch will be applied? =0A>> =0A>> 2010/3/27 Pasi K=E4rkk=E4inen =0A>>> =0A>>> On Sat, Mar 27, 2010 at 07:37:03AM -0400, Mark Johnson wrote: =0A>>> > On Fri, Mar 19, 2010 at 3:40 PM, Mark Johnson =0A>>> > wrote: =0A>>> > > On Fri, Mar 19, 2010 at 2:41 PM, eXeC001er =0A>>> > > wrote: =0A>>> > >> Hi. =0A>>> > >> When will be supported ZFS version more than 16 for pygrub? =0A>>> > >> Current ZFS version is 22. =0A>>> > > =0A>>> > > I'm actively working on it =A0(current version is 24 now BTW). =0A>>> > =0A>>> > I pushed the patch to the OpenSolaris xvm-gate. =0A>>> > =0A>>> > http://src.opensolaris.org/source/xref/xen-gate/xvm-gate+xen-patch= es.hg/fsimage-zfs-24 =0A=0A>>> > =0A>>> > I'll be testing to see if it builds/works on a Linux dom0 next wee= k. =0A>>> > =0A>>> =0A>>> Great! This would be nice for Xen 4.0.0.. =0A>>> =0A>>> -- Pasi =0A>>> =0A>> =0A> =0A> =0A =0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-230417780-1272027287=:7090 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Link provided bellow would work for sure at X= en 4.0 Dom0 with pvops kernel 2.6.32.10 (11) on top of F12 or Ubuntu 9.10 S= erver.

http://bderzhavets.wordpress.com/2010/04/11/set-up-osol-2010-= 03-build-134-at-xen-4-0-2-6-32-10-pvops-kernel-on-of-ubuntu-karmic-koala-se= rver/

I suspect that problems with MRJ's ZFS 24 patch for pygrub&= ;fsimage.iso
are connected with broken NWAM at least on OSOL 134.
In = other words,  patch itself might be fine. DHCPDISCOVER stops workingafter first boot up configuring SMF and requires restart of service
<= code>  # svcadm restart svc:/network/physical:nwam
after login to o= btain IP for DomU, what has nothing in common with patch mentioned above. I= attempted to use patched pygrub only to load already created image. Pygrub= at Xen 4.0 has problems with reading ISO images in general.
The issue might be specific for my environment as well.



--- On= Fri, 4/23/10, eXeC001er <execooler@gmail.com> wrote:

From: eXeC001er <execooler@gmail.com><= br>Subject: Re: [Xen-devel] ZFS version for pygrub
To: "Mark Johnson" &l= t;johnson.nh@gmail.com>
Cc: xen-devel@lists.xensource.com
Date: Fr= iday, April 23, 2010, 8:29 AM



2010/4/23 Mark Johnson <johnson.nh@gmail.com>
=0A
On Fri, Apr 23, 2010 at 8:18 AM, eXeC001er <execooler@gmail.com> wrote:
=0A>= ; I use latest revision of xen-unstable, kernel-2.6.32-4 from 'Debian Sid' = and
=0A> Debian Squeeze for Dom0.
=0A> I tried to create Openso= laris b132 DomU:
=0A> my config (i use config
=0A> from http://blogs.sun.com/mrj/entry/installing_openso= laris_on):
=0A>>:# cat ns.pv_i
=0A> bootloader =3D "/usr= /bin/pygrub"
=0A> kernel =3D "/platform/i86xpv/kernel/amd64/unix"
= =0A> ramdisk =3D "/boot/x86.microroot"
=0A> extra =3D "/platform/i= 86xpv/kernel/amd64/unix -B console=3Dttya,livemode=3Dtext"
=0A> memor= y =3D 512
=0A> name =3D "OS_PV"
=0A> vif =3D [ 'mac=3D00:16:3E:= 00:00:01', 'mac=3D00:16:3E:00:00:02' ]
=0A> disk =3D [ 'file:/opt/ISO= /osol-dev-132-x86.iso,6:cdrom,r',
=0A> 'file:/opt/src/OS_PV/ns.img,0,= w' ]
=0A> on_reboot =3D 'destroy'
=0A> on_crash =3D 'destroy'=0A> on_poweroff =3D 'destroy'
=0A
=0A
remove the kernel an= d ramdisk line above. e.g.
=0A
=0A  bootloader =3D "/usr/bin/pyg= rub"
=0A
 extra =3D "/platform/i86xpv/kernel/amd6= 4/unix -B console=3Dttya,livemode=3Dtext"
=0A  memory =3D 512 =
=0A
=0A
MRJ
Using config file = "./ns.pv_i".
Error: Boot loader didn't return any data! 
=0A
=0A
=0A>>:# xm create ns.pv_i -c
=0A> Using = config file "./ns.pv_i".
=0A> Error: Cannot find kernel "/platform/i8= 6xpv/kernel/amd64/unix"
=0A> The method proposed by Boris Derzhavets&= nbsp;works fine.
=0A> (http://bderzh= avets.wordpress.com/2010/04/14/zfs-24-support-via-pygrub-fsimage-iso-patch-= for-xen-4-0-dom0-pvops-2-6-32-11-on-top-of-f12/).
=0A=0A> p.s:=0A>>:# pygrub /opt/ISO/osol-dev-132-x86.iso
=0A> linux (= kernel /var/run/xend/boot/boot_kernel.GQYAjq)(ramdisk
=0A> /var/run/x= end/boot/boot_ramdisk.Q_bPCY)(args
=0A> "/platform/i86xpv/kernel/amd6= 4/unix")
=0A> Thanks.
=0A> 2010/4/7 eXeC001er <execooler@gmail.com>
=0A>&g= t;
=0A>> When this patch will be applied?
=0A>>
=0A>= ;> 2010/3/27 Pasi K=E4rkk=E4inen <p= asik@iki.fi>
=0A>>>
=0A>>> On Sat, Mar 27, 2= 010 at 07:37:03AM -0400, Mark Johnson wrote:
=0A>>> > On Fri= , Mar 19, 2010 at 3:40 PM, Mark Johnson <johnson.nh@gmail.com>
=0A>>> > wro= te:
=0A>>> > > On Fri, Mar 19, 2010 at 2:41 PM, eXeC001er= <execooler@gmail.com>
=0A>>> > > wrote:
=0A>>> > >> = Hi.
=0A>>> > >> When will be supported ZFS version mor= e than 16 for pygrub?
=0A>>> > >> Current ZFS version = is 22.
=0A>>> > >
=0A>>> > > I'm active= ly working on it  (current version is 24 now BTW).
=0A>>> = >
=0A>>> > I pushed the patch to the OpenSolaris xvm-gate= .
=0A>>> >
=0A>>> >
http://src.opensolaris.org/source/xref/xe= n-gate/xvm-gate+xen-patches.hg/fsimage-zfs-24
=0A=0A>>> >= ;
=0A>>> > I'll be testing to see if it builds/works on a Li= nux dom0 next week.
=0A>>> >
=0A>>>
=0A>&g= t;> Great! This would be nice for Xen 4.0.0..
=0A>>>
=0A&= gt;>> -- Pasi
=0A>>>
=0A>>
=0A>
=0A>=
=0A

=0A
-----Inline Attachme= nt Follows-----

___________________________= ____________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

=0A=0A --0-230417780-1272027287=:7090-- --===============1827522383== 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 --===============1827522383==--