VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Discussions about using Linux guests in VirtualBox.
Post Reply
nic-the-name
Posts: 6
Joined: 26. Jan 2024, 09:49

VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Post by nic-the-name »

VM won't start. I have not had this problem before with VirtualBox so I thought I would share and hope for some answers. The VMs are working fine on QEMU/KVM.

When loading Ubuntuy 22.04 install .iso or the Kali Linux "prepared" VirtualBox VM (.vbox) image, VirtualBox just shows some boot-up text on the screen and never loads (see image below). The screen content is the same between both virtual machines (Ubuntu .iso and prepared Kali .vbox). I don't see any errors in the vbox.log files and ran them through ChatGPT which also didn't identify any errors.

The host is Ubuntu 22.04 with full updates and upgrades. The most recent Virtualbox 7 is installed and downloaded from the Oracle website along with the Extension Pack. After installing VirtualBox, I did updates and upgrades again and rebooted.
Screenshot from 2024-01-25 20-51-53.png
Screenshot from 2024-01-25 20-51-53.png (16.38 KiB) Viewed 4665 times
The graphics card is AMD Radeon 780M. I installed the AMD Radeon drivers for the base system Ubuntu 22.04 with no problems. Both VMs were configured with 128 MB of memory for graphics. This also happens when using "Safe Graphics" install method for both VMs.

Curiously, the Kali preconfigured VM loads custom Kali GRUB, then after selecting the OS to boot, fails with the screen above.

Here is the output of lscpu, AMD Ryzen 7. Virtualization is enabled in the BIOS.

Code: Select all

$ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         48 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  16
  On-line CPU(s) list:   0-15
Vendor ID:               AuthenticAMD
  Model name:            AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
    CPU family:          25
    Model:               116
    Thread(s) per core:  2
    Core(s) per socket:  8
    Socket(s):           1
    Stepping:            1
    CPU max MHz:         6080.0000
    CPU min MHz:         400.0000
    BogoMIPS:            7585.63
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall
                          nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid ap
                         erfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdra
                         nd lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce top
                         oext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs i
                         bpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed
                         adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc
                          cqm_occup_llc cqm_mbm_total cqm_mbm_local avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt
                          lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vml
                         oad vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx
                         512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca flush_l1d
Virtualization features:
  Virtualization:        AMD-V
Caches (sum of all):    
  L1d:                   256 KiB (8 instances)
  L1i:                   256 KiB (8 instances)
  L2:                    8 MiB (8 instances)
  L3:                    16 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-15
Vulnerabilities:        
  Gather data sampling:  Not affected
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Retbleed:              Not affected
  Spec rstack overflow:  Mitigation; safe RET, no microcode
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced / Automatic IBRS, IBPB conditional, STIBP always-on, RSB filling, PBRSB-eIBRS Not affec
                         ted
  Srbds:                 Not affected
  Tsx async abort:       Not affected
I have tried with the host bios Secure boot on and off, and virtually every setting in the "System" tab of the VM settings: TPM, Nested VT-X/AMD-V, PAE/NX, Paravirtualization Interface, Nested paging. No changes. Logs don't seem to indicate either. Here is full start log, no obvious errors.

Code: Select all

