VirtualBox

Opened 22 months ago

Last modified 22 months ago

#21299 new defect

VirtualBox-7.0.4 kernel module build fails on RHEL9.1 host => fixed in svn

Reported by: Hosstyle Owned by:
Component: other Version: VirtualBox-7.0.4
Keywords: kernel module build Cc:
Guest type: all Host type: Linux

Description

Upon updating from RHEL 9.0 kernel 5.14.0-70.26.1.el9_0.x86_64 (uname -rv = 5.14.0-70.26.1.el9_0.x86_64 #1 SMP PREEMPT) to RHEL9.1 kernel 5.14.0-162.6.1.el9_1.x86_64 (uname -rv = 5.14.0-162.6.1.el9_1.x86_64 #1 SMP PREEMPT_DYNAMIC), the kernel module build failed with the following message:

..... /tmp/vbox.0/linux/VBoxNetFlt-linux.c: In function ‘vboxNetFltPortOsXmit’: /tmp/vbox.0/linux/VBoxNetFlt-linux.c:2327:23: error: implicit declaration of function ‘netif_rx_ni’; did you mean ‘netif_rx’? [-Werror=implicit-function-declaration]

2327 | err = netif_rx_ni(pBuf);

| | netif_rx

.....

I have attached vbox-setup.log for the complete build output.

I have attempted to uninstall and reinstall VBox, to no avail. The kernel module builds fine on the previously installed kernel (5.14.0-70.26.1.el9_0.x86_64). Module build fails regardless of whether I update VBox after updating the kernel or vice versa.

I should note that VBox 7.0.2 also fails to build against the new 5.14.0-162.6.1.el9_1.x86_64 kernel with the exact same failure. So does VBox 6.1.40.

Attachments (1)

vbox-setup.log (24.3 KB ) - added by Hosstyle 22 months ago.
VirtualBox setup log

Download all attachments as: .zip

Change History (3)

by Hosstyle, 22 months ago

Attachment: vbox-setup.log added

VirtualBox setup log

comment:1 by galitsyn, 22 months ago

Summary: VirtualBox-7.0.4 kernel module build fails on RHEL9.1 hostVirtualBox-7.0.4 kernel module build fails on RHEL9.1 host => fixed in svn

Hi Hosstyle,

Thank you for reporting. This issue should be already on development branch. You can try one of the "Development snapshots" (r154719+) from https://www.virtualbox.org/wiki/Testbuilds.

Version 0, edited 22 months ago by galitsyn (next)

comment:2 by Hosstyle, 22 months ago

I installed r154733 and it built the kernel module and is running fine.

Thank you!

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy