On Fri, 2014-10-24 at 17:09 -0200, Murilo Opsfelder Araujo wrote: > On 10/24/2014 04:13 PM, Murilo Opsfelder Araujo wrote: > > On 10/24/2014 02:39 PM, Larry Finger wrote: > > [...] > >> > >> Please try the attached patch. It replaces the second one I sent you. I > >> will probably redo it before submitting the final copy, but this should > >> work. > >> > >> Larry > >> > > Hi, Larry. > > > > I've tried your patch on top of next-20141023 and it is still crashing > > on my laptop: > > > > http://opsfelder.com/~murilo/lkml/next-20141023_plus_larry_patch_v2.jpg > > > It seems a get_btc_status() check was still missing: > > diff --git a/drivers/net/wireless/rtlwifi/pci.c > b/drivers/net/wireless/rtlwifi/pci.c > index a5a350a..ed3364d 100644 > --- a/drivers/net/wireless/rtlwifi/pci.c > +++ b/drivers/net/wireless/rtlwifi/pci.c > @@ -1796,7 +1796,8 @@ static int rtl_pci_start(struct ieee80211_hw *hw) > rtl_pci_reset_trx_ring(hw); > > rtlpci->driver_is_goingto_unload = false; > - if (rtlpriv->cfg->ops->get_btc_status()) { > + if (rtlpriv->cfg->ops->get_btc_status && > + rtlpriv->cfg->ops->get_btc_status()) { > rtlpriv->btcoexist.btc_ops->btc_init_variables(rtlpriv); > rtlpriv->btcoexist.btc_ops->btc_init_hal_vars(rtlpriv); > } > > With this minor change and Larry's latest fix_misc_desc patch, > next-20141023 booted normally and kernel panic disappeared. > > Now, there is no wifi network available or found by wlan0. I don't need your addition, but our end results are the same. [ 312.126598] cfg80211: Calling CRDA to update world regulatory domain [ 312.131076] cfg80211: World regulatory domain updated: [ 312.131107] cfg80211: DFS Master region: unset [ 312.131112] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 312.131123] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A) [ 312.131129] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A) [ 312.131136] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A) [ 312.131142] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A) [ 312.131149] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A) [ 312.210452] rtl8192se: FW Power Save off (module option) [ 312.210561] rtl8192se: Driver for Realtek RTL8192SE/RTL8191SE [ 312.210561] Loading firmware rtlwifi/rtl8192sefw.bin [ 312.212496] ieee80211 phy0: Selected rate control algorithm 'rtl_rc' [ 312.758613] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Interface doesn't associate. 3.17.1 [ 266.849622] cfg80211: Calling CRDA to update world regulatory domain [ 266.853632] cfg80211: World regulatory domain updated: [ 266.853661] cfg80211: DFS Master region: unset [ 266.853667] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 266.853680] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A) [ 266.853686] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A) [ 266.853691] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A) [ 266.853697] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A) [ 266.853704] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A) [ 266.926560] rtl8192se: FW Power Save off (module option) [ 266.926661] rtl8192se: Driver for Realtek RTL8192SE/RTL8191SE [ 266.926661] Loading firmware rtlwifi/rtl8192sefw.bin [ 266.927054] ieee80211 phy0: Selected rate control algorithm 'rtl_rc' [ 267.437850] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 268.389049] wlan0: authenticate with 20:4e:7f:86:09:40 [ 268.410174] wlan0: send auth to 20:4e:7f:86:09:40 (try 1/3) [ 268.411974] wlan0: authenticated [ 268.416222] wlan0: associate with 20:4e:7f:86:09:40 (try 1/3) [ 268.420555] wlan0: RX AssocResp from 20:4e:7f:86:09:40 (capab=0x431 status=0 aid=1) [ 268.423403] wlan0: associated [ 268.423427] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html