Re: FreeBSD 13.2-RELEASE Now Available

2023-04-12 Thread Tomek CEDRO
Okay, so after upgrading to 13.2 I am unable to use VirtualBox again, I saw this already on 13.2-STABLE and rolled back to 13.1-RELEASE but the problem seems to be still here..? 1. pkg provides package for 13.1 that does not work on 13.2. 2. ports master vbox ose kmod builds fine but kernel panics

Re: FreeBSD 13.2-RELEASE Now Available

2023-04-12 Thread Tomek CEDRO
On Thu, Apr 13, 2023 at 2:28 AM Warner Losh wrote: > On Wed, Apr 12, 2023, 5:57 PM Tomek CEDRO wrote: >> 1. pkg provides package for 13.1 that does not work on 13.2. >> 2. ports master vbox ose kmod builds fine but kernel panics on module load. >> https://bugs.freebsd.org/bug

embedded emulation: bhyve + vt-x on amd fx-8320

2023-04-22 Thread Tomek CEDRO
Hello world :-) I have relatively old but still decent 8 core AMD FX-8320 CPU. I have switched to bhyve in order to do some testing. I am running Debian with Android Studio to test some mobile applications. The Virtual Device however does not want to start because there is no virtualization supp

Re: embedded emulation: bhyve + vt-x on amd fx-8320

2023-04-22 Thread Tomek CEDRO
On Sat, Apr 22, 2023 at 9:08 PM Tomek CEDRO wrote: > (..) > 1. How to check if my CPU has the VT-D/NX support? Cannot find this > information on a vendor site o_O Sorry, here is the fragment of dmesg I forgot to paste: CPU: AMD FX(tm)-8320 Eight-Core Processor(3512.01-MHz

Re: embedded emulation: bhyve + vt-x on amd fx-8320

2023-04-22 Thread Tomek CEDRO
On Sat, Apr 22, 2023 at 10:16 PM Steve O'Hara-Smith wrote: > Check BIOS settings, I've found virtualisation support disabled by > default in the BIOS when the CPU supports it just fine. Thanks Steve, all is enabled, I would not be able to start VM without that.. the problem that I have is

Re: embedded emulation: bhyve + vt-x on amd fx-8320

2023-04-22 Thread Tomek CEDRO
On Sat, Apr 22, 2023 at 11:16 PM Dale Scott wrote: > From the handbook > https://docs.freebsd.org/en/books/handbook/virtualization/#virtualization-host-bhyve > > "The easiest way to tell if a processor supports bhyve is to run dmesg or > look in /var/run/dmesg.boot for the POPCNT processor featur

Re: embedded emulation: bhyve + vt-x on amd fx-8320

2023-04-24 Thread Tomek CEDRO
On Mon, Apr 24, 2023 at 5:24 AM Pete Wright wrote: > > On Sun, Apr 23, 2023 at 02:25:44AM +0200, Tomek CEDRO wrote: > > installed Android Studio on that vm, then launched Virtual Android > > Device and IT WORKED! o_O > > > > So my AMD FX-8320 CPU seems to suppor

Re: embedded emulation: bhyve + vt-x on amd fx-8320

2023-04-24 Thread Tomek CEDRO
On Sun, Apr 23, 2023 at 7:02 PM Ted Mittelstaedt wrote: > That requires more than just CPU hardware support. Unlike what you > think at the hardware level there is no such thing as "nested > virtualization" instead each virtual session is separate the OS and CPU > just keep track of what session i

Re: embedded emulation: bhyve + vt-x on amd fx-8320

2023-04-26 Thread Tomek CEDRO
On Wed, Apr 26, 2023 at 4:56 PM Gregory Byshenk wrote: > On Mon, Apr 24, 2023 at 11:53:02AM +0200, Tomek CEDRO wrote: > > Thanks Pete, this is my main question if bhyve / vbox / kernel > > supports it at all :-) > > From my experience it does. > Some time back I upgrade

Re: embedded emulation: bhyve + vt-x on amd fx-8320

2023-04-26 Thread Tomek CEDRO
On Wed, Apr 26, 2023 at 10:15 PM Jan Jurák wrote: > answer as usually late, but you can check procesor virtualisation flags with > command: > (..) > On Freebsd: > > egrep -woi 'vmx|ept|vpid|npt|tpr_shadow|flexpriority|vnmi|lm|aes' > /var/run/dmesg.boot | sort | uniq; egrep -woi 'vmx|lm|aes' > /v

Re: How is this possible

2023-05-18 Thread Tomek CEDRO
If you create a ramdisk and build there it will be even faster.. assuming space is enough (kernel should go, not sure about world).. I have tried with 128GB RAM and it works quite well on older hardware.. similar to newer hardware with 32GB RAM and nvme disk :-) -- CeDeROM, SQ7MHZ, http://www.tom

Re: How is this possible

2023-05-18 Thread Tomek CEDRO
On Thu, May 18, 2023 at 8:51 PM Aryeh Friedmanwrote: > On Thu, May 18, 2023 at 2:48 PM Tomek CEDRO wrote: > > If you create a ramdisk and build there it will be even faster.. > > assuming space is enough (kernel should go, not sure about world).. I > > have tried with 128GB R