[Kernel-packages] [Bug 1906745] Re: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module failed to build

2021-01-21 Thread Mathew Hodson
*** 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/1906745

Title:
  bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module
  failed to build

Status in bcmwl package in Ubuntu:
  Confirmed

Bug description:
  apt-get upgrade  caused crash of  wireless bcmwl

  afterwards my wifi fails to work


  before updates had

  x86_64
  5.4.0-57-generic
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=20.04
  DISTRIB_CODENAME=focal
  DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"

  
  apt-get upgrade

  The following NEW packages will be installed:
linux-headers-5.8.0-32-generic linux-hwe-5.8-headers-5.8.0-32 
linux-image-5.8.0-32-generic linux-modules-5.8.0-32-generic
linux-modules-extra-5.8.0-32-generic
  The following packages will be upgraded:
linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04 
linux-image-generic-hwe-20.04 wireless-regdb


  Setting up linux-modules-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-hwe-5.8-headers-5.8.0-32 (5.8.0-32.34~20.04.1) ...
  Setting up linux-headers-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/header_postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel preparation unnecessary for this kernel.  Skipping...
  applying patch 0002-Makefile.patch...patching file Makefile
  Hunk #1 succeeded at 113 with fuzz 1.
  Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).

  applying patch 0003-Make-up-for-missing-init_MUTEX.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).

  applying patch 
0010-change-the-network-interface-name-from-eth-to-wlan.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 221 (offset -14 lines).

  applying patch 0013-gcc.patch...patching file Makefile

  applying patch 
0019-broadcom-sta-6.30.223.248-3.18-null-pointer-fix.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2169 (offset 12 lines).

  applying patch 0020-add-support-for-linux-4.3.patch...patching file
  src/shared/linux_osl.c

  applying patch 0021-add-support-for-Linux-4.7.patch...patching file
  src/wl/sys/wl_cfg80211_hybrid.c

  applying patch 0022-add-support-for-Linux-4.8.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 2391 (offset 3 lines).
  Hunk #2 succeeded at 2501 (offset 3 lines).
  Hunk #3 succeeded at 2933 (offset 9 lines).

  applying patch 0023-add-support-for-Linux-4.11.patch...patching file 
src/include/linuxver.h
  patching file src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2919 (offset 4 lines).

  applying patch 0024-add-support-for-Linux-4.12.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 55 (offset 5 lines).
  Hunk #2 succeeded at 472 (offset 5 lines).
  Hunk #3 succeeded at 2371 (offset 5 lines).
  Hunk #4 succeeded at 2388 (offset 5 lines).

  applying patch 0025-add-support-for-Linux-4.14.patch...patching file 
src/shared/linux_osl.c
  Hunk #1 succeeded at 1080 (offset 4 lines).

  applying patch 0026-add-support-for-Linux-4.15.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #2 succeeded at 2306 (offset 4 lines).
  Hunk #3 succeeded at 2368 (offset 4 lines).

  applying patch 0027-add-support-for-linux-5.1.patch...patching file 
src/include/linuxver.h
  Hunk #1 succeeded at 595 (offset 4 lines).

  
  Building module:
  cleaning build area...
  make -j8 KERNELRELEASE=5.8.0-32-generic -C 
/lib/modules/5.8.0-32-generic/build 
M=/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build...(bad exit status: 2)
  Error! Bad return status for module build on kernel: 5.8.0-32-generic (x86_64)
  Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more 
information.
 ...done.
  Setting up linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-57-generic
  I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-57-generic
  I: /boot/vmlinuz is now a symlink to vmlinuz-5.8.0-32-generic
  I: /boot/initrd.img is now a symlink to initrd.img-5.8.0-32-generic
  Setting up linux-headers-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-modules-extra-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-image-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Processing triggers for man-db (2.9.1-1) ...
  Processing triggers for linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel preparation unnecessary for this kernel.  Skipping...
  applying patch 

[Kernel-packages] [Bug 1906745] Re: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module failed to build

2021-01-12 Thread usergn2
Confirmed, Scott Stensland's solution works for me.

Ubuntu 20.04 LTS 
image 5.8.0.36

