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"


Re: Xen Dom0

2017-06-28 Thread Larry Rosenman
Any ideas?


On 6/25/17, 8:28 AM, "Larry Rosenman"  wrote:

On Sun, Jun 25, 2017 at 07:50:25AM -0500, Larry Rosenman wrote:
> On Sat, Jun 24, 2017 at 06:12:24PM -0400, Allan Jude wrote:
> > On 2017-06-24 16:11, Larry Rosenman wrote:
> > > I tried to play with Xen on my existing root-on-zfs system, and when 
it tried to
> > > load /boot/xen, it said it couldn't. 
> > > 
> > > This is on:
> > > 
> > > FreeBSD borg.lerctr.org 12.0-CURRENT FreeBSD 12.0-CURRENT #33 
r320190: Wed Jun 21 10:22:24 CDT 2017 
r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64 1200034 1200034
> > > 
> > > Using ports at:
> > > 
> > > Path: /usr/ports
> > > Working Copy Root Path: /usr/ports
> > > URL: svn://svn.freebsd.org/ports/head
> > > Relative URL: ^/head
> > > Repository Root: svn://svn.freebsd.org/ports
> > > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> > > Revision: 444091
> > > Node Kind: directory
> > > Schedule: normal
> > > Last Changed Author: jbeich
> > > Last Changed Rev: 444091
> > > Last Changed Date: 2017-06-21 20:19:28 -0500 (Wed, 21 Jun 2017)
> > > 
> > > 
> > > Ideas?
> > > 
> > 
> > Do you have the actual error message?
> it said can't load /boot/xen
screenshot: http://www.lerctr.org/~ler/XEN.png

> that was all.
> > Can you share the relevant bits of /boot/loader.conf ?
> Exactly what was put out by the port. 
> 
> (I've reverted and removed it for now). 
> 
> > 
> > -- 
> > Allan Jude
> > ___
> > 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"
> 
> -- 
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281

-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281



___
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-25 Thread Larry Rosenman
On Sun, Jun 25, 2017 at 07:50:25AM -0500, Larry Rosenman wrote:
> On Sat, Jun 24, 2017 at 06:12:24PM -0400, Allan Jude wrote:
> > On 2017-06-24 16:11, Larry Rosenman wrote:
> > > I tried to play with Xen on my existing root-on-zfs system, and when it 
> > > tried to
> > > load /boot/xen, it said it couldn't. 
> > > 
> > > This is on:
> > > 
> > > FreeBSD borg.lerctr.org 12.0-CURRENT FreeBSD 12.0-CURRENT #33 r320190: 
> > > Wed Jun 21 10:22:24 CDT 2017 
> > > r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64 1200034 1200034
> > > 
> > > Using ports at:
> > > 
> > > Path: /usr/ports
> > > Working Copy Root Path: /usr/ports
> > > URL: svn://svn.freebsd.org/ports/head
> > > Relative URL: ^/head
> > > Repository Root: svn://svn.freebsd.org/ports
> > > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> > > Revision: 444091
> > > Node Kind: directory
> > > Schedule: normal
> > > Last Changed Author: jbeich
> > > Last Changed Rev: 444091
> > > Last Changed Date: 2017-06-21 20:19:28 -0500 (Wed, 21 Jun 2017)
> > > 
> > > 
> > > Ideas?
> > > 
> > 
> > Do you have the actual error message?
> it said can't load /boot/xen
screenshot: http://www.lerctr.org/~ler/XEN.png

> that was all.
> > Can you share the relevant bits of /boot/loader.conf ?
> Exactly what was put out by the port. 
> 
> (I've reverted and removed it for now). 
> 
> > 
> > -- 
> > Allan Jude
> > ___
> > 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"
> 
> -- 
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281

-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281


signature.asc
Description: PGP signature


Re: Xen Dom0

2017-06-25 Thread Larry Rosenman
On Sat, Jun 24, 2017 at 06:12:24PM -0400, Allan Jude wrote:
> On 2017-06-24 16:11, Larry Rosenman wrote:
> > I tried to play with Xen on my existing root-on-zfs system, and when it 
> > tried to
> > load /boot/xen, it said it couldn't. 
> > 
> > This is on:
> > 
> > FreeBSD borg.lerctr.org 12.0-CURRENT FreeBSD 12.0-CURRENT #33 r320190: Wed 
> > Jun 21 10:22:24 CDT 2017 
> > r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64 1200034 1200034
> > 
> > Using ports at:
> > 
> > Path: /usr/ports
> > Working Copy Root Path: /usr/ports
> > URL: svn://svn.freebsd.org/ports/head
> > Relative URL: ^/head
> > Repository Root: svn://svn.freebsd.org/ports
> > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> > Revision: 444091
> > Node Kind: directory
> > Schedule: normal
> > Last Changed Author: jbeich
> > Last Changed Rev: 444091
> > Last Changed Date: 2017-06-21 20:19:28 -0500 (Wed, 21 Jun 2017)
> > 
> > 
> > Ideas?
> > 
> 
> Do you have the actual error message?
it said can't load /boot/xen
that was all.
> Can you share the relevant bits of /boot/loader.conf ?
Exactly what was put out by the port. 

(I've reverted and removed it for now). 

> 
> -- 
> Allan Jude
> ___
> 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"

-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
___
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-24 Thread Allan Jude
On 2017-06-24 16:11, Larry Rosenman wrote:
> I tried to play with Xen on my existing root-on-zfs system, and when it tried 
> to
> load /boot/xen, it said it couldn't. 
> 
> This is on:
> 
> FreeBSD borg.lerctr.org 12.0-CURRENT FreeBSD 12.0-CURRENT #33 r320190: Wed 
> Jun 21 10:22:24 CDT 2017 r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER 
>  amd64 1200034 1200034
> 
> Using ports at:
> 
> Path: /usr/ports
> Working Copy Root Path: /usr/ports
> URL: svn://svn.freebsd.org/ports/head
> Relative URL: ^/head
> Repository Root: svn://svn.freebsd.org/ports
> Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> Revision: 444091
> Node Kind: directory
> Schedule: normal
> Last Changed Author: jbeich
> Last Changed Rev: 444091
> Last Changed Date: 2017-06-21 20:19:28 -0500 (Wed, 21 Jun 2017)
> 
> 
> Ideas?
> 

Do you have the actual error message?
Can you share the relevant bits of /boot/loader.conf ?

-- 
Allan Jude
___
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"