I have the same crash with the command line.
I have only 2 mp.
I test 4 times with the command line. Each time the second mp started crash.

The meshd output :
iw phy0 interface add wlan0 type mp
root@test:~# ifconfig wlan0 up
root@test:~# meshd-nl80211 -c /etc/authsae-radio0w0.conf 
setting freq 5180, mode 1 (seq num=1354812062)
----------
nlcfg rates hexdump
00 3c 00 5a 00 78 00 b4 00 f0 01 68 01 e0 02 1c 
----------

----------
mgtk:  hexdump
a1 8e e3 df 24 86 c9 8b c4 66 b3 e3 8f d1 54 79 
----------

----------
Fixed Information Elements in this STA hexdump
01 08 8c 12 98 24 b0 48 60 6c 
----------

meshd: Starting mesh with mesh id = cvtest
----------
basic rates: hexdump
8c 98 b0 
----------

NL80211_CMD_NEW_PEER_CANDIDATE(1354812057.397397)
tx_frame(0x1002a814, 0xbfd28c88, 128)
tx frame (seq num=1354812073)
----------
tx frame hexdump
b0 00 00 00 90 a4 de aa 40 a8 90 a4 de aa 42 94 90 a4 de aa 
40 a8 00 00 03 00 01 00 00 00 13 00 95 a9 f2 7a e2 0c c6 fe 
b9 9c 6a ec 51 c5 60 ec f1 89 82 be b5 1a 6e e1 a8 cc 94 33 
d2 d3 dc aa 9d 64 23 2d b8 7c a4 f6 3b c0 86 25 dd 23 d0 75 
59 18 22 bd 99 95 66 75 48 45 55 c7 49 1a 18 63 f4 be 82 14 
2c 9e 6d 26 d4 ec c6 2e 47 c1 cc 9e 7c 7f 1f 1d d0 e0 18 ef 
89 82 ca 67 6e 22 ee 8b 
----------

new unauthed sta (seq num=1354812074)
NL80211_CMD_TX_STATUS (1354812057.471121)
NL80211_CMD_NEW_STATION (1354812057.472449)
NL80211_CMD_FRAME (1354812057.473610)
----------
rx frame hexdump
b0 00 30 00 90 a4 de aa 42 94 90 a4 de aa 40 a8 90 a4 de aa 
42 94 30 16 03 00 01 00 00 00 13 00 14 9f 08 b6 4d 1d 24 6a 
99 b6 33 f0 58 7a a7 12 08 8e 44 4d 2d d5 8f 1f 49 18 8c 79 
2b d6 e5 56 fc 16 bb d3 6f 8e 14 19 43 77 eb 46 f3 db 4a 72 
c1 a6 1a 74 88 9f b9 b7 21 a8 1a 75 97 b9 01 86 f5 f0 b7 3c 
df 72 85 d6 92 a2 64 8f c3 12 48 55 4b c5 c3 16 59 85 93 2d 
06 1c 27 03 35 ef b6 4f 
----------

