Hey guys,
 
Thanks in advance. Has anyone come across this before?
 
I have 3 Nodes and simply trying to setup WDS between the nodes. But each time I bring up the third node, one of the node will crash with kernel panic.
 
Here is my setup:
 
NODE 1
 
brctl addbr br0
wlanconfig ath1 create wlandev wifi1 wlanmode wds
iwpriv ath1 mode 1
iwpriv ath1 wds 1
iwconfig ath1 freq 5.3GHz
iwpriv ath1 wds_add 00:00:00:00:00:00   <- MAC address of NODE 2
ifconfig ath1 0.0.0.0 up
brctl addif br0 ath1
 
wlanconfig ath2 create wlandev wifi1 wlanmode wds
iwpriv ath2 mode 1
iwpriv ath2 wds 1
iwconfig ath2 freq 5.3GHz
iwpriv ath2 wds_add 00:00:00:00:00:00   <- MAC address of NODE 3
ifconfig ath2 0.0.0.0 up
brctl addif br0 ath2
ifconfig br0 10.2.2.1 netmask 255.255.255.0 up
 
 
NODE 2
 
brctl addbr br0
wlanconfig ath1 create wlandev wifi1 wlanmode wds
iwpriv ath1 mode 1
iwpriv ath1 wds 1
iwconfig ath1 freq 5.3GHz
iwpriv ath1 wds_add 00:00:00:00:00:00   <- MAC address of NODE 1
ifconfig ath1 0.0.0.0 up
brctl addif br0 ath1
 
wlanconfig ath2 create wlandev wifi1 wlanmode wds
iwpriv ath2 mode 1
iwpriv ath2 wds 1
iwconfig ath2 freq 5.3GHz
iwpriv ath2 wds_add 00:00:00:00:00:00   <- MAC address of NODE 3
ifconfig ath2 0.0.0.0 up
brctl addif br0 ath2

ifconfig br0 10.2.2.2 netmask 255.255.255.0 up
 
 
NODE 3
 
brctl addbr br0
wlanconfig ath1 create wlandev wifi1 wlanmode wds
iwpriv ath1 mode 1
iwpriv ath1 wds 1
iwconfig ath1 freq 5.3GHz
iwpriv ath1 wds_add 00:00:00:00:00:00   <- MAC address of NODE 1
ifconfig ath1 0.0.0.0 up
brctl addif br0 ath1
 
wlanconfig ath2 create wlandev wifi1 wlanmode wds
iwpriv ath2 mode 1
iwpriv ath2 wds 1
iwconfig ath2 freq 5.3GHz
iwpriv ath2 wds_add 00:00:00:00:00:00   <- MAC address of NODE 2
ifconfig ath2 0.0.0.0 up
brctl addif br0 ath2
ifconfig br0 10.2.2.3 netmask 255.255.255.0 up
 
 
Making connection between 2 nodes, I don't have a problem. I can ping, ssh, pretty much do anything I want. The moment I add the third node, I get a kernel panic. Below is the last few lines of the kernel panic message I get.
 
Call Trace:
    [<e09e103d>] zz067d0c47+0x15/0x5c [ath_hal]
    [<e0a462e4>] ath_intr+0x940/0.a47 [ath_pci]
    [<e0a42d75>] ath_tx_processq+0x106/0x56c [ath_pci]
    [<e0a455cc>] ath_rx_tasklet+0x4b8/0x6bf [ath_pci]
    [                  ] __do_softirq+0x36/0x3a
    ......
    ......
    Code: ec 04 8b 74 24 14 b8 00 e0 ff ff 21 e0 ff 40 14 8b be d4 01 00 00 8d 96 cc 01 00 00 8b 9e cc 01 00 00 39 d3 74 2d 8b 03 ff 4a 08 <89> 50 04 89 86 cc 01 00     00 c7 43 04 00 00 00 00 c7 03 00 00 00
    EIP: [<e0a13e51>] ieee80211_node_saveq_drain+0x2f/0x74 [wlan] SS:ESP 0068:c033bdd0
    <0>Kernel panic - not syncing: Fatal exception in interrupt

Here is more information:
   
I am runing on the Debian 4.0 R1 (Linux st01 2.6.18-5-686 #1 SMP Tue Dec 18 21:24:20 UTC 2007 i686 GNU/Linux)
 
st03:~# apt-show-versions |grep madwifi
madwifi-modules-2.6.18-5-686 1:0.9.2+r1842.20061207-2etch1+2.6.18.dfsg.1-13etch6
madwifi-source/etch uptodate 1:0.9.2+r1842.20061207-2etch1
madwifi-tools/etch uptodate 1:0.9.2+dfsg-1
Am I using the wrong version of madwifi?
Is this a known issue?
Is it the order in which I setup the VAP?
What am I missing?
 
 
I plan on linking a few more nodes. I figured if I can get 3 nodes working, it should be easy to add the rest of the node.
 
I really appreciate any comment, recommendation, suggestion, different approach, different OS suggestion.
 
Thanks in advance.
 
AE