Hello, > would this commit > http://permalink.gmane.org/gmane.os.openbsd.cvs/152882 > resolve this problem?
This commit should fix this issue. can you test it for me? FYI: if_pfsync.c must initialize reference counter at imported statekey to 1. If it is left to 0, then PF trips the assert. thanks a lot regards sasha On Thu, Jan 28, 2016 at 04:02:27PM +0100, Hrvoje Popovski wrote: > Hi all, > > i have pf,carp,pfsync and dhcpd setup with 2 Dell R610. today i updated > my secondary firewall with latest snapshot from > http://ftp2.eu.openbsd.org/ > install59.iso 26-Jan-2016 04:00 > > and after update secondary firewall panic > http://kosjenka.srce.hr/~hrvoje/crash2.jpg > > i couldn't type anything in ddb console .. > > i disabled pfsync0 and syncdev bnx3 on primary firewall and then > secondary boots up.. > > would this commit > http://permalink.gmane.org/gmane.os.openbsd.cvs/152882 > resolve this problem? > > > pf.conf > set limit states 200000 > set skip on { lo bnx3 enc0 } > table <srce> { XXX } > > match out on bnx0 from 10.111/16 nat-to XXX/29 port 1024:65535 > > block > pass quick proto carp keep state (no-sync) > pass in quick on bnx0 from <srce> > pass out log on bnx0 > pass in log on bnx1 from 10.111/16 > pass inet proto icmp icmp-type { echoreq, unreach code needfrag } > > > > dmesg > > OpenBSD 5.9-beta (GENERIC.MP) #1864: Mon Jan 25 19:11:29 MST 2016 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 12854988800 (12259MB) > avail mem = 12461199360 (11883MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xcf49c000 (84 entries) > bios0: vendor Dell Inc. version "6.4.0" date 07/23/2013 > bios0: Dell Inc. PowerEdge R610 > 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 SRAT TCPA > acpi0: wakeup devices PCI0(S5) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 32 (boot processor) > cpu0: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2660.41 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > cpu0: 256KB 64b/line 8-way L2 cache > cpu0: smt 0, core 0, package 1 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 133MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE > cpu1 at mainbus0: apid 0 (application processor) > cpu1: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2660.00 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 0, core 0, package 0 > cpu2 at mainbus0: apid 34 (application processor) > cpu2: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2660.00 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > cpu2: 256KB 64b/line 8-way L2 cache > cpu2: smt 0, core 1, package 1 > cpu3 at mainbus0: apid 2 (application processor) > cpu3: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2660.00 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > cpu3: 256KB 64b/line 8-way L2 cache > cpu3: smt 0, core 1, package 0 > cpu4 at mainbus0: apid 50 (application processor) > cpu4: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2660.00 MHz > cpu4: > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > cpu4: 256KB 64b/line 8-way L2 cache > cpu4: smt 0, core 9, package 1 > cpu5 at mainbus0: apid 18 (application processor) > cpu5: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2660.00 MHz > cpu5: > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > cpu5: 256KB 64b/line 8-way L2 cache > cpu5: smt 0, core 9, package 0 > cpu6 at mainbus0: apid 52 (application processor) > cpu6: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2660.00 MHz > cpu6: > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > cpu6: 256KB 64b/line 8-way L2 cache > cpu6: smt 0, core 10, package 1 > cpu7 at mainbus0: apid 20 (application processor) > cpu7: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2660.00 MHz > cpu7: > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > cpu7: 256KB 64b/line 8-way L2 cache > cpu7: smt 0, core 10, package 0 > ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins > ioapic1 at mainbus0: apid 1 pa 0xfec80000, version 20, 24 pins > ioapic1: misconfigured as apic 0, remapped to apid 1 > acpihpet0 at acpi0: 14318179 Hz > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (PEX1) > acpiprt2 at acpi0: bus 2 (PEX3) > acpiprt3 at acpi0: bus -1 (PEX4) > acpiprt4 at acpi0: bus -1 (PEX5) > acpiprt5 at acpi0: bus -1 (PEX6) > acpiprt6 at acpi0: bus 4 (PEX7) > acpiprt7 at acpi0: bus 5 (PEX9) > acpiprt8 at acpi0: bus -1 (PEXA) > acpiprt9 at acpi0: bus 3 (SBEX) > acpiprt10 at acpi0: bus 6 (COMP) > acpicpu0 at acpi0: C1(@1 halt!) > acpicpu1 at acpi0: C1(@1 halt!) > acpicpu2 at acpi0: C1(@1 halt!) > acpicpu3 at acpi0: C1(@1 halt!) > acpicpu4 at acpi0: C1(@1 halt!) > acpicpu5 at acpi0: C1(@1 halt!) > acpicpu6 at acpi0: C1(@1 halt!) > acpicpu7 at acpi0: C1(@1 halt!) > ipmi at mainbus0 not configured > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel 5500 Host" rev 0x13 > ppb0 at pci0 dev 1 function 0 "Intel X58 PCIE" rev 0x13 > pci1 at ppb0 bus 1 > bnx0 at pci1 dev 0 function 0 "Broadcom BCM5709" rev 0x20: apic 1 int 4 > bnx1 at pci1 dev 0 function 1 "Broadcom BCM5709" rev 0x20: apic 1 int 16 > ppb1 at pci0 dev 3 function 0 "Intel X58 PCIE" rev 0x13 > pci2 at ppb1 bus 2 > bnx2 at pci2 dev 0 function 0 "Broadcom BCM5709" rev 0x20: apic 1 int 0 > bnx3 at pci2 dev 0 function 1 "Broadcom BCM5709" rev 0x20: apic 1 int 10 > ppb2 at pci0 dev 7 function 0 "Intel X58 PCIE" rev 0x13: msi > pci3 at ppb2 bus 4 > ppb3 at pci0 dev 9 function 0 "Intel X58 PCIE" rev 0x13: msi > pci4 at ppb3 bus 5 > "Intel X58 Misc" rev 0x13 at pci0 dev 20 function 0 not configured > "Intel X58 GPIO" rev 0x13 at pci0 dev 20 function 1 not configured > "Intel X58 RAS" rev 0x13 at pci0 dev 20 function 2 not configured > uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 0 int 17 > uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 0 int 18 > ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 0 int 19 > 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 82801I PCIE" rev 0x02 > pci5 at ppb4 bus 3 > mfi0 at pci5 dev 0 function 0 "Symbios Logic SAS1078" rev 0x04: apic 0 > int 16 > mfi0: "PERC 6/i Integrated", firmware 6.3.3.0002, 256MB cache > scsibus1 at mfi0: 64 targets > sd0 at scsibus1 targ 0 lun 0: <DELL, PERC 6/i, 1.22> SCSI3 0/direct > fixed naa.6a4badb0331002001357370807b4917a > sd0: 139392MB, 512 bytes/sector, 285474816 sectors > uhci2 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 0 int 21 > uhci3 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 0 int 20 > ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 0 int 21 > 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 0x92 > 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 82801IB LPC" rev 0x02 > pciide0 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x02: DMA, > channel 0 configured to native-PCI, channel 1 configured to native-PCI > pciide0: using apic 0 int 23 for native-PCI interrupt > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus2 at atapiscsi0: 2 targets > cd0 at scsibus2 targ 0 lun 0: <TEAC, DVD-ROM DV-28SW, R.2A> ATAPI > 5/cdrom removable > cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 > usb2 at uhci0: USB revision 1.0 > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb3 at uhci1: USB revision 1.0 > uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb4 at uhci2: USB revision 1.0 > uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb5 at uhci3: USB revision 1.0 > uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > 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 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > uhub6 at uhub0 port 3 "Standard Microsystems product 0x2514" rev > 2.00/0.00 addr 2 > uhidev0 at uhub4 port 2 configuration 1 interface 0 "Avocent USB > Composite Device-0" rev 1.10/0.00 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev1 at uhub4 port 2 configuration 1 interface 1 "Avocent USB > Composite Device-0" rev 1.10/0.00 addr 2 > uhidev1: iclass 3/1 > ums0 at uhidev1: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > root on sd0a (bd0f9f53c67ec5d2.a) swap on sd0b dump on sd0b > WARNING: / was not properly unmounted > bnx0: address 00:22:19:6b:e0:8c > brgphy0 at bnx0 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8 > bnx1: address 00:22:19:6b:e0:8e > brgphy1 at bnx1 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8 > bnx2: address 00:22:19:6b:e0:90 > brgphy2 at bnx2 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8 > bnx3: address 00:22:19:6b:e0:92 > brgphy3 at bnx3 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8 >
