[OpenWrt-Devel] kernel oops with ath9k + shared irqs

André Gaul andre at gaul.io
Wed Nov 12 10:39:38 EST 2014

Hey openwrt devs!

I'm observing 100% reproducible kernel oopses with a recent openwrt
(tested with trunk and barrier breaker) on a Mikrotik Routerboard RB435
which is equipped with 5 minipci cards. The board boots up fine if all
wifi devices are disabled in /etc/config/wireless and yields the
following interrupt mapping for the wifi devices:

root at OpenWrt:~# dmesg | grep AR9280
[19.340000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[20.960000] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0010000, irq=41
[22.660000] ieee80211 phy2: Atheros AR9280 Rev:2 mem=0xb0020000, irq=42
[24.370000] ieee80211 phy3: Atheros AR9280 Rev:2 mem=0xb0030000, irq=41
[25.990000] ieee80211 phy4: Atheros AR9280 Rev:2 mem=0xb0040000, irq=42
(full dmesg can be found in [1])

If the devices are enabled in /etc/config/wireless such that no
interrupt is shared (e.g., enabled phy{0,1,2}, phy{0,1,4}, phy{0,2,3},
...) the board continues to operate normally; otherwise (e.g., enabled
phy{1,3}, phy{0,1,2,3}, phy{0,1,2,3,4}, ...) it crashes with a data bus
error, cf. [2] for a full log.

Any ideas?


[1] http://paste.debian.net/131446/
[2] http://paste.debian.net/131449/

Homepage   http://andre.gaul.io
GitHub     https://github.com/andrenarchy
Twitter    https://twitter.com/#!/andrenarchy
Diaspora   https://diasp.org/u/andrenarchy
           (you won't find me on facebook!)
Jabber     gaul at web-yard.de
PGP Key    0x0FA9170E
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list