I installed my new wireless adapter, using lspci I determined it uses the Broadcom 4360 chipset. https://wiki.debian.org/wl shows that this chipset is compatible with the broadcom-sta-dkms firmware. I followed the steps on that page, however when I attempt to install the firmware using
Code: Select all
sudo apt install broadcom-sta-dkms
Code: Select all
Unpacking broadcom-sta-dkms (6.30.223.271-5) ...
Setting up broadcom-sta-dkms (6.30.223.271-5) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 4.17.0-0.bpo.1-amd64 4.17.0-0.bpo.3-amd64
Building initial module for 4.17.0-0.bpo.1-amd64
Error! Bad return status for module build on kernel: 4.17.0-0.bpo.1-amd64 (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
Code: Select all
DKMS make.log for broadcom-sta-6.30.223.271 for kernel 4.17.0-0.bpo.1-amd64 (x86_64)
Fri Aug 31 14:53:13 CDT 2018
/bin/sh: 1: [: Illegal number:
/bin/sh: 1: [: Illegal number:
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
KBUILD_NOPEDANTIC=1 make -C /lib/modules/4.17.0-0.bpo.1-amd64/build M=`pwd`
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/usr/src/linux-headers-4.17.0-0.bpo.1-amd64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
CC [M] /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.o
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c: In function ‘osl_os_get_image_block’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:1083:26: warning: passing argument 2 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion]
rdlen = kernel_read(fp, fp->f_pos, buf, len);
^~
In file included from /usr/src/linux-headers-4.17.0-0.bpo.1-common/include/linux/huge_mm.h:7:0,
from /usr/src/linux-headers-4.17.0-0.bpo.1-common/include/linux/mm.h:477,
from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:65,
from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:25:
/usr/src/linux-headers-4.17.0-0.bpo.1-common/include/linux/fs.h:2855:16: note: expected ‘void *’ but argument is of type ‘loff_t {aka long long int}’
extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
^~~~~~~~~~~
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:1083:37: warning: passing argument 3 of ‘kernel_read’ makes integer from pointer without a cast [-Wint-conversion]
rdlen = kernel_read(fp, fp->f_pos, buf, len);
^~~
In file included from /usr/src/linux-headers-4.17.0-0.bpo.1-common/include/linux/huge_mm.h:7:0,
from /usr/src/linux-headers-4.17.0-0.bpo.1-common/include/linux/mm.h:477,
from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:65,
from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:25:
/usr/src/linux-headers-4.17.0-0.bpo.1-common/include/linux/fs.h:2855:16: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘char *’
extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
^~~~~~~~~~~
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:1083:42: warning: passing argument 4 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion]
rdlen = kernel_read(fp, fp->f_pos, buf, len);
^~~
In file included from /usr/src/linux-headers-4.17.0-0.bpo.1-common/include/linux/huge_mm.h:7:0,
from /usr/src/linux-headers-4.17.0-0.bpo.1-common/include/linux/mm.h:477,
from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:65,
from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:25:
/usr/src/linux-headers-4.17.0-0.bpo.1-common/include/linux/fs.h:2855:16: note: expected ‘loff_t * {aka long long int *}’ but argument is of type ‘int’
extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
^~~~~~~~~~~
CC [M] /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:774:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if ((val & 0x0000ff00) != 0)
^~
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:776:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
bar1_size = pci_resource_len(pdev, 2);
^~~~~~~~~
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_init_timer’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:2352:2: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
init_timer(&t->timer);
^~~~~~~~~~
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:2353:10: error: ‘struct timer_list’ has no member named ‘data’
t->timer.data = (ulong) t;
^
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:2354:20: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
t->timer.function = wl_timer;
^
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_monitor’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:2915:10: error: ‘struct net_device’ has no member named ‘last_rx’
skb->dev->last_rx = jiffies;
^~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.17.0-0.bpo.1-common/scripts/Makefile.build:317: recipe for target '/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o' failed
make[4]: *** [/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o] Error 1
/usr/src/linux-headers-4.17.0-0.bpo.1-common/Makefile:1585: recipe for target '_module_/var/lib/dkms/broadcom-sta/6.30.223.271/build' failed
make[3]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.271/build] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.17.0-0.bpo.1-amd64'
Makefile:177: recipe for target 'all' failed
make: *** [all] Error 2
Any help would be greatly appreciated. I would be willing to downgrade my kernel version if I could make my graphics card work with it. But as of now I have an ethernet connection, and having a working gpu is more important than the wlan card. Still, I would like to have the wireless firmware set up so that in the near future when I may not have ethernet available, I will have Wi-Fi capabilities.
Thanks, and let me know if any more information is needed. I'm relatively new to Debian (and Linux) and am trying to avoid doing anything too stupid