Madwifi-0.9.4-r4126-20100324: Kernel Panic in station evereytime after approx 30 minutes

"R.Mohan" <[email protected]> Thu, 28 Jul 2011 07:49:38 +0530
Newsgroups gmane.linux.drivers.madwifi.user
Message-ID <[email protected]>
Dear All,

My application is a point to point wireless link bridging two wired ports.

One end of the link operates as a Master and other is a Station. A
transparent bridge ot each end connects eth0 and ath0

In have added code in madwifi ieee80211_hardstart & ieee80211_deliver_data

The added code are filters that look at the data and based on the filter
setup decides to forward the skb or drop it completely.

I had to add the filter in the madwifi code as I do not have access to the
box on the eth0.

This code has been running fine for the last six months.

Recently, I added some more rules to the filters.

With these changes the link works perfeectly fine for approximatly 30
minutes.

After 30 minutes everytime the Station's kernel panics and the system
reboots. The link is reestablished once again.
This keeps repeating.

There is no problem with the Master side of the link.

I have no clue as to why this happens.

Attached is the dump from the kernel. The stack trace in the kernel dump is
always at the very same

Any help or leads to fix the problem are welcome

Thanks in advance


R.Mohan

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey

_______________________________________________
Madwifi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-users
kernal panic.txt (text/plain, 3.3 KB)
CPU 2 Unable to handle kernel paging
request at virtual address 220316ea, epc == c00a8e1c, ra == c00a8e0c
=== MIPS MT State Dump ===
-- Global State --
   MVPControl Passed: 00000005
   MVPControl Read: 00000004
   MVPConf0 : a8008404
-- per-VPE State --
  VPE 0
   VPEControl : 00028000
   VPEConf0 : 80230003
   VPE0.Status : 11004701
   VPE0.EPC : 8010bea0
   VPE0.Cause : 50804400
   VPE0.Config7 : 00000004
  VPE 1
   VPEControl : 00048004
   VPEConf0 : 80830003
   VPE1.Status : 11004301
   VPE1.EPC : 8010bea0
   VPE1.Cause : 50804400
   VPE1.Config7 : 00000004
-- per-TC State --
  TC 0
   TCStatus : 189020eb
   TCBind : 00000000
   TCRestart : 8010bea0
   TCHalt : 00000000
   TCContext : 00000000
  TC 1
   TCStatus : 1890208f
   TCBind : 00200000
   TCRestart : 8010bea0
   TCHalt : 00000000
   TCContext : 00000000
  TC 2 (current TC with VPE EPC above)
   TCStatus : 00000400
   TCBind : 00400000
   TCRestart : 8013fe88
   TCHalt : 00000000
   TCContext : 00000000
  TC 3
   TCStatus : 189020d9
   TCBind : 00600001
   TCRestart : 8010bea0
   TCHalt : 00000000
   TCContext : 00000000
  TC 4
   TCStatus : 189020f8
   TCBind : 00800001
   TCRestart : 8010bea0
   TCHalt : 00000000
   TCContext : 00000000
Counter Interrupts taken per CPU (TC)
0: 0
1: 0
2: 0
3: 0
4: 0
Self-IPI invocations:
0: 73
1: 72
2: 254
3: 11
4: 83
IPIQ[0]: head = 0x0, tail = 0x0, depth = 0
IPIQ[1]: head = 0x0, tail = 0x0, depth = 0
IPIQ[2]: head = 0x81148610, tail = 0x81148700, depth = 2
IPIQ[3]: head = 0x0, tail = 0x0, depth = 0
IPIQ[4]: head = 0x0, tail = 0x0, depth = 0
Timer IPI Backlogs:
0: 0
1: 0
2: 5
3: 0
4: 0
0 Recoveries of "stolen" FPU
===========================
Oops[#1]:
Cpu 2
$ 0   : 00000000 1810208f 8039e7c4 80430000
$ 4   : 8799cc54 1810208f 00000003 830002a3
$ 8   : 00000001 00000154 0000000d 81176000
$12   : 8045f2b0 80460000 80460000 2ab97b3c
$16   : 220316d4 875132c0 874a0000 87f91ec0
$20   : 87ab7020 00000020 000003d8 8799c2c0
$24   : 00000000 8012456c
$28   : 8117a000 8117bce8 00000000 c00a8e0c
Hi    : 00000000
Lo    : 00000000
epc   : c00a8e1c ieee80211_input+0x1bc/0x1c44 [wlan]     Tainted: P
ra    : c00a8e0c ieee80211_input+0x1ac/0x1c44 [wlan]
Status: 11004703    KERNEL EXL IE
Cause : 00800008
BadVA : 220316ea
PrId  : 00019522
Modules linked in: wlan_acl ioctl_mod ath_pci wlan_scan_sta wlan_scan_ap ath_rat
e_sample wlan ath_hal
Process swapper (pid: 0, threadinfo=8117a000, task=81175520)
Stack : 8039092c 874a0000 00000000 8117bd88 000060d6 00000038 8039092c 00000000
        8117bd38 80470000 80000000 802ef370 88032c00 000b6b2f 9575000b 6b2f9699
        00000000 8117bd38 8039092c 80000000 8040b860 00000000 00000008 00000080
        806c3880 87513000 00000000 875a6480 874a0000 875132c0 00000000 ffffffff
        c00ab5c4 c00a8c60 80459280 00004364 00000025 c00aa928 8799cc50 87ab7020
        ...
Call Trace:
[<c00a8e1c>] ieee80211_input+0x1bc/0x1c44 [wlan]
[<c00aa928>] ieee80211_input_all+0x84/0x174 [wlan]
[<c016d494>] ath_rx_tasklet+0xa9c/0xb0c [ath_pci]
[<80146ff0>] tasklet_action+0x120/0x448
[<801467d4>] __do_softirq+0xd0/0x1b4
[<80146944>] do_softirq+0x8c/0xb0
[<8010dfa4>] do_IRQ+0x74/0x8c
[<8011aec0>] smtc_do_pending_irqs+0x90/0x16c
[<8011b748>] __smtc_ipi_vector+0x188/0x194


Code: 10e00010  00000000  8cf00098 <96020016> 7c0210a0  3042ffff  00021902  16c3
0004  3042000f
Kernel panic - not syncing: Fatal exception in interrupt