Matthew Dillon <[EMAIL PROTECTED]> wrote:
>
> :With the now commited version the panic in ioctl() is gone, but I get a
> :similar one in ether_input().
> :
> :Regards,
> : Johannes
> :
> :
> :(kgdb) bt
> :#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:527
> :#1 0xc027acc8 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:360
> :#2 0xc027b17a in panic (
> : fmt=0xc04b0d68 "assertion: (ifp->if_serializer)->last_td == curthread in
> %s") at /usr/src/sys/kern/kern_shutdown.c:673
> :#3 0xc02e0820 in ether_input (ifp=0xdec4e0b8, eh=0x0, m=0xdeb12600)
> : at /usr/src/sys/net/if_ethersubr.c:568
> :#4 0xc02e07e0 in ether_input_internal (ifp=0x0, m=0x0)
> : at /usr/src/sys/net/if_ethersubr.c:539
> :#5 0xc02f6d1b in ieee80211_input (ifp=0xdec4e0b8, m=0xdeb12600,
> : ni=0xc17ea0e8, rssi=47, rstamp=0)
> : at /usr/src/sys/netproto/802_11/ieee80211_input.c:302
>
> continue the trace longer. The routine calling ieee80211_input is the
> one that needs the serialization.
Unfortunately the calling function isn't shown properly in gdb:
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:527
#1 0xc027acc8 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:360
#2 0xc027b17a in panic (
fmt=0xc04b0d68 "assertion: (ifp->if_serializer)->last_td == curthread in
%s") at /usr/src/sys/kern/kern_shutdown.c:673
#3 0xc02e0820 in ether_input (ifp=0xdec4e0b8, eh=0x0, m=0xdeb12600)
at /usr/src/sys/net/if_ethersubr.c:568
#4 0xc02e07e0 in ether_input_internal (ifp=0x0, m=0x0)
at /usr/src/sys/net/if_ethersubr.c:539
#5 0xc02f6d1b in ieee80211_input (ifp=0xdec4e0b8, m=0xdeb12600,
ni=0xc17ea0e8, rssi=47, rstamp=0)
at /usr/src/sys/netproto/802_11/ieee80211_input.c:302
#6 0xdec0314e in ?? ()
#7 0xdec4e0b8 in ?? ()
#8 0xdeb12600 in ?? ()
#9 0xc17ea0e8 in ?? ()
#10 0x0000002f in ?? ()
I will try, if it is in the original stack trace on the console.
Johannes
>
> -Matt
> Matthew Dillon
> <[EMAIL PROTECTED]>