Broadcom wireless driver failed to install with code 10 on focal 20.04

Bug #1910875 reported by Jeremy David Sarka
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
bcmwl (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

First, I suspect this may be the same bug as Bug #1905211 "package bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5 failed focal fossa in kernel v5.9" because I got the same error "installed bcmwl-kernel-source package post-installation script subprocess returned error exit status 10". However, I wanted to make a separate report because I am still on kernel v5.8. Please merge these threads if it seems like they're the same bug.

Anyway, my problem is this:

The last time I installed a tranche of system updates, I got a "System software problem detected" dialog and submitted the crash report. The next time I booted up my computer, the Broadcom wifi device was not recognized. The wifi had worked fine up until that point.

I tried to manually uninstall and reinstall the driver using dpkg with the bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu5) package downloaded from packages.ubuntu.com (the machine in question does not have a wired ethernet connection). dpkg produced the following output:

Preparing to unpack bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu5_amd64.deb ...
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu5) over (6.30.223.271+bdcom-0ubuntu5) ...
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu5) ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
Building for 5.8.0-36-generic
Building for architecture x86_64
Building initial module for 5.8.0-36-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/bcmwl-kernel-source.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-36-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information.
dpkg: error processing package bcmwl-kernel-source (--install):
 installed bcmwl-kernel-source package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 bcmwl-kernel-source