$ lspci | grep -i network 
Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)

-- 
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/1906745

Title:
  bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module
  failed to build

Status in bcmwl package in Ubuntu:
  Confirmed

Bug description:
  apt-get upgrade  caused crash of  wireless bcmwl

  afterwards my wifi fails to work


  before updates had

  x86_64
  5.4.0-57-generic
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=20.04
  DISTRIB_CODENAME=focal
  DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"

  
  apt-get upgrade

  The following NEW packages will be installed:
linux-headers-5.8.0-32-generic linux-hwe-5.8-headers-5.8.0-32 
linux-image-5.8.0-32-generic linux-modules-5.8.0-32-generic
linux-modules-extra-5.8.0-32-generic
  The following packages will be upgraded:
linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04 
linux-image-generic-hwe-20.04 wireless-regdb


  Setting up linux-modules-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-hwe-5.8-headers-5.8.0-32 (5.8.0-32.34~20.04.1) ...
  Setting up linux-headers-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/header_postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel preparation unnecessary for this kernel.  Skipping...
  applying patch 0002-Makefile.patch...patching file Makefile
  Hunk #1 succeeded at 113 with fuzz 1.
  Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).

  applying patch 0003-Make-up-for-missing-init_MUTEX.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).

  applying patch 
0010-change-the-network-interface-name-from-eth-to-wlan.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 221 (offset -14 lines).

  applying patch 0013-gcc.patch...patching file Makefile

  applying patch 
0019-broadcom-sta-6.30.223.248-3.18-null-pointer-fix.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2169 (offset 12 lines).

  applying patch 0020-add-support-for-linux-4.3.patch...patching file
  src/shared/linux_osl.c

  applying patch 0021-add-support-for-Linux-4.7.patch...patching file
  src/wl/sys/wl_cfg80211_hybrid.c

  applying patch 0022-add-support-for-Linux-4.8.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 2391 (offset 3 lines).
  Hunk #2 succeeded at 2501 (offset 3 lines).
  Hunk #3 succeeded at 2933 (offset 9 lines).

  applying patch 0023-add-support-for-Linux-4.11.patch...patching file 
src/include/linuxver.h
  patching file src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2919 (offset 4 lines).

  applying patch 0024-add-support-for-Linux-4.12.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 55 (offset 5 lines).
  Hunk #2 succeeded at 472 (offset 5 lines).
  Hunk #3 succeeded at 2371 (offset 5 lines).
  Hunk #4 succeeded at 2388 (offset 5 lines).

  applying patch 0025-add-support-for-Linux-4.14.patch...patching file 
src/shared/linux_osl.c
  Hunk #1 succeeded at 1080 (offset 4 lines).

  applying patch 0026-add-support-for-Linux-4.15.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #2 succeeded at 2306 (offset 4 lines).
  Hunk #3 succeeded at 2368 (offset 4 lines).

  applying patch 0027-add-support-for-linux-5.1.patch...patching file 
src/include/linuxver.h
  Hunk #1 succeeded at 595 (offset 4 lines).

  
  Building module:
  cleaning build area...
  make -j8 KERNELRELEASE=5.8.0-32-generic -C 
/lib/modules/5.8.0-32-generic/build 
M=/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build...(bad exit status: 2)
  Error! Bad return status for module build on kernel: 5.8.0-32-generic (x86_64)
  Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more 
information.
 ...done.
  Setting up linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-57-generic
  I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-57-generic
  I: /boot/vmlinuz is now a symlink to vmlinuz-5.8.0-32-generic
  I: /boot/initrd.img is now a symlink to initrd.img-5.8.0-32-generic
  Setting up linux-headers-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-modules-extra-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-image-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Processing triggers for man-db (2.9.1-1) ...
  Processing triggers for linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel preparation unnecessary for this kernel.  Skipping...
  applying patch 0002-Makefile.patch...patching file Makefile
 

[Kernel-packages] [Bug 1906745] Re: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module failed to build

2021-01-09 Thread saba46
Scott's solution works also with me! Thanks a lot!

-- 
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/1906745

Title:
  bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module
  failed to build

Status in bcmwl package in Ubuntu:
  Confirmed

