ok, do 'bt', and see what's being passed into ieee80211_beacon_update.
Use 'frame X' to switch to frame X, and 'print VARIABLE_NAME' to print
out the contents of the given variable name.

That mbuf looks like it's NULL, which is odd.

Thanks!


-a


On 28 January 2014 14:45, Pedro Flynn <pedro.fl...@gmail.com> wrote:
> OK! This is what I have:
>
> list * (0xffffffff809b1163)
> Undefined command: "".  Try "help".
> (kgdb) list * (0xffffffff809b1163)
> 0xffffffff809b1163 is in ieee80211_beacon_update
> (/usr/src/sys/net80211/ieee80211_output.c:3099).
> 3094 /* XXX do WME aggressive mode processing? */
> 3095 IEEE80211_UNLOCK(ic);
> 3096 return 1; /* just assume length changed */
> 3097 }
> 3098
> 3099 wh = mtod(m, struct ieee80211_frame *);
> 3100 seqno = ni->ni_txseqs[IEEE80211_NONQOS_TID]++;
> 3101 *(uint16_t *)&wh->i_seq[0] =
> 3102 htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT);
> 3103 M_SEQNO_SET(m, seqno);
> Current language:  auto; currently minimal
> (kgdb)
>
>
> (by the way, I'm building a kernel with debug symbols)
>
> Thanks,
>
> pflynn
>
>
>
> On Tue, Jan 28, 2014 at 8:34 PM, Adrian Chadd <adr...@freebsd.org> wrote:
>>
>> Ok, fire up kgdb
>>
>> # kgdb /boot/kernel/kernel /var/crash/vmcore.0
>>
>> then
>>
>> (gdb) list * (0xffffffff809b1163)
>>
>> (.. that's the "instruction pointer" at the time of the panic.)
>>
>> I bet it's iv_bss.
>>
>>
>>
>> -a
>
>
_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to