From mboxrd@z Thu Jan 1 00:00:00 1970 From: eXeC001er Subject: Re: ZFS version for pygrub Date: Fri, 23 Apr 2010 16:18:54 +0400 Message-ID: References: <521a4d121003191240o7f12f7b5u176a1f10a073d2f7@mail.gmail.com> <521a4d121003270437v6afaec9eg1afead31b5c64274@mail.gmail.com> <20100327114759.GZ1878@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0015914078==" 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 , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0015914078== Content-Type: multipart/alternative; boundary=0016e6d99c2c4faa350484e66e7b --0016e6d99c2c4faa350484e66e7b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I use latest revision of xen-unstable, kernel-2.6.32-4 from 'Debian Sid' an= d Debian Squeeze for Dom0. I tried to create Opensolaris b132 DomU: my config (i use config from http://blogs.sun.com/mrj/entry/installing_opensolaris_on): >:# cat ns.pv_i bootloader =3D "/usr/bin/pygrub" kernel =3D "/platform/i86xpv/kernel/amd64/unix" ramdisk =3D "/boot/x86.microroot" extra =3D "/platform/i86xpv/kernel/amd64/unix -B console=3Dttya,livemode=3D= text" memory =3D 512 name =3D "OS_PV" vif =3D [ 'mac=3D00:16:3E:00:00:01', 'mac=3D00:16:3E:00:00:02' ] disk =3D [ 'file:/opt/ISO/osol-dev-132-x86.iso,6:cdrom,r', 'file:/opt/src/OS_PV/ns.img,0,w' ] on_reboot =3D 'destroy' on_crash =3D 'destroy' on_poweroff =3D 'destroy' >:# xm create ns.pv_i -c Using config file "./ns.pv_i". Error: Cannot find kernel "/platform/i86xpv/kernel/amd64/unix" The method proposed by Boris Derzhavets works fine. ( http://bderzhavets.wordpress.com/2010/04/14/zfs-24-support-via-pygrub-fsima= ge-iso-patch-for-xen-4-0-dom0-pvops-2-6-32-11-on-top-of-f12/ ). p.s: >:# pygrub /opt/ISO/osol-dev-132-x86.iso linux (kernel /var/run/xend/boot/boot_kernel.GQYAjq)(ramdisk /var/run/xend/boot/boot_ramdisk.Q_bPCY)(args "/platform/i86xpv/kernel/amd64/unix") Thanks. 2010/4/7 eXeC001er > When this patch will be applied? > > 2010/3/27 Pasi K=C3=A4rkk=C3=A4inen > > On Sat, Mar 27, 2010 at 07:37:03AM -0400, Mark Johnson wrote: >> > On Fri, Mar 19, 2010 at 3:40 PM, Mark Johnson >> wrote: >> > > On Fri, Mar 19, 2010 at 2:41 PM, eXeC001er >> wrote: >> > >> Hi. >> > >> When will be supported ZFS version more than 16 for pygrub? >> > >> Current ZFS version is 22. >> > > >> > > I'm actively working on it (current version is 24 now BTW). >> > >> > I pushed the patch to the OpenSolaris xvm-gate. >> > >> http://src.opensolaris.org/source/xref/xen-gate/xvm-gate+xen-patches.hg/= fsimage-zfs-24 >> > >> > I'll be testing to see if it builds/works on a Linux dom0 next week. >> > >> >> Great! This would be nice for Xen 4.0.0.. >> >> -- Pasi >> >> > --0016e6d99c2c4faa350484e66e7b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I use latest revision of xen-unstable, kernel-2.6.32-4 from 'Debian Sid= ' and Debian Squeeze for Dom0.
I tried to create Opensolaris b132 D= omU:


>:# cat ns.pv_i
bootloader =3D "/u= sr/bin/pygrub"
kernel =3D "/platform/i86xpv/kernel= /amd64/unix"
ramdisk =3D "/boot/x86.microroot"
extra =3D "= /platform/i86xpv/kernel/amd64/unix -B console=3Dttya,livemode=3Dtext"<= /div>
memory =3D 512
name =3D "OS_PV"
vif =3D [ 'mac=3D00:16:3E:00:00:01', 'mac=3D00:16:3E:00:00:02&#= 39; ]
disk =3D [ 'file:/opt/ISO/osol-dev-132-x86.iso,6:cdrom,= r', 'file:/opt/src/OS_PV/ns.img,0,w' ]
on_reboot =3D = 'destroy'
on_crash =3D 'destroy'
on_poweroff =3D 'destroy&= #39;

>:#=C2=A0xm create ns.pv_i -c
<= div>
Using config file "./ns.pv_i".
Error: Cannot f= ind kernel "/platform/i86xpv/kernel/amd64/unix"

The method proposed by Boris Derzhavets=C2=A0work= s fine. (http://bderzhavets.wordpress.com/2010/04/14/zfs-24-support-via-pygru= b-fsimage-iso-patch-for-xen-4-0-dom0-pvops-2-6-32-11-on-top-of-f12/).

p.s:
>:#=C2=A0pygrub /opt/ISO/osol-dev-132= -x86.iso
linux (kernel /var/run/xend/boot/boot_kernel.GQYAjq)(ram= disk /var/run/xend/boot/boot_ramdisk.Q_bPCY)(args "/platform/i86xpv/ke= rnel/amd64/unix")

Thanks.

2010/4/7 eX= eC001er <execoo= ler@gmail.com>
When this patch will be applied?

2010/3/2= 7 Pasi K=C3=A4rkk=C3=A4inen <pasik@iki.fi>

On Sat, Mar 27, 2010 at 07:37:03AM -0400, Mark Johnson= wrote:
> On Fri, Mar 19, 2010 at 3:40 PM, Mark Johnson <johnson.nh@gmail.com> wrote: > > On Fri, Mar 19, 2010 at 2:41 PM, eXeC001er <execooler@gmail.com> wrote: > >> Hi.
> >> When will be supported ZFS version more than 16 for pygrub? > >> Current ZFS version is 22.
> >
> > I'm actively working on it =C2=A0(current version is 24 now B= TW).
>
> I pushed the patch to the OpenSolaris xvm-gate.
> =C2=A0 =C2=A0 http://src.ope= nsolaris.org/source/xref/xen-gate/xvm-gate+xen-patches.hg/fsimage-zfs-24
>
> I'll be testing to see if it builds/works on a Linux dom0 next wee= k.
>

Great! This would be nice for Xen 4.0.0..

-- Pasi



--0016e6d99c2c4faa350484e66e7b-- --===============0015914078== 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 --===============0015914078==--