Seems Canonical have solved this inconsistency, but forgot release update! 
Kernel changes, discussed here, gets came up in version 5.6 of the kernel and 
are represented in the last versions of bcmwl-kernel-source 
(6.30.223.271+bdcom-0ubuntu7). The only difference between 
6.30.223.271+bdcom-0ubuntu5 and 6.30.223.271+bdcom-0ubuntu7 is the patch 
dealing with corresponding changes 
(/usr/src/bcmwl-6.30.223.271+bdcom/patches/0028-add-support-for-linux-5.6.patch),
 the one I mentioned before that have to be added (seems already done). The 
actual bug here is newer kernel letting in mainstream (5.8 > 5.6), without 
corresponding driver package version. Final solution will be simple enough - 
just adding latest bcmwl-kernel-source to Focal repository. I just installed it 
and:
---------------------------------------------------
#dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7_amd64.deb
(Четене на базата данни ... 547141 файла или папки в момента са инсталирани.)
Подготовка за разпакетиране на 
bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7_amd64.deb ...
Removing all DKMS Modules
Done.
Разпакетиране на bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu7) над 
(6.30.223.271+bdcom-0ubuntu5) ...
Инсталиране на bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu7) ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
Building for 5.4.0-60-generic 5.8.0-36-generic
Building for architecture x86_64
Building initial module for 5.4.0-60-generic
Done.

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

depmod...

DKMS: install completed.
Building initial module for 5.8.0-36-generic
Done.

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

depmod.................

DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Обработка на тригерите за initramfs-tools (0.136ubuntu6.3) ...
update-initramfs: Generating /boot/initrd.img-5.8.0-36-generic
---------------------------------------------------
...everything works perfectly fine. 😉
Canonical should be careful to releases all drivers packages no later then 
kernel (at least in future)! 👆
PROBLEM SOLVED.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bcmwl in Ubuntu.
https://bugs.launchpad.net/bugs/1910555

Title:
  Driver build error on kernel 5.8, but works on 5.4

Status in bcmwl package in Ubuntu:
  Confirmed

Bug description:
  Recently kernel was updated on Focal from 5.4 to 5.8. From that moment on 
WiFi doesn't work anymore. After a try rebuild (reconfigure) the result is:
  ---------------------------------------------------
  # dpkg-reconfigure bcmwl-kernel-source
  Removing all DKMS Modules
  Done.
  Loading new bcmwl-6.30.223.271+bdcom DKMS files...
  Building for 5.4.0-59-generic 5.8.0-34-generic
  Building for architecture x86_64
  Building initial module for 5.4.0-59-generic
  Done.

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

  depmod................

  DKMS: install completed.
  Building initial module for 5.8.0-34-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-34-generic (x86_64)
  Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more 
information.
  ---------------------------------------------------
  As could be seen, the build for 5.4 completes successfully (and works on same 
kernel), but for 5.8 fails. Seems something is going wrong with missing 
function declaration - function "ioremap_nocache", as could be seen in attached 
make.log.
  I'm guessing, driver code may need be updated according to the new kernel 
headers.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5
  ProcVersionSignature: Ubuntu 5.4.0-59.65-generic 5.4.78
  Uname: Linux 5.4.0-59-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: KDE
  Date: Thu Jan  7 17:13:05 2021
  InstallationDate: Installed on 2020-06-22 (198 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: bcmwl
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1910555/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to