Larry Finger wrote: > On 01/09/2010 05:15 PM, Hauke Mehrtens wrote: >> Hi, >> >> I am using compat-wireless of 2010-01-07 and mac80211: fix netdev >> queues, mac80211: fix a few work bugs and mac80211: fix endian error by >> Johannes. >> >> The system is running OpenWrt with kernel 2.6.30.10 on Asus WL-500GP >> (brcm47xx system mips) and hostap git of 2010-01-08. >> >> The Systems and hostapd starts normal, but if a client tries to connect >> to the access point the AP crashes. Without encryption it works without >> any problems but with PSK and WPA1 the system crashes with the attached >> panic. I have not tried other encryption modes. With compat-wireless of >> 2009-12-05 and hostap git of 2009-11-29 the system worked link expected. > > Can you run compat-wireless of 01-07 with hostap of 11-29 to isolate the problem > in compat-wireless? If that shows the problem in compat-wireless, can you > perform what amounts to a bisection? Hi, hostapd of 2010-01-08 and compat-wireless of 2009-12-05 are working together. With compat-wireless of 2010-01-01 hostapd says "Failed to remove interface (ifidx=0)" and no connection to the ap is possible. With compat-wireless of 2010-01-05 hostap says nothing while a client tries to connect. For the tests today I used kernel 2.6.32.3. It is hard to biselect the issue, because the AP mode did not worked for some time on my device. On an AMD64 System with Ubuntu 9.10 (kernel 2.6.31) and compat-wireless of 2010-01-07 with the same hostapd version I have no problems. Here is an other log of the error combined with hostapd debug log with hostapd 20100108 and compat-wireless 2010-01-07. Hauke 122.439116: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added 122.439224: Unknown event 5 122.439342: RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) 122.439491: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added 122.439661: Unknown event 5 151.228297: mgmt::proberesp cb 151.284292: mgmt::proberesp cb 151.344281: mgmt::proberesp cb 175.820380: mgmt::proberesp cb 175.880294: mgmt::proberesp cb 175.944281: mgmt::proberesp cb 177.024713: mgmt::auth 177.024924: authentication: STA=00:25:d3:24:81:99 auth_alg=0 auth_transaction=1 status_code=0 wep=0 177.025127: New STA 177.025390: wlan0: STA 00:25:d3:24:81:99 IEEE 802.11: authentication OK (open system) 177.025749: wlan0: STA 00:25:d3:24:81:99 MLME: MLME-AUTHENTICATE.indication(00:25:d3:24:81:99, OPEN_SYSTEM) 177.0260CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801a8efc, ra == 801a8ee4 03: wlan0: STA 0Oops[#1]: Cpu 0 $ 0 : 00000000 00478aa3 00002000 00027a80 $ 4 : 000011a0 8151c780 00000003 00000005 $ 8 : 00000002 00000001 00100000 00000000 $12 : 00000000 00000000 00000083 00470000 $16 : 00000000 81462e00 8151c780 81ff0000 $20 : 00000000 8186c940 00000091 00000000 $24 : 00000001 814f58e1 $28 : 8152e000 8152fc58 81debe00 801a8ee4 Hi : 00000000 Lo : 00000080 epc : 801a8efc dev_queue_xmit+0x1d8/0x5dc Not tainted ra : 801a8ee4 dev_queue_xmit+0x1c0/0x5dc Status: 1000d803 KERNEL EXL IE Cause : 00800008 BadVA : 00000000 PrId : 00029006 (Broadcom BCM3302) Modules linked in: nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc b43legacy b43 mac80211 cfg80211 crc_ccitt arc4 aes_generic deflate ecb cbc switch_robo switch_core diag Process hostapd (pid: 1058, threadinfo=8152e000, task=81c439b8, tls=00000000) Stack : 00000000 8186c940 00000091 00000000 81debe00 80197b38 81e08000 8151c780 81ff0000 00000091 00000300 00000000 8186c940 8022008c 81e08000 8152fe28 00000000 8152fd38 818041a0 8001dcc0 00000000 801a1164 00000000 8152fd38 00000000 00000024 8152fce8 801c6b84 0319bfe0 802f0200 00000422 00000000 00000000 00000000 8152fd58 00000000 00000091 8152fe24 8152fe44 8152fe44 ... Call Trace: [<801a8efc>] dev_queue_xmit+0x1d8/0x5dc [<8022008c>] packet_sendmsg+0x9c4/0xb9c [<80194470>] sock_sendmsg+0xa8/0xd8 [<80194648>] sys_sendmsg+0x1a8/0x224 [<80003230>] stack_done+0x20/0x3c Code: 3042cfff 34422000 a642007a <8e030000> 106000a8 00000000 8e02004c 30420004 10400005 Disabling lock debugging due to kernel taint 0:25:d3:24:81:99Kernel panic - not syncing: Fatal exception in interrupt MLME: MLME-DELERebooting in 3 seconds..TEKEYS.request(00:25:d3:24:81:99) 177.026164: authentication reply: STA=00:25:d3:24:81:99 auth_alg=0 auth_transaction=2 resp=0 (IE len=0) 177.028302: mgmt::auth cb 177.028563: wlan0: STA 00:25:d3:24:81:99 IEEE 802.11: authenticated 177.029915: mgmt::reassoc_req 177.030043: reassociation request: STA=00:25:d3:24:81:99 capab_info=0x431 listen_interval=10 current_ap=00:1a:92:ea:73:12 177.030320: Validating WMM IE: OUI 00:50:f2 OUI type 2 OUI sub-type 0 version 1 QoS info 0x0 177.030540: new AID 1 177.030760: wlan0: STA 00:25:d3:24:81:99 IEEE 802.11: association OK (aid 1) 177.033298: mgmt::reassoc_resp cb 177.033576: wlan0: STA 00:25:d3:24:81:99 IEEE 802.11: associated (aid 1) 177.034240: wlan0: STA 00:25:d3:24:81:99 MLME: MLME-REASSOCIATE.indication(00:25:d3:24:81:99) 177.034567: wlan0: STA 00:25:d3:24:81:99 MLME: MLME-DELETEKEYS.request(00:25:d3:24:81:99) 177.036355: wpa_driver_nl80211_set_key: ifindex=8 alg=0 addr=0x478848 key_idx=0 set_tx=1 seq_len=0 key_len=0 177.036611: addr=00:25:d3:24:81:99 177.047463: wlan0: STA 00:25:d3:24:81:99 WPA: event 1 notification 177.048974: wpa_driver_nl80211_set_key: ifindex=8 alg=0 addr=0x478848 key_idx=0 set_tx=1 seq_len=0 key_len=0 177.049226: addr=00:25:d3:24:81:99 177.049898: wlan0: STA 00:25:d3:24:81:99 WPA: start authentication 177.050027: WPA: 00:25:d3:24:81:99 WPA_PTK entering state INITIALIZE 177.051323: wpa_driver_nl80211_set_key: ifindex=8 alg=0 addr=0x478848 key_idx=0 set_tx=1 seq_len=0 key_len=0 177.051575: addr=00:25:d3:24:81:99 177.053702: wlan0: STA 00:25:d3:24:81:99 IEEE 802.1X: unauthorizing port 177.053829: WPA: 00:25:d3:24:81:99 WPA_PTK_GROUP entering state IDLE 177.053975: WPA: 00:25:d3:24:81:99 WPA_PTK entering state AUTHENTICATION 177.054197: WPA: 00:25:d3:24:81:99 WPA_PTK entering state AUTHENTICATION2 177.054344: WPA: 00:25:d3:24:81:99 WPA_PTK entering state INITPSK 177.054535: WPA: 00:25:d3:24:81:99 WPA_PTK entering state PTKSTART 177.054814: wlan0: STA 00:25:d3:24:81:99 WPA: sending 1/4 msg of 4-Way Handshake 177.054914: WPA: Send EAPOL(version=1 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
Attachment:
signature.asc
Description: OpenPGP digital signature