Comment 13 for bug 1915051

Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Verification results for groovy:

bcmwl is an example of a package that is not currently being built automatically:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/amd64/b/bcmwl/20210210_143008_c07d5@/log.gz

Running autopkgtest locally with dkms 2.8.3-4ubuntu0.1 it gets built:
================================================
autopkgtest [17:04:13]: test dkms-autopkgtest: /usr/lib/dkms/dkms-autopkgtest
autopkgtest [17:04:13]: test dkms-autopkgtest: [-----------------------
I: Removing binary package bcmwl-kernel-source, to get clean state
I: Installing binary package bcmwl-kernel-source
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  bcmwl-kernel-source
0 upgraded, 1 newly installed, 0 to remove and 50 not upgraded.
Need to get 0 B/1551 kB of archives.
After this operation, 8071 kB of additional disk space will be used.
Get:1 file:/tmp/autopkgtest.1cGFPr/binaries bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu7 [1551 kB]
Selecting previously unselected package bcmwl-kernel-source.
(Reading database ... 121777 files and directories currently installed.)
Preparing to unpack ..././bcmwl-kernel-source.deb ...
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu7) ...
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu7) ...
autoinstall for dkms modules has been disabled.
modprobe: FATAL: Module wl not found in directory /lib/modules/5.8.0-44-generic
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.137ubuntu12) ...
update-initramfs: Generating /boot/initrd.img-5.8.0-44-generic
dpkg: dependency problems prevent removal of dkms:
 bcmwl-kernel-source depends on dkms.

dpkg: error processing package dkms (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 dkms
I: Testing binary package bcmwl-kernel-source
I: Trying to build bcmwl/6.30.223.271+bdcom for 5.8.0-41-generic

Creating symlink /var/lib/dkms/bcmwl/6.30.223.271+bdcom/source ->
                 /usr/src/bcmwl-6.30.223.271+bdcom

DKMS: add completed.

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).

applying patch 0027-add-support-for-linux-5.1.patch...patching file src/include/linuxver.h
Hunk #1 succeeded at 595 (offset 4 lines).

applying patch 0028-add-support-for-linux-5.6.patch...patching file src/shared/linux_osl.c
Hunk #1 succeeded at 946 (offset 4 lines).
patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 590 (offset 8 lines).
Hunk #2 succeeded at 784 (offset 8 lines).
Hunk #3 succeeded at 3365 (offset 22 lines).

Building module:
cleaning build area...
make -j1 KERNELRELEASE=5.8.0-41-generic -C /lib/modules/5.8.0-41-generic/build M=/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build....
Signing module:
 - /var/lib/dkms/bcmwl/6.30.223.271+bdcom/5.8.0-41-generic/x86_64/module/wl.ko
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
cleaning build area...

DKMS: build completed.

wl.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.8.0-41-generic/updates/dkms/

depmod...

DKMS: install completed.
I: Testing if bcmwl modules are correctly installed
bcmwl, 6.30.223.271+bdcom, 5.8.0-41-generic, x86_64: installed
================================================

It can also be verified by the automatic triggered test:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/amd64/b/bcmwl/20210217_172610_32bee@/log.gz

------
backport-iwlwifi-dkms is an example of a package that was already been automatically built before. I have tested it to make sure it didn't regress.

Automatically triggered tests:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/amd64/b/backport-iwlwifi-dkms/20210217_172252_8f092@/log.gz

Local test:
================================================
autopkgtest [17:14:04]: test dkms-autopkgtest: [-----------------------
I: Installing binary package backport-iwlwifi-dkms
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  dkms
Suggested packages:
  menu
The following NEW packages will be installed:
  backport-iwlwifi-dkms dkms
0 upgraded, 2 newly installed, 0 to remove and 50 not upgraded.
Need to get 67.9 kB/1674 kB of archives.
After this operation, 10.6 MB of additional disk space will be used.
Get:1 file:/tmp/autopkgtest.fYMrmy/binaries backport-iwlwifi-dkms 8613-0ubuntu1 [1606 kB]
Get:2 http://archive.ubuntu.com/ubuntu groovy-proposed/main amd64 dkms all 2.8.3-4ubuntu0.1 [67.9 kB]
Fetched 67.9 kB in 0s (317 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 121720 files and directories currently installed.)
Preparing to unpack .../dkms_2.8.3-4ubuntu0.1_all.deb ...
Unpacking dkms (2.8.3-4ubuntu0.1) ...
Selecting previously unselected package backport-iwlwifi-dkms.
Preparing to unpack ..././backport-iwlwifi-dkms.deb ...
Unpacking backport-iwlwifi-dkms (8613-0ubuntu1) ...
Setting up dkms (2.8.3-4ubuntu0.1) ...
Setting up backport-iwlwifi-dkms (8613-0ubuntu1) ...
Loading new backport-iwlwifi-8613 DKMS files...
Building for 5.8.0-44-generic
Building initial module for 5.8.0-44-generic
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
Done.

compat.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.

iwlwifi.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.

iwlxvt.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.

iwlmvm.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.

mac80211.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.

cfg80211.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.

depmod...

DKMS: install completed.
Processing triggers for man-db (2.9.3-2) ...
I: Testing binary package backport-iwlwifi-dkms
I: Testing if backport-iwlwifi modules are correctly installed
backport-iwlwifi, 8613, 5.8.0-44-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
I: Checking modaliases for /var/lib/dkms/backport-iwlwifi/8613/5.8.0-44-generic/x86_64/module ...
================================================