Search Linux Wireless

Re: Kernel Oops with ath9k_htc during AES decrypt on ARM / BeagleBone Black

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux