net-wireless/broadcom-sta-6.30.223.271-r3 is incompatible with linux 4.8, causing a kernel level null pointer dereference. Linked is a patch by Debian project, which fixes the issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=839629;filename=wl-4.8.0.diff;msg=5
Created attachment 449404 [details, diff] This patch works for me I have tested this patch to work on my machine
Created attachment 449406 [details, diff] A patch for broadcom-sta to work on linux 4.8.0 Here is a slightly better formatted version of the patch. In linux 4.8.0, the function signature of cfg80211_scan_done changed: -void cfg80211_scan_done(struct cfg80211_scan_request *request, bool aborted); +void cfg80211_scan_done(struct cfg80211_scan_request *request, + struct cfg80211_scan_info *info); As opposed to providing a bool for abort, it seems that one now provides a structure which encodes that information: + * struct cfg80211_scan_info - information about completed scan + * @scan_start_tsf: scan start time in terms of the TSF of the BSS that the + * wireless device that requested the scan is connected to. If this + * information is not available, this field is left zero. + * @tsf_bssid: the BSSID according to which %scan_start_tsf is set. + * @aborted: set to true if the scan was aborted for any reason, + * userspace will be notified of that + */ +struct cfg80211_scan_info { + u64 scan_start_tsf; + u8 tsf_bssid[ETH_ALEN] __aligned(2); + bool aborted; +}; This patch essentially replaces the 2nd argument with a the correct structure
Created attachment 449408 [details, diff] Patch to broadcom-sta ebuild to include linux-4.8.0 patch
Can confirm that patch working. P.S. Without this patch some freezes of plasma was on my PC.
patch works for me also on amd64 kernel-4.8.2 prior to patch broadcom-sta would cause wlan0 to fail to start at boot and total computer lockup (requiring turning power off) in response to manual restart of wlan0. Thanks Javad.
The patch from Javad works for mee too. Iām using gentoo-sources-4.8.7. Thanks, Javad!
Should be fixed by commit c6d3f917370292c267bb05d447db028125946dfe Author: Matt Turner <mattst88@gentoo.org> Date: Sun Nov 20 20:17:58 2016 -0800 net-wireless/broadcom-sta: Add support for Linux v4.8