sync up zfs boot support in pygrub
PATCH 1/1 sync up zfs boot support in pygrub
See attached patch.
MRJ
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Patch applied cleanly to current xen-4.0-testing.hg tree (on Ubuntu 9.10) Then i rebuilt and reinstalled xen and tools.
Went through OSOL 133 PV install on /dev/sdb5 and tried to load OSOL DomU via :
name = 'OS0L133'
memory = 2048
vcpus = 2
bootloader = '/usr/local/bin/pygrub'
disk = ['phy:/dev/sdb5,xvda,w']
vif = [ 'bridge=eth0' ]
root@ServerKoala:/home/boris/osol# xm create -c osol.py Using config file "./osol.py". Error: Boot loader didn't return any data!
I got same results adding patch to xen-4.0 src.rpm and reinstalled Xen 4.0 on F12 ( rpms rebuilt, rpms hot upgrade , new Xen rebooted)
Maybe i misunderstood something ? I used xvdc for CD ROM, xvda for image on /dev/sdb5 in both cases. Install itself runs just fine. I do remember under Xen 3.4.3 ( 2.6.31.6 pvops) build 132 could be nicely installed per John Levon virsh's procedure.
Boris.
--- On Fri, 4/9/10, Mark Johnson <[email protected]> wrote:
From: Mark Johnson <[email protected]>
Subject: [Xen-devel] [PATCH] sync up zfs boot support in pygrub
To: [email protected]
Date: Friday, April 9, 2010, 1:53 PM
See attached patch.
MRJ
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 7 lines · Boris Derzhavets
Patch applied cleanly to current xen-4.0-testing.hg tree (on Ubuntu 9.10) Then i rebuilt and reinstalled xen and tools.
Went through OSOL 133 PV install on/dev/sdb5and tried to load OSOL DomU via :
Quoted 5 lines
root@ServerKoala:/home/boris/osol# xm create -c osol.py Using config file "./osol.py". Error: Boot loader didn't return any data!
please hold off applying this patch until I can debug this.
Thanks,
MRJ
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
It works for run time :-
root@ServerKoala:/home/boris/osol134# cat osol134.cfg name = "osol134" vcpus = 2 memory = "1024" kernel = "/home/boris/osol134/unix" ramdisk = "/home/boris/osol134/boot_archive" extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B zfs-bootfs=rpool/ROOT/opensolaris,bootpath=/xpvd/xdf@51712:a" disk = ['phy:/dev/sdb5,xvda,w'] vif = ['bridge=eth0'] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy"
Pretty old story.
Boris.
--- On Fri, 4/9/10, Mark Johnson <[email protected]> wrote:
From: Mark Johnson <[email protected]>
Subject: Re: [Xen-devel] [PATCH] sync up zfs boot support in pygrub
To: [email protected]
Date: Friday, April 9, 2010, 6:03 PM
On Fri, Apr 9, 2010 at 3:53 PM, Boris Derzhavets <[email protected]> wrote:
Patch applied cleanly to current xen-4.0-testing.hg tree (on Ubuntu 9.10) Then i rebuilt and reinstalled xen and tools.
Went through OSOL 133 PV install on /dev/sdb5 and tried to load OSOL DomU via :
root@ServerKoala:/home/boris/osol# xm create -c osol.py Using config file "./osol.py". Error: Boot loader didn't return any data!
please hold off applying this patch until I can debug this.
Thanks,
MRJ
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
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 In my case restarting mentioned service does allow DomU to succeed at the first attempt with DHCP request. It might be specific to my environment with ADSL modem acting as a router to Internet for any Linux Dom0 on the LAN.
Boris.
--- On Sat, 4/10/10, Boris Derzhavets <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] [PATCH] sync up zfs boot support in pygrub
To: [email protected], "Mark Johnson" <[email protected]>
Date: Saturday, April 10, 2010, 10:58 AM
It works for run time :-
root@ServerKoala:/home/boris/osol134# cat osol134.cfg name = "osol134" vcpus = 2 memory = "1024" kernel = "/home/boris/osol134/unix" ramdisk = "/home/boris/osol134/boot_archive" extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B zfs-bootfs=rpool/ROOT/opensolaris,bootpath=/xpvd/xdf@51712:a" disk = ['phy:/dev/sdb5,xvda,w'] vif = ['bridge=eth0'] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy"
Pretty old story.
Boris.
--- On Fri, 4/9/10, Mark Johnson <[email protected]> wrote:
From: Mark Johnson <[email protected]>
Subject: Re: [Xen-devel] [PATCH] sync up zfs boot support in pygrub To:
[email protected]
Date: Friday, April 9, 2010, 6:03 PM
On Fri, Apr 9, 2010 at 3:53 PM, Boris Derzhavets <[email protected]> wrote:
Patch applied cleanly to current xen-4.0-testing.hg tree (on Ubuntu 9.10) Then i rebuilt and reinstalled xen and tools.
Went through OSOL 133 PV install on /dev/sdb5 and tried to load OSOL DomU via :
root@ServerKoala:/home/boris/osol# xm create -c osol.py Using config file "./osol.py". Error: Boot loader didn't return any data!
please hold off applying this patch until I can debug this.
Thanks,
MRJ
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel