How can I troubleshoot virtualbox issues?
Hi, a self-build virtualbox 6.1.40 on old Intel Celeron hardware with a self-build 4.19-rt kernel worked even with a Windows 11 guest, while on a new Intel i3 13. gen hardware even linux 6.2.11-arch1-1 and virtualbox 7.0.8-1 from repos don't work with a Windows 10 guest. If I run "$ VirtualBox" and then try to start a Windows 10 (not 11) guest (guest additions are still 6.1.40) a small Window "Start" with a progress bar opens and nothing more happens, it stays at 20%. I need to pkill virtualbox processes to get rid of the windows, but before I can try to start it again, I need to shutdown the machine, a log out and log in doesn't work. Shutdown hangs with "A stop job is running ..." only pushing the reset button can finish shutdown, Ctrl+C or Ctrl+Alt+Del don't help. [rocketmouse@archlinux ~]$ uname -r 6.2.11-arch1-1 [rocketmouse@archlinux ~]$ pacman -Q virtualbox virtualbox-ext-oracle virtualbox-guest-iso virtualbox-host-modules-arch virtualbox 7.0.8-1 virtualbox-ext-oracle 7.0.8-1 virtualbox-guest-iso 7.0.8-1 virtualbox-host-modules-arch 7.0.8-1 [rocketmouse@archlinux ~]$ cat /mnt/winos10/winos10/Logs/VBox.log 00:00:00.520280 VirtualBox VM 7.0.8 r156879 linux.amd64 (Apr 18 2023 21:36:31) release log 00:00:00.520282 Log opened 2023-04-21T03:44:25.091405000Z 00:00:00.520282 Build Type: release 00:00:00.520283 OS Product: Linux 00:00:00.520283 OS Release: 6.2.11-arch1-1 00:00:00.520284 OS Version: #1 SMP PREEMPT_DYNAMIC Thu, 13 Apr 2023 16:59:24 +0000 00:00:00.520296 DMI Product Name: B760M DS3H DDR4 00:00:00.520300 DMI Product Version: Default string 00:00:00.520302 Firmware type: UEFI 00:00:00.520456 Secure Boot: Disabled 00:00:00.520477 Host RAM: 31875MB (31.1GB) total, 31164MB (30.4GB) available 00:00:00.520478 Executable: /usr/lib/virtualbox/VirtualBoxVM 00:00:00.520479 Process ID: 1934 00:00:00.520479 Package type: LINUX_64BITS_GENERIC (OSE) 00:00:00.523861 Installed Extension Packs: 00:00:00.523864 Oracle VM VirtualBox Extension Pack (Version: 7.0.8 r156879; VRDE Module: VBoxVRDP; Crypto Module: VBoxPuelCrypto) 00:00:00.524255 Console: Machine state changed to 'Starting' 00:00:00.524357 Qt version: 5.15.9 00:00:00.524365 X11 Window Manager code: 0 00:00:00.531648 SUP: seg #0: R 0x00000000 LB 0x00061000 00:00:00.531663 SUP: seg #1: R X 0x00061000 LB 0x001a1000 00:00:00.531665 SUP: seg #2: R 0x00202000 LB 0x0006e000 00:00:00.531666 SUP: seg #3: RW 0x00270000 LB 0x0002eae8 00:00:00.537845 GUI: UIMediumEnumerator: Medium-enumeration finished! 00:00:00.538050 X Server details: vendor: The X.Org Foundation, release: 12101008, protocol version: 11.0, display string: :0 00:00:00.538054 Using XKB for keycode to scan code conversion 00:00:00.547774 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated: Screen 0 work area is actually resized to: 0x32 x 1920x1048 Taking a look at journalctl I don't notice anything special, other than "watchdog did not stop". [rocketmouse@archlinux ~]$ journalctl -b1 | tail Apr 11 12:26:48 archlinux systemd[1]: Using hardware watchdog 'iTCO_wdt', version 0, device /dev/watchdog0 Apr 11 12:26:48 archlinux systemd[1]: Watchdog running with a timeout of 10min. Apr 11 12:26:48 archlinux kernel: watchdog: watchdog0: watchdog did not stop! Apr 11 12:26:48 archlinux systemd-shutdown[1]: Using hardware watchdog 'iTCO_wdt', version 0, device /dev/watchdog0 Apr 11 12:26:48 archlinux systemd-shutdown[1]: Watchdog running with a timeout of 10min. Apr 11 12:26:48 archlinux systemd-shutdown[1]: Syncing filesystems and block devices. Apr 11 12:26:48 archlinux systemd-shutdown[1]: Sending SIGTERM to remaining processes... Apr 11 12:26:48 archlinux systemd-journald[227]: Received SIGTERM from PID 1 (systemd-shutdow). Apr 11 12:26:48 archlinux dnsmasq[604]: exiting on receipt of SIGTERM Apr 11 12:26:48 archlinux systemd-journald[227]: Journal stopped [rocketmouse@archlinux ~]$ grep \ Driver /etc/X11/xorg.conf Driver "modesetting" [rocketmouse@archlinux ~]$ grep -e EE -e WW /var/log/Xorg.0.log [ 7.814] Current Operating System: Linux archlinux 6.2.11-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 13 Apr 2023 16:59:24 +0000 x86_64 (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 7.822] (WW) The directory "/usr/share/fonts/100dpi" does not exist. [ 7.822] (WW) The directory "/usr/share/fonts/75dpi" does not exist. [ 8.270] (II) Initializing extension MIT-SCREEN-SAVER [rocketmouse@archlinux ~]$ hwinfo --cpu | grep Model | sort -u Model: 6.191.5 "13th Gen Intel(R) Core(TM) i3-13100" Random googling returned something that is probably not related to the issue I experience. Slow performance is still better than no performance at all: https://superuser.com/questions/1747857/does-the-hybrid-cpu-architecture-pos... "Processor Cores (P-cores + E-cores) Intel® Core i3 Processors 4 (4P+0E)" - https://www.intel.com/content/www/us/en/products/docs/processors/core/13th-g... Perhaps I'm missing something, but in my case https://wiki.archlinux.org/title/VirtualBox#Troubleshooting seems to be no help. Regards, Ralf
On Fri, 2023-04-21 at 07:11 +0200, Ralf Mardorf wrote:
If I run "$ VirtualBox"
it doesn't return any output and .xsession-errors is quasi empty. [rocketmouse@archlinux ~]$ cat .xsession-errors Cannot get window manager info properties. (_NET_SUPPORTING_WM_CHECK or _WIN_SUPPORTING_WM_CHECK) find: ‘/home/rocketmouse/.Xauthority.??????’: No such file or directory (process:839): GLib-CRITICAL **: 06:02:41.030: g_strv_contains: assertion 'str != NULL' failed Flag 0x0001, status 0, EXIT 1 STAT 0 Flag 0x0001, status 0, EXIT 1 STAT 0 [rocketmouse@archlinux ~]$
Ralf Mardorf <ralf-mardorf@riseup.net> wrote:
On Fri, 2023-04-21 at 07:11 +0200, Ralf Mardorf wrote:
If I run "$ VirtualBox"
it doesn't return any output and .xsession-errors is quasi empty.
[rocketmouse@archlinux ~]$ cat .xsession-errors Cannot get window manager info properties. (_NET_SUPPORTING_WM_CHECK or _WIN_SUPPORTING_WM_CHECK) find: ‘/home/rocketmouse/.Xauthority.??????’: No such file or directory
(process:839): GLib-CRITICAL **: 06:02:41.030: g_strv_contains: assertion 'str != NULL' failed Flag 0x0001, status 0, EXIT 1 STAT 0
Flag 0x0001, status 0, EXIT 1 STAT 0 [rocketmouse@archlinux ~]$
I don't know. Perhaps I would better not answer. I could be diverting you to the less important aspect of your issue. That said, It looks like there are many pieces of information about X permissions and containers in the wiki. Such as https://wiki.archlinux.org/title/Systemd-nspawn#Use_an_X_environment , or https://wiki.archlinux.org/title/Toolbox#X11_applications_not_starting . -- u34
On Fri, 2023-04-21 at 08:44 +0000, u34@net9.ga wrote:
Perhaps I would better not answer.
It is good to reply. I asked for brainstorming.
Am Freitag, dem 21.04.2023 um 07:11 +0200 schrieb Ralf Mardorf:
Hi,
a self-build virtualbox 6.1.40 on old Intel Celeron hardware with a self-build 4.19-rt kernel worked even with a Windows 11 guest, while on a new Intel i3 13. gen hardware even linux 6.2.11-arch1-1 and virtualbox 7.0.8-1 from repos don't work with a Windows 10 guest.
If I run "$ VirtualBox" and then try to start a Windows 10 (not 11) guest (guest additions are still 6.1.40) a small Window "Start" with a progress bar opens and nothing more happens, it stays at 20%. I need to pkill virtualbox processes to get rid of the windows, but before I can try to start it again, I need to shutdown the machine, a log out and log in doesn't work. Shutdown hangs with "A stop job is running ..." only pushing the reset button can finish shutdown, Ctrl+C or Ctrl+Alt+Del don't help.
[..]
Random googling returned something that is probably not related to the issue I experience. Slow performance is still better than no performance at all: https://superuser.com/questions/1747857/does-the-hybrid-cpu-architecture-pos...
"Processor Cores (P-cores + E-cores) Intel® Core i3 Processors 4 (4P+0E)" - https://www.intel.com/content/www/us/en/products/docs/processors/core/13th-g...
Perhaps I'm missing something, but in my case https://wiki.archlinux.org/title/VirtualBox#Troubleshooting seems to be no help.
Regards, Ralf
Hi Ralf, It's most likely https://wiki.archlinux.org/title/VirtualBox#Freeze_during_virtual_machine_st... Regards, André
On Fri, 2023-04-21 at 11:07 +0200, André wrote:
It's most likely https://wiki.archlinux.org/title/VirtualBox#Freeze_during_virtual_machine_st...
Hi André, [rocketmouse@archlinux ~]$ journalctl -b -1 | grep traps Apr 21 05:44:25 archlinux kernel: traps: Missing ENDBR: 0xffffa2c543dd8780 Apr 21 05:44:25 archlinux kernel: kernel BUG at arch/x86/kernel/traps.c:255! [rocketmouse@archlinux ~]$ journalctl -b | grep traps Apr 21 06:16:51 archlinux kernel: traps: Missing ENDBR: 0xffffac5403b8db10 Apr 21 06:16:51 archlinux kernel: kernel BUG at arch/x86/kernel/traps.c:255! I'll report back soon. Regards, Ralf
On Fri, 2023-04-21 at 12:04 +0200, Ralf Mardorf wrote:
On Fri, 2023-04-21 at 11:07 +0200, André wrote:
It's most likely https://wiki.archlinux.org/title/VirtualBox#Freeze_during_virtual_machine_st...
I'll report back soon.
Thank you André, "ibt=off" solves the issue. [rocketmouse@archlinux ~]$ grep vmlinuz-linux\ /mnt/m1.xubu20.04/boot/grub/grub.cfg | grep -v threadirqs linux /boot/vmlinuz-linux root=/dev/disk/by-label/m1.archlinux ro ibt=off [rocketmouse@archlinux ~]$ uname -r 6.2.11-arch1-1 [rocketmouse@archlinux ~]$ pacman -Q virtualbox virtualbox 1:6.1.40-708.1 I didn't test with community/virtualbox 7.0.8-1, since I doubt that it will run a Windows 11 guest. I directly downgraded to virtualbox 6.1.40. First I booted a Window 10 guest and immediately shut it down. Now I'm running and updating a Windows 11 guest. Regards, Ralf
participants (3)
-
André
-
Ralf Mardorf
-
u34@net9.ga