Skip to contentSkip to conversation

Loading FreeBSD in an HVM-domain on Intel-based host with GRUB

DISCUSSION Igor Chubin 3 participants 9 messages Feb 7, 2008

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
WBR, i.m.chubin
#1 lore raw

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

Quoted 31 lines · Igor Chubin

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

#2 lore raw

FreeBSD/i386 and FreeBSD/amd64 boot fine if you do NOT load the acpi driver.

Christoph

Quoted 43 lines · 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

Quoted 23 lines · Igor Chubin

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.

Quoted 6 lines

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
[email protected]
http://lists.xensource.com/xen-devel

Signature · 12 lines
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
#3 lore raw
Quoted 2 lines · Christoph Egger

FreeBSD/i386 and FreeBSD/amd64 boot fine if you do NOT load the acpi driver.

On Intel ?
Using /boot/loader ?

Quoted 71 lines

Christoph

Quoted 43 lines · 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

Quoted 23 lines · Igor Chubin

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.

Quoted 6 lines

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
[email protected]
http://lists.xensource.com/xen-devel

Signature · 19 lines
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
[email protected]
http://lists.xensource.com/xen-devel
Signature · 1 line
WBR, i.m.chubin
#4 lore raw
Quoted 5 lines · On Thursday 07 February 2008 09:46:20 Igor Chubin wrote:
Quoted 2 lines · Christoph Egger

FreeBSD/i386 and FreeBSD/amd64 boot fine if you do NOT load the acpi driver.

On Intel ?

No.

Quoted 1 line

Using /boot/loader ?

Yes.

Quoted 67 lines
Quoted 67 lines

Christoph

Quoted 36 lines · 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

Quoted 27 lines · Igor Chubin

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?

Quoted 7 lines
Quoted 2 lines

[1] http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=622
[2] http://savannah.gnu.org/bugs/?10728

_______________________________________________
Xen-devel mailing list
[email protected]
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
[email protected]
http://lists.xensource.com/xen-devel

Signature · 12 lines
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
#5 lore raw
Quoted 8 lines · Christoph Egger
Quoted 5 lines · On Thursday 07 February 2008 09:46:20 Igor Chubin wrote:
Quoted 2 lines · Christoph Egger

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

Quoted 5 lines
Quoted 2 lines

Using /boot/loader ?

Yes.

Signature · 1 line
WBR, i.m.chubin
#6 lore raw
Quoted 7 lines · Igor Chubin
Quoted 3 lines
Quoted 1 line

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

#7 lore raw
Quoted 6 lines · Keir Fraser
Quoted 4 lines · Igor Chubin
Quoted 3 lines
Quoted 1 line

On Intel ?

No.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 9 lines

-- Keir

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
WBR, i.m.chubin
#8 lore raw
In reply to Keir Fraser
Quoted 5 lines · Keir Fraser

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.

Quoted 43 lines

-- Keir

Quoted 25 lines · Igor Chubin

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.

Quoted 6 lines

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
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
WBR, i.m.chubin