bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module failed to build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bcmwl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
apt-get upgrade caused crash of wireless bcmwl
afterwards my wifi fails to work
before updates had
x86_64
5.4.0-57-generic
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
apt-get upgrade
The following NEW packages will be installed:
linux-
linux-
The following packages will be upgraded:
linux-
Setting up linux-modules-
Setting up linux-hwe-
Setting up linux-headers-
/etc/kernel/
* dkms: running auto installation service for kernel 5.8.0-32-generic
Kernel preparation unnecessary for this kernel. Skipping...
applying patch 0002-Makefile.
Hunk #1 succeeded at 113 with fuzz 1.
Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).
applying patch 0003-Make-
Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).
applying patch 0010-change-
Hunk #1 succeeded at 221 (offset -14 lines).
applying patch 0013-gcc.
applying patch 0019-broadcom-
Hunk #1 succeeded at 2169 (offset 12 lines).
applying patch 0020-add-
applying patch 0021-add-
applying patch 0022-add-
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-
patching file src/wl/
Hunk #1 succeeded at 2919 (offset 4 lines).
applying patch 0024-add-
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-
Hunk #1 succeeded at 1080 (offset 4 lines).
applying patch 0026-add-
Hunk #2 succeeded at 2306 (offset 4 lines).
Hunk #3 succeeded at 2368 (offset 4 lines).
applying patch 0027-add-
Hunk #1 succeeded at 595 (offset 4 lines).
Building module:
cleaning build area...
make -j8 KERNELRELEASE=
Error! Bad return status for module build on kernel: 5.8.0-32-generic (x86_64)
Consult /var/lib/
...done.
Setting up linux-image-
I: /boot/vmlinuz.old is now a symlink to vmlinuz-
I: /boot/initrd.
I: /boot/vmlinuz is now a symlink to vmlinuz-
I: /boot/initrd.img is now a symlink to initrd.
Setting up linux-headers-
Setting up linux-modules-
Setting up linux-image-
Setting up linux-generic-
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for linux-image-
/etc/kernel/
* dkms: running auto installation service for kernel 5.8.0-32-generic
Kernel preparation unnecessary for this kernel. Skipping...
applying patch 0002-Makefile.
Hunk #1 succeeded at 113 with fuzz 1.
Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).
applying patch 0003-Make-
Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).
applying patch 0010-change-
Hunk #1 succeeded at 221 (offset -14 lines).
applying patch 0013-gcc.
applying patch 0019-broadcom-
Hunk #1 succeeded at 2169 (offset 12 lines).
applying patch 0020-add-
applying patch 0021-add-
applying patch 0022-add-
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-
patching file src/wl/
Hunk #1 succeeded at 2919 (offset 4 lines).
applying patch 0024-add-
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-
Hunk #1 succeeded at 1080 (offset 4 lines).
applying patch 0026-add-
Hunk #2 succeeded at 2306 (offset 4 lines).
Hunk #3 succeeded at 2368 (offset 4 lines).
applying patch 0027-add-
Hunk #1 succeeded at 595 (offset 4 lines).
Building module:
cleaning build area...
make -j8 KERNELRELEASE=
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/
Error! Bad return status for module build on kernel: 5.8.0-32-generic (x86_64)
Consult /var/lib/
...done.
/etc/kernel/
update-initramfs: Generating /boot/initrd.
/etc/kernel/
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Adding boot menu entry for UEFI Firmware Settings
done
here is crash file
olof@hofn ~ $ cat /var/crash/
ProblemType: Package
DKMSBuildLog:
DKMS make.log for bcmwl-6.
Thu 03 Dec 2020 08:50:14 PM EST
make: Entering directory '/usr/src/
CFG80211 API is prefered for this kernel version
Using CFG80211 API
AR /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
/var/lib/
/var/lib/
949 | return (ioremap_
| ^~~~~~~~~~~~~~~
| ioremap_cache
/var/lib/
949 | return (ioremap_
| ~^~~~~~
/var/lib/
/var/lib/
593 | if ((wl->regsva = ioremap_
| ^~~~~~~~~~~~~~~
| ioremap_cache
/var/lib/
593 | if ((wl->regsva = ioremap_
| ^
/var/lib/
/var/lib/
780 | if ((val & 0x0000ff00) != 0)
| ^~
/var/lib/
782 | bar1_size = pci_resource_
| ^~~~~~~~~
/var/lib/
783 | bar1_addr = (uchar *)ioremap_
| ^
/var/lib/
/var/lib/
3376 | if ((wl->proc_entry = proc_create_
| ^~~~~~~~
| |
| const struct file_operations *
In file included from /var/lib/
./include/
102 | extern struct proc_dir_entry *proc_create_
| ^~~~~~~~~~~~~~~~
In file included from /var/lib/
/var/lib/
/var/lib/
52 | if (wl_dbg_level & WL_DBG_DBG) { \
| ^
/var/lib/
816 | WL_DBG(("network eap\n"));
| ^~~~~~
/var/lib/
817 | default:
| ^~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/
make[1]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
make[1]: *** [scripts/
make: *** [Makefile:1780: /var/lib/
make: Leaving directory '/usr/src/
DKMSKernelVersion: 5.8.0-32-generic
Date: Thu Dec 3 20:50:17 2020
DuplicateSignature: dkms:bcmwl-
Package: bcmwl-kernel-source 6.30.223.
PackageVersion: 6.30.223.
SourcePackage: bcmwl
Title: bcmwl-kernel-source 6.30.223.
after reboot have
x86_64
5.8.0-32-generic
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
before upgrade wifi was OK now wifi fails to work
lspci | grep -i network
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
SOLUTION
sudo apt-get purge bcmwl-kernel-source
sudo apt-get install broadcom-sta-source broadcom-sta-dkms broadcom-sta-common
reboot
now wifi is OK