[OpenWrt-Devel] Hardlock in ath9k
ryazanov.s.a at gmail.com
Sun Jan 18 06:45:14 EST 2015
2015-01-15 14:55 GMT+03:00 Felix Fietkau <nbd at openwrt.org>:
> On 2015-01-15 12:48, Gianluca Anzolin wrote:
>> Il 15/01/2015 04:25, Felix Fietkau ha scritto:
>>> On 2015-01-14 20:19, Gianluca Anzolin wrote:
>>>> I was just testing this evening, just for fun, a new build with the just
>>>> released musl libc (1.1.6) on my new router (Archer C7) but
>>>> unfortunately it bricked my router.
>>>> Initially I feared that I did something wrong when updating the libc but
>>>> this turned out not to be the case.
>>>> With the help of a serial cable I noticed that the router freezed when
>>>> trying to bring up the wireless interface (in the NG band).
>>>> I skimmed through the commits and reverted the last ath9k commit:
>>>> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43971
>>>> I rebuilt the image and the router worked.
>>>> I haven't had the time to look at the actual commit yet, I just wanted
>>>> to let you know.
>>> Please try applying http://nbd.name/ath79-irq-disable.patch to your
>>> kernel tree and see if it fixes the issue.
>>> - Felix
>> I still get freezes when bringing up the wifi interface even with that
>> patch applied
> I just finished debugging this and I'm going to commit fixes very soon.
> Turns out it was a rather nasty cascade of bugs.
> My patch would have fixed the bug of being unable to disable the
> WMAC/PCI interrupts, however disable_irq() on MIPS CPU irqs is
> completely broken as well (and has been for many years).
> This led to some nasty IRQ storms.
could you advice, how do you detect interrupt storms? I'm debugging an
occasionally freeze of AR5312 based board during MAC chip reset, and
consider that the unexpected interrupt is one of the possible cause.
And I wonder how to check that.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel