Ian Campbell
2010-Mar-02 09:25 UTC
[Xen-devel] Backport pygrub grub2 support to 3.4-testing
20485:086a6a0c3f37 pygrub: factor generic Grub functionality into GrubConf base classes 20486:6e32b7a3e802 pygrub: track the title of an item as an independant field 20487:c8caa281a75a pygrub: add basic support for parsing grub2 style grub.cfg file 20585:2636e5619708 pygrub: improve grub 2 support Can we pull these into xen-3.4-testing.hg? They make it possible to install Debian Squeeze (which defaults to Grub 2) and boot it using pygrub. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2010-Mar-02 13:54 UTC
Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing
> 20585:2636e5619708 pygrub: improve grub 2 supportI believe number is wrong :- 4 weeks ago: pygrub: improve grub 2 support changeset 20858: 2636e5619708 Boris. --- On Tue, 3/2/10, Ian Campbell <Ian.Campbell@citrix.com> wrote: From: Ian Campbell <Ian.Campbell@citrix.com> Subject: [Xen-devel] Backport pygrub grub2 support to 3.4-testing To: "xen-devel" <xen-devel@lists.xensource.com> Date: Tuesday, March 2, 2010, 4:25 AM 20485:086a6a0c3f37 pygrub: factor generic Grub functionality into GrubConf base classes 20486:6e32b7a3e802 pygrub: track the title of an item as an independant field 20487:c8caa281a75a pygrub: add basic support for parsing grub2 style grub.cfg file 20585:2636e5619708 pygrub: improve grub 2 support Can we pull these into xen-3.4-testing.hg? They make it possible to install Debian Squeeze (which defaults to Grub 2) and boot it using pygrub. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2010-Mar-02 14:00 UTC
Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing
On Tue, 2010-03-02 at 13:54 +0000, Boris Derzhavets wrote:> > 20585:2636e5619708 pygrub: improve grub 2 support > > I believe number is wrong :- > 4 weeks ago: > pygrub: improve grub 2 support > changeset 20858: > 2636e5619708 >The second number is the important one, the other is potentially only locally relevant. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2010-Mar-02 14:12 UTC
Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing
Just backport "20485:086a6a0c3f37 pygrub: factor generic Grub functionality into GrubConf base classes" fails . Some CS(s) with minor numbers seem to be required for consistency. Boris. --- On Tue, 3/2/10, Ian Campbell <Ian.Campbell@citrix.com> wrote: From: Ian Campbell <Ian.Campbell@citrix.com> Subject: [Xen-devel] Backport pygrub grub2 support to 3.4-testing To: "xen-devel" <xen-devel@lists.xensource.com> Date: Tuesday, March 2, 2010, 4:25 AM 20485:086a6a0c3f37 pygrub: factor generic Grub functionality into GrubConf base classes 20486:6e32b7a3e802 pygrub: track the title of an item as an independant field 20487:c8caa281a75a pygrub: add basic support for parsing grub2 style grub.cfg file 20585:2636e5619708 pygrub: improve grub 2 support Can we pull these into xen-3.4-testing.hg? They make it possible to install Debian Squeeze (which defaults to Grub 2) and boot it using pygrub. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2010-Mar-02 14:22 UTC
Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing
On Tue, 2010-03-02 at 14:12 +0000, Boris Derzhavets wrote:> Just backport "20485:086a6a0c3f37 pygrub: factor generic Grub > functionality into GrubConf base classes" fails . Some CS(s) with > minor numbers seem to be required for consistency.I''ve attached backported versions of the relevant commits. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Mar-02 14:40 UTC
Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing
On 02/03/2010 14:22, "Ian Campbell" <Ian.Campbell@citrix.com> wrote:> On Tue, 2010-03-02 at 14:12 +0000, Boris Derzhavets wrote: >> Just backport "20485:086a6a0c3f37 pygrub: factor generic Grub >> functionality into GrubConf base classes" fails . Some CS(s) with >> minor numbers seem to be required for consistency. > > I''ve attached backported versions of the relevant commits.I already backported and applied. All but the first applied cleanly. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2010-Mar-02 14:41 UTC
Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing
On Tue, 2010-03-02 at 14:40 +0000, Keir Fraser wrote:> On 02/03/2010 14:22, "Ian Campbell" <Ian.Campbell@citrix.com> wrote: > > > On Tue, 2010-03-02 at 14:12 +0000, Boris Derzhavets wrote: > >> Just backport "20485:086a6a0c3f37 pygrub: factor generic Grub > >> functionality into GrubConf base classes" fails . Some CS(s) with > >> minor numbers seem to be required for consistency. > > > > I''ve attached backported versions of the relevant commits. > > I already backported and applied. All but the first applied cleanly.Smashing, cheers! Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2010-Mar-02 18:35 UTC
Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing
Under Xen 4.0-rc4 (rc5) i can create Ubuntu Karmic Server HVM DomU with image, say on /dev/sdb5, and immediately load Karmic PV DomU via /usr/local/bin/pygrub on /dev/sdb5 (/dev/xvda1 mounted on "/", /dev/xvda2 - swap). Fresh clone Xen 3.4.3 doesn''t allow me to reproduce this procedure. Bootloader returns no data, and i still have to copy kernel and ramdisk to Dom0 add /etc/init/hvc0 at DomU (edited as usual) and then load Karmic Server PV DomU via profile :- name="KarmicPV" memory=2048 kernel="./vmlinuz-2.6.31-14-server" ramdisk="./initrd.img-2.6.31-14-server" disk=[''phy:/dev/sdb5,xvda,w''] extra="root=/dev/xvda1 ro console=hvc0" vif= [ ''bridge=eth0''] Profile : name="KarmicPV" memory=2048 bootloader="/usr/local/bin/pygrub" disk=[''phy:/dev/sdb5,xvda,w''] vif= [''bridge=eth0''] vfb= [''vnc=1,vncunused=1''] doesn''t work ( pygrub returns no data). Xen has been built via directory :- root@ServerKoala:/usr/src# cd xen-3.4-testing.hg root@ServerKoala:/usr/src/xen-3.4-testing.hg# hg log |more changeset: 19912:faf6902fde2e tag: tip user: Keir Fraser <keir.fraser@citrix.com> date: Tue Mar 02 13:56:58 2010 +0000 summary: Update Xen version to 3.4.3-rc4-pre changeset: 19911:d016a6777167 user: Keir Fraser <keir.fraser@citrix.com> date: Tue Mar 02 13:56:25 2010 +0000 summary: pygrub: factor generic Grub functionality into GrubConf base classes changeset: 19910:2b0908b101de user: Keir Fraser <keir.fraser@citrix.com> date: Tue Mar 02 13:49:21 2010 +0000 summary: x86/acpi: Add a missing CR in printk changeset: 19909:cfd7f75ea9bc user: Keir Fraser <keir.fraser@citrix.com> date: Mon Mar 01 16:51:31 2010 +0000 summary: Added tag 3.4.3-rc3 for changeset 8e843b06f917 changeset: 19908:8e843b06f917 tag: 3.4.3-rc3 user: Keir Fraser <keir.fraser@citrix.com> date: Mon Mar 01 16:51:19 2010 +0000 summary: Update Xen version to 3.4.3-rc3 changeset: 19907:1cdf837cd5ef user: Keir Fraser <keir.fraser@citrix.com> date: Mon Mar 01 12:01:10 2010 +0000 summary: New release of C/S 19894 "Disable memory mapping warnings when stub . . . . . . . . . Boris. --- On Tue, 3/2/10, Ian Campbell <Ian.Campbell@citrix.com> wrote: From: Ian Campbell <Ian.Campbell@citrix.com> Subject: Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing To: "Keir Fraser" <Keir.Fraser@eu.citrix.com> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-devel" <xen-devel@lists.xensource.com> Date: Tuesday, March 2, 2010, 9:41 AM On Tue, 2010-03-02 at 14:40 +0000, Keir Fraser wrote:> On 02/03/2010 14:22, "Ian Campbell" <Ian.Campbell@citrix.com> wrote: > > > On Tue, 2010-03-02 at 14:12 +0000, Boris Derzhavets wrote: > >> Just backport "20485:086a6a0c3f37 pygrub: factor generic Grub > >> functionality into GrubConf base classes" fails . Some CS(s) with > >> minor numbers seem to be required for consistency. > > > > I''ve attached backported versions of the relevant commits. > > I already backported and applied. All but the first applied cleanly.Smashing, cheers! Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Mar-02 19:24 UTC
Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing
On 02/03/2010 18:35, "Boris Derzhavets" <bderzhavets@yahoo.com> wrote:> Under Xen 4.0-rc4 (rc5) i can create Ubuntu Karmic Server HVM DomU with > image, say on /dev/sdb5, and immediately load Karmic PV DomU via > /usr/local/bin/pygrub on /dev/sdb5 (/dev/xvda1 mounted on "/", /dev/xvda2 - > swap). > Fresh clone Xen 3.4.3 doesn''t allow me to reproduce this procedure. > Bootloader returns no data, and i still have to copy kernel and ramdisk > to Dom0 add /etc/init/hvc0 at DomU (edited as usual) and then load Karmic > Server PV DomU via profile :-Looks like my backport of the patches was broken. Comparing with Ian''s, I''ve checked in a fix-up patch as changeset 19913. So try refreshing your 3.4 tree and rebuilding. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2010-Mar-02 22:12 UTC
Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing
Yes, now fresh clone Xen 3.4.3 supports GRUB 2. Thanks. Boris. --- On Tue, 3/2/10, Keir Fraser <keir.fraser@eu.citrix.com> wrote: From: Keir Fraser <keir.fraser@eu.citrix.com> Subject: Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing To: "Boris Derzhavets" <bderzhavets@yahoo.com>, "Ian Campbell" <Ian.Campbell@eu.citrix.com> Cc: "xen-devel" <xen-devel@lists.xensource.com> Date: Tuesday, March 2, 2010, 2:24 PM On 02/03/2010 18:35, "Boris Derzhavets" <bderzhavets@yahoo.com> wrote:> Under Xen 4.0-rc4 (rc5) i can create Ubuntu Karmic Server HVM DomU with > image, say on /dev/sdb5, and immediately load Karmic PV DomU via > /usr/local/bin/pygrub on /dev/sdb5 (/dev/xvda1 mounted on "/", /dev/xvda2 - > swap). > Fresh clone Xen 3.4.3 doesn''t allow me to reproduce this procedure. > Bootloader returns no data, and i still have to copy kernel and ramdisk > to Dom0 add /etc/init/hvc0 at DomU (edited as usual) and then load Karmic > Server PV DomU via profile :-Looks like my backport of the patches was broken. Comparing with Ian''s, I''ve checked in a fix-up patch as changeset 19913. So try refreshing your 3.4 tree and rebuilding. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel