Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849410 - app-emulation/virtualbox-modules-6.1.34 doesn't build with sys-kernel/gentoo-sources-5.18.1-r2
Summary: app-emulation/virtualbox-modules-6.1.34 doesn't build with sys-kernel/gentoo-...
Status: RESOLVED DUPLICATE of bug 847094
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-02 23:24 UTC by ignamartinoli
Modified: 2022-06-06 05:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-emulation/virtualbox-modules: 5.18 kernel compatibility patch (virtualbox-modules-kernel-5.18.0.patch,844 bytes, patch)
2022-06-05 05:43 UTC, Zoltan Puskas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ignamartinoli 2022-06-02 23:24:27 UTC
After updating the kernel to the latest version, it's impossible to emerge the module `app-emulation/virtualbox-modules-6.1.34`. I couldn't check `media-video/v4l2loopback-0.12.5-r1` since it's scheduled behind the VirtualBox update

Reproducible: Always

Steps to Reproduce:
1. Install the kernel version
2. Run `emerge @module-rebuild
Actual Results:  
https://pastebin.com/8fuPLCAB

Expected Results:  
The modules built correctly.

- `emerge --info '=app-emulation/virtualbox-modules-6.1.34::gentoo'`: https://pastebin.com/vCNmmgaP
- `emerge -pqv '=app-emulation/virtualbox-modules-6.1.34::gentoo'`: https://pastebin.com/aH1HHxua
Comment 1 Zoltan Puskas 2022-06-05 05:43:00 UTC
Created attachment 782837 [details, diff]
app-emulation/virtualbox-modules: 5.18 kernel compatibility patch


It seems the usage of netif_rx_ni() has been replaced by netif_rx() in 5.18 kernels when compared to previous versions (e.g. in drivers/net/tun.c). Proposed patch applies the same to the VirtualBox kernel netfilter kernel module.
Comment 2 ignamartinoli 2022-06-06 05:33:00 UTC
I thought the same when I saw the error messages.
Is there a way to report this to the VirtualBox team?
It's kind of a serious issue since now everybody on the latest kernel that relied on VirtualBox cannot compile it
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-06 05:42:49 UTC
(In reply to ignamartinoli from comment #2)
> I thought the same when I saw the error messages.
> Is there a way to report this to the VirtualBox team?
> It's kind of a serious issue since now everybody on the latest kernel that
> relied on VirtualBox cannot compile it

https://www.virtualbox.org/wiki/Bugtracker, but really, if you're using out-of-tree kernel modules, you should use an LTS kernel. This happens almost every release. Even if someone posts patches, they're not necessarily reliable.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-06 05:43:17 UTC
Also, in future, please attach all output, no pastebins, thanks!

*** This bug has been marked as a duplicate of bug 847094 ***