I can reproduce this after updating to the Sept 18th snapshot, I did not observe this on my Aug 20 snapshot install if that aids in narrowing down when this was introduced.
I suspect reporting this to bugs rather than misc may be a better course of action. https://www.openbsd.org/report.html On 20 September 2017 at 12:26, Kapetanakis Giannis <bil...@edu.physics.uoc.gr> wrote: > I got this panic today after ping -R > I don't run pfsync > > # ping -R www.google.com > panic: kernel diagnostic assertion "m0->m_flags & M_PKTHDR" failed: file > "/usr/src/sys/kern/uipc_mbuf.c", line 1344splassert: pfsync_update_state: > want 1 have 256 > > pStopped at db_enter+0x5: popq %rbp > TID PID UID PRFLAGS PFLAGS CPU COMMAND > *299140 12380 51 0x33 0 2 ping > 422116 15532 0 0x14000 0x200 1 softnet > db_enter() at db_enter+0x5 > panic() at panic+0x128 > __assert(ffffffff81020a74,ffff80002692f4a0,0,1) at __assert+0x24 > m_dup_pkt(ffffff010c77caf8,1,ffffff00baab064b) at m_dup_pkt+0x225 > ip_pcbopts(1,ffffff00baab0600) at ip_pcbopts+0x138 > sosetopt(ffffff010947b018,ffff800026798d68,ffff80002692f5f0,ffffff00baab0600) > a > t sosetopt+0xd0 > sys_setsockopt(ffff80002692f680,690,ffff800026798d68) at sys_setsockopt+0x13d > syscall() at syscall+0x270 > --- syscall (number 105) --- > end of kernel > end trace frame: 0x7f7ffffbf230, count: 7 > 0xc362b93239a: > > > OpenBSD 6.2-beta (GENERIC.MP) #86: Sun Sep 10 10:07:51 MDT 2017 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 4273274880 (4075MB) > avail mem = 4136747008 (3945MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xcfb9c000 (67 entries) > bios0: vendor Dell Inc. version "2.7.0" date 10/30/2010 > bios0: Dell Inc. PowerEdge 1950 > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S4 S5 > acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT EINJ 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 0 (boot processor) > cpu0: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.26 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,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR > cpu0: 6MB 64b/line 16-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 332MHz > cpu0: mwait min=64, max=64, C-substates=0.2.2.2, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.01 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,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR > cpu1: 6MB 64b/line 16-way L2 cache > cpu1: smt 0, core 2, package 0 > cpu2 at mainbus0: apid 1 (application processor) > cpu2: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.01 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,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR > cpu2: 6MB 64b/line 16-way L2 cache > cpu2: smt 0, core 1, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995.01 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,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR > cpu3: 6MB 64b/line 16-way L2 cache > cpu3: smt 0, core 3, package 0 > ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins > , remapped to apid 4 > acpihpet0 at acpi0: 14318179 Hz > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 4 (PEX2) > acpiprt2 at acpi0: bus 5 (UPST) > acpiprt3 at acpi0: bus 6 (DWN1) > acpiprt4 at acpi0: bus 8 (DWN2) > acpiprt5 at acpi0: bus 1 (PEX3) > acpiprt6 at acpi0: bus -1 (PE2P) > acpiprt7 at acpi0: bus 10 (PEX4) > acpiprt8 at acpi0: bus -1 (PE2P) > acpiprt9 at acpi0: bus 12 (PEX6) > acpiprt10 at acpi0: bus 2 (SBEX) > acpiprt11 at acpi0: bus 14 (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!) > "PNP0C33" at acpi0 not configured > "PNP0700" at acpi0 not configured > "IPI0001" at acpi0 not configured > ipmi at mainbus0 not configured > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel 5000X Host" rev 0x12 > ppb0 at pci0 dev 2 function 0 "Intel 5000 PCIE" rev 0x12 > pci1 at ppb0 bus 4 > ppb1 at pci1 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01 > pci2 at ppb1 bus 5 > ppb2 at pci2 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01 > pci3 at ppb2 bus 6 > ppb3 at pci3 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3 > pci4 at ppb3 bus 7 > bnx0 at pci4 dev 0 function 0 "Broadcom BCM5708" rev 0x12: apic 4 int 16 > ppb4 at pci2 dev 1 function 0 "Intel 6321ESB PCIE" rev 0x01 > pci5 at ppb4 bus 8 > ppb5 at pci1 dev 0 function 3 "Intel 6321ESB PCIE-PCIX" rev 0x01 > pci6 at ppb5 bus 9 > ppb6 at pci0 dev 3 function 0 "Intel 5000 PCIE" rev 0x12 > pci7 at ppb6 bus 1 > mpi0 at pci7 dev 0 function 0 "Symbios Logic SAS1068E" rev 0x08: msi > mpi0: SAS6IR, firmware 0.25.47.0 > scsibus1 at mpi0: 112 targets > sd0 at scsibus1 targ 0 lun 0: <Dell, VIRTUAL DISK, 1028> SCSI3 0/direct fixed > naa.600508e0000000004f5b6d6d3fb4ad0d > sd0: 139236MB, 512 bytes/sector, 285155328 sectors > ses0 at scsibus1 targ 8 lun 0: <DP, BACKPLANE, 1.05> SCSI3 13/enclosure > services fixed t10.DP_BACKPLANE000000 > ppb7 at pci0 dev 4 function 0 "Intel 5000 PCIE x8" rev 0x12: msi > pci8 at ppb7 bus 10 > ppb8 at pci0 dev 5 function 0 "Intel 5000 PCIE" rev 0x12 > pci9 at ppb8 bus 11 > ppb9 at pci0 dev 6 function 0 "Intel 5000 PCIE x8" rev 0x12: msi > pci10 at ppb9 bus 12 > ppb10 at pci0 dev 7 function 0 "Intel 5000 PCIE" rev 0x12 > pci11 at ppb10 bus 13 > pchb1 at pci0 dev 16 function 0 "Intel 5000 Error Reporting" rev 0x12 > pchb2 at pci0 dev 16 function 1 "Intel 5000 Error Reporting" rev 0x12 > pchb3 at pci0 dev 16 function 2 "Intel 5000 Error Reporting" rev 0x12 > pchb4 at pci0 dev 17 function 0 "Intel 5000 Reserved" rev 0x12 > pchb5 at pci0 dev 19 function 0 "Intel 5000 Reserved" rev 0x12 > pchb6 at pci0 dev 21 function 0 "Intel 5000 FBD" rev 0x12 > pchb7 at pci0 dev 22 function 0 "Intel 5000 FBD" rev 0x12 > ppb11 at pci0 dev 28 function 0 "Intel 6321ESB PCIE" rev 0x09 > pci12 at ppb11 bus 2 > ppb12 at pci12 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3 > pci13 at ppb12 bus 3 > bnx1 at pci13 dev 0 function 0 "Broadcom BCM5708" rev 0x12: apic 4 int 16 > uhci0 at pci0 dev 29 function 0 "Intel 6321ESB USB" rev 0x09: apic 4 int 21 > uhci1 at pci0 dev 29 function 1 "Intel 6321ESB USB" rev 0x09: apic 4 int 20 > uhci2 at pci0 dev 29 function 2 "Intel 6321ESB USB" rev 0x09: apic 4 int 21 > uhci3 at pci0 dev 29 function 3 "Intel 6321ESB USB" rev 0x09: apic 4 int 20 > ehci0 at pci0 dev 29 function 7 "Intel 6321ESB USB" rev 0x09: apic 4 int 21 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > ppb13 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd9 > pci14 at ppb13 bus 14 > radeondrm0 at pci14 dev 13 function 0 "ATI ES1000" rev 0x02 > drm0 at radeondrm0 > radeondrm0: apic 4 int 19 > pcib0 at pci0 dev 31 function 0 "Intel 6321ESB LPC" rev 0x09 > pciide0 at pci0 dev 31 function 1 "Intel 6321ESB IDE" rev 0x09: DMA, channel > 0 configured to compatibility, channel 1 configured to compatibility > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus2 at atapiscsi0: 2 targets > cd0 at scsibus2 targ 0 lun 0: <TEAC, DVD-ROM DV28EV, D.AE> ATAPI 5/cdrom > removable > cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 ignored (disabled) > usb1 at uhci0: USB revision 1.0 > uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb2 at uhci1: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb3 at uhci2: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb4 at uhci3: USB revision 1.0 > uhub4 at usb4 configuration 1 interface 0 "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 > com1: console > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > uhub5 at uhub0 port 5 configuration 1 interface 0 "Cypress Semiconductor USB2 > Hub" rev 2.00/0.0b addr 2 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > root on sd0a (5de4f4257348bf6d.a) swap on sd0b dump on sd0b > WARNING: / was not properly unmounted > bnx0: address 00:1d:09:71:2e:93 > brgphy0 at bnx0 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6 > bnx1: address 00:1d:09:71:2e:91 > brgphy1 at bnx1 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6 > radeondrm0: 1024x768, 8bpp > wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) >