Bug description:
  apt-get upgrade  caused crash of  wireless bcmwl

  afterwards my wifi fails to work


  before updates had

  x86_64
  5.4.0-57-generic
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=20.04
  DISTRIB_CODENAME=focal
  DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"

  
  apt-get upgrade

  The following NEW packages will be installed:
linux-headers-5.8.0-32-generic linux-hwe-5.8-headers-5.8.0-32 
linux-image-5.8.0-32-generic linux-modules-5.8.0-32-generic
linux-modules-extra-5.8.0-32-generic
  The following packages will be upgraded:
linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04 
linux-image-generic-hwe-20.04 wireless-regdb


  Setting up linux-modules-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-hwe-5.8-headers-5.8.0-32 (5.8.0-32.34~20.04.1) ...
  Setting up linux-headers-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/header_postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel preparation unnecessary for this kernel.  Skipping...
  applying patch 0002-Makefile.patch...patching file Makefile
  Hunk #1 succeeded at 113 with fuzz 1.
  Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).

  applying patch 0003-Make-up-for-missing-init_MUTEX.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).

  applying patch 
0010-change-the-network-interface-name-from-eth-to-wlan.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 221 (offset -14 lines).

  applying patch 0013-gcc.patch...patching file Makefile

  applying patch 
0019-broadcom-sta-6.30.223.248-3.18-null-pointer-fix.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2169 (offset 12 lines).

  applying patch 0020-add-support-for-linux-4.3.patch...patching file
  src/shared/linux_osl.c

  applying patch 0021-add-support-for-Linux-4.7.patch...patching file
  src/wl/sys/wl_cfg80211_hybrid.c

  applying patch 0022-add-support-for-Linux-4.8.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 2391 (offset 3 lines).
  Hunk #2 succeeded at 2501 (offset 3 lines).
  Hunk #3 succeeded at 2933 (offset 9 lines).

  applying patch 0023-add-support-for-Linux-4.11.patch...patching file 
src/include/linuxver.h
  patching file src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2919 (offset 4 lines).

  applying patch 0024-add-support-for-Linux-4.12.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 55 (offset 5 lines).
  Hunk #2 succeeded at 472 (offset 5 lines).
  Hunk #3 succeeded at 2371 (offset 5 lines).
  Hunk #4 succeeded at 2388 (offset 5 lines).

  applying patch 0025-add-support-for-Linux-4.14.patch...patching file 
src/shared/linux_osl.c
  Hunk #1 succeeded at 1080 (offset 4 lines).

  applying patch 0026-add-support-for-Linux-4.15.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #2 succeeded at 2306 (offset 4 lines).
  Hunk #3 succeeded at 2368 (offset 4 lines).

  applying patch 0027-add-support-for-linux-5.1.patch...patching file 
src/include/linuxver.h
  Hunk #1 succeeded at 595 (offset 4 lines).

  
  Building module:
  cleaning build area...
  make -j8 KERNELRELEASE=5.8.0-32-generic -C 
/lib/modules/5.8.0-32-generic/build 
M=/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build...(bad exit status: 2)
  Error! Bad return status for module build on kernel: 5.8.0-32-generic (x86_64)
  Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more 
information.
 ...done.
  Setting up linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-57-generic
  I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-57-generic
  I: /boot/vmlinuz is now a symlink to vmlinuz-5.8.0-32-generic
  I: /boot/initrd.img is now a symlink to initrd.img-5.8.0-32-generic
  Setting up linux-headers-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-modules-extra-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-image-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Processing triggers for man-db (2.9.1-1) ...
  Processing triggers for linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel preparation unnecessary for this kernel.  Skipping...
  applying patch 0002-Makefile.patch...patching file Makefile
  Hunk #1 succeeded at 113 with fuzz 1.
  Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).

  applying patch 

[Kernel-packages] [Bug 1906745] Re: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module failed to build

2020-12-05 Thread Leo
Confirm that.
Solution from Scott works.
Thank you!

-- 
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/1906745

Title:
  bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module
  failed to build

Status in bcmwl package in Ubuntu:
  Confirmed

