Problem building VirtualBox-6.1.6.tar.bz2

Discussions related to using the OSE version of VirtualBox.
Post Reply
DCastellacci
Posts: 9
Joined: 12. Aug 2019, 21:08

Problem building VirtualBox-6.1.6.tar.bz2

Post by DCastellacci »

Hello,

I'm on FreeBSD 12.1-RELEASE-p3 I have a compilation problem. I downloaded VirtualBox-6.1.6.tar.bz2 from https://download.virtualbox.org/virtualbox/6.1.6/ and I followed the instructions:

./configure
source ./env.sh
kmk -d all

here is what i get:

Code: Select all

[0: 2/0] Removing child 0x09156900 PID 0 from chain.
[0: 1/0] Released token for child 0x09156900 (/usr/home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/obj/PcBiosBin/PcBiosBin8086.c).
[0: 1/0] Live child 0x090e9f80 (/usr/home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/obj/tstRTStrFormat/tstRTStrFormat.o) PID 26353
[0: 1/0] Live child 0x090e9f80 (/usr/home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/obj/tstRTStrFormat/tstRTStrFormat.o) PID 26353
[0: 1/0] Reaping winning child 0x090e9f80 PID 26353
[0: 1/0] notice_finished_file - entering: file = 0x5f5b000 `/usr/home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/obj/tstRTStrFormat/tstRTStrFormat.o 'update_status = 0 command_state = 2
[0: 1/0] notice_finished_file - entering: file = 0x5f5b000 `/usr/home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/obj/tstRTStrFormat/tstRTStrFormat.o 'update_status = 0 command_state = 3
[0: 1/0] Removing child 0x090e9f80 PID 0 from chain.
kmk: *** Exiting with status 2
Have an idea to help me

thank you so much
Didier
DCastellacci
Posts: 9
Joined: 12. Aug 2019, 21:08

Re: Problem building VirtualBox-6.1.6.tar.bz2

Post by DCastellacci »

Hello

