Virtualbox crashes with kernel 5.8 on openSUSE

Discussions related to using VirtualBox on Linux hosts.
Platypus
Posts: 4
Joined: 30. May 2016, 18:21

Virtualbox crashes with kernel 5.8 on openSUSE

Post by Platypus »

Hi,

since update to kernel 5.8 no VMs can be started anymore on openSUSE Leap 15.2 or Tumbleweed:

Code: Select all

VMSetError: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0: SUP_IOCTL_LDR_OPEN failed
VBox.log running Leap_15.2 with default kernel:

Code: Select all

00:00:00.030925 VirtualBox VM 6.1.12_SUSE r139181 linux.amd64 (no date no time) release log
00:00:00.030929 Log opened 2020-08-05T05:25:15.410194000Z
00:00:00.030930 Build Type: release
00:00:00.030937 OS Product: Linux
00:00:00.030941 OS Release: 5.8.0-lp152.2.g9bc0044-default
00:00:00.030946 OS Version: #1 SMP Tue Aug 4 07:30:59 UTC 2020 (9bc0044)
00:00:00.030980 DMI Product Name: NUC7PJYH
00:00:00.031003 DMI Product Version: J67992-403
00:00:00.031020 Firmware type: UEFI
00:00:00.031669 Secure Boot: Disabled
00:00:00.031757 Host RAM: 7537MB (7.3GB) total, 6704MB (6.5GB) available
00:00:00.031764 Executable: /usr/lib/virtualbox/VBoxHeadless
00:00:00.031765 Process ID: 2789
00:00:00.031765 Package type: LINUX_64BITS_GENERIC (OSE)
00:00:00.035884 Installed Extension Packs:
00:00:00.035900   None installed!
00:00:00.037530 Console: Machine state changed to 'Starting'
00:00:00.039136 VRDE: VirtualBox Remote Desktop Extension is not available.
00:00:00.043357 PDMLdr: pdmR3LoadR0U: pszName="VMMR0.r0" rc=VERR_NO_EXEC_MEMORY szErr="SUP_IOCTL_LDR_OPEN failed"
00:00:00.043437 VMSetError: /home/abuild/rpmbuild/BUILD/VirtualBox-6.1.12/src/VBox/VMM/VMMR3/PDMLdr.cpp(733) int pdmR3LoadR0U(PUVM, const char*, const char*, const char*); rc=VERR_NO_EXEC_MEMORY
00:00:00.043441 VMSetError: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0: SUP_IOCTL_LDR_OPEN failed
00:00:00.043468 VMSetError: /home/abuild/rpmbuild/BUILD/VirtualBox-6.1.12/src/VBox/VMM/VMMR3/VM.cpp(563) int vmR3CreateU(PUVM, uint32_t, PFNCFGMCONSTRUCTOR, void*); rc=VERR_NO_EXEC_MEMORY
00:00:00.043471 VMSetError: Failed to load VMMR0.r0
00:00:00.043708 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0: SUP_IOCTL_LDR_OPEN failed (VERR_NO_EXEC_MEMORY).
00:00:00.043720 Failed to load VMMR0.r0 (VERR_NO_EXEC_MEMORY)}, preserve=false aResultDetail=-96
00:00:00.043932 Console: Machine state changed to 'PoweredOff'
00:00:00.057583 Power up failed (vrc=VERR_NO_EXEC_MEMORY, rc=NS_ERROR_FAILURE (0X80004005))
VBox.log running Tumbleweed with self compiled kernel:

Code: Select all

