[Kernel-packages] [Bug 1743995] Re: Upgrade 17.04 to 17.10 not possible

2018-01-19 Thread ZdravkoG
The last reported errors are because 'zesty' support is out of date. This 
should not be a problem by self (I think).
I can't still understand where initial problem (E:The repository 
'http://archive.ubuntu.com/ubuntu stable Release' does not have a Release 
file.) comes from! There is no such entry in my 'sources.list'. Probably this 
is some bug in distribution upgrade script, which seems add this. Such entry 
does not exist in repository and everything breaks, when script try to check it.

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

Title:
  Upgrade 17.04 to 17.10 not possible

Status in linux package in Ubuntu:
  Confirmed
Status in update-manager package in Ubuntu:
  Confirmed

Bug description:
  Expected: Upgrade 17.04 to 17.10

  Result: 
  E:The repository 'http://archive.ubuntu.com/ubuntu stable Release' does not 
have a Release file.

  Also, Upgrade server has a circular reference
  see http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu/...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743995/+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


[Kernel-packages] [Bug 1743995] Re: Upgrade 17.04 to 17.10 not possible

2018-01-20 Thread ZdravkoG
When all hardware available on (or accessible from) the system is
directly supported (either as free software or from supplier support),
the clean install is good solution. Unfortunately, my case is not like
this. In my configuration exist build-in components with partial support
and also some of my peripheral devices are without or buggy support. In
many cases additional components and/or additional configurations are
needed after install (done by hand). I don't want to repeat everything
again (which is error prone). My current settings (and installed
components) work well and I will try to keep this untouched, so clean
install will be the 'extreme' thing (the last one) I will do. I rely
that upgrade script fix ('/usr/bin/do-release-upgrade' - python script
and/or related data) will be much simpler thing to do with some help
here (probably one or few lines to be fixed).

Release file http://us.archive.ubuntu.com/ubuntu/dists/artful/Release is the 
one needed for the new release (one from all). The error message show that 
during upgrade (during prepare in fact) script rely to discover Release file in 
place like 'http://archive.ubuntu.com/ubuntu/dists/stable/'. Such place does 
not exist either on expected domain or on 'us.archive.ubuntu.com'. I am not 
sure, but it seems like 'http://archive.ubuntu.com/ubuntu stable Release' is 
wrongly formatted.
If someone have more experience - Please Help here!

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

Title:
  Upgrade 17.04 to 17.10 not possible

Status in linux package in Ubuntu:
  Confirmed
Status in update-manager package in Ubuntu:
  Confirmed

Bug description:
  Expected: Upgrade 17.04 to 17.10

  Result: 
  E:The repository 'http://archive.ubuntu.com/ubuntu stable Release' does not 
have a Release file.

  Also, Upgrade server has a circular reference
  see http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu/...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743995/+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


[Kernel-packages] [Bug 1743995] Re: Upgrade 17.04 to 17.10 not possible

2018-01-20 Thread ZdravkoG
** Also affects: ubuntu-release-upgrader (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  Upgrade 17.04 to 17.10 not possible

Status in linux package in Ubuntu:
  Confirmed
Status in ubuntu-release-upgrader package in Ubuntu:
  New
Status in update-manager package in Ubuntu:
  Confirmed

Bug description:
  Expected: Upgrade 17.04 to 17.10

  Result: 
  E:The repository 'http://archive.ubuntu.com/ubuntu stable Release' does not 
have a Release file.

  Also, Upgrade server has a circular reference
  see http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu/...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743995/+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


[Kernel-packages] [Bug 1743995] Re: Upgrade 17.04 to 17.10 not possible

2018-01-20 Thread ZdravkoG
** Tags added: upgrade zesty

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

Title:
  Upgrade 17.04 to 17.10 not possible

Status in linux package in Ubuntu:
  Confirmed
Status in ubuntu-release-upgrader package in Ubuntu:
  New
Status in update-manager package in Ubuntu:
  Confirmed

Bug description:
  Expected: Upgrade 17.04 to 17.10

  Result: 
  E:The repository 'http://archive.ubuntu.com/ubuntu stable Release' does not 
have a Release file.

  Also, Upgrade server has a circular reference
  see http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu/...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743995/+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


[Kernel-packages] [Bug 1910555] [NEW] Driver build error on kernel 5.8, but works on 5.4

2021-01-07 Thread ZdravkoG
Public bug reported:

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)

