From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail2.candelatech.com ([208.74.158.173]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X0BWk-0001Ml-1Y for ath10k@lists.infradead.org; Thu, 26 Jun 2014 15:23:57 +0000 Message-ID: <53AC3AF1.8080808@candelatech.com> Date: Thu, 26 Jun 2014 08:23:29 -0700 From: Ben Greear MIME-Version: 1.0 Subject: Re: Firmware crash References: <53ABFFAC.1050603@stackframe.org> <53AC1ABF.4020906@candelatech.com> In-Reply-To: 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: Emanuel Taube Cc: Sven Schnelle , Michal Kazior , "ath10k@lists.infradead.org" On 06/26/2014 07:33 AM, Emanuel Taube wrote: > Hi Ben, > > I am able to reproduce it with your firmware-2-ct-no-commercial-7.bin > here is the crash dump: Can you reproduce with this firmware? I have been making local changes, and I will get a better decode easier if you can re-run the test with this binary... http://www.candelatech.com/downloads/firmware-2-community.bin I fixed my tool to decode the bare dump, but dmesg output will probably be more convenient for the future (looks like you missed a line of the dump in the first email??) Thanks, Ben > > assertion failed? pc=0x9a1a49, line=0, dump area=0x401930 > Target ID: 0x4100016c (1090519404) > Debug Info: > 0x4100016c 0x00000000 0x009a1a49 0x00000000 > 0x00000000 0x00060324 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x009b58cb 0x0094085d 0x00000000 0x009a1a49 > 0x809430b8 0x00401a40 0x00000001 0x00000002 > 0x80940975 0x00401a60 0x0000001f 0x00403bec > 0x409406b9 0x00401a80 0x0000001f 0x00419154 > 0x00000000 0x00401aa0 0x00050024 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > > to reproduce it I run 2 ath10k APs, one with the > WIPHY_FLAG_IBSS_RSN enabled and one without. > Whichever AP starts first keeps running while the other one > crashes when trying to start hostapd. > > Thanks, > Emanuel > > > 2014-06-26 15:06 GMT+02:00 Ben Greear >: > > > > On 06/26/2014 04:47 AM, Michal Kazior wrote: > > TSF id: 1, free_tsf_id_map: 1 > assertion failed? pc=0x9a0e15, line=0, dump area=0x401930 > Target ID: 0x4100016c (1090519404) > Debug Info: > 0x4100016c 0x00000000 0x009a0e15 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x009a0e15 > 0x00000000 0x00401930 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > 0x00000000 0x00000000 0x00000000 0x00000000 > > > Apparently firmware crashes while processing a beacon frame with a > NULL dereference. > > > I fixed some issues in this area in my CT firmware, so you could > try it if you want. If you can crash my firmware, please > send me the similar crash dump and I can probably fix it. > > Note this is not official QCA firmware, so any problems specific to > this firmware should be directed at me, and not QCA, and when reporting > general bugs (say, with driver), if you are using CT firmware be sure to > note that. > > http://www.candelatech.com/__ath10k.php > > 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 > > -- Ben Greear Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k