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)
Change History (3)
by , 22 months ago
| Attachment: | vbox-setup.log added |
|---|
comment:1 by , 22 months ago
| Summary: | VirtualBox-7.0.4 kernel module build fails on RHEL9.1 host → VirtualBox-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 fixed on development branch. You can try one of the "Development snapshots" (r154719+) from https://www.virtualbox.org/wiki/Testbuilds.
comment:2 by , 22 months ago
I installed r154733 and it built the kernel module and is running fine.
Thank you!


VirtualBox setup log