OpenWrt Forum Archive

Topic: Kernel Oops with madwifi on RB133

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm running the latest (Wednesday 3/19/08, I don't have the release # handy) svn build with madwifi drivers.  I compiled for the ADM5120 target and booted up on a Mikrotik RB133.  Everything works fine until I enable wifi.  If I take out the "disable" line in /etc/config/wireless and reboot, I get the kernel Oops below.  If I issue a 'Wifi up', the console (I'm using serial) just hangs.  The fact that it hangs whether or not wifi is enabled in /etc/config/wireless makes me wonder if it's dying on harware scan.  Hm.

----------

ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, REGOPS_FUNC)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: trunk
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 5212: mem=0x11400000, irq=14
CPU 0 Unable to handle kernel paging request at virtual address 00000004, epc == c012bc74, ra == c012cad8
Oops[#1]:
Cpu 0
$ 0   : 00000000 10008400 81f68000 000000a0
$ 4   : 00000000 00000000 00000000 81f68000
$ 8   : 000000a0 0007c1f0 004ecb44 7fe6fda4
$12   : 7fe61043 2abe7370 2abe25b0 7fe6fda4
$16   : 00000000 81f68000 81f68000 81f68000
$20   : 00000000 81f68230 7fe6fbf8 7fe6fff8
$24   : 00000000 8010d0a8                 
$28   : 81fd8000 81fd9cd0 81fc5dfc c012cad8
Hi    : 00000363
Lo    : d7139000
epc   : c012bc74     Tainted: P       
ra    : c012cad8 Status: 10008402    KERNEL EXL
Cause : 00800008
BadVA : 00000004
PrId  : 0001800b (MIPS 4Kc)
Modules linked in: ath_pci wlan_xauth wlan_wep wlan_tkip wlan_ccmp wlan_acl ath_rate_minstrel ath_hal(P) wlan_scan_sta wlan_scan_ap wlan nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp
Process ifconfig (pid: 1948, threadinfo=81fd8000, task=81c2f8a8)
Stack : 7fe6fbf8 c0124d2c 81c2d013 8007cbd4 10008401 81fc4360 81f68000 81f68000
        c0125768 c0125754 81df2000 81fe2c80 80222d68 00000000 00000002 00000001
        00000000 80222d48 00000000 8022329c 8005071c 81806610 8007ae18 8007ae04
        10008401 81fc4360 81f68000 81fc5b94 81fc4000 00008914 7fe6fbf8 7fe6fff8
        00000000 c007703c 81fc4478 00000006 81edcfd8 00000001 81fd9d90 81fc5b94
        ...
Call Trace:[<c0124d2c>][<8007cbd4>][<c0125768>][<c0125754>][<8005071c>][<8007ae18>][<8007ae04>][<c007703c>][<c007c2e8>][<8004e5e4>][<8015bf44>][<c00a940c>][<8005b3e0>][<8005b3e0>][<8015bf44>][<801585d4>][<8015a458>][<801afd04>][<801afb38>][<8015b838>][<8014e23c>][<8007dc9c>][<8007dfac>][<8014caf0>][<8014da50>][<8007e02c>][<80009590>][<80009590>]

Code: 00021080  00471021  9444302c <94a30004> 10830017  00c01025  00061040  00461021  000210c0

this is fixed on the latest snapshot.  check ticket #3213

The discussion might have continued from here.