linux-headers-5.10.3-051003-generic is not supported

Bug #1909369 reported by Christophe TORRES
66
This bug affects 13 people
Affects Status Importance Assigned to Milestone
bcmwl (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

> $ lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04

> $ sudo apt-cache policy bcmwl-kernel-source
bcmwl-kernel-source:
  Installé : (aucun)
  Candidat : 6.30.223.271+bdcom-0ubuntu5
 Table de version :
     6.30.223.271+bdcom-0ubuntu5 500
        500 http://fr.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages

Hello,

I tried to install a wireless network adapter broadcom BCM4360, i nned to install the package bcmwl-kernel-source but when i try to install it i have the following error : "ERROR (dkms apport): kernel package linux-headers-5.10.3-051003-generic is not supported
Error! Bad return status for module build on kernel: 5.10.3-051003-generic (x86_64)
"

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bcmwl-kernel-source (not installed)
Uname: Linux 5.10.3-051003-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Dec 26 21:16:07 2020
InstallationDate: Installed on 2020-01-05 (356 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: bcmwl
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Christophe TORRES (looping404) wrote :
Revision history for this message
Butterfly (kelebek333) wrote :

Hi Christophe TORRES (looping404),

I added to bcmwl driver which included linux kernel 5.9 and 5.10 patches to wireless drivers PPA. You can try to add PPA with following command.

sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt-get update
sudo apt install bcmwl-kernel-source

Bcmwl packages on PPA supports up to Linux kernel 5.10 and supports bionic, focal and groovy bases.

Pathes based following links.

https://gist.github.com/joanbm/5c640ac074d27fd1d82c74a5b67a1290
https://gist.github.com/joanbm/9e20b3842bb336379eccc12410901e37

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
Jeff (jdferron) wrote :

Updating to 5.10.17 and DKMS still has issues building the kernel.

DKMS make.log for bcmwl-6.30.223.271+bdcom for kernel 5.10.17-051017-generic (x86_64)
Sun 21 Feb 2021 01:14:59 PM MST
make: Entering directory '/usr/src/linux-headers-5.10.17-051017-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  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
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:795:3: note: in expansion of macro ‘WL_DBG’
  795 | WL_DBG(("network eap\n"));
      | ^~~~~~
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:796:2: note: here
  796 | default:
      | ^~~~~~~
/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:784:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  784 | if ((val & 0x0000ff00) != 0)
      | ^~
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:786:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  786 | bar1_size = pci_resource_len(pdev, 2);
      | ^~~~~~~~~
  LD [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/wl.o
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  MODPOST /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/Module.symvers
make[2]: *** No rule to make target 'scripts/module.lds', needed by '/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/wl.ko'. Stop.
make[2]: *** Waiting for unfinished jobs....
  CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/wl.mod.o
make[1]: *** [scripts/Makefile.modpost:117: __modpost] Error 2
make: *** [Makefile:1711: modules] Error 2
make: Leaving directory '/usr/src/linux-headers-5.10.17-051017-generic'

Revision history for this message
Potassco (potassco) wrote :

It would be really nice if this would be fixed for kernel 5.10 (kernels 5.8 and 5.6 are working fine). I can also get he drivers to compile using the above patches for 5.10. It would be nice if the bcmwl-kernel-source package were updated to include them.

Revision history for this message
Rod Smith (rodsmith) wrote :

I can confirm that the PPA described in post #2, above, works on a MacBook Air 6,2. Please get this fixed prior to Hirsute's final release!

Revision history for this message
Jeff (jdferron) wrote :

Installing bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu8_amd64.deb from Ubuntu fixes the issues with 5.9 and later kernels.

Revision history for this message
Marvin Schin (supernoob3000) wrote :

Thanks for coming back on the issue, Jeff.

I tried to install the bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu8_amd64.deb but it still does not work (at least for me):

DKMS make.log for bcmwl-6.30.223.271+bdcom for kernel 5.10.11-051011-generic (x86_64)

make: Entering directory '/usr/src/linux-headers-5.10.11-051011-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  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
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:794:3: note: in expansion of macro ‘WL_DBG’
  794 | WL_DBG(("network eap\n"));
      | ^~~~~~
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:795:2: note: here
  795 | default:
      | ^~~~~~~
/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:784:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  784 | if ((val & 0x0000ff00) != 0)
      | ^~
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:786:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  786 | bar1_size = pci_resource_len(pdev, 2);
      | ^~~~~~~~~
  LD [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/wl.o
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  MODPOST /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/Module.symvers
make[2]: *** No rule to make target 'scripts/module.lds', needed by '/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/wl.ko'. Stop.
make[2]: *** Waiting for unfinished jobs....
  CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/wl.mod.o
make[1]: *** [scripts/Makefile.modpost:117: __modpost] Error 2
make: *** [Makefile:1709: modules] Error 2
make: Leaving directory '/usr/src/linux-headers-5.10.11-051011-generic'

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.