My MacBook Pro (2014) was working fine with Debian (sid) until I decided to update it. After that I lost my wifi.
I installed it the first time (before the update) following Debian Wiki, mainly bcm43xx and wl pages. I tried to repeat the steps but I got this error when trying to reinstall broadcom-sta-dkms:
Code: Select all
Setting up broadcom-sta-dkms (6.30.223.271-5) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 4.14.0-3-amd64
Building initial module for 4.14.0-3-amd64
Error! Bad return status for module build on kernel: 4.14.0-3-amd64 (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
Code: Select all
03:00.0 Network controller: Broadcom Limited BCM4360 802.11ac Wireless Network Adapter (rev 03)
Subsystem: Apple Inc. BCM4360 802.11ac Wireless Network Adapter
Kernel modules: bcma
Code: Select all
$ sudo modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/4.14.0-3-amd64
Code: Select all
/usr/src/modules/broadcom-sta/src/wl/sys/wl_linux.c: In function ‘wl_monitor’:
/usr/src/modules/broadcom-sta/src/wl/sys/wl_linux.c:2915:10: error: ‘struct net_device’ has no member named ‘last_rx’
skb->dev->last_rx = jiffies;
^~
/usr/src/linux-headers-4.14.0-3-common/scripts/Makefile.build:319: recipe for target '/usr/src/modules/broadcom-sta/src/wl/sys/wl_linux.o' failed
make[6]: *** [/usr/src/modules/broadcom-sta/src/wl/sys/wl_linux.o] Error 1
/usr/src/linux-headers-4.14.0-3-common/Makefile:1525: recipe for target '_module_/usr/src/modules/broadcom-sta' failed
make[5]: *** [_module_/usr/src/modules/broadcom-sta] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[4]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-4.14.0-3-amd64'
Makefile:177: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/src/modules/broadcom-sta'
debian/rules:16: recipe for target 'binary-modules' failed
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory '/usr/src/modules/broadcom-sta'
/usr/share/modass/include/common-rules.make:56: recipe for target 'kdist_build' failed
make: *** [kdist_build] Error 2
BUILD FAILED!
See /var/cache/modass/broadcom-sta-source.buildlog.4.14.0-3-amd64.1515859049 for details.
Build failed. Press Return to continue...
Do any of you have an idea about what I might be missing? Or is it just a bug that regular users like me cannot tackle?
Many thanks,