Badly OCR'd and manually quickly corrected screen capture below
(tesseract doesn't do _at all_ well with digits and the spleen font),
originals at

https://junkpile.org/hv-panic-202401-1.png
https://junkpile.org/hv-panic-202401-2.png
https://junkpile.org/hv-panic-202401-3.png

This is a VM running under hyper-v running 7.4+errata007 (i.e. it _does_
have the "A network buffer that had to be split at certain length could
crash the kernel" fix).

Running postfix, librenms (PHP etc calling snmp tools quite a lot),
rrdcached.

Nothing unusual happening at the time of crash. Uptime prior to this
was 3 weeks 3 days after it was updated to 7.4. (Before that, uptime
on 7.3 was 5 months +).

The only slightly unusual thing about this install is that there are two
hvn(4) virtual nics.

hvs1: short read: 48
panic: rw_enter: netlock locking against myself
Stopped at db_enter+0x14: popq %rbp
TID PID UID —-PRFLAGS =~ PFLAGS CPU. COMMAND
*388963 11506 755 0x2 0 0 snmpbulkualk
320140 61046 0 0x14000 0x200 1 reaper
db_enter() at db_enter+0x14
panic(ffffffff820ebaaa) at panic+0xc3
rw_enter(ffffffff824bd2d0,2) at rw_enter+0x252
hv_kvp(ffffffff8248d738) at hv_kvp+0x705
hv_event_intr(ffff80000008d000) at hv_event_intr+0x1ab
hv_intr() at hv_intr+0x1a
Xresume_hyperv_upcall() at Xresume_hyperv_upcall+0x27
Xspllower() at Xspllower+0x1d
task_add (ffff800000036200,ffff8000001533c0) at task_add+0x83
if_enqueue_ifq(ffff800000153060,ffffffd80f6642900) at if_enqueue_ifq+0x6f
ether_output(ffff800000153060,fffffffd80f6642900,fffffd80c8ef5c78,fffffd811e6414d8)
 at ether_output+0x82
if_output_tso(ffff800000153060,fff800025395d08,fffffd80c8ef5c78,fffffd811e6414d8,5dc)
 at if_output_tso+0xe1
ip_output(fffffd80f6642900,0,fffffd80c8ef5c68,0,0,fffffd80c8ef5bf0,1da98542b9d8f733)
 at ip_output+0x817
udp_output(fffffd80c8ef5bf0,fffffd80b468b400,fffffd80ac452c00,0) at 
udp_output+0x3be
end trace frame: 0xffff800025395ee0, count: 0

https://www.openbsd.org/ddb.html describes the minimum info required in bug
eports. Insufficient info makes it difficult to find and fix bugs.

ddb{0}> mach ddbcpu 1
Stopped at x86_ipi_db+0x16: leave
x86_ipi_db(ffff80002250dff0) at xB6_ipi_db+Ox16
x86_ipi_handler() at x86_ipi_handler+0x80
Xresume_lapic_ipiQ) at Xresume_lapic_ipi+0x27
-kernel_lock() at _kernel_lock+0xc2
reaper (ffff80002473c008) at reaper+0x133
end trace frame: 0x0, count: 10

ddb{1}> mach ddbepu 2
Invalid cpu 2

Oh, the output side of DDB messages are in the dmesg after boot
too:


OpenBSD 7.4 (GENERIC.MP) #0: Sun Oct 22 12:13:42 MDT 2023
    
r...@syspatch-74-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 6064898048 (5783MB)
avail mem = 5861367808 (5589MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf8ec0 (216 entries)
bios0: vendor American Megatrends Inc. version "090006" date 04/28/2016
bios0: Microsoft Corporation Virtual Machine
acpi0 at bios0: ACPI 2.0
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP WAET SLIC OEM0 SRAT APIC OEMB
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihve0 at acpi0
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) Gold 6134 CPU @ 3.20GHz, 3192.55 MHz, 06-55-04
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SS,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,CLFLUSHOPT,AVX512CD,AVX512BW,AVX512VL,IBRS,IBPB,STIBP,L1DF,SSBD,XSAVEOPT,XSAVEC,XSAVES,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
16-way L2 cache, 24MB 64b/line 11-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Xeon(R) Gold 6134 CPU @ 3.20GHz, 3192.56 MHz, 06-55-04
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SS,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,CLFLUSHOPT,AVX512CD,AVX512BW,AVX512VL,IBRS,IBPB,STIBP,L1DF,SSBD,XSAVEOPT,XSAVEC,XSAVES,MELTDOWN
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
16-way L2 cache, 24MB 64b/line 11-way L3 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins, remapped
acpiprt0 at acpi0: bus 0 (PCI0)
acpipci0 at acpi0 PCI0
acpicmos0 at acpi0
com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
com1 at acpi0 UAR2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo
"VMBus" at acpi0 not configured
"Hyper_V_Gen_Counter_V1" at acpi0 not configured
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
cpu0: using Skylake AVX MDS workaround
pvbus0 at mainbus0: Hyper-V 10.0
hyperv0 at pvbus0: protocol 4.0, features 0x2e7f
hyperv0: heartbeat, kvp, shutdown, timesync
hvs0 at hyperv0 channel 2: ide, protocol 6.2
scsibus1 at hvs0: 2 targets
sd0 at scsibus1 targ 0 lun 0: <Msft, Virtual Disk, 1.0> 
naa.600224800b919623720feccbf775f95d
sd0: 49152MB, 512 bytes/sector, 100663296 sectors, thin
hvs1 at hyperv0 channel 15: scsi, protocol 6.2
scsibus2 at hvs1: 2 targets
hvn0 at hyperv0 channel 14: NVS 5.0 NDIS 6.30, address 00:15:5d:0a:8e:18
hvn1 at hyperv0 channel 16: NVS 5.0 NDIS 6.30, address 00:15:5d:0a:8e:1e
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82443BX" rev 0x03
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x01
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus3 at atapiscsi0: 2 targets
cd0 at scsibus3 targ 0 lun 0: <Msft, Virtual CD/ROM, 1.0> removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: SMBus disabled
vga1 at pci0 dev 8 function 0 "Microsoft VGA" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
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
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
root on sd0a (09f64bfb3a8cd88a.a) swap on sd0b dump on sd0b
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: density unknown
acpi0: PM1 stuck (en 0x101 st 0x1), clearing
hyperv0: revoking channel 7
hvs1: short read: 48
panic: rw_enter: netlock locking against myself
Stopped at      db_enter+0x14:  popq    %rbp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*388963  11506    755         0x2          0    0  snmpbulkwalk
 320140  61046      0     0x14000      0x200    1  reaper
db_enter() at db_enter+0x14
panic(ffffffff820ebaaa) at panic+0xc3
rw_enter(ffffffff824bd2d0,2) at rw_enter+0x252
hv_kvp(ffffffff8248d738) at hv_kvp+0x705
hv_event_intr(ffff80000008d000) at hv_event_intr+0x1ab
hv_intr() at hv_intr+0x1a
Xresume_hyperv_upcall() at Xresume_hyperv_upcall+0x27
Xspllower() at Xspllower+0x1d
task_add(ffff800000036200,ffff8000001533c0) at task_add+0x83
if_enqueue_ifq(ffff800000153060,fffffd80f6642900) at if_enqueue_ifq+0x6f
ether_output(ffff800000153060,fffffd80f6642900,fffffd80c8ef5c78,fffffd811e6414d8)
 at ether_output+0x82
if_output_tso(ffff800000153060,ffff800025395d08,fffffd80c8ef5c78,fffffd811e6414d8,5dc)
 at if_output_tso+0xe1
ip_output(fffffd80f6642900,0,fffffd80c8ef5c68,0,0,fffffd80c8ef5bf0,1da98542b9d8f733)
 at ip_output+0x817
udp_output(fffffd80c8ef5bf0,fffffd80b468b400,fffffd80ac452c00,0) at 
udp_output+0x3be
end trace frame: 0xffff800025395ee0, count: 0
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb{0}> Stopped at      x86_ipi_db+0x16:        leave
x86_ipi_db(ffff80002250dff0) at x86_ipi_db+0x16
x86_ipi_handler() at x86_ipi_handler+0x80
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
_kernel_lock() at _kernel_lock+0xc2
reaper(ffff80002473c008) at reaper+0x133
end trace frame: 0x0, count: 10
ddb{1}> Invalid cpu 2
ddb{1}> rebooting...

Reply via email to