WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] ZFS version for pygrub

To: Mark Johnson <johnson.nh@xxxxxxxxx>, eXeC001er <execooler@xxxxxxxxx>
Subject: Re: [Xen-devel] ZFS version for pygrub
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Fri, 23 Apr 2010 05:54:47 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 23 Apr 2010 05:55:51 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1272027287; bh=4dDTKetA141mZcn4wbuS7dfYwLVS1BWQNvlwSx1SoMI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=eqLTXEBQFQDzw3nsFWBe3vppsOkPyecYXylVUOI/9s6z3DGPowjKeQcfPq2220otfRdwANKcIKME98UzX0rrqv7xG9wTpad8KMilGuQLadYgkMhBzNN4dzdCdV95DPJubkjD3fhQSWgNdmqLVRsFAUUZgkfP5bMgiiYGbil8MsA=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=hZFlDpETXNwuT8GUH53SsskGOAOklzF9QcGUboD1zSKCaecd89J/DjIjOSMTOx2A3+y5779xCKCrHRy6ZFhJ37yZa/LREPg9LAv4p6trG4jAtFMyA8m9hEij2or0Glt4GbHZKdugy8YkfKRhtECMbJwS8ta6mOmtSDM/SJFuP9k=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <v2kebc0b6391004230529q345c48ebo8fdb09cbce652c28@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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-at-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,  patch itself might be fine. DHCPDISCOVER stops working
after first boot up configuring SMF and requires restart of service
  # svcadm restart svc:/network/physical:nwam
after login to obtain 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@xxxxxxxxx> wrote:

From: eXeC001er <execooler@xxxxxxxxx>
Subject: Re: [Xen-devel] ZFS version for pygrub
To: "Mark Johnson" <johnson.nh@xxxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Friday, April 23, 2010, 8:29 AM



2010/4/23 Mark Johnson <johnson.nh@xxxxxxxxx>
On Fri, Apr 23, 2010 at 8:18 AM, eXeC001er <execooler@xxxxxxxxx> wrote:
> 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 DomU:
> my config (i use config
> from http://blogs.sun.com/mrj/entry/installing_opensolaris_on):
>>:# cat ns.pv_i
> bootloader = "/usr/bin/pygrub"
> kernel = "/platform/i86xpv/kernel/amd64/unix"
> ramdisk = "/boot/x86.microroot"
> extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text"
> memory = 512
> name = "OS_PV"
> vif = [ 'mac=00:16:3E:00:00:01', 'mac=00:16:3E:00:00:02' ]
> disk = [ 'file:/opt/ISO/osol-dev-132-x86.iso,6:cdrom,r',
> 'file:/opt/src/OS_PV/ns.img,0,w' ]
>
>
>

remove the kernel and ramdisk line above. e.g.

 bootloader = "/usr/bin/pygrub"
 extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text"
 memory = 512 

MRJ
Using config file "./ns.pv_i".
Error: Boot loader didn't return any data! 

>>:# 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-fsimage-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 <execooler@xxxxxxxxx>
>>
>> When this patch will be applied?
>>
>> 2010/3/27 Pasi Kärkkäinen <pasik@xxxxxx>
>>>
>>> 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@xxxxxxxxx>
>>> > wrote:
>>> > > On Fri, Mar 19, 2010 at 2:41 PM, eXeC001er <execooler@xxxxxxxxx>
>>> > > 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
>>>
>>
>
>


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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel