From: Boris Derzhavets Subject: Re: [PATCH] sync up zfs boot support in pygrub Date: Sat, 10 Apr 2010 14:54:21 -0700 (PDT) Message-ID: <552684.99454.qm@web56108.mail.re3.yahoo.com> References: <980409.38905.qm@web56106.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0647381593==" Return-path: In-Reply-To: <980409.38905.qm@web56106.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: xen-devel@lists.xensource.com, Mark Johnson List-Id: xen-devel@lists.xenproject.org --===============0647381593== Content-Type: multipart/alternative; boundary="0-1969753273-1270936461=:99454" --0-1969753273-1270936461=:99454 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable If by some reason OSOL 134 DomU didn't get an IP after boot up be ready to = run:- $ pfexec su - # svcadm restart svc:/network/physical:nwam =A0In my case restarting mentioned service does allow DomU to succeed =A0at the first attempt with DHCP request. It might be specific to my envir= onment with ADSL modem acting as a router to Internet for any Linux Dom0 on= the LAN. Boris. --- On Sat, 4/10/10, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] [PATCH] sync up zfs boot support in pygrub To: xen-devel@lists.xensource.com, "Mark Johnson" Date: Saturday, April 10, 2010, 10:58 AM It works for run time :- root@ServerKoala:/home/boris/osol134# cat osol134.cfg name =3D "osol134" vcpus =3D 2 memory =3D "1024" kernel =3D "/home/boris/osol134/unix" ramdisk =3D "/home/boris/osol134/boot_archive" extra =3D "/platform/i86xpv/kernel/amd64/unix - nowin -B zfs-bootfs=3Drpool= /ROOT/opensolaris,bootpath=3D/xpvd/xdf@51712:a" disk =3D ['phy:/dev/sdb5,xvda,w'] vif =3D ['bridge=3Deth0'] on_shutdown =3D "destroy" on_reboot =3D "destroy" on_crash =3D "destroy" Pretty old story. Boris. --- On Fri, 4/9/10, Mark Johnson wrote: From: Mark Johnson Subject: Re: [Xen-devel] [PATCH] sync up zfs boot support in pygrub To:=0A xen-devel@lists.xensource.com Date: Friday, April 9, 2010, 6:03 PM On Fri, Apr 9, 2010 at 3:53 PM, Boris Derzhavets wr= ote: =0APatch applied cleanly to current xen-4.0-testing.hg tree (on Ubuntu 9.10= ) Then i rebuilt and reinstalled xen and tools. =0AWent through OSOL 133 PV install on /dev/sdb5 and tried to load OSOL Dom= U via : =A0=0Aroot@ServerKoala:/home/boris/osol# xm create -c osol.py Using config file "./osol.py". Error: Boot loader didn't return any data! =0A please hold off applying this patch until I can debug this. Thanks, MRJ =A0 =0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A =20 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1969753273-1270936461=:99454 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
If by some reason OSOL 134 DomU didn't get an= IP after boot up be ready to run:-

$ pfexec su -
# svcadm restar= t svc:/network/physical:nwam
 In my case restarting mentioned servi= ce does allow DomU to succeed
 at the first attempt with DHCP reque= st. It might be specific to my environment with ADSL modem acting as a rout= er to Internet for any Linux Dom0 on the LAN.

Boris.

--- On <= b>Sat, 4/10/10, Boris Derzhavets <bderzhavets@yahoo.com> w= rote:

From: Boris Derzhavets <bderzhavet= s@yahoo.com>
Subject: Re: [Xen-devel] [PATCH] sync up zfs boot suppor= t in pygrub
To: xen-devel@lists.xensource.com, "Mark Johnson" <johnso= n.nh@gmail.com>
Date: Saturday, April 10, 2010, 10:58 AM

It works for run time :-

root@ServerKoala:/home/= boris/osol134# cat osol134.cfg
name =3D "osol134"
vcpus =3D 2
memo= ry =3D "1024"
kernel =3D "/home/boris/osol134/unix"
ramdisk =3D "/hom= e/boris/osol134/boot_archive"
extra =3D "/platform/i86xpv/kernel/amd64/u= nix - nowin -B zfs-bootfs=3Drpool/ROOT/opensolaris,bootpath=3D/xpvd/xdf@517= 12:a"
disk =3D ['phy:/dev/sdb5,xvda,w']
vif =3D ['bridge=3Deth0']
= on_shutdown =3D "destroy"
on_reboot =3D "destroy"
on_crash =3D "destr= oy"

Pretty old story.

Boris.

--- On Fri, 4/9/10, Ma= rk Johnson <johnson.nh@gmail.com> wrote:

From: Mark Joh= nson <johnson.nh@gmail.com>
Subject: Re: [Xen-devel] [PATCH] sync = up zfs boot support in pygrub
To:=0A xen-devel@lists.xensource.com
Da= te: Friday, April 9, 2010, 6:03 PM



=
On Fri, Apr 9, 2010 at 3:53 PM, Boris Derzhavets= <bderzhavets@yahoo.com> wrote:
= =0A
Patch applied cleanly= to current xen-4.0-testing.hg tree (on Ubuntu 9.10)
Then i rebuilt and = reinstalled xen and tools.
=0AWent through OSOL 133 PV install on /dev/s= db5 and tried to load OSOL DomU via :
 
=0A=

please hold off applying this patch until I can= debug this.


Thanks,

MRJ

 
=0A=
-----Inline Attachment Follows-----

_______________________________________________
Xen-devel mailing lis= t
Xen-devel@lists.xensource.com
http= ://lists.xensource.com/xen-devel
root@ServerKoala= :/home/boris/osol# xm create -c osol.py
Using config file "./osol.py".Error: Boot loader didn't return any data!
=0A

=0A=0A

-----Inline Attachment Follows-----
=
______________________________________________= _
Xen-devel mailing list
Xen-devel@l= ists.xensource.com
http://lists.xensource.com/xen-devel

=0A=0A --0-1969753273-1270936461=:99454-- --===============0647381593== 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 --===============0647381593==--