On 30/11/17(Thu) 12:49, Hrvoje Popovski wrote:
> On 29.11.2017. 18:25, Hrvoje Popovski wrote:
> > hi all,
> >
> > sending ip6 traffic from host connected to vlan200 on ix0 to host
> > connected to vlan300 on ix1 and running
> >
> > ifconfig vlan200 destroy
> > ifconfig ix0 down
> > sh netstart vlan200
> > sh netstart ix0
> > ifconfing vlan300 destroy
> > ifconfig ix1 down
> > sh netstart vlan300
> > sh netstart ix1
> > sh netstart
>
>
> while trying to repeat panic, i got a new one:
Without the trace of the 'ifconfig' process it's hard to know where is
the race. See the output of "ps /o":
> Stopped at db_enter+0x5: popq %rbp
> TID PID UID PRFLAGS PFLAGS CPU COMMAND
> 58285 46948 0 0x3 0 2 ifconfig
> * 20256 49787 0 0x14000 0x40000200 0 softclock
Make sure to include the trace of the two active processes. Since CPU0
entered DDB you already reported the 'softclock' one. To get the
'ifconfig' one, type the following next time:
ddb{0}> tr /up 0t58285
Here '58285' is the TID (Thread ID) of the process.
Same thing for the em(4) panic you reported before. I made an educated
guess about which race can occur. But having the trace of all active
processes help a lot!
Thanks for you great reports,
Martin