Re: Kernel BUG in rtl92s_phy_chk_fwcmd_iodone():<0-0> Set FW Cmd fail
Christian Lamparter a következőt írta ekkor: 2015. július 9. 15:39:43 > On Tuesday, July 07, 2015 11:56:21 PM Szőts Ákos wrote: > > I have an RTL8191SU 802.11n USB WLAN Adapter with rtl8192su driver. > > Unfortunately, I have to turn it off and on sometimes to make it work. I > > use NetworkManager with KDE 5 nm-applet in which I simply turn off the > > wireless capability then on again. > > > > Once I did this, I got a kernel BUG. Here is the link for the full text: > > http://paste.opensuse.org/view/simple/25089935 > > This message lets you know that a firmware command has timed out. > A call trace is included to let you know what the driver was doing > at the time. If this problem bothers you, the information from the > trace should help to debug it and make a patch. Thank you for the hint. Doing some printk's, it was revealed that rtl8191s/phy_common.c:_rtl92s_phy_set_fwcmd_io first tried to FW_CMD_PAUSE_DM_BY_SCAN then to FW_CMD_RESUME_DM_BY_SCAN. Turning the adapter off and on again fixed the issue, the networks appeared again, but I don't know why the scan timed out. Unfortunately, I don't know anything about the firmwares of the wireless drivers, so I can't trace it further and create a patch. > > > kernel: rtl8192s_common:rtl92s_phy_chk_fwcmd_iodone():<0-0> Set FW Cmd > > fail!! kernel: [ cut here ] > > kernel: WARNING: CPU: 3 PID: 1105 at > > /home/aki/temp/rtl8192su/rtlwifi/rtl8192s/phy_common.c:1192 > > rtl92s_phy_chk_fwcmd_iodone+0x65/0xb0 [rtl8192s_common]() > > kernel: Modules linked in: rtl8192su(O) rtl8192s_common(O) rtl_usb(O) > > rtlwifi(O)... kernel: Call Trace: > > kernel: [] dump_stack+0x4c/0x6e > > kernel: [] warn_slowpath_common+0x8a/0xc0 > > kernel: [] warn_slowpath_null+0x1a/0x20 > > kernel: [] rtl92s_phy_chk_fwcmd_iodone+0x65/0xb0 > > [rtl8192s_common] > > kernel: [] _rtl92s_phy_set_fwcmd_io+0xe1/0x670 > > [rtl8192s_common] > > kernel: [] rtl92s_phy_set_fw_cmd+0xb9/0x7b0 > > [rtl8192s_common] kernel: [] > > rtl92s_phy_scan_operation_backup+0x3a/0x90 [rtl8192s_common] > > kernel: [] rtl_op_sw_scan_start+0xa9/0x170 [rtlwifi] > > Regards, > Christian -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Kernel BUG in rtl92s_phy_chk_fwcmd_iodone():<0-0> Set FW Cmd fail
On Tuesday, July 07, 2015 11:56:21 PM Szőts Ákos wrote: > I have an RTL8191SU 802.11n USB WLAN Adapter with rtl8192su driver. > Unfortunately, I have to turn it off and on sometimes to make it work. I use > NetworkManager with KDE 5 nm-applet in which I simply turn off the wireless > capability then on again. > > Once I did this, I got a kernel BUG. Here is the link for the full text: > http://paste.opensuse.org/view/simple/25089935 This message lets you know that a firmware command has timed out. A call trace is included to let you know what the driver was doing at the time. If this problem bothers you, the information from the trace should help to debug it and make a patch. > kernel: rtl8192s_common:rtl92s_phy_chk_fwcmd_iodone():<0-0> Set FW Cmd fail!! > kernel: [ cut here ] > kernel: WARNING: CPU: 3 PID: 1105 at > /home/aki/temp/rtl8192su/rtlwifi/rtl8192s/phy_common.c:1192 > rtl92s_phy_chk_fwcmd_iodone+0x65/0xb0 [rtl8192s_common]() > kernel: Modules linked in: rtl8192su(O) rtl8192s_common(O) rtl_usb(O) > rtlwifi(O)... > kernel: Call Trace: > kernel: [] dump_stack+0x4c/0x6e > kernel: [] warn_slowpath_common+0x8a/0xc0 > kernel: [] warn_slowpath_null+0x1a/0x20 > kernel: [] rtl92s_phy_chk_fwcmd_iodone+0x65/0xb0 > [rtl8192s_common] > kernel: [] _rtl92s_phy_set_fwcmd_io+0xe1/0x670 > [rtl8192s_common] > kernel: [] rtl92s_phy_set_fw_cmd+0xb9/0x7b0 > [rtl8192s_common] > kernel: [] rtl92s_phy_scan_operation_backup+0x3a/0x90 > [rtl8192s_common] > kernel: [] rtl_op_sw_scan_start+0xa9/0x170 [rtlwifi] Regards, Christian -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Kernel BUG in rtl92s_phy_chk_fwcmd_iodone():<0-0> Set FW Cmd fail
Dear list members, I have an RTL8191SU 802.11n USB WLAN Adapter with rtl8192su driver. Unfortunately, I have to turn it off and on sometimes to make it work. I use NetworkManager with KDE 5 nm-applet in which I simply turn off the wireless capability then on again. Once I did this, I got a kernel BUG. Here is the link for the full text: http://paste.opensuse.org/view/simple/25089935 Versions: - Linux wireless kernel v4.1 - rtl8192su driver from https://github.com/chunkeey/rtl8192su [0f01e11226dcc] Excerpt: NetworkManager[1241]: WiFi now enabled by radio killswitch NetworkManager[1241]: (wlp0s26f7u2) supports 4 scan SSIDs NetworkManager[1241]: (wlp0s26f7u2): supplicant interface state: starting -> ready NetworkManager[1241]: (wlp0s26f7u2): device state change: unavailable - > disconnected (reason 'supplicant-available') [20 30 42] NetworkManager[1241]: (wlp0s26f7u2): supplicant interface state: ready -> disconnected NetworkManager[1241]: (wlp0s26f7u2) supports 4 scan SSIDs kernel: rtl8192s_common:rtl92s_phy_chk_fwcmd_iodone():<0-0> Set FW Cmd fail!! kernel: [ cut here ] kernel: WARNING: CPU: 3 PID: 1105 at /home/aki/temp/rtl8192su/rtlwifi/rtl8192s/phy_common.c:1192 rtl92s_phy_chk_fwcmd_iodone+0x65/0xb0 [rtl8192s_common]() kernel: Modules linked in: ctr ccm af_packet arc4 rtl8192su(O) rtl8192s_common(O) rtl_usb(O) rtlwifi(O) mac80211 xt_pkttype cfg80211 ip6t_REJECT xt_tcpudp nf_conntrack_ipv6 nf_defrag kernel: serio_raw i2c_i801 lpc_ich mfd_core r8169 mii i7core_edac edac_core shpchp i5500_temp 8250_fintek tpm_infineon tpm_tis tpm acpi_cpufreq processor dm_mod sr_mod cdrom hid_log kernel: CPU: 3 PID: 1105 Comm: wpa_supplicant Tainted: P IO4.1.0- wl-1.g3ee3773-desktop #1 kernel: Hardware name: MSI MS-7522/MSI X58 Pro-E (MS-7522), BIOS V8.15 03/19/2011 kernel: a05f8c70 8800bab13908 816d178e 0007 kernel: 8800bab13948 8106b4fa 8800bab13968 kernel: 880195cf1440 880195cf06a0 kernel: Call Trace: kernel: [] dump_stack+0x4c/0x6e kernel: [] warn_slowpath_common+0x8a/0xc0 kernel: [] warn_slowpath_null+0x1a/0x20 kernel: [] rtl92s_phy_chk_fwcmd_iodone+0x65/0xb0 [rtl8192s_common] kernel: [] _rtl92s_phy_set_fwcmd_io+0xe1/0x670 [rtl8192s_common] kernel: [] rtl92s_phy_set_fw_cmd+0xb9/0x7b0 [rtl8192s_common] kernel: [] rtl92s_phy_scan_operation_backup+0x3a/0x90 [rtl8192s_common] kernel: [] rtl_op_sw_scan_start+0xa9/0x170 [rtlwifi] kernel: [] __ieee80211_start_scan+0x42e/0x720 [mac80211] kernel: [] ? __kmalloc_node_track_caller+0x35/0x40 kernel: [] ieee80211_request_scan+0x30/0x50 [mac80211] kernel: [] ieee80211_scan+0x68/0xc0 [mac80211] kernel: [] nl80211_trigger_scan+0x626/0x6c0 [cfg80211] kernel: [] genl_family_rcv_msg+0x19a/0x390 kernel: [] ? genl_family_rcv_msg+0x390/0x390 kernel: [] genl_rcv_msg+0x79/0xc0 kernel: [] netlink_rcv_skb+0xb9/0xe0 kernel: [] genl_rcv+0x2c/0x40 kernel: [] netlink_unicast+0x108/0x1a0 kernel: [] netlink_sendmsg+0x505/0x620 kernel: [] sock_sendmsg+0x3d/0x50 kernel: [] ___sys_sendmsg+0x2bb/0x2d0 kernel: [] ? fpu_finit+0x22/0x40 kernel: [] ? init_fpu+0x51/0xb0 kernel: [] ? __restore_xstate_sig+0x298/0x6c0 kernel: [] ? do_signal+0xaf/0x130 kernel: [] __sys_sendmsg+0x42/0x80 kernel: [] SyS_sendmsg+0x12/0x20 kernel: [] system_call_fastpath+0x16/0x75 kernel: ---[ end trace b0eab65ae6555186 ]--- Best regards, Ákos -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html