The make log from my manually installation attempt read:
DKMS make.log for bcmwl-6.30.223.271+bdcom for kernel 5.8.0-36-generic (x86_64)
Sat 09 Jan 2021 01:14:26 PM PST
make: Entering directory '/usr/src/linux-headers-5.8.0-36-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  AR /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/built-in.a
  CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.o
  CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.o
  CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_iw.o
  CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.o
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c: In function ‘osl_reg_map’:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:949:10: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
  949 | return (ioremap_nocache((unsigned long)pa, (unsigned long)size));
      | ^~~~~~~~~~~~~~~
      | ioremap_cache
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:949:10: warning: returning ‘int’ from a function with return type ‘void *’ makes pointer from integer without a cast [-Wint-conversion]
  949 | return (ioremap_nocache((unsigned long)pa, (unsigned long)size));
      | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:40:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_set_auth_type’:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.h:52:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
   52 | if (wl_dbg_level & WL_DBG_DBG) { \
      | ^
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:816:3: note: in expansion of macro ‘WL_DBG’
  816 | WL_DBG(("network eap\n"));
      | ^~~~~~
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:817:2: note: here
  817 | default:
      | ^~~~~~~
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_attach’:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:593:20: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
  593 | if ((wl->regsva = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) == NULL) {
      | ^~~~~~~~~~~~~~~
      | ioremap_cache
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:593:18: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  593 | if ((wl->regsva = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) == NULL) {
      | ^
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:780:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  780 | if ((val & 0x0000ff00) != 0)
      | ^~
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:782:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  782 | bar1_size = pci_resource_len(pdev, 2);
      | ^~~~~~~~~
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:783:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  783 | bar1_addr = (uchar *)ioremap_nocache(pci_resource_start(pdev, 2),
      | ^
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_reg_proc_entry’:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3376:58: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 3376 | if ((wl->proc_entry = proc_create_data(tmp, 0644, NULL, &wl_fops, wl)) == NULL) {
      | ^~~~~~~~
      | |
      | const struct file_operations *
In file included from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:38:
./include/linux/proc_fs.h:102:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’
  102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
      | ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:288: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:288: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.o] Error 1
make: *** [Makefile:1780: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build] Error 2
make: Leaving directory '/usr/src/linux-headers-5.8.0-36-generic'

And he original crash report shows the same errors:
ProblemType: Package
DKMSBuildLog:
 DKMS make.log for bcmwl-6.30.223.271+bdcom for kernel 5.8.0-34-generic (x86_64)
 Thu 07 Jan 2021 12:19:05 PM PST
 make: Entering directory '/usr/src/linux-headers-5.8.0-34-generic'
 CFG80211 API is prefered for this kernel version
 Using CFG80211 API
   AR /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/built-in.a
   CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.o
   CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.o
   CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_iw.o
   CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.o
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c: In function ‘osl_reg_map’:
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:949:10: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
   949 | return (ioremap_nocache((unsigned long)pa, (unsigned long)size));
       | ^~~~~~~~~~~~~~~
       | ioremap_cache
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:949:10: warning: returning ‘int’ from a function with return type ‘void *’ makes pointer from integer without a cast [-Wint-conversion]
   949 | return (ioremap_nocache((unsigned long)pa, (unsigned long)size));
       | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_attach’:
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:593:20: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
   593 | if ((wl->regsva = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) == NULL) {
       | ^~~~~~~~~~~~~~~
       | ioremap_cache
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:593:18: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
   593 | if ((wl->regsva = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) == NULL) {
       | ^
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’:
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:780:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   780 | if ((val & 0x0000ff00) != 0)
       | ^~
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:782:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   782 | bar1_size = pci_resource_len(pdev, 2);
       | ^~~~~~~~~
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:783:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   783 | bar1_addr = (uchar *)ioremap_nocache(pci_resource_start(pdev, 2),
       | ^
 In file included from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:40:
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_set_auth_type’:
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.h:52:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    52 | if (wl_dbg_level & WL_DBG_DBG) { \
       | ^
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:816:3: note: in expansion of macro ‘WL_DBG’
   816 | WL_DBG(("network eap\n"));
       | ^~~~~~
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:817:2: note: here
   817 | default:
       | ^~~~~~~
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_reg_proc_entry’:
 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3376:58: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  3376 | if ((wl->proc_entry = proc_create_data(tmp, 0644, NULL, &wl_fops, wl)) == NULL) {
       | ^~~~~~~~
       | |
       | const struct file_operations *
 In file included from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:38:
 ./include/linux/proc_fs.h:102:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’
   102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
       | ^~~~~~~~~~~~~~~~
 cc1: some warnings being treated as errors
 make[1]: *** [scripts/Makefile.build:288: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 cc1: some warnings being treated as errors
 make[1]: *** [scripts/Makefile.build:288: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.o] Error 1
 make: *** [Makefile:1780: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build] Error 2
 make: Leaving directory '/usr/src/linux-headers-5.8.0-34-generic'
DKMSKernelVersion: 5.8.0-34-generic
Date: Thu Jan 7 12:19:08 2021
DuplicateSignature: dkms:bcmwl-kernel-source:6.30.223.271+bdcom-0ubuntu5:/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:949:10: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
Package: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5
PackageVersion: 6.30.223.271+bdcom-0ubuntu5
SourcePackage: bcmwl
Title: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module failed to build
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
Dependencies:
 adduser 3.118ubuntu2
 apt 2.0.2ubuntu0.2
 apt-utils 2.0.2ubuntu0.2
 binutils 2.34-6ubuntu1
 binutils-common 2.34-6ubuntu1
 binutils-x86-64-linux-gnu 2.34-6ubuntu1
 build-essential 12.8ubuntu1.1
 bzip2 1.0.8-2
 ca-certificates 20201027ubuntu0.20.04.1
 coreutils 8.30-3ubuntu2
 cpp 4:9.3.0-1ubuntu2
 cpp-9 9.3.0-17ubuntu1~20.04
 debconf 1.5.73
 debconf-i18n 1.5.73
 dirmngr 2.2.19-3ubuntu2
 distro-info-data 0.43ubuntu1.4
 dkms 2.8.1-5ubuntu1
 dpkg 1.19.7ubuntu3
 dpkg-dev 1.19.7ubuntu3
 fakeroot 1.24-1
 g++ 4:9.3.0-1ubuntu2
 g++-9 9.3.0-17ubuntu1~20.04
 gcc 4:9.3.0-1ubuntu2
 gcc-10-base 10.2.0-5ubuntu1~20.04
 gcc-9 9.3.0-17ubuntu1~20.04
 gcc-9-base 9.3.0-17ubuntu1~20.04
 gnupg 2.2.19-3ubuntu2
 gnupg-l10n 2.2.19-3ubuntu2
 gnupg-utils 2.2.19-3ubuntu2
 gpg 2.2.19-3ubuntu2
 gpg-agent 2.2.19-3ubuntu2
 gpg-wks-client 2.2.19-3ubuntu2
 gpg-wks-server 2.2.19-3ubuntu2
 gpgconf 2.2.19-3ubuntu2
 gpgsm 2.2.19-3ubuntu2
 gpgv 2.2.19-3ubuntu2
 init-system-helpers 1.57
 kmod 27-1ubuntu2
 libacl1 2.2.53-6
 libalgorithm-diff-perl 1.19.03-2
 libalgorithm-diff-xs-perl 0.04-6
 libalgorithm-merge-perl 0.08-3
 libapt-pkg6.0 2.0.2ubuntu0.2
 libasan5 9.3.0-17ubuntu1~20.04
 libasn1-8-heimdal 7.7.0+dfsg-1ubuntu1
 libassuan0 2.5.3-7ubuntu2
 libatomic1 10.2.0-5ubuntu1~20.04
 libattr1 1:2.4.48-5
 libaudit-common 1:2.8.5-2ubuntu6
 libaudit1 1:2.8.5-2ubuntu6
 libbinutils 2.34-6ubuntu1
 libbz2-1.0 1.0.8-2
 libc-dev-bin 2.31-0ubuntu9.1
 libc6 2.31-0ubuntu9.1
 libc6-dev 2.31-0ubuntu9.1
 libcap-ng0 0.7.9-2.1build1
 libcc1-0 10.2.0-5ubuntu1~20.04
 libcom-err2 1.45.5-2ubuntu1
 libcrypt-dev 1:4.4.10-10ubuntu4
 libcrypt1 1:4.4.10-10ubuntu4
 libctf-nobfd0 2.34-6ubuntu1
 libctf0 2.34-6ubuntu1
 libdb5.3 5.3.28+dfsg1-0.6ubuntu2
 libdpkg-perl 1.19.7ubuntu3
 libfakeroot 1.24-1
 libffi7 3.3-4
 libfile-fcntllock-perl 0.22-3build4
 libgcc-9-dev 9.3.0-17ubuntu1~20.04
 libgcc-s1 10.2.0-5ubuntu1~20.04
 libgcrypt20 1.8.5-5ubuntu1
 libgdbm-compat4 1.18.1-5
 libgdbm6 1.18.1-5
 libgmp10 2:6.2.0+dfsg-4
 libgnutls30 3.6.13-2ubuntu1.3
 libgomp1 10.2.0-5ubuntu1~20.04
 libgpg-error0 1.37-1
 libgpm2 1.20.7-5
 libgssapi3-heimdal 7.7.0+dfsg-1ubuntu1
 libhcrypto4-heimdal 7.7.0+dfsg-1ubuntu1
 libheimbase1-heimdal 7.7.0+dfsg-1ubuntu1
 libheimntlm0-heimdal 7.7.0+dfsg-1ubuntu1
 libhogweed5 3.5.1+really3.5.1-2
 libhx509-5-heimdal 7.7.0+dfsg-1ubuntu1
 libidn2-0 2.2.0-2
 libisl22 0.22.1-1
 libitm1 10.2.0-5ubuntu1~20.04
 libkmod2 27-1ubuntu2
 libkrb5-26-heimdal 7.7.0+dfsg-1ubuntu1
 libksba8 1.3.5-2
 libldap-2.4-2 2.4.49+dfsg-2ubuntu1.5
 libldap-common 2.4.49+dfsg-2ubuntu1.5
 liblocale-gettext-perl 1.07-4
 liblsan0 10.2.0-5ubuntu1~20.04
 liblz4-1 1.9.2-2
 liblzma5 5.2.4-1ubuntu1
 libmpc3 1.1.0-1
 libmpfr6 4.0.2-1
 libncursesw6 6.2-0ubuntu2
 libnettle7 3.5.1+really3.5.1-2
 libnpth0 1.6-1
 libp11-kit0 0.23.20-1ubuntu0.1
 libpam-modules 1.3.1-5ubuntu4.1
 libpam-modules-bin 1.3.1-5ubuntu4.1
 libpam0g 1.3.1-5ubuntu4.1
 libpcre2-8-0 10.34-7
 libperl5.30 5.30.0-9ubuntu0.2
 libquadmath0 10.2.0-5ubuntu1~20.04
 libreadline8 8.0-4
 libroken18-heimdal 7.7.0+dfsg-1ubuntu1
 libsasl2-2 2.1.27+dfsg-2
 libsasl2-modules 2.1.27+dfsg-2
 libsasl2-modules-db 2.1.27+dfsg-2
 libseccomp2 2.4.3-1ubuntu3.20.04.3
 libselinux1 3.0-1build2
 libsemanage-common 3.0-1build2
 libsemanage1 3.0-1build2
 libsepol1 3.0-1
 libsqlite3-0 3.31.1-4ubuntu0.2
 libssl1.1 1.1.1f-1ubuntu2.1
 libstdc++-9-dev 9.3.0-17ubuntu1~20.04
 libstdc++6 10.2.0-5ubuntu1~20.04
 libsystemd0 245.4-4ubuntu3.3
 libtasn1-6 4.16.0-2
 libtext-charwidth-perl 0.04-10
 libtext-iconv-perl 1.7-7
 libtext-wrapi18n-perl 0.06-9
 libtinfo6 6.2-0ubuntu2
 libtsan0 10.2.0-5ubuntu1~20.04
 libubsan1 10.2.0-5ubuntu1~20.04
 libudev1 245.4-4ubuntu3.3
 libunistring2 0.9.10-2
 libwind0-heimdal 7.7.0+dfsg-1ubuntu1
 libzstd1 1.4.4+dfsg-3
 linux-libc-dev 5.4.0-59.65
 lsb-base 11.1.0ubuntu2
 lsb-release 11.1.0ubuntu2
 make 4.2.1-1.2
 manpages 5.05-1
 manpages-dev 5.05-1
 netbase 6.1
 openssl 1.1.1f-1ubuntu2.1
 passwd 1:4.8.1-1ubuntu5.20.04
 patch 2.7.6-6
 perl 5.30.0-9ubuntu0.2
 perl-base 5.30.0-9ubuntu0.2
 perl-modules-5.30 5.30.0-9ubuntu0.2
 pinentry-curses 1.1.0-3build1
 readline-common 8.0-4
 sudo 1.8.31-1ubuntu1.1
 tar 1.30+dfsg-7
 ubuntu-keyring 2020.02.11.2
 xz-utils 5.2.4-1ubuntu1
 zlib1g 1:1.2.11.dfsg-2ubuntu1.2
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-11-09 (59 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
NonfreeKernelModules: wl nvidia_modeset nvidia
PackageArchitecture: amd64
ProcCpuinfoMinimal:
 processor : 7
 vendor_id : GenuineIntel
 cpu family : 6
 model : 70
 model name : Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
 stepping : 1
 microcode : 0x1c
 cpu MHz : 2298.458
 cache size : 6144 KB
 physical id : 0
 siblings : 8
 core id : 3
 cpu cores : 4
 apicid : 7
 initial apicid : 7
 fpu : yes
 fpu_exception : yes
 cpuid level : 13
 wp : yes
 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
 bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
 bogomips : 4988.76
 clflush size : 64
 cache_alignment : 64
 address sizes : 39 bits physical, 48 bits virtual
 power management:
ProcVersionSignature: Ubuntu 5.4.0-59.65-generic 5.4.78
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.2
Tags: focal
Uname: Linux 5.4.0-59-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
_MarkForUpload: True

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in bcmwl (Ubuntu):
status: New → Confirmed
Revision history for this message
Charles Diza (chdiza) wrote :

I'm new to Linux, so bear with me, but...Within the last hour or so I installed a bunch of system updates in KDE Discover, and suddenly wifi stopped working after the enforced restart.

By "stopped working", I mean I have no internet connection via wifi and `nmcli dev` no longer lists my wireless device "wlp2so" *at all*.

 I'm on an Apple MacBookPro9,2 running 20.04 with KDE. "Driver Manger" tells me I'm using "Broadcom 802.11 Linux STA wireless driver source from bcmwl-kernel-source (proprietary)", for the BCM4331 device.

I tried clicking "Do not use the device" and then re-enabling it but I got some cryptic error. Upon re-opening Driver Manager it again says I'm using the proprietary driver.

I hope this can be quickly fixed, since this machine is now internet-free except for the occasional times I can plug into ethernet.

Revision history for this message
ZdravkoG (zdravko-g) wrote :

This bug looks more like a duplicate of Bug #1910555
Take a look there for workaround.

Revision history for this message
Jeremy David Sarka (jsarka) wrote :

Yes, I agree this does look like a duplicate of Bug #1910555. I'm not sure why I didn't see that one when I was looking for bugs that corresponded to my problem.

Anyway, this solution worked for me:

1. Manually download the bcmwl-kernel-source package from this page: https://packages.ubuntu.com/groovy/bcmwl-kernel-source
Make sure that you get the "6.30.223.271+bdcom-0ubuntu7" version from the "groovy" repository, not the older version from the "focal" repository.

(You might also need to install or reinstall the "dkms" package, which you will see a link to under "related packages".)

(I needed to download the package on a different computer and transfer on a flash drive it to the laptop where the wifi wasn't working because that laptop doesn't have an ethernet port.)

2. Open a terminal, go to the directory where the package file is located and run dpkg with this command: sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7_amd64.deb

3. Enter your administrator password. The broadcom driver kernel module should install automatically. If you get an error saying that package you are trying to install depends upon some other package that isn't available, download that package from packages.ubuntu.com and install it using the command: sudo dpkg -i [package file name], then try step 2 again.

For me the installation worked fine, and the wifi came back on instantly and even automatically reconnected to my home network. I didn't even need to reboot!

So this is definitely an effective workaround, but this bug won't really be solved until Canonical gets this patch into the focal repositories. (And even then, people will still have to manually reinstall their wifi driver if they don't have wired internet access.)

Revision history for this message
Charles Diza (chdiza) wrote :

@jsarka, Thanks for those clear instructions! As it turns out I already figured out (I hope) how to revert to kernel 5.4. That has brought back my wifi. If other things go bonkers, I'll get 5.8 back and follow your steps.

The bump to 5.8 broke several things on my system, which is why I first tried downgrading kernels. I deliberately picked an LTS, so I'm very surprised that I got a kernel bump that skips three point releases without any warning.

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.