Re: [regression] bhyve stopped working

2014-10-03 Thread Peter Grehan

HI Lars,


I just upgraded to r272468 and bhyve stopped working. When I start a VM
(Ubuntu or FreeBSD) byhve dumps core:


 Should be fixed in r272481.

later,

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


Re: VM unrestricted guest capability required

2014-10-03 Thread Peter Grehan

Hi Allan,


If/When bhyve gets the UEFI boot stuff to be able to do 'any OS' (from
my understanding, this is the approach that will be used for Windows),
would that remove the requirement for UG to boot Linux, if it was booted
via UEFI?


 It cements the UG requirement even further: UEFI is a form of BIOS 
ROM, which requires starting the VM in x86 real-mode power-on state.


later,

Peter.

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


Re: VM unrestricted guest capability required

2014-10-03 Thread Allan Jude
On 2014-10-03 12:45, Peter Grehan wrote:
>> Are there any news/plans/progress with possibility to run Windows as
>> guest?
> 
>  Plans - most definitely. Progress - not a lot to report at this stage.
> 
> later,
> 
> Peter.
> 
> ___
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to
> "freebsd-virtualization-unsubscr...@freebsd.org"

If/When bhyve gets the UEFI boot stuff to be able to do 'any OS' (from
my understanding, this is the approach that will be used for Windows),
would that remove the requirement for UG to boot Linux, if it was booted
via UEFI?

-- 
Allan Jude



signature.asc
Description: OpenPGP digital signature


Re: VM unrestricted guest capability required

2014-10-03 Thread Peter Grehan

Are there any news/plans/progress with possibility to run Windows as
guest?


 Plans - most definitely. Progress - not a lot to report at this stage.

later,

Peter.

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


Re: [regression] bhyve stopped working

2014-10-03 Thread Peter Grehan

Hi Lars,


I just upgraded to r272468 and bhyve stopped working. When I start a VM
(Ubuntu or FreeBSD) byhve dumps core:


 Aargh, looks like the recent ACPI-CA import caused this :( Working on 
a fix now.


later,

Peter

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


[regression] bhyve stopped working

2014-10-03 Thread Lars Engels
I just upgraded to r272468 and bhyve stopped working. When I start a VM
(Ubuntu or FreeBSD) byhve dumps core:

/boot/kernel/kernel text=0xfbecf0 data=0x129e30+0x6068a0 
syms=[0x8+0x141630+0x8+0x15c538]
Booting...
Error6010 - Internal compiler error Found NULL field - Field name "Sleep 
Status Register" needed
Error6126 -  Could not compile input file
/tmp/bhyve.wp2hqCk 88: [0008]   FACS Address : 000F27C0
Error6302 -  Flag value is too large ^  (Maximum 1 bit)
/tmp/bhyve.wp2hqCk 89: [0008]   DSDT Address : 000F2800
Error6302 -  Flag value is too large ^  (Maximum 1 bit)
/tmp/bhyve.wp2hqCk 95: [0008]   Address : 0400
Error6303 - ^ Integer too large for target 
(0400 - max 1 bytes)
/tmp/bhyve.wp2hqCk109: [0008]   Address : 0404
Error6303 - ^ Integer too large for target 
(0404 - max 1 bytes)
/tmp/bhyve.wp2hqCk130: [0008]   Address : 0408
Error6303 - ^ Integer too large for target 
(0408 - max 1 bytes)
Assertion failed: (error == 0), function main, file 
/usr/src/usr.sbin/bhyve/bhyverun.c, line 849.
Abort trap (core dumped)
Exit 99


===

root@pts/1 # gdb /usr/sbin/bhyve bhyve.core
GNU gdb (GDB) 7.8 [GDB v7.8 for FreeBSD]
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd11.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/bhyve...done.
[New process 101724]
[New process 101750]
[New Thread 801c06c00 (LWP 101750)]
[New Thread 801c06400 (LWP 101724)]
Core was generated by `bhyve'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00080110d49a in thr_kill () from /lib/libc.so.7
(gdb) bt full
#0  0x00080110d49a in thr_kill () from /lib/libc.so.7
No symbol table info available.
#1  0x0008011e3af9 in abort () from /lib/libc.so.7
No symbol table info available.
#2  0x0008011c58a1 in __assert () from /lib/libc.so.7
No symbol table info available.
#3  0x004089c8 in main (argc=1, argv=0x7fffe850) at 
/usr/src/usr.sbin/bhyve/bhyverun.c:849
c = -1
error = 65280
gdb_port = 0
err = 0
bvmcons = 0
dump_guest_memory = 0
max_vcpus = 16
mptgen = 1
ctx = 0x801c16080
rip = 16777216
memsize = 1073741824



pgp2MZ_qQzeGz.pgp
Description: PGP signature


Re: Re[2]: VM unrestricted guest capability required

2014-10-03 Thread Dave Cottlehuber
> Thanks Peter for the clarification. Is there a way to tell this from dmesg?

I think I answered my own question:

# sudo dmesg | grep UG

VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID

A+
Dave


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


Re: Re[2]: VM unrestricted guest capability required

2014-10-03 Thread Dave Cottlehuber
> >> I'm trying to install Ubuntu Linux 14.10 as a guest in FreeBSD
> >> 11-CURRENT r272460 host. When I try to run grub-bhyve (version 0.23)
> >> I see in console message: VM unrestricted guest capability required
> >> Error in initializing VM
> >>
> >> I've read a thread with the similar problem. As far as I understood,
> >> this message happen when CPU doesn't have unrestricted guest
> >> capability support (EPT).
> >
> > 'Unrestricted guest' is a different feature than EPT (Extended Page
> >Tables). It allows the CPU to run in real mode and unpaged protected
> >mode. This feature was introduced with the Westmere microarchitecture,
> >and isn't available in your core i7 780 (aka Lynnfield, a Nehalem-based
> >model)

Thanks Peter for the clarification. Is there a way to tell this from dmesg?

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


Re[2]: VM unrestricted guest capability required

2014-10-03 Thread Евгений IRON
 Ok

I just tested the same on another server with UG presence and it works great.
Are there any news/plans/progress with possibility to run Windows as guest? 
It's probably the last barrier for me from use bhyve (obviously FreeBSD as 
host) for my farm of VMs in production.

Thank you guys for perfect job.

Thu, 02 Oct 2014 21:35:41 -0700 от Peter Grehan :
>> Is that means there is no way to install Linux as guest with current
>> grub-bhyve implementation and my hardware?
>
>  Yes, that's correct.
>
>later,
>
>Peter.
>



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