The errors are due to a bad version of kmk (kBuild)
In the VirtualBox-6.1.6.tar.bz2 package the version of kmk is: 2502
While the minimum version requested is 3074
Reading makefile `Config.kmk '(search path) (no ~ expansion) ...
Config.kmk: 177: *** You must update kBuild! Requires kBuild binaries 3074 or later, kmk says 2502 (0.1.999-r2502). Stop.
The current version of kmk on FreeBSD is: kmk - kBuild version 0.1.9998 (r3127) on FreeBSD version 12.1-RELEASE-p3

With the right version of kmk I encountered a compilation error:


Code: Select all

[0:2/0]Removing child 0x806fae1e0 PID 0 from chain.
[0:1/0]Released token for child 0x806fae1e0 (/usr/home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/obj/VBoxDDR0/Graphics/DevVGA.o).
[0:1/0]Live child 0x806fafb30 (/usr/home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/obj/VBoxGuest/VBoxGuest.o) PID 15012 
[0:1/0]Live child 0x806fafb30 (/usr/home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/obj/VBoxGuest/VBoxGuest.o) PID 15012 
[0:1/0]Reaping winning child 0x806fafb30 PID 15012 
[0:1/0]notice_finished_file - entering: file=0x806e145c0 `/usr/home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/obj/VBoxGuest/VBoxGuest.o' update_status=0 command_state=2
[0:1/0]notice_finished_file - entering: file=0x806e145c0 `/usr/home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/obj/VBoxGuest/VBoxGuest.o' update_status=0 command_state=3
[0:1/0]Removing child 0x806fafb30 PID 0 from chain.
kmk: *** Exiting with status 2

and I added the -i option to kmk
: kmk -d -i all
and there I was able to compile to the end


Code: Select all

[0:0/0]   Finished prerequisites of target file `all_recursive'.
[0:0/0]  Must remake target `all_recursive'.
[0:0/0]notice_finished_file - entering: file=0x801775dc0 `all_recursive' update_status=0 command_state=0
[0:0/0]  Successfully remade target file `all_recursive'.
[0:0/0] Finished prerequisites of target file `all'.
[0:0/0]Must remake target `all'.
[0:0/0]notice_finished_file - entering: file=0x801775940 `all' update_status=0 command_state=0
[0:0/0]Successfully remade target file `all'.
Apparently the version of VirtualBox 6.1.6 is not compatible with the FreeBSD version 12.1-RELEASE-p3

Here are the messages:
Path: /home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/bin
sudo kldload ./vboxdrv.ko
kldload: an error occurred while loading module ./vboxdrv.ko. Please check dmesg (8) for more details.


dmesg
kldunload: attempt to unload file that was loaded by the kernel
link_elf_obj: symbol SUPR0Printf undefined
linker_load_file: ./vboxdrv.ko - unsupported file type

I will see with FreeBSD if there is a solution for FreeBSD version 12.1-RELEASE-p3 for installing VirtualBox 6.1.6
Unless you have a solution




Thank you so much
Didier
DCastellacci
Posts: 9
Joined: 12. Aug 2019, 21:08

Re: Problem building VirtualBox-6.1.6.tar.bz2

Post by DCastellacci »

Hello,
I take the example I gave you
"Apparently the version of VirtualBox 6.1.6 is not compatible with FreeBSD version 12.1-RELEASE-p3"

My bad. Indeed I managed to compile vboxdrv that's why vboxdrv did not work.
Path : /home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/out/freebsd.amd64/release/bin/src
make
sudo make load
Removing previously installed vboxnetadp module
Removing previously installed vboxnetflt module
Removing previously installed vboxdrv module
Installing vboxdrv module
Installing vboxnetflt module
Installing vboxnetadp module
kldstat
Id Refs Address Size Name
28 3 0xffffffff82e80000 525a8 vboxdrv.ko
29 2 0xffffffff82ed3000 2920 vboxnetflt.ko
30 1 0xffffffff82ee2000 3f30 vboxnetadp.ko

I followed the instructions of: https://www.virtualbox.org/wiki/FreeBSD ... structions


and when I run: LD_LIBRARY_PATH =. ./VirtualBox


I get :

Failed to initialize COM or to find the VirtualBox COM server. Most likely, the VirtualBox server is not running or failed to start.
The application will now terminate.



Callee RC:
NS_ERROR_FILE_TARGET_DOES_NOT_EXIST (0x80520006)




Question:
1)
How do we install Virtualbox binaries in FreeBSD, example: (make install) from FreeBSD build

2)
How to run VirtualBox without the "Failed to initialize COM" error

Thank you so much
Didier
DCastellacci
Posts: 9
Joined: 12. Aug 2019, 21:08

Re: Problem building VirtualBox-6.1.6.tar.bz2

Post by DCastellacci »

Hello

I managed to build VirtualBox without errors.

I launch VirtualBox 6.1.6 without Problem but impossible to launch a vm
even create a vm to do an installation and I got a vm that works under VirtualBox 6.0.20 and the recovered vm does not work with VirtualBox 6.1.6.

Someone have an idea.

Here is the procedure for installing VirtualBox 6.1.6:
https://download.virtualbox.org/virtualbox/
// Build VirtualBox 6.1.6
./configure


sudo pkg install compat6x-amd64
exec -> . ./env.sh
exec -> source ./env.sh


OK
// OR Modify Config.kmk kmk version
Path : /home/bs/Downloads/VirtualBox/VirtualBox-6.1.6/kBuild/bin/
mv freebsd.amd64 freebsd.amd64.OLD
ln -s /usr/local/bin freebsd.amd64





OK
//
File : Config.kmk
Do not touch





OK
//
File : configure
Do not touch






OK
// Create file LocalConfig.kmk
Path : VirtualBox-6.1.6

more LocalConfig.kmk
VBOX_PATH_APP_PRIVATE_ARCH = /usr/local/lib/virtualbox
VBOX_PATH_DOCBOOK =
VBOX_PATH_DOCBOOK_DTD =
VBOX_PATH_SHARED_LIBS = /usr/local/lib/virtualbox
VBOX_WITH_RUNPATH = /usr/local/lib/virtualbox
VBOX_PATH_APP_PRIVATE = /usr/local/share/virtualbox
VBOX_PATH_APP_DOCS = /usr/local/share/doc/virtualbox
VBOX_WITH_EXTPACK_VBOXDTRACE =
VBOX_WITH_INSTALLER = 1
VBOX_WITH_VBOXDRV =
VBOX_WITH_TESTCASES =
SDK_VBOX_LIBPNG_INCS = /usr/local/include/libpng
SDK_VBOX_LIBPNG_LIBS = png
VBOX_WITH_ADDITIONS =
VBOX_WITH_DRAG_AND_DROP = 1
VBOX_WITH_DRAG_AND_DROP_GH = 1
VBOX_WITH_VALIDATIONKIT =
VBOX_WITH_X11_ADDITIONS =
TOOL_VBoxGccFreeBSD_LD = /usr/local/bin/clang++60
VBOX_ICONV_DEFS = LIBICONV_PLUG
[bs@MyFreeBSD]$






OK
// Build
kmk -d all





// Build End
[0:0/0] Finished prerequisites of target file `all_recursive'.
[0:0/0] Must remake target `all_recursive'.
[0:0/0]notice_finished_file - entering: file=0x801775dc0 `all_recursive' update_status=0 command_state=0
[0:0/0] Successfully remade target file `all_recursive'.
[0:0/0] Finished prerequisites of target file `all'.
[0:0/0]Must remake target `all'.
[0:0/0]notice_finished_file - entering: file=0x801775940 `all' update_status=0 command_state=0
[0:0/0]Successfully remade target file `all'.





///////////////////////////////////////////////////////////////////////////////////////////////////////////////////

OK
// Config
cd /usr/local/lib
sudo cp -R .../out/freebsd.amd64/release/bin virtualbox -> (in /usr/local/lib)



// Create Script Begin.sh
./Begin.sh


ll Begin.sh
-rwxr-xr-x 1 bs bs uarch 247 Apr 23 11:40 Begin.sh*

[bs@MyFreeBSD]$ more Begin.sh

#!/usr/local/bin/bash

for f in VBoxHeadless VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT VBoxSDL VirtualBoxVM; do
sudo chown root:vboxusers $f
sudo chmod 4510 $f
done








//
DON'T FORGET TO LAUNCH KMOD

in Directory out/freebsd.amd64/release/bin/src

// Create script Begin.sh
more Begin.sh

#!/usr/local/bin/bash

for f in *.ko; do
sudo chown root:wheel $f
sudo chmod 555 $f
done


//
sudo make load



// Exec VirtualBox
in Direstory /usr/local/lib/virtualbox
./VirtualBox



Here is the error message

Code: Select all

I have message : 

Failed to open a session for the virtual machine Test.

The VM session was aborted.

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: SessionMachine
Interface: ISession {c0447716-ff5a-4795-b57a-ecd5fffa18a4}


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Path : VirtualBox VMs/Test/Logs/VBox.log
Guest : Ubuntu 18.10 : the name 'Test'
Start : ubuntu-18.10-desktop-amd64.iso
Just Start Install
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////


00:00:01.425746 VirtualBox VM 6.1.6 r137129 freebsd.amd64 (Apr 23 2020 11:26:22) release log
00:00:01.425748 Log opened 2020-04-23T10:47:49.129817000Z
00:00:01.425749 Build Type: release
00:00:01.425757 OS Product: FreeBSD
00:00:01.425759 OS Release: 12.1-RELEASE-p3
00:00:01.425762 OS Version: FreeBSD 12.1-RELEASE-p3 GENERIC
00:00:01.425767 Firmware type: failed - VERR_NOT_SUPPORTED
00:00:01.425786 Host RAM: 7893MB (7.7GB) total, 366MB available
00:00:01.425789 Executable: /usr/local/lib/virtualbox/VirtualBoxVM
00:00:01.425790 Process ID: 22528
00:00:01.425791 Package type: BSD_64BITS_GENERIC (OSE)
00:00:01.428953 Installed Extension Packs:
00:00:01.428976   None installed!
00:00:01.429862 Console: Machine state changed to 'Starting'
00:00:01.430110 Qt version: 5.13.2
00:00:01.430135 X11 Window Manager code: 0
00:00:01.433632 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:01.434875 X Server details: vendor: The X.Org Foundation, release: 12008000, protocol version: 11.0, display string: :0
00:00:01.434905 Using XKB for keycode to scan code conversion
00:00:01.438020 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated: Screen 0 work area is actually resized to: 0x539 x 1920x5
00:00:01.442089 SUP: Loaded VMMR0.r0 (/usr/local/lib/virtualbox/VMMR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX
00:00:01.442150 SUP: VMMR0EntryEx located at XXXXXXXXXXXXXXXX and VMMR0EntryFast at XXXXXXXXXXXXXXXX
00:00:01.444315 Guest OS type: 'Ubuntu_64'
00:00:01.447603 fHMForced=true - No raw-mode support in this build!
00:00:01.451229 VMSVGA3d not available in this build!
00:00:01.456445 File system of '/home/bs/Iso/ubuntu-18.10-desktop-amd64.iso' (DVD) is zfs
00:00:01.461938 File system of '/home/bs/VirtualBox VMs/Test/Snapshots' (snapshots) is unknown
00:00:01.461967 File system of '/home/bs/VirtualBox VMs/Test/Test.vmdk' is zfs
00:00:01.481595 Shared Clipboard: Service loaded
00:00:01.481629 Shared Clipboard: Mode: Off
00:00:01.481676 Shared Clipboard: Service running in normal mode
00:00:01.483214 Drag and drop service loaded
00:00:01.483255 Drag and drop mode: Off
00:00:01.484902 ************************* CFGM dump *************************
00:00:01.484903 [/] (level 0)
00:00:01.484946   CpuExecutionCap   <integer> = 0x0000000000000064 (100)
00:00:01.484949   EnablePAE         <integer> = 0x0000000000000000 (0)
00:00:01.484950   HMEnabled         <integer> = 0x0000000000000001 (1)
00:00:01.484951   MemBalloonSize    <integer> = 0x0000000000000000 (0)
00:00:01.484952   Name              <string>  = "Test" (cb=5)
00:00:01.484953   NumCPUs           <integer> = 0x0000000000000001 (1)
00:00:01.484954   PageFusionAllowed <integer> = 0x0000000000000000 (0)
00:00:01.484955   RamHoleSize       <integer> = 0x0000000020000000 (536 870 912, 512 MB)
00:00:01.484957   RamSize           <integer> = 0x0000000080000000 (2 147 483 648, 2 048 MB)
00:00:01.484959   TimerMillies      <integer> = 0x000000000000000a (10)
00:00:01.484960   UUID              <bytes>   = "c6 8e d5 fb 7e bb 57 4d 8e 86 9f 41 6d d1 cd 3e" (cb=16)
00:00:01.484964 
00:00:01.484964 [/CPUM/] (level 1)
00:00:01.484966   GuestCpuName       <string>  = "host" (cb=5)
00:00:01.484967   NestedHWVirt       <integer> = 0x0000000000000000 (0)
00:00:01.484968   PortableCpuIdLevel <integer> = 0x0000000000000000 (0)
00:00:01.484969   SpecCtrl           <integer> = 0x0000000000000000 (0)
00:00:01.484970 
00:00:01.484970 [/CPUM/IsaExts/] (level 2)
00:00:01.484971 
00:00:01.484972 [/DBGC/] (level 1)
00:00:01.484973   GlobalInitScript <string>  = "/home/bs/.config/VirtualBox/dbgc-init" (cb=38)
00:00:01.484973   HistoryFile      <string>  = "/home/bs/.config/VirtualBox/dbgc-history" (cb=41)
00:00:01.484974   LocalInitScript  <string>  = "/home/bs/VirtualBox VMs/Test/dbgc-init" (cb=39)
00:00:01.484975 
00:00:01.484975 [/DBGF/] (level 1)
00:00:01.484976   Path <string>  = "/home/bs/VirtualBox VMs/Test/debug/;/home/bs/VirtualBox VMs/Test/;cache*/home/bs/VirtualBox VMs/Test/dbgcache/;/home/bs/" (cb=121)
00:00:01.484977 
00:00:01.484978 [/Devices/] (level 1)
00:00:01.484979 
00:00:01.484979 [/Devices/8237A/] (level 2)
00:00:01.484980 
00:00:01.484980 [/Devices/8237A/0/] (level 3)
00:00:01.484982   Trusted <integer> = 0x0000000000000001 (1)
00:00:01.484982 
00:00:01.484983 [/Devices/GIMDev/] (level 2)
00:00:01.484984 
00:00:01.484984 [/Devices/GIMDev/0/] (level 3)
00:00:01.484985   Trusted <integer> = 0x0000000000000001 (1)
00:00:01.484986 
00:00:01.484987 [/Devices/VMMDev/] (level 2)
00:00:01.484988 
00:00:01.484988 [/Devices/VMMDev/0/] (level 3)
00:00:01.484989   PCIBusNo      <integer> = 0x0000000000000000 (0)
00:00:01.484990   PCIDeviceNo   <integer> = 0x0000000000000004 (4)
00:00:01.484991   PCIFunctionNo <integer> = 0x0000000000000000 (0)
00:00:01.484992   Trusted       <integer> = 0x0000000000000001 (1)
00:00:01.484993 
00:00:01.484993 [/Devices/VMMDev/0/Config/] (level 4)
00:00:01.484994   GuestCoreDumpDir <string>  = "/home/bs/VirtualBox VMs/Test/Snapshots" (cb=39)
00:00:01.484995 
00:00:01.484995 [/Devices/VMMDev/0/LUN#0/] (level 4)
00:00:01.484997   Driver <string>  = "HGCM" (cb=5)
00:00:01.484998 
00:00:01.484998 [/Devices/VMMDev/0/LUN#0/Config/] (level 5)
00:00:01.484999   Object <integer> = 0x00000008151f3000 (34 714 103 808)
00:00:01.485001 
00:00:01.485001 [/Devices/VMMDev/0/LUN#999/] (level 4)
00:00:01.485002   Driver <string>  = "MainStatus" (cb=11)
00:00:01.485003 
00:00:01.485003 [/Devices/VMMDev/0/LUN#999/Config/] (level 5)
00:00:01.485005   First   <integer> = 0x0000000000000000 (0)
00:00:01.485006   Last    <integer> = 0x0000000000000000 (0)
00:00:01.485007   papLeds <integer> = 0x0000000810ddd8a0 (34 642 712 736)
00:00:01.485008 
00:00:01.485008 [/Devices/acpi/] (level 2)
00:00:01.485009 
00:00:01.485010 [/Devices/acpi/0/] (level 3)
00:00:01.485011   PCIBusNo      <integer> = 0x0000000000000000 (0)
00:00:01.485012   PCIDeviceNo   <integer> = 0x0000000000000007 (7)
00:00:01.485012   PCIFunctionNo <integer> = 0x0000000000000000 (0)
00:00:01.485013   Trusted       <integer> = 0x0000000000000001 (1)
00:00:01.485014 
00:00:01.485014 [/Devices/acpi/0/Config/] (level 4)
00:00:01.485016   CpuHotPlug          <integer> = 0x0000000000000000 (0)
00:00:01.485017   FdcEnabled          <integer> = 0x0000000000000000 (0)
00:00:01.485018   HostBusPciAddress   <integer> = 0x0000000000000000 (0)
00:00:01.485018   HpetEnabled         <integer> = 0x0000000000000000 (0)
00:00:01.485019   IOAPIC              <integer> = 0x0000000000000001 (1)
00:00:01.485020   IocPciAddress       <integer> = 0x0000000000010000 (65 536)
00:00:01.485021   NumCPUs             <integer> = 0x0000000000000001 (1)
00:00:01.485022   Parallel0IoPortBase <integer> = 0x0000000000000000 (0)
00:00:01.485023   Parallel0Irq        <integer> = 0x0000000000000000 (0)
00:00:01.485024   Parallel1IoPortBase <integer> = 0x0000000000000000 (0)
00:00:01.485025   Parallel1Irq        <integer> = 0x0000000000000000 (0)
00:00:01.485026   Serial0IoPortBase   <integer> = 0x0000000000000000 (0)
00:00:01.485026   Serial0Irq          <integer> = 0x0000000000000000 (0)
00:00:01.485027   Serial1IoPortBase   <integer> = 0x0000000000000000 (0)
00:00:01.485028   Serial1Irq          <integer> = 0x0000000000000000 (0)
00:00:01.485029   ShowCpu             <integer> = 0x0000000000000001 (1)
00:00:01.485030   ShowRtc             <integer> = 0x0000000000000000 (0)
00:00:01.485031   SmcEnabled          <integer> = 0x0000000000000000 (0)
00:00:01.485032 
00:00:01.485032 [/Devices/acpi/0/LUN#0/] (level 4)
00:00:01.485034   Driver <string>  = "ACPIHost" (cb=9)
00:00:01.485034 
00:00:01.485035 [/Devices/acpi/0/LUN#0/Config/] (level 5)
00:00:01.485036 
00:00:01.485036 [/Devices/ahci/] (level 2)
00:00:01.485037 
00:00:01.485038 [/Devices/ahci/0/] (level 3)
00:00:01.485039   PCIBusNo      <integer> = 0x0000000000000000 (0)
00:00:01.485040   PCIDeviceNo   <integer> = 0x000000000000000d (13)
00:00:01.485041   PCIFunctionNo <integer> = 0x0000000000000000 (0)
00:00:01.485042   Trusted       <integer> = 0x0000000000000001 (1)
00:00:01.485043 
00:00:01.485043 [/Devices/ahci/0/Config/] (level 4)
00:00:01.485044   Bootable  <integer> = 0x0000000000000001 (1)
00:00:01.485045   PortCount <integer> = 0x0000000000000001 (1)
00:00:01.485046 
00:00:01.485046 [/Devices/ahci/0/Config/Port0/] (level 5)
00:00:01.485048   Hotpluggable <integer> = 0x0000000000000000 (0)
00:00:01.485048 
00:00:01.485049 [/Devices/ahci/0/LUN#0/] (level 4)
00:00:01.485050   Driver <string>  = "VD" (cb=3)
00:00:01.485051 
00:00:01.485051 [/Devices/ahci/0/LUN#0/Config/] (level 5)
00:00:01.485053   BlockCache <integer> = 0x0000000000000001 (1)
00:00:01.485054   Format     <string>  = "VMDK" (cb=5)
00:00:01.485054   Mountable  <integer> = 0x0000000000000000 (0)
00:00:01.485055   Path       <string>  = "/home/bs/VirtualBox VMs/Test/Test.vmdk" (cb=39)
00:00:01.485056   Type       <string>  = "HardDisk" (cb=9)
00:00:01.485057   UseNewIo   <integer> = 0x0000000000000001 (1)
00:00:01.485058 
00:00:01.485058 [/Devices/ahci/0/LUN#999/] (level 4)
00:00:01.485060   Driver <string>  = "MainStatus" (cb=11)
00:00:01.485060 
00:00:01.485061 [/Devices/ahci/0/LUN#999/Config/] (level 5)
00:00:01.485062   DeviceInstance        <string>  = "ahci/0" (cb=7)
00:00:01.485063   First                 <integer> = 0x0000000000000000 (0)
00:00:01.485064   Last                  <integer> = 0x0000000000000000 (0)
00:00:01.485065   pConsole              <integer> = 0x0000000810ddd000 (34 642 710 528)
00:00:01.485066   papLeds               <integer> = 0x0000000810ddd420 (34 642 711 584)
00:00:01.485068   pmapMediumAttachments <integer> = 0x0000000810ddd8c0 (34 642 712 768)
00:00:01.485069 
00:00:01.485069 [/Devices/apic/] (level 2)
00:00:01.485071 
00:00:01.485071 [/Devices/apic/0/] (level 3)
00:00:01.485072   Trusted <integer> = 0x0000000000000001 (1)
00:00:01.485073 
00:00:01.485073 [/Devices/apic/0/Config/] (level 4)
00:00:01.485075   IOAPIC  <integer> = 0x0000000000000001 (1)
00:00:01.485075   Mode    <integer> = 0x0000000000000003 (3)
00:00:01.485076   NumCPUs <integer> = 0x0000000000000001 (1)
00:00:01.485077 
00:00:01.485077 [/Devices/e1000/] (level 2)
00:00:01.485078 
00:00:01.485079 [/Devices/e1000/0/] (level 3)
00:00:01.485080   PCIBusNo      <integer> = 0x0000000000000000 (0)
00:00:01.485081   PCIDeviceNo   <integer> = 0x0000000000000003 (3)
00:00:01.485082   PCIFunctionNo <integer> = 0x0000000000000000 (0)
00:00:01.485082   Trusted       <integer> = 0x0000000000000001 (1)
00:00:01.485083 
00:00:01.485084 [/Devices/e1000/0/Config/] (level 4)
00:00:01.485085   AdapterType    <integer> = 0x0000000000000000 (0)
00:00:01.485086   CableConnected <integer> = 0x0000000000000001 (1)
00:00:01.485087   LineSpeed      <integer> = 0x0000000000000000 (0)
00:00:01.485088   MAC            <bytes>   = "08 00 27 45 6a 8a" (cb=6)
00:00:01.485089 
00:00:01.485090 [/Devices/e1000/0/LUN#0/] (level 4)
00:00:01.485091   Driver <string>  = "NAT" (cb=4)
00:00:01.485092 
00:00:01.485092 [/Devices/e1000/0/LUN#0/Config/] (level 5)
00:00:01.485094   AliasMode       <integer> = 0x0000000000000000 (0)
00:00:01.485095   BootFile        <string>  = "Test.pxe" (cb=9)
00:00:01.485095   DNSProxy        <integer> = 0x0000000000000000 (0)
00:00:01.485096   Network         <string>  = "10.0.2.0/24" (cb=12)
00:00:01.485097   PassDomain      <integer> = 0x0000000000000001 (1)
00:00:01.485098   TFTPPrefix      <string>  = "/home/bs/.config/VirtualBox/TFTP" (cb=33)
00:00:01.485099   UseHostResolver <integer> = 0x0000000000000000 (0)
00:00:01.485100 
00:00:01.485100 [/Devices/e1000/0/LUN#999/] (level 4)
00:00:01.485102   Driver <string>  = "MainStatus" (cb=11)
00:00:01.485102 
00:00:01.485103 [/Devices/e1000/0/LUN#999/Config/] (level 5)
00:00:01.485104   First   <integer> = 0x0000000000000000 (0)
00:00:01.485105   Last    <integer> = 0x0000000000000000 (0)
00:00:01.485106   papLeds <integer> = 0x0000000810ddd780 (34 642 712 448)
00:00:01.485107 
00:00:01.485108 [/Devices/i8254/] (level 2)
00:00:01.485109 
00:00:01.485109 [/Devices/i8254/0/] (level 3)
00:00:01.485110 
00:00:01.485110 [/Devices/i8254/0/Config/] (level 4)
00:00:01.485112 
00:00:01.485112 [/Devices/i8259/] (level 2)
00:00:01.485113 
00:00:01.485113 [/Devices/i8259/0/] (level 3)
00:00:01.485115   Trusted <integer> = 0x0000000000000001 (1)
00:00:01.485115 
00:00:01.485116 [/Devices/i8259/0/Config/] (level 4)
00:00:01.485117 
00:00:01.485117 [/Devices/ichac97/] (level 2)
00:00:01.485118 
00:00:01.485119 [/Devices/ichac97/0/] (level 3)
00:00:01.485120   PCIBusNo      <integer> = 0x0000000000000000 (0)
00:00:01.485121   PCIDeviceNo   <integer> = 0x0000000000000005 (5)
00:00:01.485122   PCIFunctionNo <integer> = 0x0000000000000000 (0)
00:00:01.485123   Trusted       <integer> = 0x0000000000000001 (1)
00:00:01.485124 
00:00:01.485124 [/Devices/ichac97/0/AudioConfig/] (level 4)
00:00:01.485125 
00:00:01.485126 [/Devices/ichac97/0/Config/] (level 4)
00:00:01.485127   Codec        <string>  = "AD1980" (cb=7)
00:00:01.485128   DebugEnabled <integer> = 0x0000000000000000 (0)
00:00:01.485129 
00:00:01.485129 [/Devices/ichac97/0/LUN#0/] (level 4)
00:00:01.485130   Driver <string>  = "AUDIO" (cb=6)
00:00:01.485131 
00:00:01.485131 [/Devices/ichac97/0/LUN#0/AttachedDriver/] (level 5)
00:00:01.485133   Driver <string>  = "OSSAudio" (cb=9)
00:00:01.485134 
00:00:01.485134 [/Devices/ichac97/0/LUN#0/AttachedDriver/Config/] (level 6)
00:00:01.485136   StreamName <string>  = "Test" (cb=5)
00:00:01.485136 
00:00:01.485137 [/Devices/ichac97/0/LUN#0/Config/] (level 5)
00:00:01.485138   BufferSizeMs    <integer> = 0x0000000000000000 (0)
00:00:01.485139   DriverName      <string>  = "OSSAudio" (cb=9)
00:00:01.485140   InputEnabled    <integer> = 0x0000000000000000 (0)
00:00:01.485141   OutputEnabled   <integer> = 0x0000000000000001 (1)
00:00:01.485142   PeriodSizeMs    <integer> = 0x0000000000000000 (0)
00:00:01.485142   PreBufferSizeMs <integer> = 0x00000000ffffffff (4 294 967 295)
00:00:01.485144 
00:00:01.485144 [/Devices/ichac97/0/LUN#1/] (level 4)
00:00:01.485145   Driver <string>  = "AUDIO" (cb=6)
00:00:01.485146 
00:00:01.485146 [/Devices/ichac97/0/LUN#2/] (level 4)
00:00:01.485148   Driver <string>  = "AUDIO" (cb=6)
00:00:01.485148 
00:00:01.485149 [/Devices/ioapic/] (level 2)
00:00:01.485150 
00:00:01.485150 [/Devices/ioapic/0/] (level 3)
00:00:01.485151   Trusted <integer> = 0x0000000000000001 (1)
00:00:01.485152 
00:00:01.485152 [/Devices/ioapic/0/Config/] (level 4)
00:00:01.485154   NumCPUs <integer> = 0x0000000000000001 (1)
00:00:01.485154 
00:00:01.485155 [/Devices/mc146818/] (level 2)
00:00:01.485156 
00:00:01.485156 [/Devices/mc146818/0/] (level 3)
00:00:01.485157 
00:00:01.485158 [/Devices/mc146818/0/Config/] (level 4)
00:00:01.485159   UseUTC <integer> = 0x0000000000000001 (1)
00:00:01.485160 
00:00:01.485160 [/Devices/parallel/] (level 2)
00:00:01.485161 
00:00:01.485161 [/Devices/pcarch/] (level 2)
00:00:01.485162 
00:00:01.485163 [/Devices/pcarch/0/] (level 3)
00:00:01.485164   Trusted <integer> = 0x0000000000000001 (1)
00:00:01.485165 
00:00:01.485165 [/Devices/pcarch/0/Config/] (level 4)
00:00:01.485166 
00:00:01.485167 [/Devices/pcbios/] (level 2)
00:00:01.485168 
00:00:01.485168 [/Devices/pcbios/0/] (level 3)
00:00:01.485169   Trusted <integer> = 0x0000000000000001 (1)
00:00:01.485170 
00:00:01.485170 [/Devices/pcbios/0/Config/] (level 4)
00:00:01.485172   APIC               <integer> = 0x0000000000000001 (1)
00:00:01.485173   BootDevice0        <string>  = "DVD" (cb=4)
00:00:01.485174   BootDevice1        <string>  = "IDE" (cb=4)
00:00:01.485175   BootDevice2        <string>  = "NONE" (cb=5)
00:00:01.485176   BootDevice3        <string>  = "NONE" (cb=5)
00:00:01.485177   FloppyDevice       <string>  = "i82078" (cb=7)
00:00:01.485177   HardDiskDevice     <string>  = "piix3ide" (cb=9)
00:00:01.485178   IOAPIC             <integer> = 0x0000000000000001 (1)
00:00:01.485179   McfgBase           <integer> = 0x0000000000000000 (0)
00:00:01.485180   McfgLength         <integer> = 0x0000000000000000 (0)
00:00:01.485181   NumCPUs            <integer> = 0x0000000000000001 (1)
00:00:01.485182   PXEDebug           <integer> = 0x0000000000000000 (0)
00:00:01.485183   SataHardDiskDevice <string>  = "ahci" (cb=5)
00:00:01.485183   SataLUN1           <integer> = 0x0000000000000000 (0)
00:00:01.485184   UUID               <bytes>   = "c6 8e d5 fb 7e bb 57 4d 8e 86 9f 41 6d d1 cd 3e" (cb=16)
00:00:01.485187   UuidLe             <integer> = 0x0000000000000001 (1)
00:00:01.485188 
00:00:01.485188 [/Devices/pcbios/0/Config/NetBoot/] (level 5)
00:00:01.485190 
00:00:01.485190 [/Devices/pcbios/0/Config/NetBoot/0/] (level 6)
00:00:01.485192   NIC           <integer> = 0x0000000000000000 (0)
00:00:01.485193   PCIBusNo      <integer> = 0x0000000000000000 (0)
00:00:01.485194   PCIDeviceNo   <integer> = 0x0000000000000003 (3)
00:00:01.485194   PCIFunctionNo <integer> = 0x0000000000000000 (0)
00:00:01.485195 
00:00:01.485196 [/Devices/pci/] (level 2)
00:00:01.485197 
00:00:01.485197 [/Devices/pci/0/] (level 3)
00:00:01.485198   Trusted <integer> = 0x0000000000000001 (1)
00:00:01.485199 
00:00:01.485199 [/Devices/pci/0/Config/] (level 4)
00:00:01.485201   IOAPIC <integer> = 0x0000000000000001 (1)
00:00:01.485201 
00:00:01.485202 [/Devices/pcibridge/] (level 2)
00:00:01.485203 
00:00:01.485203 [/Devices/pckbd/] (level 2)
00:00:01.485204 
00:00:01.485205 [/Devices/pckbd/0/] (level 3)
00:00:01.485206   Trusted <integer> = 0x0000000000000001 (1)
00:00:01.485207 
00:00:01.485207 [/Devices/pckbd/0/Config/] (level 4)
00:00:01.485208 
00:00:01.485208 [/Devices/pckbd/0/LUN#0/] (level 4)
00:00:01.485210   Driver <string>  = "KeyboardQueue" (cb=14)
00:00:01.485210 
00:00:01.485211 [/Devices/pckbd/0/LUN#0/AttachedDriver/] (level 5)
00:00:01.485212   Driver <string>  = "MainKeyboard" (cb=13)
00:00:01.485213 
00:00:01.485213 [/Devices/pckbd/0/LUN#0/AttachedDriver/Config/] (level 6)
00:00:01.485215   Object <integer> = 0x0000000811300000 (34 648 096 768)
00:00:01.485216 
00:00:01.485217 [/Devices/pckbd/0/LUN#0/Config/] (level 5)
00:00:01.485218   QueueSize <integer> = 0x0000000000000040 (64)
00:00:01.485219 
00:00:01.485219 [/Devices/pckbd/0/LUN#1/] (level 4)
00:00:01.485221   Driver <string>  = "MouseQueue" (cb=11)
00:00:01.485221 
00:00:01.485222 [/Devices/pckbd/0/LUN#1/AttachedDriver/] (level 5)
00:00:01.485223   Driver <string>  = "MainMouse" (cb=10)
00:00:01.485224 
00:00:01.485224 [/Devices/pckbd/0/LUN#1/AttachedDriver/Config/] (level 6)
00:00:01.485226   Object <integer> = 0x0000000810dfe000 (34 642 845 696)
00:00:01.485227 
00:00:01.485227 [/Devices/pckbd/0/LUN#1/Config/] (level 5)
00:00:01.485229   QueueSize <integer> = 0x0000000000000080 (128)
00:00:01.485230 
00:00:01.485230 [/Devices/pcnet/] (level 2)
00:00:01.485231 
00:00:01.485232 [/Devices/piix3ide/] (level 2)
00:00:01.485233 
00:00:01.485233 [/Devices/piix3ide/0/] (level 3)
00:00:01.485234   PCIBusNo      <integer> = 0x0000000000000000 (0)
00:00:01.485235   PCIDeviceNo   <integer> = 0x0000000000000001 (1)
00:00:01.485236   PCIFunctionNo <integer> = 0x0000000000000001 (1)
00:00:01.485237   Trusted       <integer> = 0x0000000000000001 (1)
00:00:01.485238 
00:00:01.485238 [/Devices/piix3ide/0/Config/] (level 4)
00:00:01.485240   Type <string>  = "PIIX4" (cb=6)
00:00:01.485240 
00:00:01.485241 [/Devices/piix3ide/0/LUN#2/] (level 4)
00:00:01.485242   Driver <string>  = "VD" (cb=3)
00:00:01.485243 
00:00:01.485243 [/Devices/piix3ide/0/LUN#2/Config/] (level 5)
00:00:01.485245   Format    <string>  = "RAW" (cb=4)
00:00:01.485246   Mountable <integer> = 0x0000000000000001 (1)
00:00:01.485247   Path      <string>  = "/home/bs/Iso/ubuntu-18.10-desktop-amd64.iso" (cb=44)
00:00:01.485247   ReadOnly  <integer> = 0x0000000000000001 (1)
00:00:01.485248   Type      <string>  = "DVD" (cb=4)
00:00:01.485249 
00:00:01.485249 [/Devices/piix3ide/0/LUN#999/] (level 4)
00:00:01.485253   Driver <string>  = "MainStatus" (cb=11)
00:00:01.485254 
00:00:01.485254 [/Devices/piix3ide/0/LUN#999/Config/] (level 5)
00:00:01.485256   DeviceInstance        <string>  = "piix3ide/0" (cb=11)
00:00:01.485257   First                 <integer> = 0x0000000000000000 (0)
00:00:01.485258   Last                  <integer> = 0x0000000000000003 (3)
00:00:01.485259   pConsole              <integer> = 0x0000000810ddd000 (34 642 710 528)
00:00:01.485260   papLeds               <integer> = 0x0000000810ddd400 (34 642 711 552)
00:00:01.485261   pmapMediumAttachments <integer> = 0x0000000810ddd8c0 (34 642 712 768)
00:00:01.485263 
00:00:01.485263 [/Devices/serial/] (level 2)
00:00:01.485264 
00:00:01.485265 [/Devices/usb-ohci/] (level 2)
00:00:01.485266 
00:00:01.485266 [/Devices/usb-ohci/0/] (level 3)
00:00:01.485267   PCIBusNo      <integer> = 0x0000000000000000 (0)
00:00:01.485268   PCIDeviceNo   <integer> = 0x0000000000000006 (6)
00:00:01.485269   PCIFunctionNo <integer> = 0x0000000000000000 (0)
00:00:01.485270   Trusted       <integer> = 0x0000000000000001 (1)
00:00:01.485271 
00:00:01.485271 [/Devices/usb-ohci/0/Config/] (level 4)
00:00:01.485272 
00:00:01.485273 [/Devices/usb-ohci/0/LUN#0/] (level 4)
00:00:01.485274   Driver <string>  = "VUSBRootHub" (cb=12)
00:00:01.485275 
00:00:01.485275 [/Devices/usb-ohci/0/LUN#0/Config/] (level 5)
00:00:01.485277 
00:00:01.485277 [/Devices/usb-ohci/0/LUN#999/] (level 4)
00:00:01.485278   Driver <string>  = "MainStatus" (cb=11)
00:00:01.485279 
00:00:01.485279 [/Devices/usb-ohci/0/LUN#999/Config/] (level 5)
00:00:01.485281   First   <integer> = 0x0000000000000000 (0)
00:00:01.485282   Last    <integer> = 0x0000000000000000 (0)
00:00:01.485283   papLeds <integer> = 0x0000000810ddd8a8 (34 642 712 744)
00:00:01.485284 
00:00:01.485284 [/Devices/vga/] (level 2)
00:00:01.485285 
00:00:01.485286 [/Devices/vga/0/] (level 3)
00:00:01.485287   PCIBusNo      <integer> = 0x0000000000000000 (0)
00:00:01.485288   PCIDeviceNo   <integer> = 0x0000000000000002 (2)
00:00:01.485289   PCIFunctionNo <integer> = 0x0000000000000000 (0)
00:00:01.485289   Trusted       <integer> = 0x0000000000000001 (1)
00:00:01.485290 
00:00:01.485291 [/Devices/vga/0/Config/] (level 4)
00:00:01.485292   3DEnabled          <integer> = 0x0000000000000000 (0)
00:00:01.485293   CustomVideoModes   <integer> = 0x0000000000000000 (0)
00:00:01.485294   FadeIn             <integer> = 0x0000000000000001 (1)
00:00:01.485295   FadeOut            <integer> = 0x0000000000000001 (1)
00:00:01.485296   HeightReduction    <integer> = 0x0000000000000000 (0)
00:00:01.485297   LogoFile           <string>  = "" (cb=1)
00:00:01.485298   LogoTime           <integer> = 0x0000000000000000 (0)
00:00:01.485299   MonitorCount       <integer> = 0x0000000000000001 (1)
00:00:01.485300   ShowBootMenu       <integer> = 0x0000000000000002 (2)
00:00:01.485300   VMSVGAEnabled      <integer> = 0x0000000000000001 (1)
00:00:01.485301   VMSVGAPciBarLayout <integer> = 0x0000000000000001 (1)
00:00:01.485302   VMSVGAPciId        <integer> = 0x0000000000000001 (1)
00:00:01.485303   VRamSize           <integer> = 0x0000000001000000 (16 777 216, 16 MB)
00:00:01.485304 
00:00:01.485305 [/Devices/vga/0/LUN#0/] (level 4)
00:00:01.485306   Driver <string>  = "MainDisplay" (cb=12)
00:00:01.485307 
00:00:01.485307 [/Devices/vga/0/LUN#0/Config/] (level 5)
00:00:01.485309   Object <integer> = 0x0000000811303000 (34 648 109 056)
00:00:01.485310 
00:00:01.485310 [/Devices/vga/0/LUN#999/] (level 4)
00:00:01.485311   Driver <string>  = "MainStatus" (cb=11)
00:00:01.485312 
00:00:01.485312 [/Devices/vga/0/LUN#999/Config/] (level 5)
00:00:01.485314   First   <integer> = 0x0000000000000000 (0)
00:00:01.485315   Last    <integer> = 0x0000000000000000 (0)
00:00:01.485316   papLeds <integer> = 0x0000000810ddd8b8 (34 642 712 760)
00:00:01.485317 
00:00:01.485317 [/Devices/virtio-net/] (level 2)
00:00:01.485318 
00:00:01.485319 [/EM/] (level 1)
00:00:01.485320   TripleFaultReset <integer> = 0x0000000000000000 (0)
00:00:01.485321 
00:00:01.485321 [/GIM/] (level 1)
00:00:01.485322   Provider <string>  = "KVM" (cb=4)
00:00:01.485323 
00:00:01.485323 [/HM/] (level 1)
00:00:01.485324   64bitEnabled            <integer> = 0x0000000000000001 (1)
00:00:01.485325   EnableLargePages        <integer> = 0x0000000000000001 (1)
00:00:01.485326   EnableNestedPaging      <integer> = 0x0000000000000001 (1)
00:00:01.485327   EnableUX                <integer> = 0x0000000000000001 (1)
00:00:01.485328   EnableVPID              <integer> = 0x0000000000000001 (1)
00:00:01.485329   Exclusive               <integer> = 0x0000000000000001 (1)
00:00:01.485330   HMForced                <integer> = 0x0000000000000001 (1)
00:00:01.485331   IBPBOnVMEntry           <integer> = 0x0000000000000000 (0)
00:00:01.485332   IBPBOnVMExit            <integer> = 0x0000000000000000 (0)
00:00:01.485333   L1DFlushOnSched         <integer> = 0x0000000000000001 (1)
00:00:01.485334   L1DFlushOnVMEntry       <integer> = 0x0000000000000000 (0)
00:00:01.485335   LovelyMesaDrvWorkaround <integer> = 0x0000000000000001 (1)
00:00:01.485335   MDSClearOnSched         <integer> = 0x0000000000000001 (1)
00:00:01.485336   MDSClearOnVMEntry       <integer> = 0x0000000000000000 (0)
00:00:01.485337   SpecCtrlByHost          <integer> = 0x0000000000000000 (0)
00:00:01.485338   UseNEMInstead           <integer> = 0x0000000000000000 (0)
00:00:01.485339 
00:00:01.485339 [/MM/] (level 1)
00:00:01.485340   CanUseLargerHeap <integer> = 0x0000000000000000 (0)
00:00:01.485341 
00:00:01.485341 [/NEM/] (level 1)
00:00:01.485342   Allow64BitGuests <integer> = 0x0000000000000001 (1)
00:00:01.485343 
00:00:01.485343 [/PDM/] (level 1)
00:00:01.485344 
00:00:01.485345 [/PDM/AsyncCompletion/] (level 2)
00:00:01.485346 
00:00:01.485346 [/PDM/AsyncCompletion/File/] (level 3)
00:00:01.485348 
00:00:01.485348 [/PDM/AsyncCompletion/File/BwGroups/] (level 4)
00:00:01.485349 
00:00:01.485349 [/PDM/BlkCache/] (level 2)
00:00:01.485351   CacheSize <integer> = 0x0000000000500000 (5 242 880, 5 MB)
00:00:01.485352 
00:00:01.485352 [/PDM/Devices/] (level 2)
00:00:01.485353 
00:00:01.485354 [/PDM/Drivers/] (level 2)
00:00:01.485355 
00:00:01.485355 [/PDM/Drivers/VBoxC/] (level 3)
00:00:01.485356   Path <string>  = "/usr/local/lib/virtualbox/components/VBoxC" (cb=43)
00:00:01.485357 
00:00:01.485357 [/PDM/NetworkShaper/] (level 2)
00:00:01.485358 
00:00:01.485359 [/PDM/NetworkShaper/BwGroups/] (level 3)
00:00:01.485360 
00:00:01.485360 [/TM/] (level 1)
00:00:01.485361   UTCOffset <integer> = 0x0000000000000000 (0)
00:00:01.485362 
00:00:01.485362 [/USB/] (level 1)
00:00:01.485363 
00:00:01.485364 [/USB/HidMouse/] (level 2)
00:00:01.485365 
00:00:01.485365 [/USB/HidMouse/0/] (level 3)
00:00:01.485366 
00:00:01.485366 [/USB/HidMouse/0/Config/] (level 4)
00:00:01.485368   Mode <string>  = "absolute" (cb=9)
00:00:01.485368 
00:00:01.485369 [/USB/HidMouse/0/LUN#0/] (level 4)
00:00:01.485370   Driver <string>  = "MouseQueue" (cb=11)
00:00:01.485371 
00:00:01.485371 [/USB/HidMouse/0/LUN#0/AttachedDriver/] (level 5)
00:00:01.485373   Driver <string>  = "MainMouse" (cb=10)
00:00:01.485374 
00:00:01.485374 [/USB/HidMouse/0/LUN#0/AttachedDriver/Config/] (level 6)
00:00:01.485376   Object <integer> = 0x0000000810dfe000 (34 642 845 696)
00:00:01.485377 
00:00:01.485377 [/USB/HidMouse/0/LUN#0/Config/] (level 5)
00:00:01.485379   QueueSize <integer> = 0x0000000000000080 (128)
00:00:01.485379 
00:00:01.485380 [/USB/USBProxy/] (level 2)
00:00:01.485381 
00:00:01.485381 [/USB/USBProxy/GlobalConfig/] (level 3)
00:00:01.485382 
00:00:01.485383 ********************* End of CFGM dump **********************
00:00:01.485464 HM: HMR3Init: AMD-V w/ nested paging
00:00:01.485510 MM: cbHyperHeap=0x200000 (2097152)
00:00:01.486974 CPUM: fXStateHostMask=0x0; initial: 0x0; host XCR0=0x0
00:00:01.487381 CPUM: Matched host CPU AMD 0x10/0xa/0x0 AMD_K10 with CPU DB entry 'AMD Phenom II X6 1100T' (AMD 0x10/0xa/0x0 AMD_K10)
00:00:01.487594 CPUM: MXCSR_MASK=0x2ffff (host: 0x2ffff)
00:00:01.487614 CPUM: Microcode revision 0x010000BF
00:00:01.487627 CPUM: MSR fudge: 0x00000017 IA32_PLATFORM_ID
00:00:01.487637 CPUM: MSR fudge: 0x000001a0 IA32_MISC_ENABLE
00:00:01.487670 CPUM: MSR fudge: 0x0000002c P4_EBC_FREQUENCY_ID
00:00:01.487910 PGM: Host paging mode: AMD64+PGE+NX
00:00:01.487928 PGM: PGMPool: cMaxPages=1280 (u64MaxPages=1058)
00:00:01.487936 PGM: pgmR3PoolInit: cMaxPages=0x500 cMaxUsers=0xa00 cMaxPhysExts=0xa00 fCacheEnable=true 
00:00:01.496803 TM: GIP - u32Mode=3 (Invariant) u32UpdateHz=100 u32UpdateIntervalNS=10000000 enmUseTscDelta=2 (Practically Zero) fGetGipCpu=0xb cCpus=6
00:00:01.496852 TM: GIP - u64CpuHz=3 499 954 623 (0xd09d11bf)  SUPGetCpuHzFromGip => 3 499 954 623
00:00:01.496884 TM: GIP - CPU: iCpuSet=0x0 idCpu=0x0 idApic=0x0 iGipCpu=0x2 i64TSCDelta=0 enmState=3 u64CpuHz=3499949763(*) cErrors=0
00:00:01.496895 TM: GIP - CPU: iCpuSet=0x1 idCpu=0x1 idApic=0x1 iGipCpu=0x0 i64TSCDelta=0 enmState=3 u64CpuHz=3499954623(*) cErrors=0
00:00:01.496904 TM: GIP - CPU: iCpuSet=0x2 idCpu=0x2 idApic=0x2 iGipCpu=0x3 i64TSCDelta=0 enmState=3 u64CpuHz=3499953255(*) cErrors=0
00:00:01.496912 TM: GIP - CPU: iCpuSet=0x3 idCpu=0x3 idApic=0x3 iGipCpu=0x4 i64TSCDelta=0 enmState=3 u64CpuHz=3499954432(*) cErrors=0
00:00:01.496945 TM: GIP - CPU: iCpuSet=0x4 idCpu=0x4 idApic=0x4 iGipCpu=0x1 i64TSCDelta=0 enmState=3 u64CpuHz=3499994215(*) cErrors=0
00:00:01.496954 TM: GIP - CPU: iCpuSet=0x5 idCpu=0x5 idApic=0x5 iGipCpu=0x5 i64TSCDelta=0 enmState=3 u64CpuHz=3499953615(*) cErrors=0
00:00:01.496996 TM: cTSCTicksPerSecond=3 499 954 623 (0xd09d11bf) enmTSCMode=3 (Dynamic)
00:00:01.496998 TM: TSCTiedToExecution=false TSCNotTiedToHalt=false
00:00:01.497381 EMR3Init: fIemExecutesAll=false fGuruOnTripleFault=true 
00:00:01.497535 IEM: TargetCpu=CURRENT, Microarch=AMD_K10
00:00:01.497683 GIM: Using provider 'KVM' (Implementation version: 0)
00:00:01.497700 CPUM: SetGuestCpuIdFeature: Enabled Hypervisor Present bit
00:00:01.497770 AIOMgr: Default manager type is 'Async'
00:00:01.497782 AIOMgr: Default file backend is 'NonBuffered'
00:00:01.497919 BlkCache: Cache successfully initialized. Cache size is 5242880 bytes
00:00:01.497929 BlkCache: Cache commit interval is 10000 ms
00:00:01.497936 BlkCache: Cache commit threshold is 2621440 bytes
00:00:01.502573 PcBios: [SMP] BIOS with 1 CPUs
00:00:01.502771 PcBios: Using the 386+ BIOS image.
00:00:01.502923 PcBios: MPS table at 000e1300
00:00:01.503928 PcBios: fCheckShutdownStatusForSoftReset=true   fClearShutdownStatusOnHardReset=true 
00:00:01.510063 SUP: Loaded VBoxDDR0.r0 (/usr/local/lib/virtualbox/VBoxDDR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX
00:00:01.510330 CPUM: SetGuestCpuIdFeature: Enabled xAPIC
00:00:01.510364 CPUM: SetGuestCpuIdFeature: Enabled x2APIC
00:00:01.510585 IOAPIC: Using implementation 2.0! Chipset type ICH9
00:00:01.510696 PIT: mode=3 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:01.514804 Shared Folders service loaded
00:00:01.516168 Guest Control service loaded
00:00:01.528485 VGA: Using the 386+ BIOS image.
00:00:01.529810 DrvVD: Flushes will be ignored
00:00:01.529830 DrvVD: Async flushes will be passed to the disk
00:00:01.532701 VD: VDInit finished with VINF_SUCCESS
00:00:01.532979 AIOMgr: Endpoint for file '/home/bs/VirtualBox VMs/Test/Test.vmdk' (flags 000c0723) created successfully
00:00:01.535181 VD: Opening the disk took 2633792 ns
00:00:01.535233 AHCI: LUN#0: disk, PCHS=16383/16/63, total number of sectors 20971520
00:00:01.535369 AHCI#0: Reset the HBA
00:00:01.535379 VD#0: Cancelling all active requests






///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Thank you so much
Didier
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Problem building VirtualBox-6.1.6.tar.bz2

Post by fth0 »

00:00:01.425786 Host RAM: 7893MB (7.7GB) total, 366MB available
That looks like an obvious problem. ;)
DCastellacci
Posts: 9
Joined: 12. Aug 2019, 21:08

Re: Problem building VirtualBox-6.1.6.tar.bz2

Post by DCastellacci »

Hello,

I'm on FreeBSD 12.1p3.

VirtualBox 6.0.20 works.

What can I do for VirtualBox 6.1.6?

This issue :
00: 00: 01.425786 Host RAM: 7893MB (7.7GB) total, 366MB available
is it due to FreeBSD or VirtualBox?

Thank you so much
DCastellacci
Posts: 9
Joined: 12. Aug 2019, 21:08

Re: Problem building VirtualBox-6.1.6.tar.bz2

Post by DCastellacci »

Hello,

I don't understand the memory problem :
00: 00: 01.425786 Host RAM: 7893MB (7.7GB) total, 366MB available
with VirtualBox 6.0.20 there is the same amount of memory and it works

Here is the log:

Code: Select all

00:00:00.903163 VirtualBox VM 6.0.20 r137117 freebsd.amd64 (Apr 25 2020 07:49:46) release log
00:00:00.903165 Log opened 2020-04-25T10:07:22.786197000Z
00:00:00.903165 Build Type: release
00:00:00.903174 OS Product: FreeBSD
00:00:00.903176 OS Release: 12.1-RELEASE-p3
00:00:00.903179 OS Version: FreeBSD 12.1-RELEASE-p3 GENERIC
00:00:00.903200 Host RAM: 7893MB (7.7GB) total, 249MB available
00:00:00.903204 Executable: /usr/home/opt/local/lib/virtualbox/VirtualBoxVM
00:00:00.903205 Process ID: 2073
00:00:00.903206 Package type: BSD_64BITS_GENERIC (OSE)
00:00:00.904696 Installed Extension Packs:
00:00:00.904725   VNC (Version: 6.0.20 r137117; VRDE Module: VBoxVNC)
00:00:00.905541 Console: Machine state changed to 'Starting'
00:00:00.905777 Qt version: 5.13.2
00:00:00.905801 X11 Window Manager code: 0
00:00:00.909549 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:00.910812 X Server details: vendor: The X.Org Foundation, release: 12008000, protocol version: 11.0, display string: :0
00:00:00.910839 Using XKB for keycode to scan code conversion
00:00:00.913587 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated: Screen 0 work area is actually resized to: 0x539 x 1920x5
00:00:00.916563 SUP: Loaded VMMR0.r0 (/usr/home/opt/local/lib/virtualbox/VMMR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX
00:00:00.916607 SUP: VMMR0EntryEx located at XXXXXXXXXXXXXXXX and VMMR0EntryFast at XXXXXXXXXXXXXXXX
00:00:00.918875 Guest OS type: 'Ubuntu_64'
00:00:00.922755 fHMForced=true - SMP
00:00:00.922785 fHMForced=true - 64-bit guest
00:00:00.926591 VMSVGA3d not available in this build!
00:00:00.931938 File system of '/home/bs/Iso/ubuntu-18.10-desktop-amd64.iso' (DVD) is zfs
00:00:00.937516 File system of '/home/bs/VirtualBox VMs/Test/Snapshots' (snapshots) is unknown
00:00:00.937532 File system of '/home/bs/VirtualBox VMs/Test/Test.vmdk' is zfs
00:00:00.954598 Shared clipboard service loaded
00:00:00.954623 Shared clipboard mode: Off
00:00:00.955275 Drag and drop service loaded
00:00:00.955291 Drag and drop mode: Off
00:00:00.957095 ************************* CFGM dump *************************
Thank you so much
Didier
Attachments
VBox.log.zip
(27.33 KiB) Downloaded 60 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Problem building VirtualBox-6.1.6.tar.bz2

Post by mpack »

This topic does not belong in "Other Hosts". Moving topic to "VirtualBox OSE".
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Problem building VirtualBox-6.1.6.tar.bz2

Post by fth0 »

I cannot speak for a FreeBSD host, so maybe the situation is different and I misinterpreted it.

When VirtualBox starts a VM, it usually tries and allocates the RAM and VRAM configured for the VM, so when the host OS only has a few hundred MBs available, and the VM is configured to use 2 GB RAM, then all sort of problems start occurring, even if the guest OS doesn't need the memory in the beginning. The usual advice given for such a situation is to start the VM soon after starting the host, to max out the available RAM. But although this advice has helped a lot of people in the past, it may not be applicable to your situation.
DCastellacci
Posts: 9
Joined: 12. Aug 2019, 21:08

Re: Problem building VirtualBox-6.1.6.tar.bz2

Post by DCastellacci »

Hello,

What can I do now for my problem:
Failed to open a session for the virtual machine Test.

The VM session was aborted.

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: SessionMachine
Interface: ISession {c0447716-ff5a-4795-b57a-ecd5fffa18a4}
Thank you so much
Didier
Post Reply