Hi, today i upgraded my primary router from OpenBSD 5.4 to OpenBSD 5.5 (i follow the process described here: http://www.openbsd.org/faq/upgrade55.html and this is my 5th upgrade from 5.4 to 5.5 since the release).
After rebooting and doing the sysmerge without network copper cables, i rebooted and set my carp & pfsync interfaces to down before plugging the cables. At this time, the router was in a CARP INIT mode, no problem. Note: all the traffic was redirected to my second OpenBSD router (which was upgraded at release time) 3 days ago, this routers hasn't any problem and have exactly the same hardware and software configuration (except some IPs). After finishing the upgrading process, i have incremented the carpdemote counter to force CARP to be in BACKUP mode and then i have set all my carp interface to up. Then ifaces were in BACKUP mode. No problem since there all was right, all services works fine, etc. The last step i do is to do a "ifconfig pfsync0 up" and then a OpenBSD crash. Following you can found the trace, the ps and the registers. I haven't seen any errata for pfsync, then i didn't patched the kernel, it's the GENERIC BSD.MP. Is there any workaround ? A kernel patch to apply ? Thanks in advance ========================= ddb{1}> trace ip_output() at ip_output+0xdd9 pfsync_sendout() at pfsync_sendout+0x489 netintr() at netintr+0xed softintr_dispatch() at softintr_dispatch+0x5d Xsoftnet() at Xsoftnet+0x2d --- interrupt --- end of kernel end trace frame: 0x80206910, count: -5 0xffff800000943000: PID PPID PGRP UID S FLAGS WAIT COMMAND *18270 3703 18270 0 7 0x3 ifconfig 3769 19350 19350 70 3 0x90 select named 19350 1 19350 0 3 0x90 netio named 20234 617 19369 515 3 0x82 netio squidGuard 14044 617 19369 515 3 0x82 netio squidGuard 16252 617 19369 515 3 0x82 netio squidGuard 7350 617 19369 515 3 0x82 netio squidGuard 7207 617 19369 515 3 0x82 netio squidGuard 4662 617 19369 515 3 0x82 netio squidGuard 20849 617 19369 515 3 0x82 netio squidGuard 15847 617 19369 515 3 0x82 netio squidGuard 24271 617 19369 515 3 0x82 netio squidGuard 9469 617 19369 515 3 0x82 netio squidGuard 26465 617 19369 515 3 0x82 netio squidGuard 25889 617 19369 515 3 0x82 netio squidGuard 18394 617 19369 515 3 0x82 netio squidGuard 24590 617 19369 515 3 0x82 netio squidGuard 26389 617 19369 515 3 0x82 netio squidGuard 9456 617 19369 515 3 0x82 netio squidGuard 11447 617 19369 515 3 0x82 netio squidGuard 13398 617 19369 515 3 0x82 netio squidGuard 23571 617 19369 515 3 0x82 netio squidGuard 13704 617 19369 515 3 0x82 netio squidGuard 22507 617 19369 515 3 0x82 netio squidGuard 4039 617 19369 515 3 0x82 netio squidGuard 22683 617 19369 515 3 0x82 netio squidGuard 9501 617 19369 515 3 0x82 netio squidGuard 23298 617 19369 515 3 0x82 netio squidGuard 966 617 19369 515 3 0x82 netio squidGuard 31585 617 19369 515 3 0x82 netio squidGuard 3979 617 19369 515 3 0x82 netio squidGuard 23135 617 19369 515 3 0x82 netio squidGuard 2705 617 19369 515 3 0x82 netio squidGuard 414 617 19369 515 3 0x82 netio squidGuard 26606 617 19369 515 3 0x82 netio squidGuard 31755 617 19369 515 3 0x82 netio squidGuard 315 617 19369 515 3 0x82 netio squidGuard 649 617 19369 515 3 0x82 netio squidGuard 26506 617 19369 515 3 0x82 netio squidGuard 7278 617 19369 515 3 0x82 netio squidGuard 21806 617 19369 515 3 0x82 netio squidGuard 32275 617 19369 515 3 0x82 netio squidGuard 28676 617 19369 515 3 0x82 netio squidGuard 2160 617 19369 515 3 0x82 netio squidGuard 30698 617 19369 515 3 0x82 netio squidGuard 3057 617 19369 515 3 0x82 netio squidGuard 17056 617 19369 515 3 0x82 netio squidGuard 17734 617 19369 515 3 0x82 netio squidGuard 22101 617 19369 515 3 0x82 netio squidGuard 5167 617 19369 515 3 0x82 netio squidGuard 21318 617 19369 515 3 0x82 netio squidGuard 29285 617 19369 515 3 0x82 netio squidGuard 5760 617 19369 515 3 0x82 netio squidGuard 25084 617 19369 515 3 0x82 netio squidGuard 6268 617 19369 515 3 0x82 netio squidGuard 21531 617 19369 515 3 0x82 netio squidGuard 3745 617 19369 515 3 0x82 netio squidGuard 25142 617 19369 515 3 0x82 netio squidGuard 12931 617 19369 515 3 0x82 netio squidGuard 22977 617 19369 515 3 0x82 netio squidGuard 15405 617 19369 515 3 0x82 netio squidGuard 6170 617 19369 515 3 0x82 netio squidGuard 17827 617 19369 515 3 0x82 netio squidGuard 5664 617 19369 515 3 0x82 netio squidGuard 15480 617 19369 515 3 0x82 netio squidGuard 23191 617 19369 515 3 0x82 netio squidGuard 15457 617 19369 515 3 0x82 netio squidGuard 28817 617 19369 515 3 0x82 netio squidGuard 18975 617 19369 515 3 0x82 netio squidGuard 9354 617 19369 515 3 0x82 netio squidGuard 24212 617 19369 515 3 0x82 netio squidGuard 17182 617 19369 515 3 0x82 netio squidGuard 31516 617 19369 515 3 0x82 netio squidGuard 458 617 19369 515 3 0x82 netio squidGuard 24984 617 19369 515 3 0x82 netio squidGuard 24054 617 19369 515 3 0x82 netio squidGuard 21634 617 19369 515 3 0x82 netio squidGuard 26013 617 19369 515 3 0x82 netio squidGuard 18038 617 19369 515 3 0x82 netio squidGuard 11927 617 19369 515 3 0x82 netio squidGuard 19299 617 19369 515 3 0x82 netio squidGuard 27978 617 19369 515 3 0x82 netio squidGuard 15662 617 19369 515 3 0x82 netio squidGuard 22963 617 19369 515 3 0x82 netio squidGuard 20474 617 19369 515 3 0x82 netio squidGuard 18128 617 19369 515 3 0x82 netio squidGuard 13267 617 19369 515 3 0x82 netio squidGuard 6943 617 19369 515 3 0x82 netio squidGuard 10233 617 19369 515 3 0x82 netio squidGuard 1947 617 19369 515 3 0x82 netio squidGuard 27377 617 19369 515 3 0x82 netio squidGuard 11043 617 19369 515 3 0x82 netio squidGuard 12574 617 19369 515 3 0x82 netio squidGuard 27711 617 19369 515 3 0x82 netio squidGuard 8628 617 19369 515 3 0x82 netio squidGuard 3558 617 19369 515 3 0x82 netio squidGuard 6640 617 19369 515 3 0x82 netio squidGuard 26336 617 19369 515 3 0x82 netio squidGuard 27705 617 19369 515 3 0x82 netio squidGuard 617 19369 19369 515 3 0xb2 kqread squid 19369 1 19369 515 3 0x90 wait squid 32110 23495 23495 67 3 0x90 semwait httpd 31643 23495 23495 67 3 0x90 semwait httpd 24189 23495 23495 67 3 0x90 semwait httpd 24169 23495 23495 67 3 0x90 semwait httpd 3983 23495 23495 67 3 0x90 semwait httpd 16328 23495 23495 67 3 0x90 select httpd 12587 23495 23495 67 3 0x90 semwait httpd 12362 23495 23495 67 3 0x90 semwait httpd 276 23495 23495 67 3 0x90 semwait httpd 20851 23495 23495 67 3 0x90 semwait httpd 23495 1 23495 0 3 0x80 select httpd 3793 1 3793 0 3 0x80 select dhcpd 29925 7160 29925 0 3 0x80 kqread syslog-ng 7160 1 27052 0 3 0x80 wait syslog-ng 13665 1 13665 556 3 0x90 select nrpe 13761 1 13761 0 3 0x90 select bacula-fd 20778 1 13761 0 3 0x4000090 thrsleep bacula-fd 26666 1 26666 0 3 0x80 thrsleep ruby19 25044 1 26666 0 3 0x4000080 select ruby19 3703 7913 3703 0 3 0x8b pause zsh 7913 16621 7913 1000 3 0x8b pause zsh 16621 21100 21100 1000 3 0x90 select sshd 21100 18827 21100 0 3 0x92 poll sshd 281 1 281 0 3 0x83 ttyin zsh 25447 25278 25278 85 3 0x90 kqread ospfd 14051 25278 25278 85 3 0x90 kqread ospfd 25278 1 25278 0 7 0x80 ospfd 31710 1 31710 0 3 0x83 ttyin getty 32470 1 32470 0 3 0xb0 select sendmail 5615 1 1 0 3 0x82 ttyopn getty 5443 1 5443 0 3 0x83 ttyin getty 3505 1 3505 0 3 0x83 ttyin getty 8557 1 8557 0 3 0x83 ttyin getty 11958 1 11958 0 3 0x83 ttyin getty 12563 1 12563 0 3 0x80 select cron 7584 1 7584 0 3 0x80 mfsidl mount_mfs 30985 1 30985 99 3 0x90 poll sndiod 25451 9122 9122 90 3 0x90 kqread ospf6d 25870 9122 9122 90 3 0x90 kqread ospf6d 9122 1 9122 0 7 0x80 ospf6d 31480 6321 6321 88 3 0x90 kqread ripd 7155 6321 6321 88 3 0x90 kqread ripd 6321 1 6321 0 7 0x80 ripd 18827 1 18827 0 3 0x80 select sshd 14598 20357 24225 83 3 0x90 poll ntpd 20357 24225 24225 83 3 0x90 poll ntpd 24225 1 24225 0 3 0x80 poll ntpd 28067 17824 17824 74 3 0x90 bpf pflogd 17824 1 17824 0 3 0x80 netio pflogd 13798 1 13798 0 3 0x80 mfsidl mount_mfs 29320 1 29320 0 3 0x80 mfsidl mount_mfs 295 0 0 0 3 0x4200 aiodoned aiodoned 30848 0 0 0 3 0x4200 syncer update 23216 0 0 0 3 0x4200 cleaner cleaner 9081 0 0 0 3 0x4200 reaper reaper 21355 0 0 0 3 0x4200 pgdaemon pagedaemon 10205 0 0 0 3 0x4200 bored crypto 11685 0 0 0 3 0x4200 pftm pfpurge 25229 0 0 0 3 0x4200 usbtsk usbtask 6979 0 0 0 3 0x4200 usbatsk usbatsk 25806 0 0 0 3 0x40004200 acpi0 acpi0 20220 0 0 0 3 0x40004200 idle3 9849 0 0 0 3 0x40004200 idle2 31839 0 0 0 3 0x40004200 idle1 27699 0 0 0 3 0x4200 bored sensors 6102 0 0 0 3 0x4200 bored systq 23721 0 0 0 3 0x4200 bored syswq 1853 0 0 0 3 0x40004200 idle0 1 0 1 0 3 0x82 wait init 0 -1 0 0 3 0x200 scheduler swapper ddb{1}> show panic the kernel did not panic ddb{1}> show registers ds 0x23 es 0x23 fs 0x23 gs 0x23 rdi 0xe0 rsi 0xffff800000943558 rbp 0xffff80002220db40 rbx 0xffff80002220da20 rdx 0 rcx 0xdeadbeefdeadbeef rax 0 r8 0xffff800000943558 r9 0 r10 0 r11 0xfffffe80bec840a4 r12 0x78 r13 0xfffffe80bec84078 r14 0xffff800000901800 r15 0xffff80002220da10 rip 0xffffffff8124d659 ip_output+0xdd9 cs 0x8 rflags 0x10282 mp_pdirpa+0x19b rsp 0xffff80002220d960 ss 0x10 ip_output+0xdd9: movq 0(%rcx),%rax -- Best regards, Loïc BLOT, Engineering UNIX Systems, Security and Network Engineer http://www.unix-experience.fr