Bug description:
  apt-get upgrade  caused crash of  wireless bcmwl

  afterwards my wifi fails to work


  before updates had

  x86_64
  5.4.0-57-generic
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=20.04
  DISTRIB_CODENAME=focal
  DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"

  
  apt-get upgrade

  The following NEW packages will be installed:
linux-headers-5.8.0-32-generic linux-hwe-5.8-headers-5.8.0-32 
linux-image-5.8.0-32-generic linux-modules-5.8.0-32-generic
linux-modules-extra-5.8.0-32-generic
  The following packages will be upgraded:
linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04 
linux-image-generic-hwe-20.04 wireless-regdb


  Setting up linux-modules-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-hwe-5.8-headers-5.8.0-32 (5.8.0-32.34~20.04.1) ...
  Setting up linux-headers-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/header_postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel preparation unnecessary for this kernel.  Skipping...
  applying patch 0002-Makefile.patch...patching file Makefile
  Hunk #1 succeeded at 113 with fuzz 1.
  Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).

  applying patch 0003-Make-up-for-missing-init_MUTEX.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).

  applying patch 
0010-change-the-network-interface-name-from-eth-to-wlan.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 221 (offset -14 lines).

  applying patch 0013-gcc.patch...patching file Makefile

  applying patch 
0019-broadcom-sta-6.30.223.248-3.18-null-pointer-fix.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2169 (offset 12 lines).

  applying patch 0020-add-support-for-linux-4.3.patch...patching file
  src/shared/linux_osl.c

  applying patch 0021-add-support-for-Linux-4.7.patch...patching file
  src/wl/sys/wl_cfg80211_hybrid.c

  applying patch 0022-add-support-for-Linux-4.8.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 2391 (offset 3 lines).
  Hunk #2 succeeded at 2501 (offset 3 lines).
  Hunk #3 succeeded at 2933 (offset 9 lines).

  applying patch 0023-add-support-for-Linux-4.11.patch...patching file 
src/include/linuxver.h
  patching file src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2919 (offset 4 lines).

  applying patch 0024-add-support-for-Linux-4.12.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 55 (offset 5 lines).
  Hunk #2 succeeded at 472 (offset 5 lines).
  Hunk #3 succeeded at 2371 (offset 5 lines).
  Hunk #4 succeeded at 2388 (offset 5 lines).

  applying patch 0025-add-support-for-Linux-4.14.patch...patching file 
src/shared/linux_osl.c
  Hunk #1 succeeded at 1080 (offset 4 lines).

  applying patch 0026-add-support-for-Linux-4.15.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #2 succeeded at 2306 (offset 4 lines).
  Hunk #3 succeeded at 2368 (offset 4 lines).

  applying patch 0027-add-support-for-linux-5.1.patch...patching file 
src/include/linuxver.h
  Hunk #1 succeeded at 595 (offset 4 lines).

  
  Building module:
  cleaning build area...
  make -j8 KERNELRELEASE=5.8.0-32-generic -C 
/lib/modules/5.8.0-32-generic/build 
M=/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build...(bad exit status: 2)
  Error! Bad return status for module build on kernel: 5.8.0-32-generic (x86_64)
  Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more 
information.
 ...done.
  Setting up linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-57-generic
  I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-57-generic
  I: /boot/vmlinuz is now a symlink to vmlinuz-5.8.0-32-generic
  I: /boot/initrd.img is now a symlink to initrd.img-5.8.0-32-generic
  Setting up linux-headers-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-modules-extra-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-image-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Processing triggers for man-db (2.9.1-1) ...
  Processing triggers for linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel preparation unnecessary for this kernel.  Skipping...
  applying patch 0002-Makefile.patch...patching file Makefile
  Hunk #1 succeeded at 113 with fuzz 1.
  Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).

  applying patch 

[Kernel-packages] [Bug 1906745] Re: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module failed to build

2020-12-05 Thread Launchpad Bug Tracker
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/1906745

Title:
  bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module
  failed to build

Status in bcmwl package in Ubuntu:
  Confirmed

