FS#67488 - [virtualbox-host-modules-arch] no current module for linux 5.8.arch1-1
Attached to Project:
Community Packages
Opened by David McInnis (daavve) - Tuesday, 04 August 2020, 18:17 GMT
Last edited by Christian Hesse (eworm) - Monday, 07 September 2020, 21:29 GMT
Opened by David McInnis (daavve) - Tuesday, 04 August 2020, 18:17 GMT
Last edited by Christian Hesse (eworm) - Monday, 07 September 2020, 21:29 GMT
|
Details
Package Combinations:
local/linux 5.8.arch1-1 local/virtualbox 6.1.12-3 local/virtualbox-host-modules-arch 6.1.12-5 1) Enable testing & community-testing repository 2) Update packages. 3) Notice Linux gets updated, but virtualbox-host-modules-arch does not get updated. 4) Reboot computer and start virtualbox. You get a message: $ WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (5.8.0-arch1-1) or it failed to load. Please recompile the kernel module and install it by sudo /sbin/vboxconfig You will not be able to start VMs until this problem is fixed |
This task depends upon
Closed by Christian Hesse (eworm)
Monday, 07 September 2020, 21:29 GMT
Reason for closing: Fixed
Additional comments about closing: virtualbox 6.1.14-1
Monday, 07 September 2020, 21:29 GMT
Reason for closing: Fixed
Additional comments about closing: virtualbox 6.1.14-1
Extracting those to revisions with svn diff -c r##### --git https://www.virtualbox.org/svn/vbox/trunk > r#####.patch adding to the PKGBUILD the result then builds for 5.8.arch1-1.
Attached diff of changes and src archive for easy building.
virtualbox-6.1.12-3.src.tar.gz (20.2 KiB)
The patch referenced above indicates that the modules fail with missing globals on loading.
A rearranging of #if LINUX_VERSION_CODE which should produce the same result.
A difference in the value of # define EXEC_MEMORY_SIZE r85504 changed the values to 10MB ifdef DEBUG else 8MB,
the original patch did not change the values of 8MB ifdef DEBUG else 2MB.
I do not use VirtualBox so I only build tested it. I doubt the change would fix the modules failing to load.
Sorry for the noise.
It's a good starting point, but we are missing some important bits.
If that still does not work https://www.virtualbox.org/attachment/ticket/19644/local_patches exports the kernel symbols which was reported to work with the original patch.
virtualbox-6.1.12-3.src.tar.gz (72.6 KiB)
Stay tuned...
[1] https://www.virtualbox.org/wiki/Testbuilds
Everything should be sorted already, please give it a try!
Thanks a lot to loqs for his hard work!
Please update and try again.
[ 1019.811937] BUG: kernel NULL pointer dereference, address: 0000000000000044
Happens on both linux-zen and linux, see attached logs.
vbox.txt (4 KiB)
BUG: kernel NULL pointer dereference, address: 0000000000000044
On my Arch host with an Ubuntu 20.04 guest.
Relevant host packages:
linux 5.8.1.arch1-1
virtualbox 6.1.12-4
virtualbox-host-modules-arch 6.1.12-9
[165918.167350] BUG: kernel NULL pointer dereference, address: 0000000000000044
[165918.167358] #PF: supervisor write access in kernel mode
[165918.167361] #PF: error_code(0x0002) - not-present page
Packages:
linux - 5.8.1.arch1-1
virtualbox - 6.1.12-4
virtualbox-host-dkms - 6.1.12-4
I also experienced hard freezes and kernel panic/oops situations (flashing capslock) with virtualbox under 5.8.x kernels, but only when running other software like firefox, chromium, mpv, mplayer, glxgears, etc. This was a bit of a red herring, as all of these programs use some form of hardware-accelerated graphics, leading me to believe the issue was related to nvidia drivers on my optimus laptop (oy vey, so many potential issues there).
I finally had the time to test about 60 combinations of video drivers, bios (optimus) settings, modesetting, xorg junk, etc., and found that the issue persisted in every conceivable combination of driver and hardware support, including forced intel chipset w/xf86-video-vesa and absolutely no hardware accelerated anything. With virtualbox as the definite culprit (wish I'd realized that sooner) I tried these very recent test builds and the freezes disappeared. Builds from even a couple days ago still have the issue.