From: Bhagavathi Perumal S <bperumal@codeaurora.org>
To: "André Eberle" <andre.eberle@gmail.com>
Cc: ath11k@lists.infradead.org
Subject: Re: ath11k-qca crashing
Date: Tue, 20 Apr 2021 16:05:12 +0530 [thread overview]
Message-ID: <2100b7360df7c8fc4b695cd06851dc01@codeaurora.org> (raw)
In-Reply-To: <CA+D0iCL3wmHRLYBpt-QKoVGZNmNUzLHuG+ZyG8UALt=WeDuA_w@mail.gmail.com>
On 2021-04-18 00:45, André Eberle wrote:
> After some more debugging, I figured there is some problem on TX.
> Right now, adding small delays to the ath11k_nss_tx function in nss.c
> is preventing the crash from happening. Could someone point me to
> where race conditions/other issues could be happening on the TX stack?
>
Upstream ath11k driver is not using the api ath11k_nss_tx(), I think you
are using some private ath11k driver, can you please check whether the
ath11k driver is completed enabled and fully tested for the platform
"IPQ807x/AP-AC04"?
> On Thu, Apr 15, 2021 at 3:01 PM André Eberle <andre.eberle@gmail.com>
> wrote:
>>
>> I have attached the dmesg. It is the UART dump essentially, so it
>> includes some pre-boot info, maybe it is useful:
>>
>> https://drive.google.com/file/d/1u5_C7q6yK9qRyq4TJYQpkZeU-1eQmRwR/view?usp=sharing
>>
>> There is no stack trace dump during the crash, unfortunately. As you
>> can see the system suddenly reboots (sometimes it just freezes).
>>
>> I have added the logread from openwrt also. This one has trace-level
>> messages from dmesg, so maybe it is more helpful. I enabled maximum
>> debug level for ath11 on this one, hope it helps:
>>
>> echo 0xffffffff > /sys/module/ath11k/parameters/debug_mask
>>
>> https://drive.google.com/file/d/1sasD99QVf2UqF7lOQ_pD5JhI43Ie3DO6/view?usp=sharing
>>
>> On Thu, Apr 15, 2021 at 6:48 AM Bhagavathi Perumal S
>> <bperumal@codeaurora.org> wrote:
>> >
>> > On 2021-04-15 14:58, Bhagavathi Perumal S wrote:
>> > > Hello,
>> > >
>> > > I have been using the ath11k wireless driver (qca version ie. QSDK) in
>> > > a IPQ807x router, but I am facing crashes. Ethernet and WAN work fine.
>> > >
>> > >
>> > > I can connect to WiFi, and receive an address from DHCP. I can even
>> > > send/receive a number of packets via the wifi nic, but if I try to,
>> > > say, send/recv a larger number of packets at once (like visiting a
>> > > webpage), the kernel crashes. I have been digging into the NSS and
>> > > ath11k drivers trying to isolate the problem, but so far my debugging
>> > > attempts have failed. I have so far failed to set up kgdb on qsdk
>> > > also, so no help on that front.
>> > >
>> > > What is the best way to debug the ath11k drivers for such problems? Or
>> > > at least try to determine if the crashes are from the driver, or
>> > > elsewhere in the NSS system?
>> >
>> > Serial logs and crash dump will help to debug the kernel crashes. Please
>> > share dmesg logs and serial logs from power on and please share call
>> > stack details during crash if any.
>> >
>> > >
>> > > --
>> > >
>> > > ath11k mailing list
>> > >
>> > > ath11k@lists.infradead.org
>> > >
>> > > http://lists.infradead.org/mailman/listinfo/ath11k
--
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
next prev parent reply other threads:[~2021-04-20 10:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <SN6PR02MB5520E3ADA594F9BA98E64B22E24D9@SN6PR02MB5520.namprd02.prod.outlook.com>
2021-04-15 9:48 ` ath11k-qca crashing Bhagavathi Perumal S
2021-04-15 18:01 ` André Eberle
2021-04-17 19:15 ` André Eberle
2021-04-20 10:35 ` Bhagavathi Perumal S [this message]
2021-04-14 21:24 André Eberle
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=2100b7360df7c8fc4b695cd06851dc01@codeaurora.org \
--to=bperumal@codeaurora.org \
--cc=andre.eberle@gmail.com \
--cc=ath11k@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.