tx_frame(0x1002a814


I understand why the HT mode is not set by meshd. It cannot set the channel
information when the interface has joined a mesh network.
The interface join the mesh network automatically, if the mesh_id is set in
'iw  $phy interface add' command (during ifconfig $ifname up process).


---
Cedric Voncken 

De : [email protected]
[mailto:[email protected]] De la part de Yeoh Chun-Yeow
Envoyé : lundi 15 avril 2013 15:51
À : [email protected]
Objet : Re: Authsae + htmode crash

If you try the following, without enabling the secured mesh using
mac80211.sh script, work?

iw phy phy0 interface add $ifname type mp
ifconfig $ifname up
meshd-nl80211 -c <config file> -i $ifname &

---
Chun-Yeow

On Mon, Apr 15, 2013 at 6:31 PM, Cedric VONCKEN <[email protected]>
wrote:
I try to use the authsae in 802.11s network.
I am using openwrt with the latest mac802.11 (2013-02-22).
I am using the Thomas Pedersen patch to add the authsae package in my
openwrt source tree
(http://permalink.gmane.org/gmane.linux.drivers.mesh.open80211s/2530)

To enable the 802.11s and HT20 (or HT40) I need to change the
/lib/wifi/mac80211.sh. Before call mac80211_authsae_setup_mbss I need to
call :
        iw dev $ifname set freq $freq $htmode
        ifconfig $ifname up

Without these calls, the HT mode is not enabled on my mesh network (I
check with wireshark, I don't have the HT tag in beacon). I looking for
understand why the authsae do not enable the HTmode.

My authsae config file is
authsae:
{
 sae:
  {
    debug = 480;
    password = "acksystest";
    group = [19, 26, 21, 25, 20];
    blacklist = 5;
    thresh = 5;
    lifetime = 3600;
  };
 meshd:
  {
    meshid = "cvtest";
    interface = "wlan0";
    passive = 0;
    debug = 1;
    mediaopt = 1;
    band = "11a";
    channel = 36;
    htmode = "HT20";
  };
};

When I run "wifi up" I have a kernel panic.  The crash dump is

[  194.373985] Unable to handle kernel paging request for data at
address 0x00000000
[  194.381535] Faulting instruction address: 0xc929e1c4
[  194.386539] Oops: Kernel access of bad area, sig: 11 [#1]
[  194.391920] MPC831x RDB
[  194.394353] Modules linked in: leds_gpio i2c_gpio i2c_algo_pcf
i2c_algo_bit ledtrig_timer ledtrig_netdev ledtrig_gpio
ledtrig_default_on nf_nat_irc nf_nat_ftp nf_conntrack_irc
nf_conntrack_ftp xt_iprange xt_HL xt_hl xt_ecn ipt_ECN xt_CLASSIFY
xt_time xt_tcpmss xt_statistic xt_mark xt_length xt_DSCP xt_dscp
xt_string xt_layer7 ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE iptable_nat
nf_nat xt_recent xt_helper xt_connmark xt_connbytes pppoe xt_conntrack
xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4
nf_conntrack pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp
x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) ts_fsm ts_bm ts_kmp cfg80211(O) compat(O) arc4
[  194.464129] NIP: c929e1c4 LR: c9297b34 CTR: c9297ad4
[  194.469080] REGS: c7ffbc40 TRAP: 0300   Tainted: G           O
(3.3.8)
[  194.475666] MSR: 00009032 <EE,ME,IR,DR,RI>  CR: 22022042  XER:
00000000
[  194.482290] DAR: 00000000, DSISR: 20000000
[  194.486371] TASK = c79e2b40[1741] 'wifi' THREAD: c73a4000
[  194.491573] GPR00: c9297b34 c7ffbcf0 c79e2b40 c7a79780 c6470390
00000001 c6470348 00000000
[  194.499927] GPR08: 00000000 00000000 00000004 00030024 42028048
1008eba0 00008000 00000000
[  194.508280] GPR16: c91a5174 0000b000 c91a1158 c91a190c 0000c000
0000a000 0000d000 c91a1140
[  194.516635] GPR24: 00000001 c647089c c64703a4 c647039c c7a79780
c7a78aa0 00000000 c647039c
[  194.525165] Call Trace:
[  194.527604] [c7ffbcf0] [c0311544] 0xc0311544 (unreliable)
[  194.532990] [c7ffbd20] [c9297b34] 0xc9297b34
[  194.537246] [c7ffbd30] [c916ac54] 0xc916ac54
[  194.541504] [c7ffbd60] [c919ada4] 0xc919ada4
[  194.545761] [c7ffbd70] [c917de24] 0xc917de24
[  194.550019] [c7ffbe00] [c91802ac] 0xc91802ac
[  194.554276] [c7ffbe40] [c91809e4] 0xc91809e4
[  194.558533] [c7ffbea0] [c929b3c4] 0xc929b3c4
[  194.562791] [c7ffbf70] [c9298fdc] 0xc9298fdc
[  194.567047] [c7ffbf90] [c0020ae4] 0xc0020ae4
[  194.571305] [c7ffbfb0] [c0021208] 0xc0021208
[  194.575562] [c7ffbff0] [c000cea0] 0xc000cea0
[  194.579818] [c73a5ee0] [c000550c] 0xc000550c
[  194.584075] [c73a5f00] [c0021444] 0xc0021444
[  194.588333] [c73a5f10] [c0005424] 0xc0005424
[  194.592589] [c73a5f40] [c000ec3c] 0xc000ec3c
[  194.596847] --- Exception: 501 at 0x10029290
[  194.596856]     LR = 0x10029280
[  194.604217] Instruction dump:
[  194.607203] 4bffe504 9421ffd0 7c0802a6 90010034 bf010010 3b64000c
7c7c1b78 3b24050c
[  194.615086] 7f7fdb78 3b440014 3b000001 83df0018 <83be0000> 48007ec1
7d3bf850 381f0008
[  194.623131] ---[ end trace 5e208ae1dbf3ec84 ]---
[  194.627728]
[  195.619388] Kernel panic - not syncing: Fatal exception in interrupt

The authsae work correctly if the HT mode is not enabled (in 802.11a
only for exemple).

Best regards.

Cedric Voncken
_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel


_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to