On Thu, Sep 03, 2026 at 01:51:07PM +0200, Matthieu Herrb wrote: The same panic happened again, 8 days later. I've now removed ddb.panic=0 so next time I may be able to get more information out of ddb if someone tells me what to look at.
> Hi, > > One of my firewalls, running 7.9-stable on a Proxmox Hypervisor with > vio(4) interfaces paniced this morning with with the following > backtace. Intestingly it paniced a 2nd time while rebooting, and then > it went in a panic loop. (It has ddb.panic=0 in /etc/sysctl.conf). > > Full dmesg follows. > > panic: kernel diagnostic assertion "refs > 1" failed: file > "/usr/src/sys/kern/kern_synch.c", line 920 > Starting stack trace... > panic(ffffffff82675fb3) at panic+0x170 > __assert(ffffffff826af393,ffffffff8263b110,398,ffffffff8267d9bc) at > __assert+0x29 > refcnt_take(fffffd80440df980) at refcnt_take+0xa1 > rtable_match(0,ffffffff82c216e0,ffffffff82c216fc) at rtable_match+0x1b0 > route6_mpath(ffffffff82c216c8,fffffd809b89e036,fffffd809b89e026,0) at > route6_mpath+0x6f > ip6_forward(fffffd80bc351200,ffffffff82c216c8,2) at ip6_forward+0x2a5 > ip6_input_if(ffff80002c64b368,ffff80002c64b374,29,0,ffff800000ed4800,ffffffff82c21698) > at ip6_input_if+0x87d > ipv6_input(ffff800000ed4800,fffffd80bc351200,ffffffff82c21698) at > ipv6_input+0x42 > if_input_process(ffff80000012e058,ffff80002c64b428,0) at > if_input_process+0x20a > ifiq_process(ffff80000012e490) at ifiq_process+0xa1 > taskq_thread(ffff80000002c000) at taskq_thread+0x129 > end trace frame: 0x0, count: 246 > End of stack trace. > syncing disks...panic: pool_do_get: mbufpl: page empty > Starting stack trace... > panic(ffffffff8261d20f) at panic+0x170 > pool_do_get(ffffffff82b0b878,2,ffff80002c64a614) at pool_do_get+0x338 > pool_get(ffffffff82b0b878,2) at pool_get+0xc2 > m_clget(0,2,1000) at m_clget+0xc9 > vio_populate_rx_mbufs(ffff80000012e000,ffff80000012b4c0) at > vio_populate_rx_mbufs+0x16e > vio_rx_intr(ffff80000012e980) at vio_rx_intr+0xa8 > vio_queue_intr(ffff80000012b4c0) at vio_queue_intr+0x4b > intr_handler(ffff80002c64a830,ffff80000008f080) at intr_handler+0xa4 > Xintr_ioapic_edge0_untramp() at Xintr_ioapic_edge0_untramp+0x18f > _kernel_lock() at _kernel_lock+0xb2 > scsi_iopool_run(ffff8000000e5048) at scsi_iopool_run+0x130 > scsi_xsh_runqueue(ffff8000000ba000) at scsi_xsh_runqueue+0x1fe > scsi_xsh_add(ffff80000012c1a0) at scsi_xsh_add+0xa0 > sdstrategy(fffffd807a807b30) at sdstrategy+0x158 > spec_strategy(ffff80002c64aa58) at spec_strategy+0x33 > VOP_STRATEGY(fffffd80a80ad370,fffffd807a807b30) at VOP_STRATEGY+0x50 > ufs_strategy(ffff80002c64aad8) at ufs_strategy+0x11d > VOP_STRATEGY(fffffd80ac991dc0,fffffd807a807b30) at VOP_STRATEGY+0x50 > bwrite(fffffd807a807b30) at bwrite+0x15a > VOP_BWRITE(fffffd807a807b30) at VOP_BWRITE+0x39 > ffs_fsync(ffff80002c64abf8) at ffs_fsync+0xe7 > VOP_FSYNC(fffffd80ac991dc0,fffffd8008ffdf08,2,ffff8000ffffecf8) at > VOP_FSYNC+0x5f > ffs_sync_vnode(fffffd80ac991dc0,ffff80002c64ad10) at ffs_sync_vnode+0x101 > vfs_mount_foreach_vnode(ffff800000e7dc00,ffffffff817d1bb0,ffff80002c64ad10) > at vfs_mount_foreach_vnode+0x4a > ffs_sync(ffff800000e7dc00,2,0,fffffd8008ffdf08,ffff8000ffffecf8) at > ffs_sync+0xa4 > sys_sync(ffff8000ffffecf8,0,0) at sys_sync+0xb8 > vfs_syncwait(ffff8000ffffecf8,1) at vfs_syncwait+0x30 > vfs_shutdown(ffff8000ffffecf8) at vfs_shutdown+0x6b > boot(100) at boot+0xa9 > > OpenBSD 7.9 (GENERIC.MP) #8: Fri Aug 21 13:32:14 MDT 2026 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 3204292608 (3055MB) > avail mem = 3079733248 (2937MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf52f0 (9 entries) > bios0: vendor SeaBIOS version "rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org" > date 04/01/2014 > bios0: QEMU Standard PC (i440FX + PIIX, 1996) > acpi0 at bios0: ACPI 1.0 > acpi0: sleep states S5 > acpi0: tables DSDT FACP APIC SSDT HPET WAET > acpi0: wakeup devices > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: QEMU Virtual CPU version 2.5+, 2893.60 MHz, 0f-6b-01 > cpu0: cpuid 1 > edx=178bfbfd<FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT> > ecx=82b82201<SSE3,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,HV> > cpu0: cpuid 80000001 edx=20100800<NXE,LONG> ecx=1<LAHF> > cpu0: MELTDOWN > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 4MB 64b/line > 16-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu0: smt 0, core 0, package 0, type P > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 1000MHz > cpu1 at mainbus0: apid 1 (application processor) > cpu1: QEMU Virtual CPU version 2.5+, 2893.57 MHz, 0f-6b-01 > cpu1: smt 0, core 1, package 0, type P > cpu2 at mainbus0: apid 2 (application processor) > cpu2: QEMU Virtual CPU version 2.5+, 2893.42 MHz, 0f-6b-01 > cpu2: smt 0, core 2, package 0, type P > cpu3 at mainbus0: apid 3 (application processor) > cpu3: QEMU Virtual CPU version 2.5+, 2893.53 MHz, 0f-6b-01 > cpu3: smt 0, core 3, package 0, type P > ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins > acpihpet0 at acpi0: 100000000 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > "ACPI0006" at acpi0 not configured > acpipci0 at acpi0 PCI0 > "PNP0A06" at acpi0 not configured > "PNP0A06" at acpi0 not configured > "PNP0A06" at acpi0 not configured > "QEMU0002" at acpi0 not configured > com1 at acpi0 COM2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo > com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo > "PNP0303" at acpi0 not configured > "PNP0F13" at acpi0 not configured > acpicmos0 at acpi0 > "ACPI0010" at acpi0 not configured > "QEMUVGID" at acpi0 not configured > acpicpu0 at acpi0: C1(@1 halt!) > acpicpu1 at acpi0: C1(@1 halt!) > acpicpu2 at acpi0: C1(@1 halt!) > acpicpu3 at acpi0: C1(@1 halt!) > pvbus0 at mainbus0: KVM > pvclock0 at pvbus0 > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 > pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00 > pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 > wired to compatibility, channel 1 wired to compatibility > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus1 at atapiscsi0: 2 targets > cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 2.5+> removable > cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 > pciide0: channel 1 disabled (no drives) > uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11 > piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int 9 > iic0 at piixpm0 > vga1 at pci0 dev 2 function 0 "Bochs VGA" rev 0x02 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Memory Balloon" rev 0x00 > viomb0 at virtio0 > virtio0: msix shared > ppb0 at pci0 dev 5 function 0 "Red Hat Qemu PCI-PCI" rev 0x00 > pci1 at ppb0 bus 1 > virtio1 at pci1 dev 1 function 0 "Qumranet Virtio SCSI" rev 0x00 > vioscsi0 at virtio1: qsize 256 > virtio1: msix per-VQ > scsibus2 at vioscsi0: 255 targets > sd0 at scsibus2 targ 0 lun 0: <QEMU, QEMU HARDDISK, 2.5+> > sd0: 20480MB, 512 bytes/sector, 41943040 sectors, thin > virtio2 at pci0 dev 18 function 0 "Qumranet Virtio Network" rev 0x00 > vio0 at virtio2: 4 queues, address 00:50:56:8a:38:c8, mtu 1500 > virtio2: msix > virtio3 at pci0 dev 19 function 0 "Qumranet Virtio Network" rev 0x00 > vio1 at virtio3: 1 queue, address 00:50:56:8a:9d:19, mtu 1500 > virtio3: msix per-VQ > ppb1 at pci0 dev 30 function 0 "Red Hat Qemu PCI-PCI" rev 0x00 > pci2 at ppb1 bus 2 > ppb2 at pci0 dev 31 function 0 "Red Hat Qemu PCI-PCI" rev 0x00 > pci3 at ppb2 bus 3 > isa0 at pcib0 > isadma0 at isa0 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pms0 at pckbc0 (aux slot) > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > usb0 at uhci0: USB revision 1.0 > uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > uhidev0 at uhub0 port 1 configuration 1 interface 0 "QEMU QEMU USB Tablet" > rev 2.00/0.00 addr 2 > uhidev0: iclass 3/0 > ums0 at uhidev0: 5 buttons, Z dir > wsmouse1 at ums0 mux 0 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > root on sd0a (6bbf02358b794257.a) swap on sd0b dump on sd0b > > -- > Matthieu Herrb > -- Matthieu Herrb