** Affects: bcmwl (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug focal

** Attachment added: "Log for driver build on kernel 5.8"
   https://bugs.launchpad.net/bugs/1910555/+attachment/5450291/+files/make.log

-- 
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:
  New

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


[Kernel-packages] [Bug 1910555] Re: Driver build error on kernel 5.8, but works on 5.4

2021-01-08 Thread ZdravkoG
@milkey, Did you see all patches for adaptation to appropriate previous kernel 
changes? Broadcom haven't updated provided code for more than 10 years. If you 
think that "looks like a simple case of warnings now being treated as errors", 
just add one more patch to already existing set. 😉
Good luck... to all of us!

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


[Kernel-packages] [Bug 1910555] Re: Driver build error on kernel 5.8, but works on 5.4

2021-01-09 Thread ZdravkoG
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

[Kernel-packages] [Bug 1910875] Re: Broadcom wireless driver failed to install with code 10 on focal 20.04

2021-01-10 Thread ZdravkoG
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 = ioremap_no

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

2021-01-11 Thread ZdravkoG
Hi @faccig,
Your bug seems duplicate of Bug #1910555. Take a look there for workaround till 
Canonical fix gets released. 😉
Hope this helps.

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

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:
  after update the packages and reboot my computer, the wifi do not work
  any more.

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5
  ProcVersionSignature: Ubuntu 5.8.0-36.40~20.04.1-generic 5.8.18
  Uname: Linux 5.8.0-36-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  CasperMD5CheckResult: skip
  DKMSKernelVersion: 5.8.0-34-generic
  Date: Thu Jan  7 06:11:05 2021
  DuplicateSignature: 
dkms:bcmwl-kernel-source:6.30.223.271+bdcom-0ubuntu5:/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]
  InstallationDate: Installed on 2020-09-18 (114 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  PackageVersion: 6.30.223.271+bdcom-0ubuntu5
  Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 
3.8.2-0ubuntu2
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.2ubuntu0.2
  SourcePackage: bcmwl
  Title: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5: bcmwl kernel module 
failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1910995/+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


[Kernel-packages] [Bug 1910697] Re: incapability with broadcom wifi driver - failed at dkms build

2021-01-12 Thread ZdravkoG
Hi @mrinjamul,
Your bug seems duplicate of Bug #1910555. Take a look there for workaround till 
Canonical fix gets released. 😉 Your findings don't represent a bug in the Linux 
kernel, definitely! The problem is missing patch in current bcmwl-kernel-source 
release dealing with API change in kernel 5.6 and later (including yours 5.8).
Hope this helps.

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

Title:
  incapability with broadcom wifi driver - failed at dkms build

Status in bcmwl package in Ubuntu:
  New
Status in linux-signed-hwe-5.8 package in Ubuntu:
  New

Bug description:
  Linux-5.8-#34
  incapability with broadcom wifi driver - failed at dkms build

  Logs:

  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build# cat make.log 
  DKMS make.log for bcmwl-6.30.223.271+bdcom for kernel 5.8.0-34-generic 
(x86_64)
  Friday 08 January 2021 02:46:07 PM IST
  make: Entering directory '/usr/src/linux-headers-5.8.0-34-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));
| ~^~~~
  cc1: some warnings being treated as errors
  make[1]: *** [scripts/Makefile.build:288: 
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.o] Error 1
  make[1]: *** Waiting for unfinished jobs
  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 = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) 
