linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oleksij Rempel <linux@rempel-privat.de>
To: "Schroer, Jens Peter" <jens.schroer@scypho.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Kernel Oops with ath9k_htc during AES decrypt on ARM / BeagleBone Black
Date: Sat, 11 Oct 2014 09:31:11 +0200	[thread overview]
Message-ID: <5438DCBF.5090404@rempel-privat.de> (raw)
In-Reply-To: <1772bbe6a9db0760b4712cf8fad81fbc@scypho.com>

[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]

Am 10.10.2014 um 14:42 schrieb Schroer, Jens Peter:
> Hi Oleksij,
> 
> I have tried to recover the full dmesg, but it seems to be lost.
> I am not sure if it disappeared with during the last reboot or was not
> synced back to the flash due to the kernel panic.
> I tried to reproduce the kernel oops, but get stuck with the problem I
> mentioned in my other email.
> Is there a way of printing / tracing bad packages, so that when this
> crash occures the next time, I have hopefully more information available?
> Also, just for completeness, the issue that stops me from trying to
> reproduce the kernel oops:

I don't think this two reports are separate issues. In both cases it is
triggered by processing of broken RX packages. In one case, wrong rate,
in other case wrong length. Lets start with rate, since it seems to be
easier to reproduce.

Theoretically packets with brocken rate should be just filtered out by
ath9k_cmn_process_rate. Lets try this patch:

diff --git a/drivers/net/wireless/ath/ath9k/common.c
b/drivers/net/wireless/ath/
index c6dd7f1..f7c4db0 100644
--- a/drivers/net/wireless/ath/ath9k/common.c
+++ b/drivers/net/wireless/ath/ath9k/common.c
@@ -205,6 +205,7 @@ int ath9k_cmn_process_rate(struct ath_common *common,
                }
        }

+       printk("Warning! Unsuported rate.\n");
        return -EINVAL;
 }
 EXPORT_SYMBOL(ath9k_cmn_process_rate);

-- 
Regards,
Oleksij


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

      reply	other threads:[~2014-10-11  7:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-09 11:06 Kernel Oops with ath9k_htc during AES decrypt on ARM / BeagleBone Black Schroer, Jens Peter
2014-10-09 13:10 ` Oleksij Rempel
2014-10-09 13:54   ` Schroer, Jens Peter
2014-10-09 14:43     ` Oleksij Rempel
2014-10-10 12:42       ` Schroer, Jens Peter
2014-10-11  7:31         ` Oleksij Rempel [this message]

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=5438DCBF.5090404@rempel-privat.de \
    --to=linux@rempel-privat.de \
    --cc=jens.schroer@scypho.com \
    --cc=linux-wireless@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).