Hi, Yesterday, I upgraded my amd64 gateway (pppoe + vlans) with a recent -current in order to test a bit codel queue.
OpenBSD 6.1-current (GENERIC.MP) #67: Thu May 18 18:28:26 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP This first panic occured while running (panic after 1 day): [handwritten ddb output: I stripped out pointer addresses] panic: kernel diagnostic assertion "ifq_is_serialized(ifq)" failed: file "/usr/src/sys/net/ifq.c" line 394 Stopped at db_enter+0x9: leave TID PID UID PRFLAGS PFLAGS CPU COMMAND *208580 11878 0 0x14000 0x200 0 softnet 62492 51658 0 0x14000 0x200 1 systq db_enter(...) at db_enter+0x9 panic(...) at panic+0x102 __assert(...) at __assert+0x35 ifq_mfreeml(...) at ifq_mfreeml+0x6c fq_codel_deq_begin(x,x,x,x,7,x) at fq_codel_deq_begin+0x1d9 ifq_deq_begin(x,7,x,0,x,x) at ifq_deq_begin+0x45 ifq_dequeue(x,x,x,0,x,x) at ifq_dequeue+0x1c sppp_dequeue(x,x,c,x,x,x) at sppp_dequeue+0x6f pppoe_start(x,285,x,x,7,x) at pppoe_start+0xbf if_qstart_compat(x,x,c,5,x,20) at if_qstart_compat+0x3f sppp_cp_send(x,8021,1,e,6,x) at sppp_cp_send+0x202 sppp_ipcp_scr(x,x,1,x,x,x) at sppp_ipcp_scr+0x97 sppp_phase_network(x,f0,x,5,0,x) at sppp_phase_network+0xad sppp_pap_input(x,x,0,x,0,x) at sppp_pap_input+0x33f endtrace frame: 0xffff8000131a6dc0, count: 0 I kept the photography of the screen if pointer addresses are in interest (`x' inside the trace). # ifconfig pppoe0 pppoe0: flags=208851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6> mtu 1492 index 17 priority 0 llprio 3 dev: vlan10 state: session sid: 0x3fad PADI retries: 1 PADR retries: 0 time: 01:34:11 sppp: phase network authproto pap authname "XXX" groups: pppoe internet egress status: active inet6 fe80::cabe:19ff:fee2:2ced%pppoe0 -> prefixlen 64 scopeid 0x11 inet 109.190.33.218 --> 178.32.37.4 netmask 0xffffffff # ifconfig vlan10 vlan10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> rdomain 10 mtu 1500 lladdr c8:be:19:e2:2c:ed index 7 priority 0 llprio 3 vlan: 10 parent interface: re0 vnetid: 10 parent: re0 groups: vlan adsl status: active inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255 inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 # ifconfig re0 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1504 lladdr c8:be:19:e2:2c:ed index 1 priority 0 llprio 3 media: Ethernet autoselect (1000baseT full-duplex) status: active >From my pf configuration, I had removed queue with bandwidth and replaced them with: queue fq on pppoe0 flows 1024 default queue fq on re0 flows 1024 default Thanks. -- Sebastien Marie OpenBSD 6.1-current (GENERIC.MP) #67: Thu May 18 18:28:26 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 921632768 (878MB) avail mem = 887963648 (846MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0000 (42 entries) bios0: vendor Phoenix Technologies, LTD version "MS7297 1.08" date 08/22/2007 bios0: Hewlett-Packard 0A7C acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT HPET MCFG APIC acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) AZAL(S3) AUDO(S3) MODM(S3) P2P_(S5) RLAN(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+, 2593.87 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+, 2593.50 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (P2P_) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus -1 (PCE3) acpiprt4 at acpi0: bus -1 (PCE4) acpiprt5 at acpi0: bus -1 (PCE5) acpiprt6 at acpi0: bus -1 (PCE6) acpiprt7 at acpi0: bus -1 (PCE7) acpiprt8 at acpi0: bus -1 (PCE8) acpiprt9 at acpi0: bus 1 (AGP_) acpicpu0 at acpi0: C1(@1 halt!), PSS acpicpu1 at acpi0: C1(@1 halt!), PSS acpibtn0 at acpi0: PWRB "PNP0501" at acpi0 not configured "PNP0401" at acpi0 not configured "PNP0303" at acpi0 not configured cpu0: PowerNow! K8 2593 MHz: speeds: 2600 2400 2200 2000 1800 1000 MHz pci0 at mainbus0 bus 0 0:18:0: mem address conflict 0xfec01000/0x400 pchb0 at pci0 dev 0 function 0 "ATI RS480 Host" rev 0x10 ppb0 at pci0 dev 1 function 0 "ATI RS480 PCIE" rev 0x00 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 5 function 0 "ATI Radeon XPRESS 200" rev 0x00 drm0 at radeondrm0 radeondrm0: apic 2 int 17 ahci0 at pci0 dev 18 function 0 "ATI SB600 SATA" rev 0x00: apic 2 int 22, AHCI 1.1 ahci0: port 0: 1.5Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, FUJITSU MHV2060B, 0085> SCSI3 0/direct fixed t10.ATA_FUJITSU_MHV2060BH_NW10T6326AVK sd0: 55796MB, 512 bytes/sector, 114270345 sectors ohci0 at pci0 dev 19 function 0 "ATI SB600 USB" rev 0x00: apic 2 int 16, version 1.0, legacy support ohci1 at pci0 dev 19 function 1 "ATI SB600 USB" rev 0x00: apic 2 int 17, version 1.0, legacy support ohci2 at pci0 dev 19 function 2 "ATI SB600 USB" rev 0x00: apic 2 int 18, version 1.0, legacy support ohci3 at pci0 dev 19 function 3 "ATI SB600 USB" rev 0x00: apic 2 int 17, version 1.0, legacy support ohci4 at pci0 dev 19 function 4 "ATI SB600 USB" rev 0x00: apic 2 int 18, version 1.0, legacy support ehci0 at pci0 dev 19 function 5 "ATI SB600 USB2" rev 0x00: apic 2 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x13: SMI iic0 at piixpm0 iic0: addr 0x2f 00=c2 01=0f 02=00 03=00 04=07 05=20 06=18 07=01 08=00 14=14 15=62 16=02 17=05 words 00=c2ff 01=0fff 02=00ff 03=00ff 04=07ff 05=20ff 06=18ff 07=01ff spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 pciide0 at pci0 dev 20 function 1 "ATI SB600 IDE" rev 0x00: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using apic 2 int 16 for native-PCI interrupt azalia0 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 2 int 23 azalia0: codecs: Realtek/0x0862 audio0 at azalia0 pcib0 at pci0 dev 20 function 3 "ATI SB600 ISA" rev 0x00 ppb1 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00 pci2 at ppb1 bus 2 re0 at pci2 dev 2 function 0 "D-Link DGE-528T" rev 0x10: RTL8169/8110SB (0x1000), apic 2 int 22, address c8:be:19:e2:2c:ed rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 3 rl0 at pci2 dev 6 function 0 "Realtek 8139" rev 0x10: apic 2 int 21, address 00:1d:92:43:43:95 rlphy0 at rl0 phy 0: RTL internal PHY pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev BH-G1 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb3 at ohci2: USB revision 1.0 uhub3 at usb3 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb4 at ohci3: USB revision 1.0 uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb5 at ohci4: USB revision 1.0 uhub5 at usb5 configuration 1 interface 0 "ATI OHCI 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 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 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x4e/2: W83627EHF rev 0x68 lm1 at wbsio0 port 0x260/8: W83627EHF splassert: usb_transfer_complete: want 5 have 6 umass0 at uhub0 port 7 configuration 1 interface 0 "Generic USB2.0-CRW" rev 2.00/11.22 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: <Generic-, Compact Flash, 1.00> SCSI0 0/direct removable sd2 at scsibus2 targ 1 lun 1: <Generic-, SM/xD-Picture, 1.00> SCSI0 0/direct removable sd3 at scsibus2 targ 1 lun 2: <Generic-, SD/MMC, 1.00> SCSI0 0/direct removable sd4 at scsibus2 targ 1 lun 3: <Generic-, MS/MS-Pro, 1.00> SCSI0 0/direct removable splassert: usb_transfer_complete: want 5 have 6 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (dd15967b7ad164f3.a) swap on sd0b dump on sd0b WARNING: / was not properly unmounted radeondrm0: 1280x1024, 32bpp wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation)