All of lore.kernel.org
 help / color / mirror / Atom feed
* ZFS version for pygrub
@ 2010-03-19 18:41 eXeC001er
  2010-03-19 19:40 ` Mark Johnson
  0 siblings, 1 reply; 10+ messages in thread
From: eXeC001er @ 2010-03-19 18:41 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 101 bytes --]

Hi.

When will be supported ZFS version more than 16 for pygrub?
Current ZFS version is 22.

Thanks.

[-- Attachment #1.2: Type: text/html, Size: 159 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ZFS version for pygrub
  2010-03-19 18:41 ZFS version for pygrub eXeC001er
@ 2010-03-19 19:40 ` Mark Johnson
  2010-03-27 11:37   ` Mark Johnson
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Johnson @ 2010-03-19 19:40 UTC (permalink / raw)
  To: eXeC001er; +Cc: xen-devel

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  (current version is 24 now BTW).


Thanks,

MRJ

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ZFS version for pygrub
  2010-03-19 19:40 ` Mark Johnson
@ 2010-03-27 11:37   ` Mark Johnson
  2010-03-27 11:47     ` Pasi Kärkkäinen
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Johnson @ 2010-03-27 11:37 UTC (permalink / raw)
  To: eXeC001er; +Cc: xen-devel

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  (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.




MRJ

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ZFS version for pygrub
  2010-03-27 11:37   ` Mark Johnson
@ 2010-03-27 11:47     ` Pasi Kärkkäinen
  2010-04-07 17:16       ` eXeC001er
  0 siblings, 1 reply; 10+ messages in thread
From: Pasi Kärkkäinen @ 2010-03-27 11:47 UTC (permalink / raw)
  To: Mark Johnson; +Cc: xen-devel, eXeC001er

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  (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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ZFS version for pygrub
  2010-03-27 11:47     ` Pasi Kärkkäinen
@ 2010-04-07 17:16       ` eXeC001er
  2010-04-23 12:18         ` eXeC001er
  0 siblings, 1 reply; 10+ messages in thread
From: eXeC001er @ 2010-04-07 17:16 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: Mark Johnson, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 808 bytes --]

When this patch will be applied?