Bug description:
  apt-get upgrade  caused crash of  wireless bcmwl

  afterwards my wifi fails to work


  before updates had

  x86_64
  5.4.0-57-generic
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=20.04
  DISTRIB_CODENAME=focal
  DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"

  
  apt-get upgrade

  The following NEW packages will be installed:
linux-headers-5.8.0-32-generic linux-hwe-5.8-headers-5.8.0-32 
linux-image-5.8.0-32-generic linux-modules-5.8.0-32-generic
linux-modules-extra-5.8.0-32-generic
  The following packages will be upgraded:
linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04 
linux-image-generic-hwe-20.04 wireless-regdb


  Setting up linux-modules-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-hwe-5.8-headers-5.8.0-32 (5.8.0-32.34~20.04.1) ...
  Setting up linux-headers-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/header_postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel preparation unnecessary for this kernel.  Skipping...
  applying patch 0002-Makefile.patch...patching file Makefile
  Hunk #1 succeeded at 113 with fuzz 1.
  Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).

  applying patch 0003-Make-up-for-missing-init_MUTEX.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).

  applying patch 
0010-change-the-network-interface-name-from-eth-to-wlan.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 221 (offset -14 lines).

  applying patch 0013-gcc.patch...patching file Makefile

  applying patch 
0019-broadcom-sta-6.30.223.248-3.18-null-pointer-fix.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2169 (offset 12 lines).

  applying patch 0020-add-support-for-linux-4.3.patch...patching file
  src/shared/linux_osl.c

  applying patch 0021-add-support-for-Linux-4.7.patch...patching file
  src/wl/sys/wl_cfg80211_hybrid.c

  applying patch 0022-add-support-for-Linux-4.8.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 2391 (offset 3 lines).
  Hunk #2 succeeded at 2501 (offset 3 lines).
  Hunk #3 succeeded at 2933 (offset 9 lines).

  applying patch 0023-add-support-for-Linux-4.11.patch...patching file 
src/include/linuxver.h
  patching file src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2919 (offset 4 lines).

  applying patch 0024-add-support-for-Linux-4.12.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 55 (offset 5 lines).
  Hunk #2 succeeded at 472 (offset 5 lines).
  Hunk #3 succeeded at 2371 (offset 5 lines).
  Hunk #4 succeeded at 2388 (offset 5 lines).

  applying patch 0025-add-support-for-Linux-4.14.patch...patching file 
src/shared/linux_osl.c
  Hunk #1 succeeded at 1080 (offset 4 lines).

  applying patch 0026-add-support-for-Linux-4.15.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #2 succeeded at 2306 (offset 4 lines).
  Hunk #3 succeeded at 2368 (offset 4 lines).

  applying patch 0027-add-support-for-linux-5.1.patch...patching file 
src/include/linuxver.h
  Hunk #1 succeeded at 595 (offset 4 lines).

  
  Building module:
  cleaning build area...
  make -j8 KERNELRELEASE=5.8.0-32-generic -C 
/lib/modules/5.8.0-32-generic/build 
M=/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build...(bad exit status: 2)
  Error! Bad return status for module build on kernel: 5.8.0-32-generic (x86_64)
  Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more 
information.
 ...done.
  Setting up linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-57-generic
  I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-57-generic
  I: /boot/vmlinuz is now a symlink to vmlinuz-5.8.0-32-generic
  I: /boot/initrd.img is now a symlink to initrd.img-5.8.0-32-generic
  Setting up linux-headers-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-modules-extra-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-image-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Processing triggers for man-db (2.9.1-1) ...
  Processing triggers for linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel preparation unnecessary for this kernel.  Skipping...
  applying patch 0002-Makefile.patch...patching file Makefile
  Hunk #1 succeeded at 113 with fuzz 1.
  Hunk #2 succeeded at 

[Kernel-packages] [Bug 1906745] Re: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module failed to build

2020-12-03 Thread Scott Stensland
lspci | grep -i network
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4322 
802.11a/b/g/n Wireless LAN Controller (rev 01)


SOLUTION

sudo apt-get purge bcmwl-kernel-source


sudo apt-get install   broadcom-sta-source  broadcom-sta-dkms   
broadcom-sta-common

reboot

now wifi is OK

-- 
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/1906745

Title:
  bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module
  failed to build

