[Bug 1910555] Re: Driver build error on kernel 5.8, but works on 5.4
ZdravkoG
1910555 at bugs.launchpad.net
Fri Jan 29 17:02:50 UTC 2021
*** This bug is a duplicate of bug 1872908 ***
https://bugs.launchpad.net/bugs/1872908
Hi @supernoob3000,
The discussion here is related to kernel version up to 5.8! In kernel 5.9 are additional changes affecting the driver, which needs to be added additional patch for. That's why presented solution here works up to kernel 5.8 (i.e. in 5.6 to 5.8 interval). For kernel 5.9 and up, you have to add one more patch yourself or wait for such to be added.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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
More information about the Ubuntu-sponsors
mailing list