Public bug reported:

This is on a Intel Compute Stick STK1AW32SC (Atom x5-Z830) using
elementaryos-0.4.1-20170814 (Xenial 16.04 LTS) and bcmwl-kernel-source
6.30.223.271+bdcom-0ubuntu1~1.1

The default kernel does not provice all required drivers to operate all
hardware. Currently installed is HWE.

This problem happens when installing HWE-edge.


$ 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 4.11.0-14-generic (x86_64)
Mi 18. Okt 14:07:54 CEST 2017
make: Entering directory '/usr/src/linux-headers-4.11.0-14-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD      /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/built-in.o
  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
/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:776:2: 
warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  if ((val & 0x0000ff00) != 0)
  ^~
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:778:3: note: 
...this statement, but the latter is misleadingly indented as if it were 
guarded by the ‘if’
   bar1_size = pci_resource_len(pdev, 2);
   ^~~~~~~~~
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function 
‘wl_monitor’:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:2922:10: 
error: ‘struct net_device’ has no member named ‘last_rx’
  skb->dev->last_rx = jiffies;
          ^~
scripts/Makefile.build:294: recipe for target 
'/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.o' failed
make[1]: *** 
[/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.o] Error 1
Makefile:1526: recipe for target 
'_module_/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build' failed
make: *** [_module_/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build] Error 2


The problem is:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:2922:10: 
error: ‘struct net_device’ has no member named ‘last_rx’


As far as I read online, last_rx was removed / moved. So the driver source 
seems incompatible with newer kernel versions.

Source: https://patchwork.ozlabs.org/patch/716831/


Expected behaviour:
Installing HWE should include all required dependencies (like it does with 
Xorg) so that at least the recent LTS version can be fully functional on 
hardware that requires a more modern kernel than the default one.

ProblemType: Bug
DistroRelease: elementary 0.4.1
Package: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu1~1.1 [origin: Ubuntu]
ProcVersionSignature: Ubuntu 4.11.0-14.20~16.04.1-lowlatency 4.11.12
Uname: Linux 4.11.0-14-lowlatency x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CurrentDesktop: Pantheon
Date: Wed Oct 18 14:34:11 2017
InstallationDate: Installed on 2017-09-30 (18 days ago)
InstallationMedia: elementary OS 0.4.1 "Loki" - Stable amd64 (20170814)
SourcePackage: bcmwl
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug loki third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1724566

Title:
  API incompatible with HWE edge

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to