virtualbox-dkms 5.2.18-dfsg-2~ubuntu18.04.5: virtualbox kernel module failed to build [error: macro "access_ok" passed 3 arguments, but takes just 2]

Bug #1838637 reported by Matthias Fäth
60
This bug affects 12 people
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

dmks produces this output:

/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.0.0-23-generic

Kernel preparation unnecessary for this kernel. Skipping...
applying patch 0002-Makefile.patch...patching file Makefile
Hunk #1 succeeded at 113 with fuzz 1.
Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).

applying patch 0003-Make-up-for-missing-init_MUTEX.patch...patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).

applying patch 0010-change-the-network-interface-name-from-eth-to-wlan.patch...patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 221 (offset -14 lines).

applying patch 0013-gcc.patch...patching file Makefile

applying patch 0019-broadcom-sta-6.30.223.248-3.18-null-pointer-fix.patch...patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 2169 (offset 12 lines).

applying patch 0020-add-support-for-linux-4.3.patch...patching file src/shared/linux_osl.c

applying patch 0021-add-support-for-Linux-4.7.patch...patching file src/wl/sys/wl_cfg80211_hybrid.c

applying patch 0022-add-support-for-Linux-4.8.patch...patching file src/wl/sys/wl_cfg80211_hybrid.c
Hunk #1 succeeded at 2391 (offset 3 lines).
Hunk #2 succeeded at 2501 (offset 3 lines).
Hunk #3 succeeded at 2933 (offset 9 lines).

applying patch 0023-add-support-for-Linux-4.11.patch...patching file src/include/linuxver.h
patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 2919 (offset 4 lines).

applying patch 0024-add-support-for-Linux-4.12.patch...patching file src/wl/sys/wl_cfg80211_hybrid.c
Hunk #1 succeeded at 55 (offset 5 lines).
Hunk #2 succeeded at 472 (offset 5 lines).
Hunk #3 succeeded at 2371 (offset 5 lines).
Hunk #4 succeeded at 2388 (offset 5 lines).

applying patch 0025-add-support-for-Linux-4.14.patch...patching file src/shared/linux_osl.c
Hunk #1 succeeded at 1080 (offset 4 lines).

applying patch 0026-add-support-for-Linux-4.15.patch...patching file src/wl/sys/wl_linux.c
Hunk #2 succeeded at 2306 (offset 4 lines).
Hunk #3 succeeded at 2368 (offset 4 lines).

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.0.0-23-generic -C /lib/modules/5.0.0-23-generic/build M=/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build....
cleaning build area...

DKMS: build completed.

wl.ko:
Running module version sanity check.
/usr/sbin/dkms: Zeile 784: find_module: Befehl nicht gefunden
modinfo: ERROR: missing module or filename.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.0.0-23-generic/updates/dkms/

depmod...

DKMS: install completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.0.0-23-generic -C /lib/modules/5.0.0-23-generic/build M=/var/lib/dkms/virtualbox/5.2.18/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.0.0-23-generic (x86_64)
Consult /var/lib/dkms/virtualbox/5.2.18/build/make.log for more information.
   ...done.
Trigger für man-db (2.8.3-2ubuntu0.1) werden verarbeitet ...
Trigger für gnome-menus (3.13.3-11ubuntu1.1) werden verarbeitet ...
Trigger für dbus (1.12.2-1ubuntu1.1) werden verarbeitet ...
ubuntu-minimal (1.417.3) wird eingerichtet ...
Trigger für hicolor-icon-theme (0.17-2) werden verarbeitet ...
linux-modules-5.0.0-23-generic (5.0.0-23.24~18.04.1) wird eingerichtet ...
ubuntu-standard (1.417.3) wird eingerichtet ...
linux-image-5.0.0-23-generic (5.0.0-23.24~18.04.1) wird eingerichtet ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.18.0-25-generic
I: /initrd.img.old is now a symlink to boot/initrd.img-4.18.0-25-generic
I: /vmlinuz is now a symlink to boot/vmlinuz-5.0.0-23-generic
I: /initrd.img is now a symlink to boot/initrd.img-5.0.0-23-generic
linux-headers-generic-hwe-18.04 (5.0.0.23.80) wird eingerichtet ...
linux-modules-extra-5.0.0-23-generic (5.0.0-23.24~18.04.1) wird eingerichtet ...
linux-image-generic-hwe-18.04 (5.0.0.23.80) wird eingerichtet ...
linux-generic-hwe-18.04 (5.0.0.23.80) wird eingerichtet ...
Trigger für linux-image-5.0.0-23-generic (5.0.0-23.24~18.04.1) werden verarbeitet ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.0.0-23-generic

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.0.0-23-generic -C /lib/modules/5.0.0-23-generic/build M=/var/lib/dkms/virtualbox/5.2.18/build....(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.0.0-23-generic (x86_64)
Consult /var/lib/dkms/virtualbox/5.2.18/build/make.log for more information.
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.0.0-23-generic

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: virtualbox-dkms 5.2.18-dfsg-2~ubuntu18.04.5
ProcVersionSignature: Ubuntu 4.18.0-25.26~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-25-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
DKMSKernelVersion: 5.0.0-23-generic
Date: Thu Aug 1 15:11:34 2019
DuplicateSignature: dkms:virtualbox-dkms:5.2.18-dfsg-2~ubuntu18.04.5:/var/lib/dkms/virtualbox/5.2.18/build/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.c:69:55: error: macro "access_ok" passed 3 arguments, but takes just 2
InstallationDate: Installed on 2019-07-01 (30 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
PackageArchitecture: all
PackageVersion: 5.2.18-dfsg-2~ubuntu18.04.5
Python3Details: /usr/bin/python3.6, Python 3.6.8, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15+, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.1
 apt 1.6.11
SourcePackage: virtualbox
Title: virtualbox-dkms 5.2.18-dfsg-2~ubuntu18.04.5: virtualbox kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Matthias Fäth (m-faeth) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in virtualbox (Ubuntu):
status: New → Confirmed
summary: virtualbox-dkms 5.2.18-dfsg-2~ubuntu18.04.5: virtualbox kernel module
- failed to build
+ failed to build [error: macro "access_ok" passed 3 arguments, but takes
+ just 2]
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.