2010/3/27 Pasi Kärkkäinen <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  (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
>
>

[-- Attachment #1.2: Type: text/html, Size: 1425 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ZFS version for pygrub
  2010-04-07 17:16       ` eXeC001er
@ 2010-04-23 12:18         ` eXeC001er
  2010-04-23 12:26           ` Mark Johnson
  0 siblings, 1 reply; 10+ messages in thread
From: eXeC001er @ 2010-04-23 12:18 UTC (permalink / raw)
  To: Mark Johnson, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2114 bytes --]

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' ]
on_reboot = 'destroy'
on_crash = 'destroy'
on_poweroff = '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-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@gmail.com>

> When this patch will be applied?
>
> 2010/3/27 Pasi Kärkkäinen <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  (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
>>
>>
>

[-- Attachment #1.2: Type: text/html, Size: 3777 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ZFS version for pygrub
  2010-04-23 12:18         ` eXeC001er
@ 2010-04-23 12:26           ` Mark Johnson
  2010-04-23 12:29             ` eXeC001er
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Johnson @ 2010-04-23 12:26 UTC (permalink / raw)
  To: eXeC001er; +Cc: xen-devel

On Fri, Apr 23, 2010 at 8:18 AM, eXeC001er <execooler@gmail.com> 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' ]
> on_reboot = 'destroy'
> on_crash = 'destroy'
> on_poweroff = 'destroy'

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


>>:# 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@gmail.com>
>>
>> When this patch will be applied?
>>
>> 2010/3/27 Pasi Kärkkäinen <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  (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
>>>
>>
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ZFS version for pygrub
  2010-04-23 12:26           ` Mark Johnson
@ 2010-04-23 12:29             ` eXeC001er
  2010-04-23 12:54               ` Boris Derzhavets
  2010-04-23 13:27               ` Mark Johnson
  0 siblings, 2 replies; 10+ messages in thread
From: eXeC001er @ 2010-04-23 12:29 UTC (permalink / raw)
  To: Mark Johnson; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2745 bytes --]

2010/4/23 Mark Johnson <johnson.nh@gmail.com>

> On Fri, Apr 23, 2010 at 8:18 AM, eXeC001er <execooler@gmail.com> 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' ]
> > on_reboot = 'destroy'
> > on_crash = 'destroy'
> > on_poweroff = 'destroy'
>
> 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@gmail.com>
> >>
> >> When this patch will be applied?
> >>
> >> 2010/3/27 Pasi Kärkkäinen <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  (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
> >>>
> >>
> >
> >
>

[-- Attachment #1.2: Type: text/html, Size: 4660 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ZFS version for pygrub
  2010-04-23 12:29             ` eXeC001er
@ 2010-04-23 12:54               ` Boris Derzhavets
  2010-04-23 13:27               ` Mark Johnson
  1 sibling, 0 replies; 10+ messages in thread
From: Boris Derzhavets @ 2010-04-23 12:54 UTC (permalink / raw)
  To: Mark Johnson, eXeC001er; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 4075 bytes --]

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@gmail.com> wrote:

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



2010/4/23 Mark Johnson <johnson.nh@gmail.com>

On Fri, Apr 23, 2010 at 8:18 AM, eXeC001er <execooler@gmail.com> 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' ]

> on_reboot = 'destroy'

> on_crash = 'destroy'

> on_poweroff = 'destroy'



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 


MRJUsing 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@gmail.com>

>>

>> When this patch will be applied?

>>

>> 2010/3/27 Pasi Kärkkäinen <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  (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@lists.xensource.com
http://lists.xensource.com/xen-devel



      

[-- Attachment #1.2: Type: text/html, Size: 7008 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ZFS version for pygrub
  2010-04-23 12:29             ` eXeC001er
  2010-04-23 12:54               ` Boris Derzhavets
@ 2010-04-23 13:27               ` Mark Johnson
  1 sibling, 0 replies; 10+ messages in thread
From: Mark Johnson @ 2010-04-23 13:27 UTC (permalink / raw)
  To: eXeC001er; +Cc: xen-devel

On Fri, Apr 23, 2010 at 8:29 AM, eXeC001er <execooler@gmail.com> wrote:
>
> 2010/4/23 Mark Johnson <johnson.nh@gmail.com>
>>
>> On Fri, Apr 23, 2010 at 8:18 AM, eXeC001er <execooler@gmail.com> 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' ]
>> > on_reboot = 'destroy'
>> > on_crash = 'destroy'
>> > on_poweroff = 'destroy'
>>
>> 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!

Oh, sorry about that, I was assuming that you were trying to boot of the zfs
root after completing install, not boot off the install iso.. So what I said
above should be correct once you've completed the install.

Your trying to boot off the iso, which doesn't have anything to do with
the pygrub zfs support of course.

For the install iso, the location for the boot_archive has moved again...
It's now @ /platform/i86pc/amd64/boot_archive

I just did a py file on a Solaris dom0 for a osol134 iso.
Here's what I did.. (note, our pygrub path is different
and you would want to use file in place of tap:vdisk
of course).. You don't need the addition arguments in
extra.. Just the path to the kernel. You should use 1500M
for memory for the install, then drop down after you
have completed the install..  It will work with less, but
I'm not sure what the cut off is...



MRJ




root@mckuen:~# cat install.py

bootloader = "/usr/lib/xen/bin/pygrub"
kernel = "/platform/i86xpv/kernel/amd64/unix"
ramdisk = "/platform/i86pc/amd64/boot_archive"
extra = "/platform/i86xpv/kernel/amd64/unix"
memory = 1500
name = "osol134"
vif = ['']
disk = ['file:/xvm/isos/osol134.iso,xvdb:cdrom,r',
        'tap:vdisk:/xvm/vdisks/osol134,xvda,w']

root@mckuen:~# xm create -c install.py
Using config file "./install.py".
Started domain osol134 (id=2)
                             v3.4.2-xvm chgset 'Mon Mar 29 23:26:50
2010 -0700 19676:ea2b16b75b5c'
SunOS Release 5.11 Version snv_134 64-bit
Copyright 1983-2010 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-04-23 13:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-19 18:41 ZFS version for pygrub eXeC001er
2010-03-19 19:40 ` Mark Johnson
2010-03-27 11:37   ` Mark Johnson
2010-03-27 11:47     ` Pasi Kärkkäinen
2010-04-07 17:16       ` eXeC001er
2010-04-23 12:18         ` eXeC001er
2010-04-23 12:26           ` Mark Johnson
2010-04-23 12:29             ` eXeC001er
2010-04-23 12:54               ` Boris Derzhavets
2010-04-23 13:27               ` Mark Johnson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.