[Kernel-packages] [Bug 1910875] Re: Broadcom wireless driver failed to install with code 10 on focal 20.04
*** This bug is a duplicate of bug 1872908 *** https://bugs.launchpad.net/bugs/1872908 ** This bug has been marked a duplicate of bug 1872908 bcmwl kernel module does not build with 5.6.0 kernel or later -- 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/1910875 Title: Broadcom wireless driver failed to install with code 10 on focal 20.04 Status in bcmwl package in Ubuntu: Confirmed 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
[Kernel-packages] [Bug 1910875] Re: Broadcom wireless driver failed to install with code 10 on focal 20.04
@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. -- 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/1910875 Title: Broadcom wireless driver failed to install with code 10 on focal 20.04 Status in bcmwl package in Ubuntu: Confirmed 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 |
[Kernel-packages] [Bug 1910875] Re: Broadcom wireless driver failed to install with code 10 on focal 20.04
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.) -- 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/1910875 Title: Broadcom wireless driver failed to install with code 10 on focal 20.04 Status in bcmwl package in Ubuntu: Confirmed 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
[Kernel-packages] [Bug 1910875] Re: Broadcom wireless driver failed to install with code 10 on focal 20.04
This bug looks more like a duplicate of Bug #1910555 Take a look there for workaround. -- 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/1910875 Title: Broadcom wireless driver failed to install with code 10 on focal 20.04 Status in bcmwl package in Ubuntu: Confirmed 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 =
[Kernel-packages] [Bug 1910875] Re: Broadcom wireless driver failed to install with code 10 on focal 20.04
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. -- 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/1910875 Title: Broadcom wireless driver failed to install with code 10 on focal 20.04 Status in bcmwl package in Ubuntu: Confirmed 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
[Kernel-packages] [Bug 1910875] Re: Broadcom wireless driver failed to install with code 10 on focal 20.04
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: bcmwl (Ubuntu) Status: New => Confirmed -- 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/1910875 Title: Broadcom wireless driver failed to install with code 10 on focal 20.04 Status in bcmwl package in Ubuntu: Confirmed 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’?