Re: Xen Dom0

2017-06-29 Thread Larry Rosenman


On 6/29/17, 11:06 AM, "Roger Pau Monné"  wrote:

On Thu, Jun 29, 2017 at 09:42:32AM -0500, Larry Rosenman wrote:
> 
> 
> On 6/29/17, 5:01 AM, "Roger Pau Monné"  wrote:
> 
> Hello,
> 
> Sorry for the delay, I don't read freebsd-virt as often as I should.
> There's also freebsd-xen@ for FreeBSD/Xen specific issues (although
> posting here is fine).
> 
> On Wed, Jun 28, 2017 at 11:44:27PM -0500, Larry Rosenman wrote:
> > Any ideas?
> 
> When was the last time that you updated world (or more specifically
> /boot/)?
> 
> Could you please attempt the following and try again:
> 
> cd sys/boot/ && make && make install
> 
> I've just tested the port with the current loader code and seems to
> work fine.
> 
> There was a brief period of time when HEAD couldn't boot a Xen kernel,
> IIRC it's ~3month ago or so. That was fixed, but you might just happen
> to have a loader from that time.
> 
> Roger.
> 
> I buildworld/buildkernel on a regular basis:
> Edit /etc/motd to change this login announcement.
> borg.lerctr.org /home/ler $ ls -l /boot/*loader*
> -r-xr-xr-x  1 root  wheel  376832 Jun 25 16:48 /boot/loader
> -r--r--r--  1 root  wheel7483 Jun 25 16:48 /boot/loader.4th
> -rw-r--r--  1 root  wheel1157 Jun 25 08:26 /boot/loader.conf
> -r-xr-xr-x  1 root  wheel  445952 Jun 25 16:48 /boot/loader.efi
> -r--r--r--  1 root  wheel   15084 Jun 25 16:48 /boot/loader.help
> -r-xr-xr-x  1 root  wheel  376832 Jun 21 10:29 /boot/loader.old
> -r--r--r--  1 root  wheel 423 Jun 25 16:48 /boot/loader.rc
> -r-xr-xr-x  1 root  wheel  442368 Jun 25 16:48 /boot/zfsloader
> -r-xr-xr-x  1 root  wheel  442368 Jun 21 10:29 /boot/zfsloader.old
> borg.lerctr.org /home/ler $
> 
> Note: I have *NOT* updated the efi partition stuff.  
> 
> This is root-on-ZFS if it matters, and it *IS* EFI.

Oh, right. Sadly booting from EFI is not yet supported. Upstream Xen
only gained support for that quite recently, I need to look into
implementing the multiboot2 protocol in the FreeBSD loader.

Sorry for that. You will have to switch to BIOS booting if you want to
play with Xen.

Roger.


Ok, I’ll wait for the EFI support – If you need a guinea pig, I’m all 
ears/eyes/fingers ( 



___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Re: Xen Dom0

2017-06-29 Thread Roger Pau Monné
On Thu, Jun 29, 2017 at 09:42:32AM -0500, Larry Rosenman wrote:
> 
> 
> On 6/29/17, 5:01 AM, "Roger Pau Monné"  wrote:
> 
> Hello,
> 
> Sorry for the delay, I don't read freebsd-virt as often as I should.
> There's also freebsd-xen@ for FreeBSD/Xen specific issues (although
> posting here is fine).
> 
> On Wed, Jun 28, 2017 at 11:44:27PM -0500, Larry Rosenman wrote:
> > Any ideas?
> 
> When was the last time that you updated world (or more specifically
> /boot/)?
> 
> Could you please attempt the following and try again:
> 
> cd sys/boot/ && make && make install
> 
> I've just tested the port with the current loader code and seems to
> work fine.
> 
> There was a brief period of time when HEAD couldn't boot a Xen kernel,
> IIRC it's ~3month ago or so. That was fixed, but you might just happen
> to have a loader from that time.
> 
> Roger.
> 
> I buildworld/buildkernel on a regular basis:
> Edit /etc/motd to change this login announcement.
> borg.lerctr.org /home/ler $ ls -l /boot/*loader*
> -r-xr-xr-x  1 root  wheel  376832 Jun 25 16:48 /boot/loader
> -r--r--r--  1 root  wheel7483 Jun 25 16:48 /boot/loader.4th
> -rw-r--r--  1 root  wheel1157 Jun 25 08:26 /boot/loader.conf
> -r-xr-xr-x  1 root  wheel  445952 Jun 25 16:48 /boot/loader.efi
> -r--r--r--  1 root  wheel   15084 Jun 25 16:48 /boot/loader.help
> -r-xr-xr-x  1 root  wheel  376832 Jun 21 10:29 /boot/loader.old
> -r--r--r--  1 root  wheel 423 Jun 25 16:48 /boot/loader.rc
> -r-xr-xr-x  1 root  wheel  442368 Jun 25 16:48 /boot/zfsloader
> -r-xr-xr-x  1 root  wheel  442368 Jun 21 10:29 /boot/zfsloader.old
> borg.lerctr.org /home/ler $
> 
> Note: I have *NOT* updated the efi partition stuff.  
> 
> This is root-on-ZFS if it matters, and it *IS* EFI.

Oh, right. Sadly booting from EFI is not yet supported. Upstream Xen
only gained support for that quite recently, I need to look into
implementing the multiboot2 protocol in the FreeBSD loader.

Sorry for that. You will have to switch to BIOS booting if you want to
play with Xen.

Roger.
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Xen Dom0

2017-06-29 Thread Larry Rosenman


On 6/29/17, 5:01 AM, "Roger Pau Monné"  wrote:

Hello,

Sorry for the delay, I don't read freebsd-virt as often as I should.
There's also freebsd-xen@ for FreeBSD/Xen specific issues (although
posting here is fine).

On Wed, Jun 28, 2017 at 11:44:27PM -0500, Larry Rosenman wrote:
> Any ideas?

When was the last time that you updated world (or more specifically
/boot/)?

Could you please attempt the following and try again:

cd sys/boot/ && make && make install

I've just tested the port with the current loader code and seems to
work fine.

There was a brief period of time when HEAD couldn't boot a Xen kernel,
IIRC it's ~3month ago or so. That was fixed, but you might just happen
to have a loader from that time.

Roger.

I buildworld/buildkernel on a regular basis:
Edit /etc/motd to change this login announcement.
borg.lerctr.org /home/ler $ ls -l /boot/*loader*
-r-xr-xr-x  1 root  wheel  376832 Jun 25 16:48 /boot/loader
-r--r--r--  1 root  wheel7483 Jun 25 16:48 /boot/loader.4th
-rw-r--r--  1 root  wheel1157 Jun 25 08:26 /boot/loader.conf
-r-xr-xr-x  1 root  wheel  445952 Jun 25 16:48 /boot/loader.efi
-r--r--r--  1 root  wheel   15084 Jun 25 16:48 /boot/loader.help
-r-xr-xr-x  1 root  wheel  376832 Jun 21 10:29 /boot/loader.old
-r--r--r--  1 root  wheel 423 Jun 25 16:48 /boot/loader.rc
-r-xr-xr-x  1 root  wheel  442368 Jun 25 16:48 /boot/zfsloader
-r-xr-xr-x  1 root  wheel  442368 Jun 21 10:29 /boot/zfsloader.old
borg.lerctr.org /home/ler $

Note: I have *NOT* updated the efi partition stuff.  

This is root-on-ZFS if it matters, and it *IS* EFI.

Do I need to update the EFI boot partition?





___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Re: Xen Dom0

2017-06-29 Thread Roger Pau Monné
Hello,

Sorry for the delay, I don't read freebsd-virt as often as I should.
There's also freebsd-xen@ for FreeBSD/Xen specific issues (although
posting here is fine).

On Wed, Jun 28, 2017 at 11:44:27PM -0500, Larry Rosenman wrote:
> Any ideas?

When was the last time that you updated world (or more specifically
/boot/)?

Could you please attempt the following and try again:

cd sys/boot/ && make && make install

I've just tested the port with the current loader code and seems to
work fine.

There was a brief period of time when HEAD couldn't boot a Xen kernel,
IIRC it's ~3month ago or so. That was fixed, but you might just happen
to have a loader from that time.

Roger.
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"