virtualbox 7.0.2 Windows 11 guest is unresponsive

Discussions related to using VirtualBox on Linux hosts.
Locked
User_8CG7E
Posts: 4
Joined: 11. Nov 2022, 16:38

virtualbox 7.0.2 Windows 11 guest is unresponsive

Post by User_8CG7E »

Hi,

on my machine a Windows 11 guest still worked with

Code: Select all

[2022-11-01T17:48:40+0100] [ALPM] upgraded virtualbox-host-dkms (6.1.40-1 -> 7.0.2-1)
[2022-11-01T17:48:40+0100] [ALPM] upgraded virtualbox (6.1.40-1 -> 7.0.2-1)
[2022-11-01T17:48:40+0100] [ALPM] upgraded virtualbox-ext-oracle (6.1.40-1 -> 7.0.2-1)
[2022-11-01T17:48:41+0100] [ALPM] upgraded virtualbox-guest-iso (6.1.40-1 -> 7.0.2-1)
and a self build, rt patched linux 4.19.246_rt110-0.1000.

A few settings are:
3D acceleration disable
USB 3.0 enabled
Network adapter attached to NAT

The next time I run it (today) and it always does freeze, with

Code: Select all

[2022-11-05T11:36:20+0100] [ALPM] upgraded virtualbox-host-dkms (7.0.2-1 -> 7.0.2-2)
[2022-11-05T11:36:20+0100] [ALPM] upgraded virtualbox (7.0.2-1 -> 7.0.2-2)
and a self build, rt patched linux 1:4.19.255_rt113-0.1000 as well as with core/linux 6.0.8.arch1-1 threadirqs (not tested without threadirqs) .

FWIW I changed USB 3.0 enabled to USB 2.0 enabled, to no avail.

Code: Select all

[rocketmouse@archlinux ~]$ grep unresponsive /mnt/winos11/winos11/Logs/VBox.log 
00:03:22.279545 VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 4 seconds ago
[rocketmouse@archlinux ~]$ grep -i error /mnt/winos11/winos11/Logs/VBox.log 
00:00:01.506420 TM: GIP - CPU: iCpuSet=0x0 idCpu=0x0 idApic=0x0 iGipCpu=0x1 i64TSCDelta=0 enmState=3 u64CpuHz=2793529547(*) cErrors=0
00:00:01.506423 TM: GIP - CPU: iCpuSet=0x1 idCpu=0x1 idApic=0x2 iGipCpu=0x0 i64TSCDelta=0 enmState=3 u64CpuHz=2793529898(*) cErrors=0
00:00:01.722439 HM:   VM-entry Xcpt error-code optional = false
00:04:32.452728 /Devices/vga/VMSVGA/FifoErrors          0 times
00:04:32.452860 /Devices/vga/VMSVGA/Reg/GmrDescriptorWrite/Errors        0 times
00:04:32.454436 /PGM/PhysHandlerTree/ErrorsAllocatorR3        0 times
00:04:32.454438 /PGM/PhysHandlerTree/ErrorsTree         0 times
00:04:32.454712 /SELM/LoadHidSel/GstReadErrors          0 times
The only differences are seemingly the same version of virtualbox build against another version of openssl and different kernels are used, while one of the tested kernels is an update of the 4.19 longterm kernel used when everything still was ok.

I also asked at the Arch-general mailing list and the Arch forums, but aren't allowed to post the urls, due to a restriction by the virtualbox forum.

Regards,
Ralf
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: virtualbox 7.0.2 Windows 11 guest is unresponsive

Post by scottgus1 »

I'm no Linux guru, so I can't help solve the problem. Maybe a forum expert can help.

But I do gather from your using dkms that you're running your Linux distro's fork of Virtualbox, which we don't support here. Only official Virtualbox from https://www.virtualbox.org/wiki/Linux_Downloads is supported here (Official doesn't use dkms). You can ask the Linux distro for help as you've done, or switch to official.
User_8CG7E
Posts: 4
Joined: 11. Nov 2022, 16:38

Re: virtualbox 7.0.2 Windows 11 guest is unresponsive

Post by User_8CG7E »

Hi,

actually I migrated from the "official Virtualbox" to the distro's packages, to get virtualbox working again.

At least packages for the "official Virtualbox" named virtualbox-bin, versions <= 6.1.34 worked without issues.
Due to issues I migrated to the distro's packages and the distro's packages first solved the issues I experienced with the "official Virtualbox".

However, the packages for "official Virtualbox" seems to provide a "tainted" "official Virtualbox", building modules using dkms. I'm still not allowed to post links.

IIUC there's no way to get virtualbox running with a Windows 11 guest on Arch Linux at the moment, neither when using my own customized kernel, nor when using a distro's kernel. If I'm forced to migrate to QEMU/KVM, then I hope converting the vdi to raw works without issues. I already use QEMU/KVM for non-Windows guests and only kept virtualbox, since it provides excellent file sharing between Windows guests and the host.
What a pity that you don't support Arch Linux.

Due to regular appearing issue I migrated again and again from the "official Virtualbox" to the distro's version and vice versa, since I really need the guest for production with software that doesn't work when using wine.

Regards,
Ralf
User_8CG7E
Posts: 4
Joined: 11. Nov 2022, 16:38

Re: virtualbox 7.0.2 Windows 11 guest is unresponsive

Post by User_8CG7E »

Hi,

after downgrading the Arch guest additions package, installing the downgraded guest additions by the Windows 11 guest and restarting the Windows 11 guest, it is running for several minutes now without freezing.

Code: Select all

$ uname -r; cat /proc/cmdline; pacman -Q virtualbox{,-ext-oracle,-guest-iso,-host-dkms}
6.0.8-arch1-1
BOOT_IMAGE=../vmlinuz-linux root=LABEL=s3.archlinux ro threadirqs initrd=../intel-ucode.img,../initramfs-linux.img
virtualbox 7.0.2-2
virtualbox-ext-oracle 7.0.2-1
virtualbox-guest-iso 6.1.40-1
virtualbox-host-dkms 7.0.2-2
Regards,
Ralf
Locked