From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.candelatech.com ([208.74.158.172] helo=ns3.lanforge.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPhN5-0002U4-HU for ath10k@lists.infradead.org; Mon, 17 Mar 2014 23:55:08 +0000 Received: from [192.168.100.236] (firewall.candelatech.com [70.89.124.249]) (authenticated bits=0) by ns3.lanforge.com (8.14.2/8.14.2) with ESMTP id s2HNskWu021975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 17 Mar 2014 16:54:46 -0700 Message-ID: <53278B45.7050403@candelatech.com> Date: Mon, 17 Mar 2014 16:54:45 -0700 From: Ben Greear MIME-Version: 1.0 Subject: Re: Firmware crash/lockup on WLE900VX. References: <53278ADD.4080205@candelatech.com> In-Reply-To: <53278ADD.4080205@candelatech.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: ath10k On 03/17/2014 04:53 PM, Ben Greear wrote: > This is with my somewhat modified ath10k driver (mostly just > additional printks as far as this firmware is concerned), > and standard upstream firmware running in AP mode. > > I guess the interesting question to me is why we cannot read > the firmware dump area address? > > It all goes down hill from there and soft resets fail to > resolve the issue. > > [245273.132602] IPv6: ADDRCONF(NETDEV_UP): vap0: link is not ready > [245273.159965] IPv6: ADDRCONF(NETDEV_CHANGE): vap1: link becomes ready > [245273.259178] IPv6: ADDRCONF(NETDEV_CHANGE): vap0: link becomes ready > [245498.059492] e1000e: eth1 NIC Link is Down > [245500.455638] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx > [246136.713414] ath10k: firmware crashed! > [246136.715802] ath10k: hardware name qca988x hw2.0 version 0x4100016c > [246136.720699] ath10k: firmware version: 10.1.467.1-1 > [246136.736226] ath10k: failed to read FW dump area address: -16 > [246451.587593] ath10k: key installation failed for vdev 0 peer 00:f0:21:0e:80:7f: -110 > [246451.587604] vap1: failed to remove key (0, 00:f0:21:0e:80:7f) from hardware (-110) > [246454.593921] ath10k: could not remove peer wep key 0 (-11) > [246454.593926] ath10k: could not clear all peer wep keys for vdev 0: -11 > [246454.593929] ath10k: Failed to disassociate station: 00:f0:21:0e:80:7f vdev 0 ret -11 > [246454.593931] ------------[ cut here ]------------ > [246454.593962] WARNING: CPU: 1 PID: 17319 at /mnt/sda/home/greearb/git/linux.ath/net/mac80211/sta_info.c:893 __sta_info_destroy_part2+0x62/0x15e [mac80211]() > [246454.593964] Modules linked in: iptable_raw xt_CT nf_nat_ipv4 nf_nat 8021q garp stp mrp llc fuse macvlan pktgen ip6table_filter ip6_tables ebtable_nat > ebtables nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 nfs lockd sunrpc fscache pcspkr uinput ath10k_pci coretemp hwmon ath10k_core ath > intel_powerclamp mac80211 kvm snd_hda_codec_realtek snd_hda_codec_generic e1000e cfg80211 snd_hda_intel snd_hda_codec ptp snd_hwdep pps_core gpio_ich ppdev > iTCO_wdt shpchp iTCO_vendor_support parport_pc parport microcode serio_raw lpc_ich i2c_i801 snd_seq snd_seq_device snd_pcm snd_timer snd soundcore ipv6 i915 > i2c_algo_bit drm_kms_helper ata_generic pata_acpi drm i2c_core video [last unloaded: iptable_nat] > [246454.594044] CPU: 1 PID: 17319 Comm: hostapd Tainted: G C 3.14.0-rc6-wl-ath+ #3 > [246454.594045] Hardware name: To be filled by O.E.M. To be filled by O.E.M./To be filled by O.E.M., BIOS 4.6.3 03/06/2012 > [246454.594047] 0000000000000009 ffff8800bb597918 ffffffff815aaef5 0000000000000006 > [246454.594050] 0000000000000000 ffff8800bb597958 ffffffff810c1aa8 ffff8800bb66c000 > [246454.594052] ffffffffa056b1a3 ffff8800bb66c000 ffff8800c60e45e0 ffff8800373c6800 > [246454.594055] Call Trace: > [246454.594061] [] dump_stack+0x4e/0x71 > [246454.594067] [] warn_slowpath_common+0x77/0x91 > [246454.594075] [] ? __sta_info_destroy_part2+0x62/0x15e [mac80211] > [246454.594078] [] warn_slowpath_null+0x15/0x17 > [246454.594084] [] __sta_info_destroy_part2+0x62/0x15e [mac80211] > [246454.594091] [] __sta_info_destroy+0x25/0x2f [mac80211] > [246454.594099] [] sta_info_destroy_addr_bss+0x37/0x57 [mac80211] > [246454.594110] [] ieee80211_del_station+0x18/0x25 [mac80211] > [246454.594119] [] nl80211_del_station+0x55/0x65 [cfg80211] > [246454.594124] [] genl_family_rcv_msg+0x246/0x2ba > [246454.594126] [] ? sock_put+0x12/0x22 > [246454.594129] [] genl_rcv_msg+0x3d/0x60 > [246454.594131] [] ? genl_family_rcv_msg+0x2ba/0x2ba > [246454.594133] [] netlink_rcv_skb+0x3d/0x8a > [246454.594135] [] genl_rcv+0x24/0x34 > [246454.594137] [] netlink_unicast+0xc6/0x147 > [246454.594139] [] netlink_sendmsg+0x59e/0x5e4 > [246454.594141] [] ? netlink_recvmsg+0x2ca/0x2e9 > [246454.594145] [] __sock_sendmsg_nosec+0x25/0x27 > [246454.594147] [] sock_sendmsg+0x5a/0x7b > [246454.594149] [] ? move_addr_to_kernel+0x35/0x62 > [246454.594152] [] ? verify_iovec+0x52/0xa5 > [246454.594153] [] ___sys_sendmsg+0x21e/0x2bf > [246454.594156] [] ? sockfs_dname+0x1c/0x1c > [246454.594159] [] ? destroy_inode+0x36/0x4f > [246454.594161] [] ? evict+0x155/0x15d > [246454.594163] [] ? kmem_cache_free+0x34/0xa7 > [246454.594165] [] ? __d_free+0x4b/0x50 > [246454.594167] [] ? mntput_no_expire+0x2e/0x126 > [246454.594169] [] ? mntput+0x28/0x2a > [246454.594172] [] ? __fput+0x190/0x1b0 > [246454.594175] [] __sys_sendmsg+0x3d/0x5b > [246454.594177] [] SyS_sendmsg+0xd/0x19 > [246454.594181] [] system_call_fastpath+0x1a/0x1f > [246454.594182] ---[ end trace 9d9631e0aba2fb1a ]--- > [246457.594136] ath10k: Failed to delete peer 00:f0:21:0e:80:7f for vdev 0: -11 > [246457.594140] ------------[ cut here ]------------ > [246457.594171] WARNING: CPU: 1 PID: 17319 at /mnt/sda/home/greearb/git/linux.ath/net/mac80211/sta_info.c:901 __sta_info_destroy_part2+0xba/0x15e [mac80211]() > [246457.594173] Modules linked in: iptable_raw xt_CT nf_nat_ipv4 nf_nat 8021q garp stp mrp llc fuse macvlan pktgen ip6table_filter ip6_tables ebtable_nat > ebtables nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 nfs lockd sunrpc fscache pcspkr uinput ath10k_pci coretemp hwmon ath10k_core ath > intel_powerclamp mac80211 kvm snd_hda_codec_realtek snd_hda_codec_generic e1000e cfg80211 snd_hda_intel snd_hda_codec ptp snd_hwdep pps_core gpio_ich ppdev > iTCO_wdt shpchp iTCO_vendor_support parport_pc parport microcode serio_raw lpc_ich i2c_i801 snd_seq snd_seq_device snd_pcm snd_timer snd soundcore ipv6 i915 > i2c_algo_bit drm_kms_helper ata_generic pata_acpi drm i2c_core video [last unloaded: iptable_nat] > [246457.594250] CPU: 1 PID: 17319 Comm: hostapd Tainted: G WC 3.14.0-rc6-wl-ath+ #3 > [246457.594251] Hardware name: To be filled by O.E.M. To be filled by O.E.M./To be filled by O.E.M., BIOS 4.6.3 03/06/2012 > [246457.594253] 0000000000000009 ffff8800bb597918 ffffffff815aaef5 0000000000000006 > [246457.594256] 0000000000000000 ffff8800bb597958 ffffffff810c1aa8 ffff8800bb597968 > [246457.594258] ffffffffa056b1fb ffff8800bb66c000 00000000fffffff5 ffff8800373c6800 > [246457.594261] Call Trace: > [246457.594267] [] dump_stack+0x4e/0x71 > [246457.594273] [] warn_slowpath_common+0x77/0x91 > [246457.594281] [] ? __sta_info_destroy_part2+0xba/0x15e [mac80211] > [246457.594283] [] warn_slowpath_null+0x15/0x17 > [246457.594290] [] __sta_info_destroy_part2+0xba/0x15e [mac80211] > [246457.594297] [] __sta_info_destroy+0x25/0x2f [mac80211] > [246457.594304] [] sta_info_destroy_addr_bss+0x37/0x57 [mac80211] > [246457.594315] [] ieee80211_del_station+0x18/0x25 [mac80211] > [246457.594324] [] nl80211_del_station+0x55/0x65 [cfg80211] > [246457.594329] [] genl_family_rcv_msg+0x246/0x2ba > [246457.594331] [] ? sock_put+0x12/0x22 > [246457.594334] [] genl_rcv_msg+0x3d/0x60 > [246457.594336] [] ? genl_family_rcv_msg+0x2ba/0x2ba > [246457.594338] [] netlink_rcv_skb+0x3d/0x8a > [246457.594340] [] genl_rcv+0x24/0x34 > [246457.594342] [] netlink_unicast+0xc6/0x147 > [246457.594344] [] netlink_sendmsg+0x59e/0x5e4 > [246457.594346] [] ? netlink_recvmsg+0x2ca/0x2e9 > [246457.594352] [] __sock_sendmsg_nosec+0x25/0x27 > [246457.594354] [] sock_sendmsg+0x5a/0x7b > [246457.594356] [] ? move_addr_to_kernel+0x35/0x62 > [246457.594359] [] ? verify_iovec+0x52/0xa5 > [246457.594360] [] ___sys_sendmsg+0x21e/0x2bf > [246457.594362] [] ? sockfs_dname+0x1c/0x1c > [246457.594365] [] ? destroy_inode+0x36/0x4f > [246457.594367] [] ? evict+0x155/0x15d > [246457.594370] [] ? kmem_cache_free+0x34/0xa7 > [246457.594372] [] ? __d_free+0x4b/0x50 > [246457.594374] [] ? mntput_no_expire+0x2e/0x126 > [246457.594376] [] ? mntput+0x28/0x2a > [246457.594379] [] ? __fput+0x190/0x1b0 > [246457.594381] [] __sys_sendmsg+0x3d/0x5b > [246457.594383] [] SyS_sendmsg+0xd/0x19 > [246457.594385] [] system_call_fastpath+0x1a/0x1f > [246457.594387] ---[ end trace 9d9631e0aba2fb1b ]--- > [246457.594389] vap1: sta-info-destroy: drv-sta-state error: -11, sta: 00:f0:21:0e:80:7f > [246462.597586] ath10k: key installation failed for vdev 0 peer 04:f0:21:0e:38:43: -11 > [246462.597591] vap1: failed to remove key (0, 04:f0:21:0e:38:43) from hardware (-11) > [246465.603855] ath10k: could not remove peer wep key 0 (-11) > [246465.603860] ath10k: could not clear all peer wep keys for vdev 0: -11 > [246465.603863] ath10k: Failed to disassociate station: 04:f0:21:0e:38:43 vdev 0 ret -11 > [246468.604130] ath10k: Failed to delete peer 04:f0:21:0e:38:43 for vdev 0: -11 > [246468.604134] vap1: sta-info-destroy: drv-sta-state error: -11, sta: 04:f0:21:0e:38:43 > [246471.604400] ath10k: Failed to set beacon mode for vdev 0: -11 > [246474.604670] ath10k: Failed to recalculate rts/cts prot for vdev 0: -11 > [246477.604943] ath10k: Failed to set preamble for vdev 0: -11 > [246480.605216] ath10k: key installation failed for vdev 0 peer 04:f0:21:03:38:99: -11 > [246480.605222] vap1: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-11) > [246483.611487] ath10k: key installation failed for vdev 0 peer 04:f0:21:03:38:99: -11 > [246483.611491] vap1: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-11) > I should add: rmmod of ath10k_pci and modprobe and it still remains stuck: [265106.855296] ath10k_pci 0000:04:00.0: BAR 0: assigned [mem 0xfb400000-0xfb5fffff 64bit] [265106.855308] ath10k_pci 0000:04:00.0: BAR 0: error updating (0xfb400004 != 0xffffffff) [265106.862830] ath10k_pci 0000:04:00.0: BAR 0: error updating (high 0x000000 != 0xffffffff) [265106.881871] ath10k_pci 0000:04:00.0: Refused to change power state, currently in D3 [265106.887288] ath10k: target took longer 5000 us to wake up (awake count 1) [265106.887290] ath10k: Failed to get chip id: -110 [265106.891578] ath10k_pci: probe of 0000:04:00.0 failed with error -110 Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k