Hello all, I have a pair of firewalls running 6.0 (patched with openup in october, no patch applied since then).
Since the upgrade, this pair has some problem with kernel panics (4 times since the upgrade in october). The last one was this morning. The two firewall crashed at the same time with these logs : /bsd: panic: kernel diagnostic assertion "(sk->inp == NULL) || (sk->inp->inp_pf_sk == NULL)" failed: file "../../../../net/pf.c", line 6891 /bsd: Starting stack trace... /bsd: panic() at panic+0x10b /bsd: __assert() at __assert+0x25 /bsd: pf_state_key_unref() at pf_state_key_unref+0xc6 /bsd: pf_pkt_unlink_state_key() at pf_pkt_unlink_state_key+0x15 /bsd: m_free() at m_free+0xa0 /bsd: sbdroprecord() at sbdroprecord+0x61 /bsd: soreceive() at soreceive+0xb4f /bsd: recvit() at recvit+0x139 /bsd: sys_recvfrom() at sys_recvfrom+0x9d /bsd: syscall() at syscall+0x27b /bsd: --- syscall (number 29) --- /bsd: end of kernel /bsd: end trace frame: 0x7f7ffffdc870, count: 247 /bsd: 0x18ccb3b21ada: /bsd: End of stack trace. I have another pair of firewalls with the same hardware (Dell R210) which is running without problem. After the crash this morning, i applied the last patches with openup. But after reading the errata page, i'm not sure it will help... Or maybe this one could be related : https://ftp.openbsd.org/pub/OpenBSD/patches/6.0/common/019_pf.patch.sig ? Thank you very much ! -- Mathieu OpenBSD 6.0 (GENERIC.MP) #2: Mon Oct 17 10:22:47 CEST 2016 r...@stable-60-amd64.mtier.org:/binpatchng/work-binpatch60-amd64/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1047105536 (998MB) avail mem = 1010954240 (964MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x3f79c000 (63 entries) bios0: vendor Dell Inc. version "1.10.0" date 09/10/2013 bios0: Dell Inc. PowerEdge R210 acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC SPCR HPET DM__ MCFG WD__ SLIC ERST HEST BERT EINJ TCPA SSDT acpi0: wakeup devices PCI0(S5) USBA(S0) USBB(S0) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU L3406 @ 2.27GHz, 2261.27 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 132MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE cpu1 at mainbus0: apid 4 (application processor) cpu1: Intel(R) Xeon(R) CPU L3406 @ 2.27GHz, 2260.99 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 2, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU L3406 @ 2.27GHz, 2260.99 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Xeon(R) CPU L3406 @ 2.27GHz, 2260.99 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 2, package 0 ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (LYD0) acpiprt2 at acpi0: bus -1 (LYD2) acpiprt3 at acpi0: bus 1 (HVD0) acpiprt4 at acpi0: bus -1 (HVD2) acpiprt5 at acpi0: bus 5 (PEX0) acpiprt6 at acpi0: bus -1 (PEX4) acpiprt7 at acpi0: bus -1 (PEX5) acpiprt8 at acpi0: bus 6 (COMP) acpicpu0 at acpi0: C3(350@96 mwait.1@0x20), C1(1000@1 mwait.1) acpicpu1 at acpi0: C3(350@96 mwait.1@0x20), C1(1000@1 mwait.1) acpicpu2 at acpi0: C3(350@96 mwait.1@0x20), C1(1000@1 mwait.1) acpicpu3 at acpi0: C3(350@96 mwait.1@0x20), C1(1000@1 mwait.1) "PNP0C33" at acpi0 not configured "ACPI000D" at acpi0 not configured "PNP0501" at acpi0 not configured "PNP0501" at acpi0 not configured "IPI0001" at acpi0 not configured "PNP0C14" at acpi0 not configured ipmi at mainbus0 not configured pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x18 ppb0 at pci0 dev 1 function 0 "Intel Core PCIE" rev 0x18: msi pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 "IDT 89HPES12N3A" rev 0x0e pci2 at ppb1 bus 2 ppb2 at pci2 dev 2 function 0 "IDT 89HPES12N3A" rev 0x0e pci3 at ppb2 bus 3 em0 at pci3 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:1b:21:b3:c6:00 em1 at pci3 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:1b:21:b3:c6:01 ppb3 at pci2 dev 4 function 0 "IDT 89HPES12N3A" rev 0x0e pci4 at ppb3 bus 4 em2 at pci4 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:1b:21:b3:c6:04 em3 at pci4 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:1b:21:b3:c6:05 ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 0 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb4 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05 pci5 at ppb4 bus 5 bnx0 at pci5 dev 0 function 0 "Broadcom BCM5716" rev 0x20: apic 0 int 16 bnx1 at pci5 dev 0 function 1 "Broadcom BCM5716" rev 0x20: apic 0 int 17 ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x05: apic 0 int 22 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa5 pci6 at ppb5 bus 6 vga1 at pci6 dev 3 function 0 "Matrox MGA G200eW" rev 0x0a wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 31 function 0 "Intel 3420 LPC" rev 0x05 ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x05: msi, AHCI 1.3 ahci0: port 0: 3.0Gb/s ahci0: port 3: 1.5Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD2502ABYS-1, 02.0> SCSI3 0/direct fixed naa.50014ee15967ae14 sd0: 238418MB, 512 bytes/sector, 488281250 sectors cd0 at scsibus1 targ 3 lun 0: <TEAC, DVD-ROM DV-28SW, R.2A> ATAPI 5/cdrom removable isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhidev0 at uhub2 port 1 configuration 1 interface 0 "Avocent USB Composite Device-0" rev 1.10/0.00 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub2 port 1 configuration 1 interface 1 "Avocent USB Composite Device-0" rev 1.10/0.00 addr 3 uhidev1: iclass 3/1 ums0 at uhidev1: 3 buttons, Z dir wsmouse0 at ums0 mux 0 uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub4 at uhub3 port 5 "Standard Microsystems product 0x2514" rev 2.00/0.00 addr 3 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (542f669e6e064e51.a) swap on sd0b dump on sd0b WARNING: / was not properly unmounted bnx0: address bc:30:5b:df:80:5f brgphy0 at bnx0 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8 bnx1: address bc:30:5b:df:80:60 brgphy1 at bnx1 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8