VirtualBox

Ticket #20307 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Issue with vboxconfig and "linux_bool" type

Reported by: yann-ilas Owned by:
Component: other Version: VirtualBox 6.1.18
Keywords: Cc:
Guest type: all Host type: Linux

Description

The command vboxconfig finishes in error :

vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.

Linux version :

$ lsb_release -a                          
LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	Fedora
Description:	Fedora release 33 (Thirty Three)
Release:	33
Codename:	ThirtyThree

Kernel :

$ uname -a
Linux localhost.localdomain 5.11.14-200.fc33.x86_64 #1 SMP Wed Apr 14 15:25:53 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

The error seems to come from the type linux_bool which is not defined (more details in attachment)

   38 | #define bool linux_bool
/tmp/vbox.0/r0drv/linux/the-linux-kernel.h:38:14: error: unknown type name ??linux_bool??

Attachments

vboxconfig-compile-error.txt Download (61.9 KB) - added by yann-ilas 2 years ago.
Log generated by vboxconfig (/var/log/vbox-setup.log)

Change History

Changed 2 years ago by yann-ilas

Log generated by vboxconfig (/var/log/vbox-setup.log)

comment:1 Changed 2 years ago by klaus

This is due to using Linux 5.11 which isn't supported with VirtualBox 6.1.18. Please use 6.1.20 which has been just released. BTW, there is now also a Fedora 33 RPM package now.

comment:2 Changed 2 years ago by klaus

And there is now also a repository containing the Fedora 33 package, in the usual place. See the repo setup instructions at the bottom of Linux_Downloads.

comment:3 Changed 2 years ago by yann-ilas

Thank you. I installed that version and everything is OK.

comment:4 Changed 2 years ago by klaus

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use