>Synopsis: crash on booting GENERIC.MP since upgrade to Jan 18 snapshot
>Category: kernel amd64
>Environment:
System : OpenBSD 7.0
Details : OpenBSD 7.0-current (GENERIC) #265: Wed Jan 19 11:41:29
MST 2022
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
Since I upgraded to from a Jan 5 snapshot to Jan 18, I am
unable to boot GENERIC.MP anymore. I am still able to boot
bsd.rd and bsd.sp - I am sending this bug report from this
computer running bsd.sp.
When I boot the MP kernel, it fails after the lines:
wsdisplay0: screen 1-5 added (std, vt100 emulation)
iwm0: hw rev 0x200, rw ver 36.ca7b901d.0, address a4:34:d9:9f:c7:e3
Most of the time, the screen just goes black, some of the time
it ends up in ddb with the messages below. When the screen goes
black, sshd doesn't seem to start as I am unable to find the
machine with arp-scan or ssh into it. It still happened after
I updated to snapshot from January 19. Judging from the
persistence and the different ddb output, I don't think this is
the same issue as in Ralf Horstmann's bug report
(https://marc.info/?l=openbsd-bugs&m=164254620414598&q=mbox)
Here the (handtyped) ddb messages from the crash:
iwm0: hw rev 0x200, rw ver 36.ca7b901d.0, address a4:34:d9:9f:c7:e3
va 7f7fffffb000 ppa ffffffffff000
panic: pmap_get_ptp: unmanaged user PTP
Stopped at db_enter+0x10: popq %rbp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*189591 1 0 0 0 2K swapper
db_enter() at db_enter+0x10
panic(ffffffff81f3dc34) at panic+0xbf
pmap_get_ptp(fffffd888e554948,7f7fffffb000) at pmap_get_ptp+0x303
pmap_enter(fffffd888e554948,7f7fffffb000,13d151000,3,22) at pmap_enter+0x188
uvm_fault_lower(ffff8000156819e0,ffff800015681a18,ffff800015681960,0) at
uvm_fault_lower+0x63d
uvm_fault(fffffd888e555ee0,7f7fffffb000,0,2) at uvm_fault+0x1b3
kpageflttrap(ffff800015681b60,7f7fffffbff5) at kpageflttrap+0x12c
kerntrap(ffff800015681b60) at kerntrap+0x91
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
copyout() at copyout+0x53
end trace frame: 0x0, count: 5
Of note, this machine an Intel Xeon W-11955M which is a bit off
the beaten path. It exhibits other unexpectedly buggy behavior
since I bought it, but that hasn't been disruptive like this.
Such other bugs including smtpd daemon failing since circa
November, and sometimes kernel relinking after sysupgrade never
completing. Those are beyond the scope of this bug report, but
I'm mentioning in case this pattern of failure may be
recognized by someone more knowledgeable than me. Otherwise, I
am intending to address them at a later point.
>How-To-Repeat:
boot recent GENERIC.MP kernel on this machine.
>Fix:
booting SP kernel seems to work around the problem.
dmesg:
OpenBSD 7.0-current (GENERIC) #265: Wed Jan 19 11:41:29 MST 2022
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 33493360640 (31941MB)
avail mem = 32461185024 (30957MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x3e397000 (76 entries)
bios0: vendor Dell Inc. version "1.4.0" date 08/16/2021
bios0: Dell Inc. Precision 7560
acpi0 at bios0: ACPI 6.1
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT HPET APIC MCFG SSDT NHLT SSDT SSDT SSDT
SSDT LPIT WSMT SSDT SSDT DBGP DBG2 BOOT SSDT SSDT SSDT PTDT BGRT FPDT
acpi0: wakeup devices GLAN(S4) XHCI(S0) XDCI(S4) HDAS(S4) RP01(S4) PXSX(S4)
RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4)
RP06(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 19200000 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) W-11955M CPU @ 2.60GHz, 4988.50 MHz, 06-8d-01
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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 256KB 64b/line disabled L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 38MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.1.2.1.1.1, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xc0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PC00)
acpiprt1 at acpi0: bus -1 (RP01)
acpiprt2 at acpi0: bus 147 (RP02)
acpiprt3 at acpi0: bus 148 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiprt5 at acpi0: bus -1 (RP05)
acpiprt6 at acpi0: bus -1 (RP06)
acpiprt7 at acpi0: bus -1 (RP07)
acpiprt8 at acpi0: bus -1 (RP08)
acpiprt9 at acpi0: bus -1 (RP09)
acpiprt10 at acpi0: bus -1 (RP10)
acpiprt11 at acpi0: bus -1 (RP11)
acpiprt12 at acpi0: bus -1 (RP12)
acpiprt13 at acpi0: bus -1 (RP13)
acpiprt14 at acpi0: bus -1 (RP14)
acpiprt15 at acpi0: bus -1 (RP15)
acpiprt16 at acpi0: bus -1 (RP16)
acpiprt17 at acpi0: bus -1 (RP17)
acpiprt18 at acpi0: bus -1 (RP18)
acpiprt19 at acpi0: bus -1 (RP19)
acpiprt20 at acpi0: bus -1 (RP20)
acpiprt21 at acpi0: bus 146 (RP21)
acpiprt22 at acpi0: bus -1 (RP22)
acpiprt23 at acpi0: bus -1 (RP23)
acpiprt24 at acpi0: bus -1 (RP24)
acpiprt25 at acpi0: bus 2 (TRP0)
acpiprt26 at acpi0: bus 74 (TRP1)
acpiec0 at acpi0
acpipci0 at acpi0 PC00: 0x00000000 0x00000011 0x00000001
acpicmos0 at acpi0
"INTC1043" at acpi0 not configured
"INTC1043" at acpi0 not configured
"INTC1043" at acpi0 not configured
"INTC1043" at acpi0 not configured
"INTC1043" at acpi0 not configured
"DELL0A69" at acpi0 not configured
"ACPI000E" at acpi0 not configured
pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000
0xfd6b0000/0x10000 0xfd6a0000/0x10000 irq 14, 480 pins
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT33A1" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "DELL 17C0616" serial 989 type LiP oem "SMP"
"INTC1051" at acpi0 not configured
"INTC1040" at acpi0 not configured
"USBC000" at acpi0 not configured
acpipwrres0 at acpi0: BTRT
acpipwrres1 at acpi0: MRST
acpipwrres2 at acpi0: DRST
acpipwrres3 at acpi0: PXP_, resource for RP01, PXSX
acpipwrres4 at acpi0: WRST
acpipwrres5 at acpi0: DRST
acpipwrres6 at acpi0: V0PR
acpipwrres7 at acpi0: V1PR
acpipwrres8 at acpi0: V2PR
acpipwrres9 at acpi0: WRST
acpipwrres10 at acpi0: TBT0, resource for TDM0, TRP0, TRP1
acpipwrres11 at acpi0: TBT1, resource for TDM1, TRP2, TRP3
acpipwrres12 at acpi0: D3C_, resource for TXHC, TDM0, TDM1, TRP0, TRP1, TRP2,
TRP3
acpicpu0 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31),
C1(1000@1 mwait.1), PSS
acpipwrres13 at acpi0: PIN_
acpivideo0 at acpi0: PEGP
acpivideo1 at acpi0: GFX0
acpivout0 at acpivideo1: LCD_
cpu0: Enhanced SpeedStep 4988 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2100,
2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz
pci0 at mainbus0 bus 0
0:31:5: mem address conflict 0xfe010000/0x1000
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x9a36 rev 0x05
inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics" rev 0x01
drm0 at inteldrm0
inteldrm0: msi, TIGERLAKE, gen 12
"Intel Core 11G DTT" rev 0x05 at pci0 dev 4 function 0 not configured
ppb0 at pci0 dev 6 function 0 vendor "Intel", unknown product 0x9a0f rev 0x05:
msi
pci1 at ppb0 bus 1
nvme0 at pci1 dev 0 function 0 "ADATA Technology SX8200 Pro" rev 0x03: msix,
NVMe 1.3
nvme0: ADATA SX8200PNP, firmware 32B3T8EA, serial 2L232L2S85NR
scsibus1 at nvme0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <NVMe, ADATA SX8200PNP, 32B3>
sd0: 1953514MB, 512 bytes/sector, 4000797360 sectors
ppb1 at pci0 dev 7 function 0 vendor "Intel", unknown product 0x9a2b rev 0x05:
msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 7 function 1 vendor "Intel", unknown product 0x9a2d rev 0x05:
msi
pci3 at ppb2 bus 74
"Intel Core 11G SRAM" rev 0x01 at pci0 dev 10 function 0 not configured
xhci0 at pci0 dev 13 function 0 vendor "Intel", unknown product 0x9a17 rev
0x05: msi, xHCI 1.20
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00
addr 1
vendor "Intel", unknown product 0x9a1f (class serial bus subclass USB, rev
0x05) at pci0 dev 13 function 2 not configured
"Intel 500 Series ISH" rev 0x11 at pci0 dev 18 function 0 not configured
xhci1 at pci0 dev 20 function 0 "Intel 500 Series xHCI" rev 0x11: msi, xHCI 1.20
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00
addr 1
"Intel 500 Series Shared SRAM" rev 0x11 at pci0 dev 20 function 2 not configured
dwiic0 at pci0 dev 21 function 0 "Intel 500 Series I2C" rev 0x11: apic 2 int 27
iic0 at dwiic0
dwiic1 at pci0 dev 21 function 1 "Intel 500 Series I2C" rev 0x11: apic 2 int 40
iic1 at dwiic1
ihidev0 at iic1 addr 0x2c irq 96, vendor 0x488 product 0x120a, DELL0A69
ihidev0: 12 report ids
imt0 at ihidev0: touchpad, 5 contacts
wsmouse0 at imt0 mux 0
ims0 at ihidev0 reportid 1: 3 buttons, Z and W dir
wsmouse1 at ims0 mux 0
hid at ihidev0 reportid 3 not configured
hid at ihidev0 reportid 4 not configured
hid at ihidev0 reportid 5 not configured
hid at ihidev0 reportid 6 not configured
hid at ihidev0 reportid 7 not configured
hid at ihidev0 reportid 10 not configured
hid at ihidev0 reportid 12 not configured
"Intel 500 Series HECI" rev 0x11 at pci0 dev 22 function 0 not configured
dwiic2 at pci0 dev 25 function 0 "Intel 500 Series I2C" rev 0x11: apic 2 int 31
iic2 at dwiic2
ppb3 at pci0 dev 27 function 0 "Intel 500 Series PCIE" rev 0x11: msi
pci4 at ppb3 bus 146
nvme1 at pci4 dev 0 function 0 unknown vendor 0x1e0f product 0x0001 rev 0x00:
msix, NVMe 1.3
nvme1: KBG40ZNS256G NVMe KIOXIA 256GB, firmware 10410106, serial 716PG8H1QXA3
scsibus2 at nvme1: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <NVMe, KBG40ZNS256G NVM, 1041>
sd1: 244198MB, 512 bytes/sector, 500118192 sectors
ppb4 at pci0 dev 28 function 0 "Intel 500 Series PCIE" rev 0x11: msi
pci5 at ppb4 bus 147
iwm0 at pci5 dev 0 function 0 "Intel AC 8260" rev 0x3a, msi
ppb5 at pci0 dev 28 function 2 "Intel 500 Series PCIE" rev 0x11: msi
pci6 at ppb5 bus 148
vendor "Realtek", unknown product 0x5260 (class undefined unknown subclass
0x00, rev 0x01) at pci6 dev 0 function 0 not configured
pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x4389 rev 0x11
azalia0 at pci0 dev 31 function 3 "Intel 500 Series HD Audio" rev 0x11: msi
azalia0: codecs: Realtek/0x0289, Intel/0x2812, using Realtek/0x0289
audio0 at azalia0
ichiic0 at pci0 dev 31 function 4 "Intel 500 Series SMBus" rev 0x11: apic 2 int
16
iic3 at ichiic0
"Intel 500 Series SPI" rev 0x11 at pci0 dev 31 function 5 not configured
em0 at pci0 dev 31 function 6 "Intel I219-LM" rev 0x11: msi, address
a0:29:19:27:03:07
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse2 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
efifb at mainbus0 not configured
uvideo0 at uhub1 port 3 configuration 1 interface 0 "CNFHH52R1964204CCC40
Integrated_Webcam_HD" rev 2.01/82.62 addr 2
video0 at uvideo0
uhidev0 at uhub1 port 11 configuration 1 interface 0 "Razer Razer DeathAdder
V2" rev 2.00/2.00 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z dir
wsmouse3 at ums0 mux 0
uhidev1 at uhub1 port 11 configuration 1 interface 1 "Razer Razer DeathAdder
V2" rev 2.00/2.00 addr 3
uhidev1: iclass 3/0, 5 report ids
ukbd0 at uhidev1 reportid 1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
ucc0 at uhidev1 reportid 2: 573 usages, 18 keys, array
wskbd2 at ucc0 mux 1
uhid0 at uhidev1 reportid 3: input=15, output=0, feature=0
uhid1 at uhidev1 reportid 4: input=15, output=0, feature=0
uhid2 at uhidev1 reportid 5: input=15, output=0, feature=0
uhidev2 at uhub1 port 11 configuration 1 interface 2 "Razer Razer DeathAdder
V2" rev 2.00/2.00 addr 3
uhidev2: iclass 3/1
ukbd1 at uhidev2: 8 variable keys, 6 key codes
wskbd3 at ukbd1 mux 1
uhidev3 at uhub1 port 11 configuration 1 interface 3 "Razer Razer DeathAdder
V2" rev 2.00/2.00 addr 3
uhidev3: iclass 3/0, 7 report ids
uhid3 at uhidev3 reportid 1: input=0, output=0, feature=22
uhid4 at uhidev3 reportid 2: input=0, output=0, feature=2
uhid5 at uhidev3 reportid 3: input=0, output=0, feature=27
uhid6 at uhidev3 reportid 4: input=0, output=0, feature=42
uhid7 at uhidev3 reportid 5: input=0, output=0, feature=8
uhid8 at uhidev3 reportid 6: input=0, output=0, feature=1
uhid9 at uhidev3 reportid 7: input=0, output=0, feature=63
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd2: 1953513MB, 512 bytes/sector, 4000795775 sectors
root on sd2a (66c54421b07c8a9f.a) swap on sd2b dump on sd2b
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wskbd2: connecting to wsdisplay0
wskbd3: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
iwm0: hw rev 0x200, fw ver 36.ca7b901d.0, address a4:34:d9:9f:c7:e3
usbdevs:
Controller /dev/usb0:
addr 01: 8086:0000 Intel, xHCI root hub
super speed, self powered, config 1, rev 1.00
driver: uhub0
Controller /dev/usb1:
addr 01: 8086:0000 Intel, xHCI root hub
super speed, self powered, config 1, rev 1.00
driver: uhub1
addr 02: 0c45:6a09 CNFHH52R1964204CCC40, Integrated_Webcam_HD
high speed, power 500 mA, config 1, rev 82.62
driver: uvideo0
addr 03: 1532:0084 Razer, Razer DeathAdder V2
full speed, self powered, config 1, rev 2.00
driver: uhidev0
driver: uhidev1
driver: uhidev2
driver: uhidev3
addr 04: 0781:5581 SanDisk, Ultra
super speed, power 224 mA, config 1, rev 1.00, iSerial
4C530001120407104054
driver: umass0