00:00:00.677259 VirtualBox VM 7.0.14 r161095 linux.amd64 (Jan 15 2024 15:20:58) release log
00:00:00.677261 Log opened 2024-01-26T07:43:05.798390000Z
00:00:00.677261 Build Type: release
00:00:00.677263 OS Product: Linux
00:00:00.677264 OS Release: 6.5.0-15-generic
00:00:00.677265 OS Version: #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2
00:00:00.677283 DMI Product Name: SER
00:00:00.677292 DMI Product Version: V1
00:00:00.677298 Firmware type: UEFI
00:00:00.677387 Secure Boot: Disabled
00:00:00.677418 Host RAM: 27759MB (27.1GB) total, 25072MB (24.4GB) available
00:00:00.677421 Executable: /usr/lib/virtualbox/VirtualBoxVM
00:00:00.677421 Process ID: 8026
00:00:00.677421 Package type: LINUX_64BITS_UBUNTU_22_04
00:00:00.736918 Installed Extension Packs:
00:00:00.736962   Oracle VM VirtualBox Extension Pack (Version: 7.0.14 r161095; VRDE Module: VBoxVRDP; Crypto Module: VBoxPuelCrypto)
00:00:00.737748 Console: Machine state changed to 'Starting'
00:00:00.737895 Qt version: 5.15.3
00:00:00.737902 X11 Window Manager code: 2
00:00:00.745181 SUP: seg #0: R   0x00000000 LB 0x00061000
00:00:00.745220 SUP: seg #1: R X 0x00061000 LB 0x001b7000
00:00:00.745226 SUP: seg #2: R   0x00218000 LB 0x0006b000
00:00:00.745231 SUP: seg #3: RW  0x00283000 LB 0x0002eaf8
00:00:00.747598 SUP: Loaded VMMR0.r0 (/usr/lib/virtualbox/VMMR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX
00:00:00.747615 SUP: VMMR0EntryEx located at XXXXXXXXXXXXXXXX and VMMR0EntryFast at XXXXXXXXXXXXXXXX
00:00:00.750260 Guest OS type: 'Debian_64'
00:00:00.751422 fHMForced=true - No raw-mode support in this build!
00:00:00.757647 File system of '/home/greenbone-dev/VM/kali-linux-2023.2-virtualbox-amd64/kali-linux-2023.2-virtualbox-amd64.vdi' is ext4
00:00:00.758716 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:00.765535 X Server details: vendor: The Foundation, release: 12201001, protocol version: 11.0, display string: :0
00:00:00.765567 Using known keycode mapping for keycode to scan code conversion
00:00:00.767486 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated: Screen 0 work area is actually resized to: 56x27 x 1864x1053
00:00:00.793032 Shared Clipboard: Service loaded
00:00:00.793050 Shared Clipboard: Mode: Bidirectional
00:00:00.793089 Shared Clipboard: Service running in normal mode
00:00:00.793682 Drag and drop service loaded
00:00:00.793689 Drag and drop mode: Off
00:00:00.795778 ************************* CFGM dump *************************
00:00:00.795782 [/] (level 0)
00:00:00.795795   CpuExecutionCap   <integer> = 0x0000000000000064 (100)
00:00:00.795798   EnablePAE         <integer> = 0x0000000000000001 (1)
00:00:00.795799   HMEnabled         <integer> = 0x0000000000000001 (1)
00:00:00.795799   MemBalloonSize    <integer> = 0x0000000000000000 (0, 0 B)
00:00:00.795801   Name              <string>  = "kali-linux-2023.2-virtualbox-amd64" (cb=35)
00:00:00.795802   NumCPUs           <integer> = 0x0000000000000006 (6)
00:00:00.795802   PageFusionAllowed <integer> = 0x0000000000000000 (0)
00:00:00.795803   RamHoleSize       <integer> = 0x0000000024000000 (603 979 776, 576.0 MiB)
00:00:00.795804   RamSize           <integer> = 0x00000004bc500000 (20 339 228 672, 18.9 GiB)
00:00:00.795804   TimerMillies      <integer> = 0x000000000000000a (10)
00:00:00.795805   UUID              <bytes>   = "b9 94 3a f4 08 49 f7 4c ba b9 45 84 b7 c5 47 3c" (cb=16)
00:00:00.795807
00:00:00.795809 [/CPUM/] (level 1)
00:00:00.795810   Enable64bit        <integer> = 0x0000000000000001 (1)
00:00:00.795810   GuestCpuName       <string>  = "host" (cb=5)
00:00:00.795811   NestedHWVirt       <integer> = 0x0000000000000001 (1)
00:00:00.795811   PortableCpuIdLevel <integer> = 0x0000000000000000 (0)
00:00:00.795812   SpecCtrl           <integer> = 0x0000000000000000 (0)
00:00:00.795812
00:00:00.795812 [/CPUM/IsaExts/] (level 2)
00:00:00.795813
00:00:00.795815 [/DBGC/] (level 1)
00:00:00.795815   GlobalInitScript <string>  = "/home/greenbone-dev/.config/VirtualBox/dbgc-init" (cb=49)
00:00:00.795816   HistoryFile      <string>  = "/home/greenbone-dev/.config/VirtualBox/dbgc-history" (cb=52)
00:00:00.795816   LocalInitScript  <string>  = "/home/greenbone-dev/VM/kali-linux-2023.2-virtualbox-amd64/dbgc-init" (cb=68)
00:00:00.795817
00:00:00.795817 [/DBGF/] (level 1)
00:00:00.795817   Path <string>  = "/home/greenbone-dev/VM/kali-linux-2023.2-virtualbox-amd64/debug/;/home/greenbone-dev/VM/kali-linux-2023.2-virtualbox-amd64/;cache*/home/greenbone-dev/VM/kali-linux-2023.2-virtualbox-amd64/dbgcache/;/home/greenbone-dev/" (cb=219)
00:00:00.795817
00:00:00.795818 [/Devices/] (level 1)
00:00:00.795818
00:00:00.795818 [/Devices/3c501/] (level 2)
00:00:00.795818
00:00:00.795819 [/Devices/8237A/] (level 2)
00:00:00.795819
00:00:00.795819 [/Devices/8237A/0/] (level 3)
00:00:00.795820   Trusted <integer> = 0x0000000000000001 (1)
00:00:00.795820
00:00:00.795820 [/Devices/GIMDev/] (level 2)
00:00:00.795821
00:00:00.795821 [/Devices/GIMDev/0/] (level 3)
00:00:00.795821   Trusted <integer> = 0x0000000000000001 (1)
00:00:00.795821
00:00:00.795822 [/Devices/VMMDev/] (level 2)
00:00:00.795822
00:00:00.795822 [/Devices/VMMDev/0/] (level 3)
00:00:00.795823   PCIBusNo      <integer> = 0x0000000000000000 (0)
00:00:00.795823   PCIDeviceNo   <integer> = 0x0000000000000004 (4)
00:00:00.795823   PCIFunctionNo <integer> = 0x0000000000000000 (0)
00:00:00.795824   Trusted       <integer> = 0x0000000000000001 (1)
00:00:00.795824
00:00:00.795824 [/Devices/VMMDev/0/Config/] (level 4)
00:00:00.795825   GuestCoreDumpDir <string>  = "/home/greenbone-dev/VM/kali-linux-2023.2-virtualbox-amd64/Snapshots" (cb=68)
00:00:00.795825
00:00:00.795825 [/Devices/VMMDev/0/LUN#0/] (level 4)
00:00:00.795826   Driver <string>  = "HGCM" (cb=5)
00:00:00.795826
00:00:00.795826 [/Devices/VMMDev/0/LUN#0/Config/] (level 5)
00:00:00.795827
00:00:00.795827 [/Devices/VMMDev/0/LUN#999/] (level 4)
00:00:00.795827   Driver <string>  = "MainStatus" (cb=11)
00:00:00.795828

[truncated...]

00:00:00.795977 [/PDM/Devices/] (level 2)
00:00:00.795978
00:00:00.795978 [/PDM/Devices/VBoxNvme/] (level 3)
00:00:00.795978   Path         <string>  = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/ (cb=97)
00:00:00.795979   R0SearchPath <string>  = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64" (cb=83)
00:00:00.795979
00:00:00.795979 [/PDM/Drivers/] (level 2)
00:00:00.795980
00:00:00.795980 [/PDM/Drivers/DrvHostWebcam/] (level 3)
00:00:00.795980   Path <string>  = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/" (cb=101)
00:00:00.795980
00:00:00.795981 [/PDM/Drivers/VBoxC/] (level 3)
00:00:00.795981   Path <string>  = "/usr/lib/virtualbox/components/VBoxC" (cb=37)
00:00:00.795981
00:00:00.795981 [/PDM/NetworkShaper/] (level 2)
00:00:00.795982
00:00:00.795982 [/PDM/NetworkShaper/BwGroups/] (level 3)
00:00:00.795982
00:00:00.795983 [/PDM/USB/] (level 2)
00:00:00.795983
00:00:00.795983 [/PDM/USB/VBoxUsbCardReader/] (level 3)
00:00:00.795984   Path <string>  = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/" (cb=106)
00:00:00.795984
00:00:00.795984 [/PDM/USB/VBoxUsbWebcam/] (level 3)
00:00:00.795984   Path <string>  = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/" (cb=102)
00:00:00.795985
00:00:00.795985 [/TM/] (level 1)
00:00:00.795985   UTCOffset <integer> = 0x0000000000000000 (0)
00:00:00.795985
00:00:00.795986 [/USB/] (level 1)
00:00:00.795986
00:00:00.795986 [/USB/HidMouse/] (level 2)
00:00:00.795986
00:00:00.795986 [/USB/HidMouse/0/] (level 3)
00:00:00.795987
00:00:00.795987 [/USB/HidMouse/0/Config/] (level 4)
00:00:00.795988   Mode <string>  = "absolute" (cb=9)
00:00:00.795988
00:00:00.795988 [/USB/HidMouse/0/LUN#0/] (level 4)
00:00:00.795988   Driver <string>  = "MouseQueue" (cb=11)
00:00:00.795989
00:00:00.795989 [/USB/HidMouse/0/LUN#0/AttachedDriver/] (level 5)
00:00:00.795989   Driver <string>  = "MainMouse" (cb=10)
00:00:00.795989
00:00:00.795990 [/USB/HidMouse/0/LUN#0/Config/] (level 5)
00:00:00.795990   QueueSize <integer> = 0x0000000000000080 (128, 128 B)
00:00:00.795990
00:00:00.795991 [/USB/USBProxy/] (level 2)
00:00:00.795991
00:00:00.795991 [/USB/USBProxy/GlobalConfig/] (level 3)
00:00:00.795991
00:00:00.795992 ********************* End of CFGM dump **********************
00:00:00.796165 HM: HMR3Init: AMD-V w/ nested paging
00:00:00.796230 CPUM: fXStateHostMask=0xe7; initial: 0xe7; host XCR0=0x2e7
00:00:00.797930 CPUM: Matched host CPU AMD 0x19/0x74/0x1 AMD_Unknown with CPU DB entry 'AMD Ryzen 7 1800X Eight-Core' (AMD 0x17/0x1/0x1 AMD_Zen_Ryzen)
00:00:00.798315 CPUM: MXCSR_MASK=0x2ffff (host: 0x2ffff)
00:00:00.798326 CPUM: Microcode revision 0x0A704101
00:00:00.798333 CPUM: Changing leaf 13[0]: EBX=0x988 -> 0x340, ECX=0x988 -> 0x340

[truncated...]

00:00:00.828745 TM:     cTSCTicksPerSecond=3 792 876 799 (0xe212b4ff) enmTSCMode=1 (VirtTSCEmulated)
00:00:00.828746 TM: cTSCTicksPerSecondHost=3 792 876 799 (0xe212b4ff)
00:00:00.828746 TM: TSCTiedToExecution=false TSCNotTiedToHalt=false
00:00:00.829523 EMR3Init: fIemExecutesAll=false fGuruOnTripleFault=true
00:00:00.829850 IEM: TargetCpu=CURRENT, Microarch=AMD_Unknown aidxTargetCpuEflFlavour={2,0}
00:00:00.830402 GIM: Using provider 'KVM' (Implementation version: 0)
00:00:00.830417 CPUM: SetGuestCpuIdFeature: Enabled Hypervisor Present bit
00:00:00.830461 GCM: Initialized (fixer bits: 0x0)
00:00:00.906791 AIOMgr: Default manager type is 'Async'
00:00:00.906849 AIOMgr: Default file backend is 'NonBuffered'
00:00:00.907014 BlkCache: Cache successfully initialized. Cache size is 5242880 bytes
00:00:00.907027 BlkCache: Cache commit interval is 10000 ms
00:00:00.907035 BlkCache: Cache commit threshold is 2621440 bytes
00:00:00.908991 PcBios: [SMP] BIOS with 6 CPUs
00:00:00.909019 PcBios: Using the 386+ BIOS image.
00:00:00.909091 PcBios: MPS table at 000e1300
00:00:00.909544 PcBios: Using LAN ROM '/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/PXE-Intel.rom' with a size of 0xc000 bytes
00:00:00.909621 PcBios: fCheckShutdownStatusForSoftReset=true  fClearShutdownStatusOnHardReset=true
00:00:00.910166 SUP: seg #0: R   0x00000000 LB 0x0000a000
00:00:00.910173 SUP: seg #1: R X 0x0000a000 LB 0x0002c000
00:00:00.910177 SUP: seg #2: R   0x00036000 LB 0x0000e000
00:00:00.910181 SUP: seg #3: RW  0x00044000 LB 0x00008500
00:00:00.910249 SUP: Loaded VBoxDDR0.r0 (/usr/lib/virtualbox/VBoxDDR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX
00:00:00.910897 CPUM: SetGuestCpuIdFeature: Enabled xAPIC
00:00:00.910906 CPUM: SetGuestCpuIdFeature: Enabled x2APIC
00:00:00.911848 IOAPIC: Version=2.0 ChipType=ICH9
00:00:00.911894 HPET: Capabilities=0x8086a301 (LegacyRt=true CounterSize=64-bit Timers=4 Revision=0x1)
00:00:00.911954 PIT: mode=3 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:00.912098 VMMDev: cbDefaultBudget: 1 073 741 824 (40000000)
00:00:00.914337 Shared Folders service loaded
00:00:00.915609 Guest Control service loaded
00:00:00.945647 VGA: Using the 386+ BIOS image.
00:00:00.946807 VD: VDInit finished with VINF_SUCCESS
00:00:00.947032 DrvVD: Flushes will be ignored
00:00:00.947038 DrvVD: Async flushes will be passed to the disk
00:00:00.949761 AIOMgr: Endpoint for file '/home/greenbone-dev/VM/kali-linux-2023.2-virtualbox-amd64/kali-linux-2023.2-virtualbox-amd64.vdi' (flags 000c0723) created successfully
00:00:00.952149 VD: Opening the disk took 2848807 ns
00:00:00.952223 AHCI: LUN#0: disk, PCHS=16383/16/63, total number of sectors 167968750
00:00:00.952575 AHCI#0: Reset the HBA
00:00:00.952602 VD#0: Cancelling all active requests
00:00:00.953646 PIIX3 ATA: LUN#0: no unit
00:00:00.953658 PIIX3 ATA: LUN#1: no unit
00:00:00.953808 DrvVD: Flushes will be ignored
00:00:00.953818 DrvVD: Async flushes will be passed to the disk
00:00:00.953841 PIIX3 ATA: LUN#2: CD/DVD, total number of sectors 0, passthrough disabled
00:00:00.956482 PIIX3 ATA: LUN#3: no unit
00:00:00.956527 PIIX3 ATA: Ctl#0: finished processing RESET
00:00:00.956586 PIIX3 ATA: Ctl#1: finished processing RESET
00:00:00.956699 E1000#0: Chip=82540EM LinkUpDelay=5000ms EthernetCRC=on GSO=enabled Itr=disabled ItrRx=enabled TID=disabled R0=enabled RC=disabled
00:00:00.956963 IntNet#0: szNetwork={HostInterfaceNetworking-enp1s0} enmTrunkType=3 szTrunk={enp1s0} fFlags=0x8000 cbRecv=325632 cbSend=196608 fIgnoreConnectFailure=false
00:00:00.957730 AC97: Using codec 'AD1980'
00:00:00.957788 Audio: Initializing PulseAudio driver
00:00:00.957843 PulseAudio: Using version 15.99.0
00:00:00.958935 PulseAudio: Retrieving server information ...
00:00:00.959092 Audio: Found 2 devices for driver 'PulseAudio'
00:00:00.959098 Audio: Device 'Dummy Output':
00:00:00.959098 Audio:   ID              = auto_null
00:00:00.959098 Audio:   Usage           = output
00:00:00.959099 Audio:   Flags           = DEFAULT_OUT
00:00:00.959099 Audio:   Input channels  = 0
00:00:00.959099 Audio:   Output channels = 2
00:00:00.959103 Audio: Device 'Monitor of Dummy Output':
00:00:00.959103 Audio:   ID              = auto_null.monitor
00:00:00.959104 Audio:   Usage           = input
00:00:00.959104 Audio:   Flags           = DEFAULT_IN
00:00:00.959104 Audio:   Input channels  = 2
00:00:00.959104 Audio:   Output channels = 0
00:00:00.959140 AC97: Reset
00:00:00.959144 AC97: Mixer reset (EAID=0x809, EACS=0x9)
00:00:00.959160 AC97: Record select to left=mic, right=mic
00:00:00.959343 ACPI: Enabling 64-bit prefetch root bus resource 0x00000004e0500000..0x0000000fffffffff
00:00:00.959689 VUSB: Attached 'HidMouse' to port 1 on RootHub#0 (FullSpeed)
00:00:00.959706 PGM: The CPU physical address width is 48 bits
00:00:00.959711 PGM: PGMR3InitFinalize: 4 MB PSE mask 0000ffffffffffff -> VINF_SUCCESS
00:00:00.959722 TM: TMR3InitFinalize: fTSCModeSwitchAllowed=true
00:00:00.959793 ACPI: Enabling 64-bit prefetch root bus resource 0x00000004e0500000..0x0000000fffffffff
00:00:00.960002 VMM: Enabled thread-context hooks
00:00:00.960008 VMM: RTThreadPreemptIsPending() can be trusted
00:00:00.960011 VMM: Kernel preemption is possible
00:00:00.960138 HM: fWorldSwitcher=0x0 (fIbpbOnVmExit=false fIbpbOnVmEntry=false fL1dFlushOnVmEntry=false); fL1dFlushOnSched=false fMdsClearOnVmEntry=false
00:00:00.960144 HM: Using AMD-V implementation 2.0
00:00:00.960145 HM: Max resume loops                  = 8192
00:00:00.960145 HM: AMD HWCR MSR                      = 0x1c9006011
00:00:00.960146 HM: AMD-V revision                    = 0x1
00:00:00.960146 HM: AMD-V max ASID                    = 32768
00:00:00.960146 HM: AMD-V features                    = 0x1ebf9cff
00:00:00.960147 HM:   NESTED_PAGING
00:00:00.960147 HM:   LBR_VIRT
00:00:00.960147 HM:   SVM_LOCK
00:00:00.960147 HM:   NRIP_SAVE
00:00:00.960148 HM:   TSC_RATE_MSR
00:00:00.960148 HM:   VMCB_CLEAN
00:00:00.960148 HM:   FLUSH_BY_ASID
00:00:00.960148 HM:   DECODE_ASSISTS
00:00:00.960148 HM:   PAUSE_FILTER
00:00:00.960148 HM:   PAUSE_FILTER_THRESHOLD
00:00:00.960149 HM:   VIRT_VMSAVE_VMLOAD
00:00:00.960149 HM:   VGIF
00:00:00.960149 HM:   GMET
00:00:00.960149 HM:   SSSCHECK
00:00:00.960149 HM:   SPEC_CTRL
00:00:00.960149 HM:   HOST_MCE_OVERRIDE
00:00:00.960150 HM:   Reserved bit 11
00:00:00.960150 HM:   Reserved bit 18
00:00:00.960150 HM:   Reserved bit 21
00:00:00.960150 HM:   Reserved bit 25
00:00:00.960150 HM:   Reserved bit 26
00:00:00.960150 HM:   Reserved bit 27
00:00:00.960151 HM:   Reserved bit 28
00:00:00.960158 HM: Enabled SVM
00:00:00.960158 HM:   Enabled nested paging
00:00:00.960162 HM:   Enabled large page support
00:00:00.960164 HM: Disabled TPR patching
00:00:00.960165 HM: Guest support: 32-bit and 64-bit
00:00:00.960165 HM: VT-x/AMD-V init method: Global
00:00:00.960165 EM: Exit history optimizations: enabled=true enabled-r0=true enabled-r0-no-preemption=false
00:00:00.960178 PcBios: SATA LUN#0 LCHS=1024/255/2
00:00:00.960191 APIC: fPostedIntrsEnabled=false fVirtApicRegsEnabled=false fSupportsTscDeadline=false
00:00:00.960197 TMR3UtcNow: nsNow=1 706 254 986 081 298 000 nsPrev=0 -> cNsDelta=1 706 254 986 081 298 000 (offLag=0 offVirtualSync=0 offVirtualSyncGivenUp=0, NowAgain=1 706 254 986 081 298 000)
00:00:00.960203 VMM: fUsePeriodicPreemptionTimers=true
00:00:00.960545 CPUM: Logical host processors: 16 present, 16 max, 16 online, online mask: 000000000000ffff
00:00:00.960859 CPUM: Physical host cores: 8
00:00:00.960860 ************************* CPUID dump ************************
00:00:00.960869          Raw Standard CPUID Leaves
00:00:00.960869      Leaf/sub-leaf  eax      ebx      ecx      edx
00:00:00.960869 Gst: 00000000/0000  00000010 68747541 444d4163 69746e65

[truncated...]

00:00:00.961084 ******************** End of CPUID dump **********************
00:00:00.960230 HM: fUsePauseFilter=false fUseLbrVirt=false fUseVGif=true fUseVirtVmsaveVmload=true
00:00:00.961243 VMEmt: Halt method global1 (5)
00:00:00.961270 VMEmt: HaltedGlobal1 config: cNsSpinBlockThresholdCfg=2000
00:00:00.961314 Changing the VM state from 'CREATING' to 'CREATED'
00:00:00.969874 Changing the VM state from 'CREATED' to 'POWERING_ON'
00:00:00.970060 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:00.970126 AIOMgr: Endpoints without assigned bandwidth groups:
00:00:00.970138 AIOMgr:     /home/greenbone-dev/VM/kali-linux-2023.2-virtualbox-amd64/kali-linux-2023.2-virtualbox-amd64.vdi
00:00:00.970199 Changing the VM state from 'POWERING_ON' to 'RUNNING'
00:00:00.970251 Console: Machine state changed to 'Running'
00:00:00.971190 VMMDev: Guest Log: BIOS: VirtualBox 7.0.14
00:00:00.971271 PCI: setting up topology, resources and interrupts
00:00:00.972226 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:00.972867 GUI: UIMachineViewNormal::resendSizeHint: Restoring guest size-hint for screen 0 to 800x600
00:00:00.973057 GUI: HID LEDs sync is not supported on this platform
00:00:00.978370 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=1, Machine-state=6
00:00:00.987120 ERROR [COM]: aRC=VBOX_E_VM_ERROR (0x80bb0003) aIID={4680b2de-8690-11e9-b83d-5719e53cf1de} aComponent={DisplayWrap} aText={Could not take a screenshot (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=-37
00:00:01.001125 ERROR [COM]: aRC=VBOX_E_VM_ERROR (0x80bb0003) aIID={4680b2de-8690-11e9-b83d-5719e53cf1de} aComponent={DisplayWrap} aText={Could not take a screenshot (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=-37
00:00:01.001158 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0 origin=0,0
00:00:01.001398 VMMDev: Guest Log: CPUID EDX: 0x178bfbff
00:00:01.001619 PIIX3 ATA: Ctl#1: RESET, DevSel=0 AIOIf=0 CmdIf0=0x00 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:01.001699 PIIX3 ATA: Ctl#1: finished processing RESET
00:00:01.003501 AHCI#0: Reset the HBA
00:00:01.003512 VD#0: Cancelling all active requests
00:00:01.003546 AHCI#0: Port 0 reset
00:00:01.003573 VD#0: Cancelling all active requests
00:00:01.003888 VMMDev: Guest Log: BIOS: AHCI 0-P#0: PCHS=16383/16/63 LCHS=1024/255/2 0x000000000a02ffee sectors
00:00:01.004819 PIT: mode=2 count=0x48d3 (18643) - 64.00 Hz (ch=0)
00:00:01.027214 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=00007f2a9c000000 w=640 h=480 bpp=32 cbLine=0xA00 flags=0x0 origin=0,0
00:00:03.489276 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0 origin=0,0
00:00:03.494625 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:03.494920 VMMDev: Guest Log: BIOS: Boot : bseqnr=1, bootseq=0032
00:00:03.494920 VMMDev: Guest Log: BIOS: Booting from Hard Disk...
00:00:03.791565 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:03.989366 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=00007f2a9c000000 w=640 h=480 bpp=32 cbLine=0xA00 flags=0x0 origin=0,0
00:00:04.292716 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:13.436487 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0 origin=0,0
00:00:13.772875 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:14.075414 GIM: KVM: VCPU  0: Enabled system-time struct. at 0x00000000b5801000 - u32TscScale=0x86fd690e i8TscShift=-1 uVersion=2 fFlags=0x1 uTsc=0xb929867a8 uVirtNanoTS=0x30d18334e TscKHz=3792876
00:00:14.075495 TM: Switching TSC mode from 'VirtTSCEmulated' to 'RealTSCOffset'
00:00:14.109888 GIM: KVM: Enabled wall-clock struct. at 0x00000000b5800000 - u32Sec=1706254999 u32Nano=230607899 uVersion=2
00:00:14.119727 APIC0: Switched mode to x2APIC
00:00:14.237855 APIC1: Switched mode to x2APIC
00:00:14.237850 GIM: KVM: VCPU  1: Enabled system-time struct. at 0x00000000b5801040 - u32TscScale=0x86fd690e i8TscShift=-1 uVersion=2 fFlags=0x1 uTsc=0xbb7587447 uVirtNanoTS=0x316c8a70d TscKHz=3792876
00:00:14.241022 APIC2: Switched mode to x2APIC
00:00:14.240987 GIM: KVM: VCPU  2: Enabled system-time struct. at 0x00000000b5801080 - u32TscScale=0x86fd690e i8TscShift=-1 uVersion=2 fFlags=0x1 uTsc=0xbb80f90b1 uVirtNanoTS=0x316f8ee1d TscKHz=3792876
00:00:14.243602 APIC3: Switched mode to x2APIC
00:00:14.243541 GIM: KVM: VCPU  3: Enabled system-time struct. at 0x00000000b58010c0 - u32TscScale=0x86fd690e i8TscShift=-1 uVersion=2 fFlags=0x1 uTsc=0xbb8a492e7 uVirtNanoTS=0x317203772 TscKHz=3792876
00:00:14.246147 APIC4: Switched mode to x2APIC
00:00:14.246066 GIM: KVM: VCPU  4: Enabled system-time struct. at 0x00000000b5801100 - u32TscScale=0x86fd690e i8TscShift=-1 uVersion=2 fFlags=0x1 uTsc=0xbb937e01d uVirtNanoTS=0x317470d8f TscKHz=3792876
00:00:14.248688 APIC5: Switched mode to x2APIC
00:00:14.248715 GIM: KVM: VCPU  5: Enabled system-time struct. at 0x00000000b5801140 - u32TscScale=0x86fd690e i8TscShift=-1 uVersion=2 fFlags=0x1 uTsc=0xbb9cae509 uVirtNanoTS=0x3176dd09d TscKHz=3792876
00:00:14.414132 OHCI: Software reset
towo2099
Volunteer
Posts: 362
Joined: 18. Aug 2014, 21:53
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Android, Linux

Re: VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Post by towo2099 »

The graphics card is AMD Radeon 780M. I installed the AMD Radeon drivers for the base system Ubuntu 22.04 with no problems. Both VMs were configured with 128 MB of memory for graphics. This also happens when using "Safe Graphics" install method for both VMs.
Inside of the VM there is no Radeon craphics card!
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Post by scottgus1 »

towo2099 wrote: 26. Jan 2024, 15:16 Inside of the VM there is no Radeon craphics card!
Good idea, towo2099, but I get the impression that the AMD drivers were installed on the host:
nic-the-name wrote: 26. Jan 2024, 09:56 I installed the AMD Radeon drivers for the base system
nic-the-name, please clarify if you installed the drivers on the host OS or the VM OS.
nic-the-name wrote: 26. Jan 2024, 09:56 [truncated...]
Full logs are needed, not truncated ones.

Please start the VM from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. In the "Logs" subfolder, zip the VM's "vbox.log", and post the zip file, using the forum's Attachments tab. (Configure your host OS to show all extensions so you can find the "vbox.log", not "vbox.log.1", etc.)
nic-the-name
Posts: 6
Joined: 26. Jan 2024, 09:49

Re: VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Post by nic-the-name »

towo2099 wrote: 26. Jan 2024, 15:16
The graphics card is AMD Radeon 780M. I installed the AMD Radeon drivers for the base system Ubuntu 22.04 with no problems. Both VMs were configured with 128 MB of memory for graphics. This also happens when using "Safe Graphics" install method for both VMs.
Inside of the VM there is no Radeon craphics card!
Sure, the host's graphics card is Radeon 780M, and drivers are successfully installed there. Drivers can't be installed on the VM because never booted successfully.
Last edited by nic-the-name on 28. Jan 2024, 10:43, edited 2 times in total.
nic-the-name
Posts: 6
Joined: 26. Jan 2024, 09:49

Re: VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Post by nic-the-name »

Here are the full log output from a single boot attempt of the Kali prepared VM.
VBox.log
(81.87 KiB) Downloaded 92 times
fth0
Volunteer
Posts: 5678
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Post by fth0 »

There's something wrong with your setup, or you're not telling the whole story:

The VBox.log file was written by the Ubuntu-provided VirtualBox 6.1.48 and indicates a known issue with AMD 7840HS and 7940HS CPUs, which should be solved in VirtualBox 6.1.50 and 7.0.14. The screenshot in your OP could relate to this known issue, but the partial log in your OP was written by the Oracle-provided VirtualBox 7.0.14.

Note that Ubuntu-provided and Oracle-provided VirtualBox versions cannot coexist on the same host OS, because they use the same file names mostly in the same places. Please clarify your setup(s) ...
nic-the-name
Posts: 6
Joined: 26. Jan 2024, 09:49

Re: VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Post by nic-the-name »

OK, here is some more info. I started with the Ubuntu-provided packages. This issue happened. I then `sudo apt remove virtualbox` and then installed version 7 downloaded from the Oracle website. The issue persisted. I didn't guess there was some possible crossover between the installations.

I will look into the potential cause as the installation crossover first.
nic-the-name
Posts: 6
Joined: 26. Jan 2024, 09:49

Re: VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Post by nic-the-name »

It appears to me that only VirtualBox 7.0 is now running on the Ubuntu host.
I must have just posted the log from the first VM. However, the situation is still the same.
Here is a log from the VirtualBox 7.0 with the symptoms from the main post.

Additional information that may be relevant:

1. The host system has a split-tunnel VPN configured, but the problem persists whether connected to it or not.
2. The host system use a LUKS encrypted LVM partition.
VBox.log
(83.07 KiB) Downloaded 85 times
fth0
Volunteer
Posts: 5678
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Post by fth0 »

Thanks for the log file. It looks like the fix for the known issue wasn't backported to VirtualBox 7.0.14.

Please try the workaround I posted in Re: Unable to install CentOS and report back.
nic-the-name
Posts: 6
Joined: 26. Jan 2024, 09:49

Re: VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Post by nic-the-name »

Thanks for the fix, yes it worked.
fth0
Volunteer
Posts: 5678
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VMs Won't start VirtualBox 7.0 with Ext Pack on Ubuntu 22.04

Post by fth0 »

Thanks for reporting back! :)

The issue should be fixed in the VirtualBox test builds 7.0.15r161357 and newer. Please undo the workaround and give it a try.
Post Reply