00:00:00.703994 VirtualBox VM 6.1.12_SUSE r139181 linux.amd64 (no date no time) release log
00:00:00.703996 Log opened 2020-08-05T06:33:58.646773000Z
00:00:00.703997 Build Type: release
00:00:00.704000 OS Product: Linux
00:00:00.704002 OS Release: 5.8.0-Own
00:00:00.704003 OS Version: #1 SMP Wed Aug 5 07:47:18 CEST 2020
00:00:00.704024 DMI Product Name: MS-7845
00:00:00.704033 DMI Product Version: 1.0
00:00:00.704042 Firmware type: BIOS
00:00:00.704080 Host RAM: 15969MB (15.5GB) total, 14982MB (14.6GB) available
00:00:00.704084 Executable: /usr/lib/virtualbox/VirtualBoxVM
00:00:00.704085 Process ID: 10203
00:00:00.704086 Package type: LINUX_64BITS_GENERIC (OSE)
00:00:00.706310 Installed Extension Packs:
00:00:00.706317   None installed!
00:00:00.707033 Console: Machine state changed to 'Starting'
00:00:00.707195 Qt version: 5.15.0
00:00:00.707201 X11 Window Manager code: 3
00:00:00.712737 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:00.713748 X Server details: vendor: The X.Org Foundation, release: 12008000, protocol version: 11.0, display string: :0
00:00:00.713759 Using XKB for keycode to scan code conversion
00:00:00.718105 PDMLdr: pdmR3LoadR0U: pszName="VMMR0.r0" rc=VERR_NO_EXEC_MEMORY szErr="SUP_IOCTL_LDR_OPEN failed"
00:00:00.718141 VMSetError: /home/abuild/rpmbuild/BUILD/VirtualBox-6.1.12/src/VBox/VMM/VMMR3/PDMLdr.cpp(733) int pdmR3LoadR0U(PUVM, const char*, const char*, const char*); rc=VERR_NO_EXEC_MEMORY
00:00:00.718142 VMSetError: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0: SUP_IOCTL_LDR_OPEN failed
00:00:00.718149 VMSetError: /home/abuild/rpmbuild/BUILD/VirtualBox-6.1.12/src/VBox/VMM/VMMR3/VM.cpp(563) int vmR3CreateU(PUVM, uint32_t, PFNCFGMCONSTRUCTOR, void*); rc=VERR_NO_EXEC_MEMORY
00:00:00.718150 VMSetError: Failed to load VMMR0.r0
00:00:00.718246 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0: SUP_IOCTL_LDR_OPEN failed (VERR_NO_EXEC_MEMORY).
00:00:00.718257 Failed to load VMMR0.r0 (VERR_NO_EXEC_MEMORY)}, preserve=false aResultDetail=-96
I also opened a topic in forums.opensuse: https://forums.opensuse.org/showthread. ... kernel-5-8
multiOS
Volunteer
Posts: 836
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: Virtualbox crashes with kernel 5.8 on openSUSE

Post by multiOS »

Please see relevant Public Bugtracker Ticket - https://www.virtualbox.org/ticket/19644

Looking at the latest entries suggests the latest 6.1 Test Builds may provide an interim solution for Kernel 5.8 users.
Platypus
Posts: 4
Joined: 30. May 2016, 18:21

Re: Virtualbox crashes with kernel 5.8 on openSUSE

Post by Platypus »

I can confirm the latest development version works fine: https://www.virtualbox.org/download/tes ... _amd64.run
Platypus
Posts: 4
Joined: 30. May 2016, 18:21

Re: Virtualbox crashes with kernel 5.8 on openSUSE

Post by Platypus »

Had to do a rollback on Leap. The machine froze or went in a reboot loop. Not sure if it was related to the kernel or virtualbox.

Code: Select all

kernel-default-5.3.18-lp152.33.1.x86_64
kernel-default-devel-5.3.18-lp152.33.1.x86_64
kernel-devel-5.3.18-lp152.33.1.noarch
kernel-firmware-20200107-lp152.1.1.noarch
kernel-firmware-i915-20200716-lp152.35.1.noarch
kernel-firmware-intel-20200716-lp152.35.1.noarch
kernel-firmware-iwlwifi-20200716-lp152.35.1.noarch
kernel-firmware-realtek-20200716-lp152.35.1.noarch
kernel-firmware-sound-20200716-lp152.35.1.noarch
kernel-macros-5.3.18-lp152.33.1.noarch
kernel-preempt-devel-5.3.18-lp152.33.1.x86_64
kernel-source-5.3.18-lp152.33.1.noarch
kernel-syms-5.3.18-lp152.33.1.x86_64
nfs-kernel-server-2.1.1-lp152.8.3.x86_64
purge-kernels-service-0-lp152.4.1.noarch
virtualbox-6.1.10-lp152.1.1.x86_64
virtualbox-kmp-default-6.1.10_k5.3.18_lp152.18-lp152.1.1.x86_64
On Tumbleweed the dev version of VirtualBox runs stable with kernel 5.8. Not sure what is making the difference.
diogomurta
Posts: 1
Joined: 31. Aug 2020, 03:56

