Update to 4.12.3-1 failed to rebuild DKMS virtualbox modules?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Update to 4.12.3-1 failed to rebuild DKMS virtualbox modules?

David C. Rankin
Archdevs,

  Update tonight to 4.12.3-1, and for the first time in years, DKMS failed to
rebuild the VirtualBox kernel modules. Specifically attempting a manual
install/build resulted in:

# dkms install -m vboxhost -v 5.1.22

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=4.12.3-1-ARCH -C /usr/lib/modules/4.12.3-1-ARCH/build
M=/var/lib/dkms/vboxhost/5.1.22/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.12.3-1-ARCH (x86_64)
Consult /var/lib/dkms/vboxhost/5.1.22/build/make.log for more information.

Is this known, expected, or do we need to open a bug?

The error from the log centers around:

  CC [M]
/var/lib/dkms/vboxhost/5.1.22/build/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o
In file included from
/var/lib/dkms/vboxhost/5.1.22/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:31:0:
/var/lib/dkms/vboxhost/5.1.22/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:
In function ‘VBoxHost_RTMemContAlloc’:
/var/lib/dkms/vboxhost/5.1.22/build/vboxdrv/r0drv/linux/the-linux-kernel.h:323:47:
error: implicit declaration of function ‘set_pages_x’; did you mean
‘get_page’? [-Werror=implicit-function-declaration]
 # define MY_SET_PAGES_EXEC(pPages, cPages)    set_pages_x(pPages, cPages)
                                               ^
/var/lib/dkms/vboxhost/5.1.22/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:445:13:
note: in expansion of macro ‘MY_SET_PAGES_EXEC’
             MY_SET_PAGES_EXEC(&paPages[iPage], 1);
             ^~~~~~~~~~~~~~~~~
<snip>

--
David C. Rankin, J.D.,P.E.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Update to 4.12.3-1 failed to rebuild DKMS virtualbox modules?

David C. Rankin
On 07/29/2017 01:58 AM, David C. Rankin wrote:
>   Update tonight to 4.12.3-1, and for the first time in years, DKMS failed to
> rebuild the VirtualBox kernel modules. Specifically attempting a manual
> install/build resulted in:
>
> # dkms install -m vboxhost -v 5.1.22

Solved,

  Updated to vbox v5.1.26 and modules built fine.

--
David C. Rankin, J.D.,P.E.
Loading...