== NULL) {
|^~~
|ioremap_cache
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:593:18: 
warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a 
cast [-Wint-conversion]
593 |  if ((wl->regsva = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) 
== NULL) {
|  ^
  /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:780:2: 
warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
780 |  if ((val & 0xff00) != 0)
|  ^~
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:782:3: 
note: ...this statement, but the latter is misleadingly indented as if it were 
guarded by the ‘if’
782 |   bar1_size = pci_resource_len(pdev, 2);
|   ^
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:783:15: 
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
783 |   bar1_addr = (uchar *)ioremap_nocache(pci_resource_start(pdev, 2),
|   ^
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In 
function ‘wl_reg_proc_ent

[Kernel-packages] [Bug 1910572] Re: Ugprading to 5.8.0-34-generic kernel broke wifi (BCM4352 802.11ac Wireless Network Adapter [14e4:43b1] (rev 03))

2021-01-12 Thread ZdravkoG
Hi @kosson,
Your bug seems duplicate of Bug #1910555. Take a look there for workaround till 
Canonical fix gets released. 😉 Just a obsolete function ioremap_nocache (and 
one more thing) together with delayed new release of bcmwl-kernel-source (who 
knows why), where new patch has added, dealing with the changes.
Hope this helps.

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

Title:
  Ugprading to 5.8.0-34-generic kernel broke wifi (BCM4352 802.11ac
  Wireless Network Adapter [14e4:43b1] (rev 03))

Status in bcmwl package in Ubuntu:
  New

Bug description:
  DKMS make.log for bcmwl-6.30.223.271+bdcom for kernel 5.8.0-34-generic 
(x86_64)
  joi 7 ianuarie 2021, 19:24:12 +0200
  make: Entering directory '/usr/src/linux-headers-5.8.0-34-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 ‘iore>
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>
949 |  return (ioremap_nocache((unsigned long)pa, (unsigned long)size));
| ~^~~~
  /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 ‘iorem>
593 |  if ((wl->regsva = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) 
== NULL) {
|^~~
|ioremap_cache
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:593:18: 
warning: assignment to ‘void *’ from ‘int’ mak>
593 |  if ((wl->regsva = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) 
== NULL) {
|  ^
  /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:780:2: 
warning: this ‘if’ clause does not guard... [-W>
780 |  if ((val & 0xff00) != 0)
|  ^~
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:782:3: 
note: ...this statement, but the latter is misl>
782 |   bar1_size = pci_resource_len(pdev, 2);
|   ^
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:783:15: 
warning: cast to pointer from integer of diffe>
783 |   bar1_addr = (uchar *)ioremap_nocache(pci_resource_start(pdev, 2),
|   ^
  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 throu>
 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_reg_proc_entry’:
817 |  default:
|  ^~~
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In 
function ‘wl_reg_proc_entry’:
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3376:58: 
error: passing argument 4 of ‘proc_create_dat>
   3376 |  if ((wl->proc_entry = proc_create_data(tmp, 0644, NULL, &wl_fops, 
wl)) == NULL) {
|  ^~~~
|  |
|  const struct 
file_operations *
  In file included from 
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:38:
  ./include/linux/proc_fs.h:102:31: note: expected ‘const struct proc_ops *’ 
but argument is of type ‘const struct file_o

[Kernel-packages] [Bug 1910607] Re: package bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5 failed to install/upgrade: el subproceso instalado paquete bcmwl-kernel-source script post-installation devo

2021-01-12 Thread ZdravkoG
Gub #1910555 😉

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

Title:
  package bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5 failed to
  install/upgrade: el subproceso instalado paquete bcmwl-kernel-source
  script post-installation devolvió el código de salida de error 10

Status in bcmwl package in Ubuntu:
  New

Bug description:
  .

  ProblemType: Package
  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
  AptOrdering:
   linux-image-5.8.0-34-generic:amd64: Purge
   linux-modules-5.8.0-34-generic:amd64: Purge
   NULL: ConfigurePending
   NULL: PurgePending
   NULL: ConfigurePending
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Thu Jan  7 17:25:31 2021
  ErrorMessage: el subproceso instalado paquete bcmwl-kernel-source script 
post-installation devolvió el código de salida de error 10
  InstallationDate: Installed on 2020-11-20 (48 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 
3.8.2-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.2ubuntu0.2
  SourcePackage: bcmwl
  Title: package bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu5 failed to 
install/upgrade: el subproceso instalado paquete bcmwl-kernel-source script 
post-installation devolvió el código de salida de error 10
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1910607/+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


[Kernel-packages] [Bug 1910618] Re: bcmwl 6.30.223.271+bdcom build fails with kernel 5.8.0-34/36 Ubuntu 20.04.1 LTS

2021-01-12 Thread ZdravkoG
Hi @paulwil,
Your bug seems duplicate of Bug #1910555. Take a look there for workaround till 
Canonical fix gets released. 😉 Just a obsolete function ioremap_nocache (and 
one more thing) together with delayed new release of bcmwl-kernel-source (who 
knows why), where new patch has added, dealing with the changes.
Hope this helps.

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

Title:
  bcmwl 6.30.223.271+bdcom build fails with kernel 5.8.0-34/36 Ubuntu
  20.04.1 LTS

Status in bcmwl package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 20.04.1 LTS
  bcmwl-kernel-source_6.30.223.271

  
  I believe the important part of the 
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log is below.

  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In 
function ‘wl_reg_proc_entry’:
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3376:58: 
error: passing argument 4 of ‘proc_create_data’ from incompatible pointe
  r type [-Werror=incompatible-pointer-types]
   3376 |  if ((wl->proc_entry = proc_create_data(tmp, 0644, NULL, &wl_fops, 
wl)) == NULL) {
|  ^~~~
|  |
|  const struct 
file_operations *
  In file included from 
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:38:
  ./include/linux/proc_fs.h:102:31: note: expected ‘const struct proc_ops *’ 
but argument is of type ‘const struct file_operations *’
102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
|   ^~~~

  
  It looks like 
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c uses the 
file_operations structure.

  lines 3359-3381 from wl_linux.c

  #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
  static const struct file_operations wl_fops = {
.owner  = THIS_MODULE,
.read   = wl_proc_read,
.write  = wl_proc_write,
  };
  #endif

  static int
  wl_reg_proc_entry(wl_info_t *wl)
  {
char tmp[32];
sprintf(tmp, "%s%d", HYBRID_PROC, wl->pub->unit);
  #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
if ((wl->proc_entry = create_proc_entry(tmp, 0644, NULL)) == NULL) {
WL_ERROR(("%s: create_proc_entry %s failed\n", __FUNCTION__, 
tmp));
  #else
if ((wl->proc_entry = proc_create_data(tmp, 0644, NULL, &wl_fops, wl)) 
== NULL) {
WL_ERROR(("%s: proc_create_data %s failed\n", __FUNCTION__, 
tmp));
  #endif
ASSERT(0);
return -1;
}

  
  However, it looks like proc_fs.h uses a different structure (proc_ops).

  /usr/src/linux-headers-5.8.0-34-generic/include/linux/proc_fs.h
  /usr/src/linux-hwe-5.8-headers-5.8.0-34/include/linux/proc_fs.h

  kernel 5.8.0-34
  proc_fs.h
  lines 29-43 

  struct proc_ops {
unsigned int proc_flags;
int (*proc_open)(struct inode *, struct file *);
ssize_t (*proc_read)(struct file *, char __user *, size_t, loff_t *);
ssize_t (*proc_write)(struct file *, const char __user *, size_t, 
loff_t *);
loff_t  (*proc_lseek)(struct file *, loff_t, int);
int (*proc_release)(struct inode *, struct file *);
__poll_t (*proc_poll)(struct file *, struct poll_table_struct *);
long(*proc_ioctl)(struct file *, unsigned int, unsigned long);
  #ifdef CONFIG_COMPAT
long(*proc_compat_ioctl)(struct file *, unsigned int, unsigned 
long);
  #endif
int (*proc_mmap)(struct file *, struct vm_area_struct *);
unsigned long (*proc_get_unmapped_area)(struct file *, unsigned long, 
unsigned long, unsigned long, unsigned long);
  } __randomize_layout;

  and lines 102-107

  extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
   struct proc_dir_entry *,
   const struct proc_ops *,
   void *);

  struct proc_dir_entry *proc_create(const char *name, umode_t mode,
  struct proc_dir_entry *parent, const struct proc_ops *proc_ops);

  
  Looking back at the linux 5.4.0-59 headers, proc_fs.h appears to use the 
file_operations structure.

  /usr/src/linux-headers-5.4.0-59-generic/include/linux/proc_fs.h
  /usr/src/linux-headers-5.4.0-59/include/linux/proc_fs.h

  kernel 5.4.0-59
  proc_fs.h
  lines 44-49

  extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
   struct proc_dir_entry *,
   const struct file_operations *,
   void *);

  struct proc_dir_entry *proc_create(const char *name, umode_t 

[Kernel-packages] [Bug 1910890] Re: package bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu1~1.3 failed to install/upgrade: installed bcmwl-kernel-source package post-installation script subprocess ret

2021-01-12 Thread ZdravkoG
Hi @faccig,
Have you been upgrading your 'bcmwl-kernel-source' package recently? Its 
version (6.30.223.271+bdcom-0ubuntu1~1.3) looks pretty old! Anyway... even 
upgraded, the last version in Focal repository is out of date. In this context, 
your bug seems duplicate of Bug #1910555. Take a look there for workaround till 
Canonical fix gets released. 😉
Hope this helps.

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

Title:
  package bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu1~1.3 failed to
  install/upgrade: installed bcmwl-kernel-source package post-
  installation script subprocess returned error exit status 10

Status in bcmwl package in Ubuntu:
  Confirmed

Bug description:
  ther eis no wireless, trying to fix it

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu1~1.3
  ProcVersionSignature: Ubuntu 5.8.0-36.40~20.04.1-generic 5.8.18
  Uname: Linux 5.8.0-36-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27.14
  AptOrdering: NULL: ConfigurePending
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Sat Jan  9 23:10:07 2021
  ErrorMessage: installed bcmwl-kernel-source package post-installation script 
subprocess returned error exit status 10
  InstallationDate: Installed on 2021-01-10 (0 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 
3.8.2-0ubuntu2
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.2ubuntu0.2
  SourcePackage: bcmwl
  Title: package bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu1~1.3 failed to 
install/upgrade: installed bcmwl-kernel-source package post-installation script 
subprocess returned error exit status 10
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1910890/+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


[Kernel-packages] [Bug 1910555] Re: Driver build error on kernel 5.8, but works on 5.4

2021-01-14 Thread ZdravkoG
@skrapshak, Did you put the driver package in your current working directory in 
advance?! 🤔 Seems, not! The error message is expressive enough.
You can download the package here: 
https://launchpad.net/ubuntu/+archive/primary/+files/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7_amd64.deb
 and find a way to put it in your directory or point the place explicitly, not 
just by name (whatever is more convenient for you). 😉
If needed, download on another device and transfer on the target device using 
alternative link (Bluetooth or flash stick for example).

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


[Kernel-packages] [Bug 1910555] Re: Driver build error on kernel 5.8, but works on 5.4

2021-01-21 Thread ZdravkoG
Let's hope somebody managing the package from Canonical, will take care
for attached patch (actually backport) to be applied on Focal's fork. 👍🤞
So, no future confusions - everything automatic update!

** Patch added: 
"bcmwl_6.30.223.271+bdcom-0ubuntu5_6.30.223.271+bdcom-0ubuntu7~20.04.1.diff"
   
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1910555/+attachment/5455170/+files/bcmwl_6.30.223.271+bdcom-0ubuntu5_6.30.223.271+bdcom-0ubuntu7~20.04.1.diff

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


[Kernel-packages] [Bug 1872908] Re: bcmwl kernel module does not build with 5.6.0 kernel or later

2021-01-27 Thread ZdravkoG
Isn't more pragmatic before considering changes introduced with kernel
5.9, a backport to Focal be commited/released in advance (the kernel
there is 5.8)? 🧐😉 There is a proposal presented in Bug #1910555 comment
21! 🤔 This Bug is related to kernel 5.6. New package changes (new patch)
related to recent kernel changes might (better) be a object of new
"bug". Isn't it?

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

Title:
  bcmwl kernel module does not build with 5.6.0 kernel or later

Status in bcmwl package in Ubuntu:
  Fix Released
Status in bcmwl source package in Focal:
  Triaged

Bug description:
  After kernel update to 5.6.0-1007-oem wifi stopped working.
  Turned out dkms is unable to build the bcmwl module.

  The make log shows:

  ubuntu@ubuntu-inspiron-5482:~$ cat 
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log
  DKMS make.log for bcmwl-6.30.223.271+bdcom for kernel 5.6.0-1007-oem (x86_64)
  ons 15 apr 2020 09:19:05 CEST
  make: Entering directory '/usr/src/linux-headers-5.6.0-1007-oem'
  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 = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) 
== NULL) {
|^~~
|ioremap_cache
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:593:18: 
warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a 
cast [-Wint-conversion]
593 |  if ((wl->regsva = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) 
== NULL) {
|  ^
  /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:780:2: 
warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
780 |  if ((val & 0xff00) != 0)
|  ^~
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:782:3: 
note: ...this statement, but the latter is misleadingly indented as if it were 
guarded by the ‘if’
782 |   bar1_size = pci_resource_len(pdev, 2);
|   ^
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:783:15: 
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
783 |   bar1_addr = (uchar *)ioremap_nocache(pci_resource_start(pdev, 2),
|   ^
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In 
function ‘wl_reg_proc_entry’:
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3376:58: 
error: passing argument 4 of ‘proc_create_da

[Kernel-packages] [Bug 1910555] Re: Driver build error on kernel 5.8, but works on 5.4

2021-01-29 Thread ZdravkoG
*** 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 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


[Kernel-packages] [Bug 1872908] Re: bcmwl kernel module does not build with kernel version 5.6 or 5.8

2021-02-01 Thread ZdravkoG
Installing the new package:
--
Подготовка за разпакетиране на 
bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7~20.04.1_amd64.deb ...
Removing all DKMS Modules
Done.
Разпакетиране на bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu7~20.04.1) над 
(6.30.223.271+bdcom-0ubuntu7) ...
Инсталиране на bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu7~20.04.1) ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
Building for 5.8.0-41-generic
Building for architecture x86_64
Building initial module for 5.8.0-41-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-41-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-41-generic
--
Everything works.

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

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

Title:
  bcmwl kernel module does not build with kernel version 5.6 or 5.8

Status in bcmwl package in Ubuntu:
  Fix Released
Status in bcmwl source package in Focal:
  Fix Committed

Bug description:
  After kernel update to 5.6.0-1007-oem wifi stopped working.
  Turned out dkms is unable to build the bcmwl module.

  The make log shows:

  ubuntu@ubuntu-inspiron-5482:~$ cat 
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log
  DKMS make.log for bcmwl-6.30.223.271+bdcom for kernel 5.6.0-1007-oem (x86_64)
  ons 15 apr 2020 09:19:05 CEST
  make: Entering directory '/usr/src/linux-headers-5.6.0-1007-oem'
  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 = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) 
== NULL) {
|^~~
|ioremap_cache
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:593:18: 
warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a 
cast [-Wint-conversion]
593 |  if ((wl->regsva = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) 
== NULL) {
|  ^
  /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:780:2: 
warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
780 |  if ((val