Re: Virtualbox crashes with kernel 5.8 on openSUSE

Post by diogomurta »

After install dev version "6.1.97r140059", works for me.
wiet8phu
Posts: 1
Joined: 31. Aug 2020, 10:30

Re: Virtualbox crashes with kernel 5.8 on openSUSE

Post by wiet8phu »

I got it partly working on Tubleweed with the latest version from the Virtualization repository.
Some idiotic stupid forum configuration does not allow me to post links. Just google

Code: Select all

repositories/Virtualization/Kernel_stable_standard
The openSuSE build service seems broken (again) and the repository meta data was not up to date. I just downloaded the rpms manually.

It requires the latest standard kernel, so you also have to add the repository. Google

Code: Select all

repositories/Kernel:/stable/standard
Alex
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 crashes with kernel 5.8 on openSUSE

Post by scottgus1 »

wiet8phu wrote:Some idiotic stupid forum configuration does not allow me to post links.
That idiotic stupid forum configuration also keeps the forum from being flooded and ruined by spammers, so it's not that idiotic and stupid when one thinks about it or asks nicely why it's there, except to those who want to post spam later....
btaroli
Posts: 5
Joined: 26. Jul 2013, 22:42

Re: Virtualbox crashes with kernel 5.8 on openSUSE

Post by btaroli »

I'd certainly be willing to run a test build. I'm seeing references to 6.1.13 and 6.1.97. But can't seem to get any links to work. So for now my Fedora installation of 6.1.2 with 5.8.4 kernel is dead. Thankfully, I can afford to wait. But I'd be glad to test in lieu of 6.1.14.
filippos
Posts: 13
Joined: 4. Apr 2017, 13:03

Re: Virtualbox crashes with kernel 5.8 on openSUSE

Post by filippos »

Same problem here (Tumbleweed) 5.8.4-1-default #1 SMP Wed Aug 26 10:53:09 UTC 2020 (64fe492) x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

Failed to open a session for the virtual machine XXX.
Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0: SUP_IOCTL_LDR_OPEN failed (VERR_NO_EXEC_MEMORY).
Failed to load VMMR0.r0 (VERR_NO_EXEC_MEMORY).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

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 crashes with kernel 5.8 on openSUSE

Post by scottgus1 »

btaroli wrote:I'm seeing references to 6.1.13 and 6.1.97. But can't seem to get any links to work
@btaroli, I tried a random link on test builds 'Linux EL8 64-bit" and got a download starting. It was a .rpm file. 'Linux 64-bit" was a .run. What is happening when you click them?
filippos
Posts: 13
Joined: 4. Apr 2017, 13:03

Re: Virtualbox crashes with kernel 5.8 on openSUSE

Post by filippos »

OK it was a fast response!!!

Everything is fine again under new version 6.1.13_k5.8.4_1
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 crashes with kernel 5.8 on openSUSE

Post by scottgus1 »

Great! Glad you're up and running.

If Linux sometimes forgets how to uninstall programs like Windows does when it needs the msi file, Keep hold of that installer. Test build installers get deleted off the website when the next regular build comes out.
btaroli
Posts: 5
Joined: 26. Jul 2013, 22:42

Re: Virtualbox crashes with kernel 5.8 on openSUSE

Post by btaroli »

scottgus1 wrote:
btaroli wrote:I'm seeing references to 6.1.13 and 6.1.97. But can't seem to get any links to work
@btaroli, I tried a random link on test builds 'Linux EL8 64-bit" and got a download starting. It was a .rpm file. 'Linux 64-bit" was a .run. What is happening when you click them?
How silly of me. I'd never been to that wiki page! (sigh) Checking it out now, and pulling 6.1.13.
btaroli
Posts: 5
Joined: 26. Jul 2013, 22:42

Re: Virtualbox crashes with kernel 5.8 on openSUSE

Post by btaroli »

Looks to have a regression for HiDPI, but otherwise seems to be running on Fedora 32 (5.8.4).
Pernat1y
Posts: 30
Joined: 11. Jun 2018, 11:43
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10, Kali, Fedora/RHEL

Re: Virtualbox crashes with kernel 5.8 on openSUSE

Post by Pernat1y »

Any ETA on when it will be released (as 6.1.14, I assume)?
Hosts: Arch Linux, Windows 10;
Guests: Windows 10, Kali, Fedora/RHEL.
Post Reply