Status in bcmwl package in Ubuntu:
  New

Bug description:
  apt-get upgrade  caused crash of  wireless bcmwl

  afterwards my wifi fails to work


  before updates had

  x86_64
  5.4.0-57-generic
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=20.04
  DISTRIB_CODENAME=focal
  DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"

  
  apt-get upgrade

  The following NEW packages will be installed:
linux-headers-5.8.0-32-generic linux-hwe-5.8-headers-5.8.0-32 
linux-image-5.8.0-32-generic linux-modules-5.8.0-32-generic
linux-modules-extra-5.8.0-32-generic
  The following packages will be upgraded:
linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04 
linux-image-generic-hwe-20.04 wireless-regdb


  Setting up linux-modules-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-hwe-5.8-headers-5.8.0-32 (5.8.0-32.34~20.04.1) ...
  Setting up linux-headers-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/header_postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel preparation unnecessary for this kernel.  Skipping...
  applying patch 0002-Makefile.patch...patching file Makefile
  Hunk #1 succeeded at 113 with fuzz 1.
  Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).

  applying patch 0003-Make-up-for-missing-init_MUTEX.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).

  applying patch 
0010-change-the-network-interface-name-from-eth-to-wlan.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 221 (offset -14 lines).

  applying patch 0013-gcc.patch...patching file Makefile

  applying patch 
0019-broadcom-sta-6.30.223.248-3.18-null-pointer-fix.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2169 (offset 12 lines).

  applying patch 0020-add-support-for-linux-4.3.patch...patching file
  src/shared/linux_osl.c

  applying patch 0021-add-support-for-Linux-4.7.patch...patching file
  src/wl/sys/wl_cfg80211_hybrid.c

  applying patch 0022-add-support-for-Linux-4.8.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 2391 (offset 3 lines).
  Hunk #2 succeeded at 2501 (offset 3 lines).
  Hunk #3 succeeded at 2933 (offset 9 lines).

  applying patch 0023-add-support-for-Linux-4.11.patch...patching file 
src/include/linuxver.h
  patching file src/wl/sys/wl_linux.c
  Hunk #1 succeeded at 2919 (offset 4 lines).

  applying patch 0024-add-support-for-Linux-4.12.patch...patching file 
src/wl/sys/wl_cfg80211_hybrid.c
  Hunk #1 succeeded at 55 (offset 5 lines).
  Hunk #2 succeeded at 472 (offset 5 lines).
  Hunk #3 succeeded at 2371 (offset 5 lines).
  Hunk #4 succeeded at 2388 (offset 5 lines).

  applying patch 0025-add-support-for-Linux-4.14.patch...patching file 
src/shared/linux_osl.c
  Hunk #1 succeeded at 1080 (offset 4 lines).

  applying patch 0026-add-support-for-Linux-4.15.patch...patching file 
src/wl/sys/wl_linux.c
  Hunk #2 succeeded at 2306 (offset 4 lines).
  Hunk #3 succeeded at 2368 (offset 4 lines).

  applying patch 0027-add-support-for-linux-5.1.patch...patching file 
src/include/linuxver.h
  Hunk #1 succeeded at 595 (offset 4 lines).

  
  Building module:
  cleaning build area...
  make -j8 KERNELRELEASE=5.8.0-32-generic -C 
/lib/modules/5.8.0-32-generic/build 
M=/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build...(bad exit status: 2)
  Error! Bad return status for module build on kernel: 5.8.0-32-generic (x86_64)
  Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more 
information.
 ...done.
  Setting up linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-57-generic
  I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-57-generic
  I: /boot/vmlinuz is now a symlink to vmlinuz-5.8.0-32-generic
  I: /boot/initrd.img is now a symlink to initrd.img-5.8.0-32-generic
  Setting up linux-headers-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-modules-extra-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  Setting up linux-image-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Setting up linux-generic-hwe-20.04 (5.8.0.32.34~20.04.19) ...
  Processing triggers for man-db (2.9.1-1) ...
  Processing triggers for linux-image-5.8.0-32-generic (5.8.0-32.34~20.04.1) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.8.0-32-generic

  Kernel