From: Mohammed Shafi Shajakhan <mohammed@codeaurora.org>
To: Alexandre Maloteaux <alexandre@maloteaux.net>
Cc: ath10k@lists.infradead.org
Subject: Re: boot kernel panic with QCA6174 and kernel 4.8
Date: Wed, 7 Dec 2016 18:22:45 +0530 [thread overview]
Message-ID: <20161207125245.GA4429@atheros-ThinkPad-T61> (raw)
In-Reply-To: <20161207124149.GA4410@atheros-ThinkPad-T61>
Hi,
also worth putting a print in 'ath10k_debug_print_board_info'
debug.c
~/ath/drivers/net/wireless/ath/ath10k$ git diff
diff --git a/drivers/net/wireless/ath/ath10k/debug.c
b/drivers/net/wireless/ath/ath10k/debug.c
index bfc0215..89ab4af 100644
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -169,6 +169,12 @@ void ath10k_debug_print_board_info(struct ath10k *ar)
else
scnprintf(boardinfo, sizeof(boardinfo), "N/A");
+ if (IS_ERR_OR_NULL(ar->normal_mode_fw.board)) {
+ printk("\nAvoided oops ?\n");
+ WARN_ON(1);
+ return;
+ }
+
ath10k_info(ar, "board_file api %d bmi_id %s
crc32 %08x",
ar->bd_api,
boardinfo,
Let me know if it helps, or you need a patch format
regards,
shafi
On Wed, Dec 07, 2016 at 06:11:49PM +0530, Mohammed Shafi Shajakhan wrote:
> Hi,
>
> On Wed, Dec 07, 2016 at 09:40:29AM +0100, Alexandre Maloteaux wrote:
> > Hi
> > Since recent kernel upgrade on Arch linux ; im facing boot kernel
> > panics with the ath10k_pci and QCA6174 802.11ac Wireless Network Adapter
> > on an Eurocom P5 Pro laptop.
> >
> > This is the main call stack dump :
> >
> > ath10k_print_driver_info(ath10k_core)
> > ath10k_pcl_fw_crashed_dump (ath10k_pci)
> > ath10k_pcl.tasklet
>
> [shafi] If you have the source of the same and with the help of gdb we
> can get the exact line
>
> >
> > So far i can circumvent the kernel panic by appending
> > modprobe.blacklist=ath10k_pci to the kernel command line.
> > Once the Os is booted i can load the module with modprobe without
> > triggering the kernel panic.
> >
> > I also unpacked the initrd and the firmware file are not located in
> > lib/firmware.
>
> [shafi] interesting your log (image file) seems to show the firmware is crashed
> ? if the firmware is missing you can give a try with this
> https://patchwork.kernel.org/patch/9412085/ but the call trace looks completely
> different, if the f/w is not there
>
> long time back we fixed a race https://patchwork.kernel.org/patch/9167045/ but
> it should be available in 4.8.11
>
> >
> > I could not setup kdump so early in the boot process so i have attached
> > a screenshot of the on screen dump.
> >
> > lspci :
> > 06:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless
> > Network Adapter (rev 20)
> >
> > uname -r
> > 4.8.11-1-ARCH
> >
> > Best Regards
>
>
> > _______________________________________________
> > ath10k mailing list
> > ath10k@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/ath10k
>
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2016-12-07 12:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-07 8:40 boot kernel panic with QCA6174 and kernel 4.8 Alexandre Maloteaux
2016-12-07 12:41 ` Mohammed Shafi Shajakhan
2016-12-07 12:52 ` Mohammed Shafi Shajakhan [this message]
2016-12-07 20:30 ` Alexandre Maloteaux
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161207125245.GA4429@atheros-ThinkPad-T61 \
--to=mohammed@codeaurora.org \
--cc=alexandre@maloteaux.net \
--cc=ath10k@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox