Broadcom-sta-dkms not compiling for latest Liquorix
Latest Jessie kernel is 3.14-2-amd64 #1 SMP Debian 3.14.13-2 (2014-07-24) x86_64 GNU/Linux.
This kernel does not recognize additional monitors because too old for this card: :: Quote :: Graphics: Card: Advanced Micro Devices [AMD/ATI] Mullins [Radeon APU A4-6000 with R2 Graphics]
Display Server: X.Org 1.16.0 drivers: fbdev,ati,radeon (unloaded: vesa) Resolution: 1600x900@0.00hz GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) GLX Version: 3.0 Mesa 10.2.4 However it does compile OK broadcom-sta-dkms so my wireless can work: :: Quote :: Card-2: Broadcom BCM43142 802.11b/g/n
driver: wl bus-ID: 05:00.0 chip-ID: 14e4:4365 Neither the Liquorix kernel nor the towo kernel compile broadcom, tried both, so I cannot use wireless with those kernels, and I cannot have additional monitors with the older kernel. So I have to choose: wireless or monitors? I am obliged to choose wireless, so uninstalled both non-Debian kernels. I already filed bug against broadcom, it has to be fixed because Debian 8 cannot ship with failed drivers on its kernel (3.16). Siduction already has copy of failed build on their kernel, towo responded that broadcom driver is too old for advanced kernels. Please find below copy of failed build for Liquorix: DKMS make.log for broadcom-sta-6.30.223.141 for kernel 3.15-9.dmz.1-liquorix-amd64 (x86_64) Wed Aug 13 16:14:42 EDT 2014 /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/3.15-9.dmz.1-liquorix-amd64/build M=/var/lib/dkms/broadcom-sta/6.30.223.141/build make[1]: Entering directory '/usr/src/linux-headers-3.15-9.dmz.1-liquorix-amd64' CFG80211 API is prefered for this kernel version Using CFG80211 API Kernel architecture is X86_64 LD /var/lib/dkms/broadcom-sta/6.30.223.141/build/built-in.o CC [M] /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/shared/linux_osl.o CC [M] /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.o CC [M] /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_iw.o CC [M] /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_cfg80211_hybrid.o /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_notify_connect_status’: /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_cfg80211_hybrid.c:1844:4: warning: passing argument 3 of ‘cfg80211_ibss_joined’ makes pointer from integer without a cast [enabled by default] cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL); ^ In file included from /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0: include/net/cfg80211.h:3933:6: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘unsigned int’ void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, ^ /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_cfg80211_hybrid.c:1844:4: error: too few arguments to function ‘cfg80211_ibss_joined’ cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL); ^ In file included from /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0: include/net/cfg80211.h:3933:6: note: declared here void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, ^ scripts/Makefile.build:318: recipe for target '/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_cfg80211_hybrid.o' failed make[2]: *** [/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_cfg80211_hybrid.o] Error 1 Makefile:1310: recipe for target '_module_/var/lib/dkms/broadcom-sta/6.30.223.141/build' failed make[1]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.141/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-3.15-9.dmz.1-liquorix-amd64' Makefile:157: recipe for target 'all' failed make: *** [all] Error 2 Back to top |
|||||
You will probably have to grab the latest broadcom sta source here: www.broadcom.com/support/802.11/linux_sta.php
You should be able to install the driver directly from the source. Let us know if you run into trouble - I might be able to update the broadcom-sta-source package for it to build properly if you get stuck. Back to top |
|||||
Thanks for answer.
Please create a .deb for arch amd64 for this package as I will probably run into trouble. Also, I decided to plug a wire into this laptop and wait for problem to be solved in repo, as I said before I already filed bug against that package. I need dual monitors more than I need wireless as this 17" laptop seldom goes out, if at all. So it would be up to you, if you want to package that source I will be glad to test for you, dunno why the goddam maintainer doesn't do it. Back to top |
|||||
Actually, this package looks like a lot of work. I just spent an hour figuring it out and pulling in the latest sources. I'll leave this to the maintainer to update.
Try pulling the latest source and doing a 'make' and 'make install'. Back to top |
|||||
:: damentz wrote :: Actually, this package looks like a lot of work. I just spent an hour figuring it out and pulling in the latest sources. I'll leave this to the maintainer to update.
Try pulling the latest source and doing a 'make' and 'make install'. Thanks for trying, actually I don't want to stray far from repo because this is my main production system at present. So I will have to patiently wait for maintainer, not that staying in repo is that much of a safeguard either. Back to top |
|||||
All times are GMT - 8 Hours
|