Igor Chubin
2008-Feb-07 08:26 UTC
[Xen-devel] Loading FreeBSD in an HVM-domain on Intel-based host with GRUB
Hello all, please tell me, is it possible (at least theoretically) to circumvent bug 622 [1] by using GRUB instead of /boot/loader to load FreeBSD kernel? Or it is silly idea: even if we bypass /boot/loader we will not be able to run FreeBSD kernel in a HVM-domain on a Intel-based host for some other reason? As far as I know, GRUB can''t load FreeBSD kernel directly, but only can make chainloading using /boot/loader. Certainly, it is not the solution, but there were patches to GRUB that allow to boot FreeBSD directly [2]. I want to try to use it and eliminate /boot/loader from boot process at all. What can you say about this idea? [1] http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=622 [2] http://savannah.gnu.org/bugs/?10728 -- WBR, i.m.chubin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Feb-07 08:34 UTC
Re: [Xen-devel] Loading FreeBSD in an HVM-domain on Intel-based host with GRUB
Actually I thought the FreeBSD issues were to do with vmxassist (which I finally removed from xen-unstable yesterday) but I see there are problem reports with amd64 as well. Still, it would be good if you could try booting FreeBSD with latest xen-unstable, else point me at a suitable FreeBSD ISO to download which exhibits this issue? -- Keir On 7/2/08 08:26, "Igor Chubin" <igor@chub.in> wrote:> > > Hello all, > > please tell me, > > > is it possible (at least theoretically) > to circumvent bug 622 [1] by using > GRUB instead of /boot/loader to load FreeBSD kernel? > > Or it is silly idea: even if we bypass /boot/loader we will > not be able to run FreeBSD kernel in a HVM-domain on a > Intel-based host for some other reason? > > > As far as I know, GRUB can''t load FreeBSD kernel > directly, but only can make chainloading using /boot/loader. > Certainly, it is not the solution, but there were patches > to GRUB that allow to boot FreeBSD directly [2]. > > I want to try to use it and eliminate /boot/loader > from boot process at all. > > > What can you say about this idea? > > > > [1] http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=622 > [2] http://savannah.gnu.org/bugs/?10728_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christoph Egger
2008-Feb-07 08:41 UTC
Re: [Xen-devel] Loading FreeBSD in an HVM-domain on Intel-based host with GRUB
FreeBSD/i386 and FreeBSD/amd64 boot fine if you do NOT load the acpi driver. Christoph On Thursday 07 February 2008 09:34:40 Keir Fraser wrote:> Actually I thought the FreeBSD issues were to do with vmxassist (which I > finally removed from xen-unstable yesterday) but I see there are problem > reports with amd64 as well. Still, it would be good if you could try > booting FreeBSD with latest xen-unstable, else point me at a suitable > FreeBSD ISO to download which exhibits this issue? > > -- Keir > > On 7/2/08 08:26, "Igor Chubin" <igor@chub.in> wrote: > > Hello all, > > > > please tell me, > > > > > > is it possible (at least theoretically) > > to circumvent bug 622 [1] by using > > GRUB instead of /boot/loader to load FreeBSD kernel? > > > > Or it is silly idea: even if we bypass /boot/loader we will > > not be able to run FreeBSD kernel in a HVM-domain on a > > Intel-based host for some other reason? > > > > > > As far as I know, GRUB can''t load FreeBSD kernel > > directly, but only can make chainloading using /boot/loader. > > Certainly, it is not the solution, but there were patches > > to GRUB that allow to boot FreeBSD directly [2]. > > > > I want to try to use it and eliminate /boot/loader > > from boot process at all. > > > > > > What can you say about this idea? > > > > > > > > [1] http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=622 > > [2] http://savannah.gnu.org/bugs/?10728 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Igor Chubin
2008-Feb-07 08:46 UTC
Re: [Xen-devel] Loading FreeBSD in an HVM-domain on Intel-based host with GRUB
On Do, Feb 07, 2008 at 09:41:18 +0100, Christoph Egger wrote:> > FreeBSD/i386 and FreeBSD/amd64 boot fine if you do NOT load the acpi driver.On Intel ? Using /boot/loader ?> > Christoph > > > On Thursday 07 February 2008 09:34:40 Keir Fraser wrote: > > Actually I thought the FreeBSD issues were to do with vmxassist (which I > > finally removed from xen-unstable yesterday) but I see there are problem > > reports with amd64 as well. Still, it would be good if you could try > > booting FreeBSD with latest xen-unstable, else point me at a suitable > > FreeBSD ISO to download which exhibits this issue? > > > > -- Keir > > > > On 7/2/08 08:26, "Igor Chubin" <igor@chub.in> wrote: > > > Hello all, > > > > > > please tell me, > > > > > > > > > is it possible (at least theoretically) > > > to circumvent bug 622 [1] by using > > > GRUB instead of /boot/loader to load FreeBSD kernel? > > > > > > Or it is silly idea: even if we bypass /boot/loader we will > > > not be able to run FreeBSD kernel in a HVM-domain on a > > > Intel-based host for some other reason? > > > > > > > > > As far as I know, GRUB can''t load FreeBSD kernel > > > directly, but only can make chainloading using /boot/loader. > > > Certainly, it is not the solution, but there were patches > > > to GRUB that allow to boot FreeBSD directly [2]. > > > > > > I want to try to use it and eliminate /boot/loader > > > from boot process at all. > > > > > > > > > What can you say about this idea? > > > > > > > > > > > > [1] http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=622 > > > [2] http://savannah.gnu.org/bugs/?10728 > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > -- > AMD Saxony, Dresden, Germany > Operating System Research Center > > Legal Information: > AMD Saxony Limited Liability Company & Co. KG > Sitz (Geschäftsanschrift): > Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland > Registergericht Dresden: HRA 4896 > vertretungsberechtigter Komplementär: > AMD Saxony LLC (Sitz Wilmington, Delaware, USA) > Geschäftsführer der AMD Saxony LLC: > Dr. Hans-R. Deppe, Thomas McCoy > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- WBR, i.m.chubin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Igor Chubin
2008-Feb-07 08:47 UTC
Re: [Xen-devel] Loading FreeBSD in an HVM-domain on Intel-based host with GRUB
On Do, Feb 07, 2008 at 08:34:40 +0000, Keir Fraser wrote:> Actually I thought the FreeBSD issues were to do with vmxassist (which I > finally removed from xen-unstable yesterday) but I see there are problem > reports with amd64 as well. Still, it would be good if you could try booting > FreeBSD with latest xen-unstable, else point me at a suitable FreeBSD ISO to > download which exhibits this issue?Ok, will try it and make a report.> > -- Keir > > On 7/2/08 08:26, "Igor Chubin" <igor@chub.in> wrote: > > > > > > > Hello all, > > > > please tell me, > > > > > > is it possible (at least theoretically) > > to circumvent bug 622 [1] by using > > GRUB instead of /boot/loader to load FreeBSD kernel? > > > > Or it is silly idea: even if we bypass /boot/loader we will > > not be able to run FreeBSD kernel in a HVM-domain on a > > Intel-based host for some other reason? > > > > > > As far as I know, GRUB can''t load FreeBSD kernel > > directly, but only can make chainloading using /boot/loader. > > Certainly, it is not the solution, but there were patches > > to GRUB that allow to boot FreeBSD directly [2]. > > > > I want to try to use it and eliminate /boot/loader > > from boot process at all. > > > > > > What can you say about this idea? > > > > > > > > [1] http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=622 > > [2] http://savannah.gnu.org/bugs/?10728 > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- WBR, i.m.chubin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christoph Egger
2008-Feb-07 08:52 UTC
Re: [Xen-devel] Loading FreeBSD in an HVM-domain on Intel-based host with GRUB
On Thursday 07 February 2008 09:46:20 Igor Chubin wrote:> On Do, Feb 07, 2008 at 09:41:18 +0100, Christoph Egger wrote: > > FreeBSD/i386 and FreeBSD/amd64 boot fine if you do NOT load the acpi > > driver. > > On Intel ?No.> Using /boot/loader ?Yes.> > Christoph > > > > On Thursday 07 February 2008 09:34:40 Keir Fraser wrote: > > > Actually I thought the FreeBSD issues were to do with vmxassist (which > > > I finally removed from xen-unstable yesterday) but I see there are > > > problem reports with amd64 as well. Still, it would be good if you > > > could try booting FreeBSD with latest xen-unstable, else point me at a > > > suitable FreeBSD ISO to download which exhibits this issue? > > > > > > -- Keir > > > > > > On 7/2/08 08:26, "Igor Chubin" <igor@chub.in> wrote: > > > > Hello all, > > > > > > > > please tell me, > > > > > > > > > > > > is it possible (at least theoretically) > > > > to circumvent bug 622 [1] by using > > > > GRUB instead of /boot/loader to load FreeBSD kernel? > > > > > > > > Or it is silly idea: even if we bypass /boot/loader we will > > > > not be able to run FreeBSD kernel in a HVM-domain on a > > > > Intel-based host for some other reason? > > > > > > > > > > > > As far as I know, GRUB can''t load FreeBSD kernel > > > > directly, but only can make chainloading using /boot/loader. > > > > Certainly, it is not the solution, but there were patches > > > > to GRUB that allow to boot FreeBSD directly [2]. > > > > > > > > I want to try to use it and eliminate /boot/loader > > > > from boot process at all. > > > > > > > > > > > > What can you say about this idea? > > > > > > > > > > > > > > > > [1] http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=622 > > > > [2] http://savannah.gnu.org/bugs/?10728 > > > > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@lists.xensource.com > > > http://lists.xensource.com/xen-devel > > > > -- > > AMD Saxony, Dresden, Germany > > Operating System Research Center > > > > Legal Information: > > AMD Saxony Limited Liability Company & Co. KG > > Sitz (Geschäftsanschrift): > > Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland > > Registergericht Dresden: HRA 4896 > > vertretungsberechtigter Komplementär: > > AMD Saxony LLC (Sitz Wilmington, Delaware, USA) > > Geschäftsführer der AMD Saxony LLC: > > Dr. Hans-R. Deppe, Thomas McCoy > > > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel-- AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Igor Chubin
2008-Feb-07 09:02 UTC
Re: [Xen-devel] Loading FreeBSD in an HVM-domain on Intel-based host with GRUB
On Do, Feb 07, 2008 at 09:52:35 +0100, Christoph Egger wrote:> On Thursday 07 February 2008 09:46:20 Igor Chubin wrote: > > On Do, Feb 07, 2008 at 09:41:18 +0100, Christoph Egger wrote: > > > FreeBSD/i386 and FreeBSD/amd64 boot fine if you do NOT load the acpi > > > driver. > > > > On Intel ? > > No.I know that it perfectly runs on AMD (thanks to AMD!). I use AMD myself for it. The problem is Intel-specific only (see subject).> > > Using /boot/loader ? > > Yes. >-- WBR, i.m.chubin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Feb-07 09:13 UTC
Re: [Xen-devel] Loading FreeBSD in an HVM-domain on Intel-based host with GRUB
On 7/2/08 09:02, "Igor Chubin" <igor@chub.in> wrote:>>> On Intel ? >> >> No. > > I know that it perfectly runs on AMD (thanks to AMD!). > I use AMD myself for it. > The problem is Intel-specific only (see subject).In that case this is almost certainly fixed in current xen-unstable. And also current xen-3.2-testing.hg tip if you build it with vmxassist=n. It won''t be fixed in 3.1 branch. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Igor Chubin
2008-Feb-07 18:25 UTC
Re: [Xen-devel] Loading FreeBSD in an HVM-domain on Intel-based host with GRUB
On Do, Feb 07, 2008 at 09:13:32 +0000, Keir Fraser wrote:> On 7/2/08 09:02, "Igor Chubin" <igor@chub.in> wrote: > > >>> On Intel ? > >> > >> No. > > > > I know that it perfectly runs on AMD (thanks to AMD!). > > I use AMD myself for it. > > The problem is Intel-specific only (see subject). > > In that case this is almost certainly fixed in current xen-unstable. And > also current xen-3.2-testing.hg tip if you build it with vmxassist=n. It > won''t be fixed in 3.1 branch.It really works! Thank you.> > -- Keir > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- WBR, i.m.chubin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel