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:
panic: kernel diagnostic assertion "ifp != NULL" failed: file
"/usr/src/sys/net0
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
db_enter() at db_enter+0x5
panic() at panic+0x141
__assert(ffffffff8176d124,ffff800023bb2a80,0,ffffff0787e214e8) at
__assert+0x24
arptfree(ffffffff81b99008) at arptfree+0x94
arptimer(ffff800023bb2ae0) at arptimer+0x45
softclock_thread(0) at softclock_thread+0xf2
end trace frame: 0x0, count: 9
https://www.openbsd.org/ddb.html describes the minimum info required in
bug reports. Insufficient info makes it difficult to find and fix bugs.
ddb{0}>
ddb{0}> show panic
kernel diagnostic assertion "ifp != NULL" failed: file
"/usr/src/sys/netinet/if_ether.c", line 700
ddb{0}> trace
db_enter() at db_enter+0x5
panic() at panic+0x141
__assert(ffffffff8176d124,ffff800023bb2a80,0,ffffff0787e214e8) at
__assert+0x24
arptfree(ffffffff81b99008) at arptfree+0x94
arptimer(ffff800023bb2ae0) at arptimer+0x45
softclock_thread(0) at softclock_thread+0xf2
end trace frame: 0x0, count: -6
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
46948 58285 98737 0 7 0x3 ifconfig
98737 299151 7396 0 3 0x10008b pause sh
7396 111661 1 0 3 0x10008b pause ksh
50249 31490 1 0 3 0x100083 ttyin getty
54529 249519 1 0 3 0x100083 ttyin getty
2248 149523 1 0 3 0x100083 ttyin getty
61430 171168 1 0 3 0x100083 ttyin getty
59068 276277 1 0 3 0x100083 ttyin ksh
26852 101272 1 0 3 0x100098 poll cron
14944 512381 73354 95 3 0x100092 kqread smtpd
80524 250998 73354 103 3 0x100092 kqread smtpd
32951 502032 73354 95 3 0x100092 kqread smtpd
22657 195980 73354 95 3 0x100092 kqread smtpd
74698 178224 73354 95 3 0x100092 kqread smtpd
99882 341808 73354 95 3 0x100092 kqread smtpd
73354 145764 1 0 3 0x100080 kqread smtpd
29057 499576 1 0 3 0x80 select sshd
51659 398074 68617 83 3 0x100092 poll ntpd
68617 421110 63601 83 3 0x100092 poll ntpd
63601 484085 1 0 3 0x100080 poll ntpd
77537 510901 84046 73 3 0x100090 kqread syslogd
84046 350936 1 0 3 0x100082 netio syslogd
60988 230583 0 0 3 0x14200 pgzero zerothread
675 145644 0 0 3 0x14200 aiodoned aiodoned
96938 168167 0 0 3 0x14200 syncer update
29269 157260 0 0 3 0x14200 cleaner cleaner
15452 491606 0 0 3 0x14200 reaper reaper
97237 171400 0 0 3 0x14200 pgdaemon pagedaemon
89550 163022 0 0 3 0x14200 bored crynlk
5855 159961 0 0 3 0x14200 bored crypto
6317 136103 0 0 3 0x14200 usbtsk usbtask
16949 180382 0 0 3 0x14200 usbatsk usbatsk
40494 441014 0 0 3 0x40014200 acpi0 acpi0
56960 481184 0 0 7 0x40014200 idle11
90216 140441 0 0 7 0x40014200 idle10
97249 341735 0 0 7 0x40014200 idle9
70430 462543 0 0 7 0x40014200 idle8
24007 34418 0 0 7 0x40014200 idle7
36169 124785 0 0 7 0x40014200 idle6
67431 405241 0 0 7 0x40014200 idle5
73933 403886 0 0 7 0x40014200 idle4
4971 24693 0 0 7 0x40014200 idle3
21819 106720 0 0 3 0x40014200 idle2
40204 160500 0 0 7 0x40014200 idle1
71283 24941 0 0 3 0x14200 bored sensors
25282 9665 0 0 3 0x14200 netlock softnet
62903 207692 0 0 3 0x14200 bored systqmp
34390 385115 0 0 3 0x14200 bored systq
*49787 20256 0 0 7 0x40014200 softclock
46513 306769 0 0 3 0x40014200 idle0
98047 290231 0 0 3 0x14200 bored sbar
1 418028 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}>