RHEL | VB failing after latest kernel update

Discussions related to using VirtualBox on Linux hosts.
Post Reply
johnny_canuck
Posts: 7
Joined: 21. Dec 2018, 19:04
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows 10, Centos, AlmaLinux, Mint

RHEL | VB failing after latest kernel update

Post by johnny_canuck »

Running RHEL 8 (well, AlmaLinux 8.7 actually, which amounts to the same thing). Been successfully running any number of guest OS under VB, until recently, following a kernel update. Now, can't even start any of the VM's, or install a new one. Using VB 6.1.40.

Here's what I've tried.

1\ install ExtensionPack. No errors.

2\ run the following to ensure kmod built correctly:
dnf install akmod-VirtualBox kernel-devel-$(uname -r)
Last metadata expiration check: 0:03:01 ago on Mon 21 Nov 2022 09:11:56 AM EST.
Package akmod-VirtualBox-6.1.40-1.el8.x86_64 is already installed.
Package kernel-devel-4.18.0-425.3.1.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
3\ akmods; systemctl restart vboxdrv.service
Checking kmods exist for 4.18.0-425.3.1.el8.x86_64 [ OK ]
Building and installing VirtualBox-kmod [FAILED]
Building rpms failed; see /var/cache/akmods/VirtualBox/6.1.40-1.el8-for-4.18.0-425.3.1.el8.x86_64.failed.log for details
So, second line says 'building and installing VirtualBox-kmod [FAILED}', which would seemtoe explain that whenever I try to start a VM (for example, a generic Win10 VM), I get the following error:

Failed to open a session for the virtual machine Win10.
The virtual machine 'Win10' has terminated unexpectedly during startup with exit code 1 (0x1).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
Short of rolling the kernel back, suggestions?
Post Reply