> > Do you have a core file? If so, can you please obtain a little more > debugging information and append it to the PR? > > kgdb /boot/kernel/kernel.symbols vmcore.1 > > then enter the following commands: > > frame 7 > list > p *ni > p vap > p *vap > p k > p *k > p cip > p *cip > > Thanks, > > Gavin > of course, if you need something only ask me and if I can, I'll tell you (kgdb) frame 7 #7 0xc09408a8 in ieee80211_crypto_encap (ni=0xc6b5d000, m=0xc776dc00) at /usr/src/sys/net80211/ieee80211_crypto.c:560 560 return (cip->ic_encap(k, m, keyid<<6) ? k : NULL); (kgdb) list 555 } else { 556 keyid = 0; 557 k = &ni->ni_ucastkey; 558 } 559 cip = k->wk_cipher; 560 return (cip->ic_encap(k, m, keyid<<6) ? k : NULL); 561 } 562 563 /* 564 * Validate and strip privacy headers (and trailer) for a (kgdb) p *ni $1 = {ni_vap = 0xc6a0f000, ni_ic = 0xc67f4000, ni_table = 0x0, ni_list = {tqe_next = 0x0, tqe_prev = 0xc67f56d0}, ni_hash = {le_next = 0x0, le_prev = 0xc67f5718}, ni_refcnt = 51, ni_scangen = 13, ni_flags = 5, ni_associd = 0, ni_vlan = 0, ni_txpower = 100, ni_authmode = 1 '\001', ni_ath_flags = 0 '\0', ni_ath_defkeyix = 32767, ni_txparms = 0xc6a0f46c, ni_jointime = 17, ni_challenge = 0x0, ni_ies = {wpa_ie = 0x0, rsn_ie = 0xc658fea8 "0\024\001", wme_ie = 0xc658febe "�\030", ath_ie = 0x0, htcap_ie = 0xc658fe71 "-\032�\001\027��", htinfo_ie = 0x0, tdma_ie = 0x0, meshid_ie = 0x0, spare = {0x0, 0x0, 0x0, 0x0}, data = 0xc658fe00 "", len = 285}, ni_txseqs = {0 <repeats 16 times>, 342}, ni_rxseqs = {0 <repeats 16 times>, 17008}, ni_rxfragstamp = 0, ni_rxfrag = { 0x0, 0x0, 0x0}, ni_ucastkey = {wk_keylen = 0 '\0', wk_pad = 0 '\0', wk_flags = 3, wk_keyix = 65535, wk_rxkeyix = 65535, wk_key = '\0' <repeats 31 times>, wk_keyrsc = {0 <repeats 17 times>}, wk_keytsc = 0, wk_cipher = 0xc0bfbe60, wk_private = 0xc6a0f000, wk_macaddr = "\000\000\000\000\000"}, ni_avgrssi = 2736, ni_noise = -95 '�', ni_macaddr = "\000\"k\206�p", ni_bssid = "\000\"k\206�p", ni_tstamp = {data = "]\201~�K\000\000", tsf = 325167513949}, ni_intval = 100, ni_capinfo = 1041, ni_esslen = 14 '\016', ni_essid = "bolson_cerrado", '\0' <repeats 17 times>, ni_rates = {rs_nrates = 12 '\f', rs_rates = "\202\204\213\f\022\226\030$0H`l\000\000"}, ni_chan = 0xc67f42a8, ni_fhdwell = 0, ni_fhindex = 0 '\0', ni_erp = 260, ni_timoff = 140, ni_dtim_period = 1 '\001', ni_dtim_count = 0 '\0', ni_meshidlen = 0 '\0', ni_meshid = '\0' <repeats 31 times>, ni_mlstate = IEEE80211_NODE_MESH_IDLE, ni_mllid = 0, ni_mlpid = 0, ni_mltimer = {c_links = {sle = {sle_next = 0x0}, tqe = {tqe_next = 0x0, tqe_prev = 0x0}}, c_time = 0, c_arg = 0x0, c_func = 0, c_lock = 0x0, c_flags = 0, c_cpu = 0}, ni_mlrcnt = 0 '\0', ni_mltval = 0 '\0', ni_htcap = 492, ni_htparam = 23 '\027', ni_htctlchan = 0 '\0', ni_ht2ndchan = 0 '\0', ni_htopmode = 0 '\0', ni_htstbc = 0 '\0', ni_chw = 0 '\0', ni_htrates = {rs_nrates = 0 '\0', rs_rates = '\0' <repeats 126 times>}, ni_tx_ampdu = {{txa_ni = 0x0, txa_flags = 0, txa_ac = 0 '\0', txa_token = 0 '\0', txa_lastsample = 0, txa_pkts = 0, txa_avgpps = 0, txa_qbytes = 0, txa_qframes = 0, txa_start = 0, txa_seqpending = 0, txa_wnd = 0, txa_attempts = 0 '\0', txa_nextrequest = 0, txa_timer = {c_links = {sle = {sle_next = 0x0}, tqe = {tqe_next = 0x0, tqe_prev = 0x0}}, c_time = 0, c_arg = 0x0, c_func = 0, c_lock = 0x0, c_flags = 0, c_cpu = 0}, txa_private = 0x0, txa_pad = {0, 0, 0, 0}}, {txa_ni = 0x0, txa_flags = 0, txa_ac = 0 '\0', txa_token = 0 '\0', txa_lastsample = 0, txa_pkts = 0, txa_avgpps = 0, txa_qbytes = 0, txa_qframes = 0, txa_start = 0, txa_seqpending = 0, txa_wnd = 0, txa_attempts = 0 '\0', txa_nextrequest = 0, txa_timer = {c_links = {sle = {sle_next = 0x0}, tqe = { tqe_next = 0x0, tqe_prev = 0x0}}, c_time = 0, c_arg = 0x0, c_func = 0, c_lock = 0x0, c_flags = 0, c_cpu = 0}, txa_private = 0x0, txa_pad = {0, 0, 0, 0}}, {txa_ni = 0x0, txa_flags = 0, txa_ac = 0 '\0', txa_token = 0 '\0', txa_lastsample = 0, txa_pkts = 0, txa_avgpps = 0, txa_qbytes = 0, txa_qframes = 0, txa_start = 0, txa_seqpending = 0, txa_wnd = 0, txa_attempts = 0 '\0', txa_nextrequest = 0, txa_timer = {c_links = {sle = {sle_next = 0x0}, tqe = {tqe_next = 0x0, tqe_prev = 0x0}}, c_time = 0, c_arg = 0x0, c_func = 0, c_lock = 0x0, c_flags = 0, c_cpu = 0}, txa_private = 0x0, txa_pad = {0, 0, 0, 0}}, {txa_ni = 0x0, txa_flags = 0, txa_ac = 0 '\0', txa_token = 0 '\0', txa_lastsample = 0, txa_pkts = 0, txa_avgpps = 0, txa_qbytes = 0, txa_qframes = 0, txa_start = 0, txa_seqpending = 0, txa_wnd = 0, txa_attempts = 0 '\0', txa_nextrequest = 0, txa_timer = {c_links = {sle = {sle_next = 0x0}, tqe = {tqe_next = 0x0, tqe_prev = 0x0}}, c_time = 0, c_arg = 0x0, c_func = 0, c_lock = 0x0, c_flags = 0, c_cpu = 0}, txa_private = 0x0, txa_pad = {0, 0, 0, 0}}}, ni_rx_ampdu = {{rxa_flags = 0, rxa_qbytes = 0, rxa_qframes = 0, rxa_seqstart = 0, rxa_start = 0, rxa_wnd = 0, rxa_age = 0, rxa_nframes = 0, rxa_m = {0x0 <repeats 64 times>}, rxa_pad = {0, 0, 0, 0}} <repeats 16 times>}, ni_inact = 20, ni_inact_reload = 20, ni_txrate = 72, ni_psq = {psq_lock = {lock_object = {lo_name = 0xc0c8a4ef "unknown", lo_flags = 16973824, lo_data = 0, lo_witness = 0x0}, mtx_lock = 4}, psq_len = 0, psq_maxlen = 50, psq_drops = 0, psq_head = {{head = 0x0, tail = 0x0, len = 0}, {head = 0x0, tail = 0x0, len = 0}}}, ni_stats = {ns_rx_data = 172, ns_rx_mgmt = 1733, ns_rx_ctrl = 0, ns_rx_ucast = 166, ns_rx_mcast = 6, ns_rx_bytes = 97596, ns_rx_beacons = 1731, ns_rx_proberesp = 0, ns_rx_dup = 11, ns_rx_noprivacy = 0, ns_rx_wepfail = 1, ns_rx_demicfail = 0, ns_rx_decap = 0, ns_rx_defrag = 0, ns_rx_disassoc = 0, ns_rx_deauth = 0, ns_rx_action = 0, ns_rx_decryptcrc = 0, ns_rx_unauth = 0, ns_rx_unencrypted = 0, ns_rx_drop = 0, ns_tx_data = 339, ns_tx_mgmt = 3, ns_tx_ctrl = 0, ns_tx_ucast = 339, ns_tx_mcast = 0, ns_tx_bytes = 42985, ns_tx_probereq = 0, ns_tx_novlantag = 0, ns_tx_vlanmismatch = 0, ns_ps_discard = 0, ns_tx_assoc = 0, ns_tx_assoc_fail = 0, ns_tx_auth = 1, ns_tx_auth_fail = 0, ns_tx_deauth = 0, ns_tx_deauth_code = 0, ns_tx_disassoc = 1, ns_tx_disassoc_code = 8, ns_spare = {0, 0, 0, 0, 0, 0, 0, 0}}, ni_wdsvap = 0x0, ni_spare = {0, 0, 0, 0}} (kgdb) p vap Variable "vap" is not available. (kgdb) p *vap Variable "vap" is not available. (kgdb) p k $2 = (struct ieee80211_key *) 0xc6a0f4bc (kgdb) p *k $3 = {wk_keylen = 0 '\0', wk_pad = 0 '\0', wk_flags = 0, wk_keyix = 0, wk_rxkeyix = 0, wk_key = '\0' <repeats 31 times>, wk_keyrsc = {0 <repeats 17 times>}, wk_keytsc = 0, wk_cipher = 0x0, wk_private = 0x0, wk_macaddr = "\000\000\000\000\000"} (kgdb) p cip No symbol "cip" in current context. (kgdb) p *cip No symbol "cip" in current context.Received on Tue Sep 29 2009 - 12:58:22 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC