>Environment:
System : OpenBSD 6.9
Details : OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT
2021
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
After the first boot into a fresh 6.9-stable installation succeeded,
the system dropped to ddb from the 2nd reboot on. I was connected through the
serial console only, no monitor connected ...
2nd reboot:
-----------------------------------------
>> OpenBSD/amd64 BOOT 3.53
boot>
booting sr0a:/bsd: 14419240+3220496+344096+0+1175552
[1011652+128+1145856+866050]=0x152a750
entry point at 0xffffffff81001000
[ using 3024720 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2021 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 2021
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4108800000 (3918MB)
avail mem = 3968888832 (3785MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xecef0 (51 entries)
bios0: vendor American Megatrends Inc. version "D7530A09" date 06/18/2019
bios0: MiTAC PD14RI
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SSDT SSDT UEFI LPIT CSRT
acpi0: wakeup devices PS2K(S0) PS2M(S0) BRCM(S0) XHC1(S4) HDEF(S4) RP01(S4)
PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4)
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) Pentium(R) CPU N3700 @ 1.60GHz, 1600.45 MHz, 06-4c-03
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,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu0: 1MB 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 80MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Pentium(R) CPU N3700 @ 1.60GHz, 1599.97 MHz, 06-4c-03
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu1: 1MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Pentium(R) CPU N3700 @ 1.60GHz, 1599.97 MHz, 06-4c-03
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu2: 1MB 64b/line 16-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Pentium(R) CPU N3700 @ 1.60GHz, 1599.97 MHz, 06-4c-03
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu3: 1MB 64b/line 16-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 115 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiec0 at acpi0: not present
acpicmos0 at acpi0
acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
"BCM43241" at acpi0 not configured
acpibtn0 at acpi0: SLPB
"PNP0C0B" at acpi0 not configured
acpicpu0 at acpi0: C2(10@500 mwait.1@0x58), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(10@500 mwait.1@0x58), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C2(10@500 mwait.1@0x58), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C2(10@500 mwait.1@0x58), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: ID3C, resource for ISP3
acpipwrres1 at acpi0: CLK0, resource for CAMD
acpipwrres2 at acpi0: USBC, resource for XHC1
acpipwrres3 at acpi0: FN00, resource for FAN0
acpitz0 at acpi0: critical temperature is 95 degC
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: using VERW MDS workaround
cpu0: Enhanced SpeedStep 1600 MHz: speeds: 1601, 1600, 1520, 1440, 1360, 1280,
1200, 1120, 1040, 960, 880, 800, 720, 640, 560, 480 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Braswell Host" rev 0x21
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x21
drm0 at inteldrm0
inteldrm0: msi, CHERRYVIEW, gen 8
ahci0 at pci0 dev 19 function 0 "Intel Braswell AHCI" rev 0x21: msi, AHCI 1.3.1
ahci0: port 0: 6.0Gb/s
ahci0: port 1: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, C300-CTFDDAC128M, 0007> naa.500a0751030455cf
sd0: 122104MB, 512 bytes/sector, 250069680 sectors, thin
sd1 at scsibus1 targ 1 lun 0: <ATA, C300-CTFDDAC128M, 0006> naa.500a07510303a338
sd1: 122104MB, 512 bytes/sector, 250069680 sectors, thin
xhci0 at pci0 dev 20 function 0 "Intel Braswell xHCI" rev 0x21: msi, xHCI 1.0
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
"Intel Braswell TXE" rev 0x21 at pci0 dev 26 function 0 not configured
azalia0 at pci0 dev 27 function 0 "Intel Braswell HD Audio" rev 0x21: msi
azalia0: codecs: Realtek ALC662, Intel/0x2883, using Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel Braswell PCIE" rev 0x21: msi
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G (0x4c00),
msi, address xx:xx:xx:xx:xx:xx
rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
ppb1 at pci0 dev 28 function 1 "Intel Braswell PCIE" rev 0x21: msi
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 "ASMedia ASM1182e" rev 0x00
pci3 at ppb2 bus 3
ppb3 at pci3 dev 3 function 0 "ASMedia ASM1182e" rev 0x00: msi
pci4 at ppb3 bus 4
re1 at pci4 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G (0x4c00),
msi, address xx:xx:xx:xx:xx:xx
rgephy1 at re1 phy 7: RTL8251 PHY, rev. 0
ppb4 at pci3 dev 7 function 0 "ASMedia ASM1182e" rev 0x00: msi
pci5 at ppb4 bus 5
re2 at pci5 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G (0x4c00),
msi, address xx:xx:xx:xx:xx:xx
rgephy2 at re2 phy 7: RTL8251 PHY, rev. 0
pcib0 at pci0 dev 31 function 0 "Intel Braswell PCU LPC" rev 0x21
ichiic0 at pci0 dev 31 function 3 "Intel Braswell SMBus" rev 0x21: apic 1 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0 mux 1
vga0 at isa0 port 0x3b0/48 iomem 0xa0000/131072
wsdisplay at vga0 not configured
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: NCT6792D rev 0x13
lm1 at wbsio0 port 0xa10/8: NCT6792D
vmm0 at mainbus0: VMX/EPT (using slow L1TF mitigation)
uhub1 at uhub0 port 5 configuration 1 interface 0 "Alcor Micro product 0x6254"
rev 2.00/1.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006>
sd2: 122103MB, 512 bytes/sector, 250067198 sectors
root on sd2a (da12fadb67cf7a4d.a) swap on sd2b dump on sd2b
uvm_fault(0xffffffff8214ea68, 0xb8, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at i915_ggtt_pin+0x29: movq 0xb8(%rdi),%r12
ddb{2}> show panic
kernel page fault
uvm_fault(0xffffffff8214ea68, 0xb8, 0, 1) -> e
i915_ggtt_pin(0,10000,20) at i915_ggtt_pin+0x29
end trace frame: 0xffffffff82531bf0, count: 0
ddb{2}> trace
i915_ggtt_pin(0,10000,20) at i915_ggtt_pin+0x29
gen6_ppgtt_pin(ffff800000cb9400) at gen6_ppgtt_pin+0x7c
__intel_context_do_pin(fffffd817dc8ad80) at __intel_context_do_pin+0xca
intel_engines_init(ffff800000104c38) at intel_engines_init+0x4b5
intel_gt_init(ffff800000104c38) at intel_gt_init+0x130
i915_gem_init(ffff800000100000) at i915_gem_init+0xa3
i915_driver_probe(ffff800000100000,ffffffff81fc6e90) at i915_driver_probe+0x7ed
inteldrm_attachhook(ffff800000100000) at inteldrm_attachhook+0x43
config_process_deferred_mountroot() at config_process_deferred_mountroot+0x6b
main(0) at main+0x733
end trace frame: 0x0, count: -10
ddb{2}> machine ddbcpu 1
Stopped at x86_ipi_db+0x12: leave
ddb{1}> trace
x86_ipi_db(ffff80001ff39ff0) at x86_ipi_db+0x12
x86_ipi_handler() at x86_ipi_handler+0x80
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x1ea
sched_idle(ffff80001ff39ff0) at sched_idle+0x27e
end trace frame: 0x0, count: -5
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x12: leave
ddb{0}> trace
x86_ipi_db(ffffffff82117ff0) at x86_ipi_db+0x12
x86_ipi_handler() at x86_ipi_handler+0x80
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x1ea
sched_idle(ffffffff82117ff0) at sched_idle+0x27e
end trace frame: 0x0, count: -5
ddb{0}> machine ddbcpu 2
Stopped at i915_ggtt_pin+0x29: movq 0xb8(%rdi),%r12
ddb{2}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
88531 221862 0 0 3 0x14200 bored i915-userptr-acq
16115 490054 0 0 3 0x14200 bored i915_flip
99614 386764 0 0 3 0x14200 bored i915_modeset
95500 447554 0 0 3 0x14200 bored i915-dp
42880 215557 0 0 3 0x14200 bored i915
82960 219229 0 0 3 0x14200 bored smr
19653 125595 0 0 7 0x14200 zerothread
31673 324775 0 0 3 0x14200 aiodoned aiodoned
34518 441094 0 0 3 0x14200 syncer update
86503 216187 0 0 3 0x14200 cleaner cleaner
38207 32401 0 0 3 0x14200 reaper reaper
15321 429216 0 0 3 0x14200 pgdaemon pagedaemon
60282 4071 0 0 3 0x14200 bored srdis
74841 159314 0 0 3 0x14200 bored crynlk
78848 345693 0 0 3 0x14200 bored crypto
25590 430047 0 0 3 0x14200 usbtsk usbtask
32060 152436 0 0 3 0x14200 usbatsk usbatsk
86923 261695 0 0 3 0x14200 bored drmtskl
22366 340679 0 0 3 0x14200 bored drmlwq
51784 312722 0 0 3 0x14200 bored drmlwq
70519 341139 0 0 3 0x14200 bored drmlwq
58438 512870 0 0 3 0x14200 bored drmlwq
35814 144884 0 0 3 0x14200 bored drmubwq
94552 417458 0 0 3 0x14200 bored drmubwq
76773 6469 0 0 3 0x14200 bored drmubwq
86891 260918 0 0 3 0x14200 bored drmubwq
62167 1254 0 0 3 0x14200 bored drmhpwq
93826 432166 0 0 3 0x14200 bored drmhpwq
14772 474377 0 0 3 0x14200 bored drmhpwq
63570 251880 0 0 3 0x14200 bored drmhpwq
69359 414760 0 0 3 0x14200 bored drmwq
12330 520538 0 0 3 0x14200 bored drmwq
762 106862 0 0 3 0x14200 bored drmwq
72523 33599 0 0 3 0x14200 bored drmwq
1454 274068 0 0 3 0x40014200 acpi0 acpi0
47454 154744 0 0 1 0x14200 idle3
2683 257431 0 0 3 0x40014200 idle2
90143 189206 0 0 7 0x40014200 idle1
22158 46766 0 0 3 0x14200 bored sensors
70598 426775 0 0 3 0x14200 bored softnet
91993 22312 0 0 3 0x14200 bored systqmp
40266 305602 0 0 3 0x14200 bored systq
66845 140367 0 0 3 0x40014200 bored softclock
9401 33517 0 0 7 0x40014200 idle0
1 440689 0 0 3 0 initexec swapper
* 0 0 -1 0 7 0x10200 swapper
ddb{2}> show uvm
Current UVM status:
pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
971039 VM pages: 0 active, 0 inactive, 20 wired, 961723 free (6112 zero)
min 10% (25) anon, 10% (25) vnode, 5% (12) vtext
freemin=32367, free-target=43156, inactive-target=0, wired-max=323679
faults=1, traps=4, intrs=68, ctxswitch=239 fpuswitch=0
softint=139, syscalls=0, kmapent=13
fault counts:
noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
ok relocks(total)=0(0), anget(retries)=0(0), amapcopy=0
neighbor anon/obj pg=0/0, gets(lock/unlock)=0/0
cases: anon=0, anoncow=0, obj=0, prcopy=0, przero=0
daemon and swap counts:
woke=0, revs=0, scans=0, obscans=0, anscans=0
busy=0, freed=0, reactivate=0, deactivate=0
pageouts=0, pending=0, nswget=0
nswapdev=1
swpages=2098490, swpginuse=0, swpgonly=0 paging=0
kernel pointers:
objs(kern)=0xffffffff82159240
ddb{2}> show bcstats
Current Buffer Cache status:
numbufs 2 busymapped 0, delwri 0
kvaslots 5964 avail kva slots 5964
bufpages 5, dmapages 5, dirtypages 0
pendingreads 0, pendingwrites 0
highflips 0, highflops 0, dmaflips 0
ddb{2}> show registers
rdi 0
rsi 0x10000 __ALIGN_SIZE+0xf000
rbp 0xffffffff82531bb0 end+0x131bb0
rbx 0xffff800000cdf8c0
rdx 0x20
rcx 0xffffffff8214e0cc proc0+0x4
rax 0
r8 0x11
r9 0xffffffff81f17740 rw_ops+0x10
r10 0xffffffffffffffff
r11 0x19f3efea00209bcb
r12 0xfffffffc
r13 0xfffffffc
r14 0xffff800000cb9400
r15 0x20
rip 0xffffffff819f4409 i915_ggtt_pin+0x29
cs 0x8
rflags 0x10286 __ALIGN_SIZE+0xf286
rsp 0xffffffff82531b50 end+0x131b50
ss 0x10
i915_ggtt_pin+0x29: movq 0xb8(%rdi),%r12
dddb{2}>
-----------------------------------
3rd reboot:
-----------------------------------
...
softraid0: sd2 was not shutdown properly
sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006>
sd2: 122103MB, 512 bytes/sector, 250067198 sectors
root on sd2a (da12fadb67cf7a4d.a) swap on sd2b dump on sd2b
panic: rw_enter: (null) locking against myself
Stopped at db_enter+0x10: popq %rbp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
* 0 0 0 0x10000 0x200 0 swapper
db_enter() at db_enter+0x10
panic(ffffffff81e283bb) at panic+0x12a
rw_enter(ffff800000cb9708,11) at rw_enter+0x26f
gen6_ppgtt_pin(ffff800000cb9400) at gen6_ppgtt_pin+0x52
__intel_context_do_pin(fffffd817dc8ac00) at __intel_context_do_pin+0xca
intel_engines_init(ffff800000104c38) at intel_engines_init+0x4b5
intel_gt_init(ffff800000104c38) at intel_gt_init+0x130
i915_gem_init(ffff800000100000) at i915_gem_init+0xa3
i915_driver_probe(ffff800000100000,ffffffff81fc6e90) at i915_driver_probe+0x7ed
inteldrm_attachhook(ffff800000100000) at inteldrm_attachhook+0x43
config_process_deferred_mountroot() at config_process_deferred_mountroot+0x6b
main(0) at main+0x733
end trace frame: 0x0, count: 3
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}> trace
db_enter() at db_enter+0x10
panic(ffffffff81e283bb) at panic+0x12a
rw_enter(ffff800000cb9708,11) at rw_enter+0x26f
gen6_ppgtt_pin(ffff800000cb9400) at gen6_ppgtt_pin+0x52
__intel_context_do_pin(fffffd817dc8ac00) at __intel_context_do_pin+0xca
intel_engines_init(ffff800000104c38) at intel_engines_init+0x4b5
intel_gt_init(ffff800000104c38) at intel_gt_init+0x130
i915_gem_init(ffff800000100000) at i915_gem_init+0xa3
i915_driver_probe(ffff800000100000,ffffffff81fc6e90) at i915_driver_probe+0x7ed
inteldrm_attachhook(ffff800000100000) at inteldrm_attachhook+0x43
config_process_deferred_mountroot() at config_process_deferred_mountroot+0x6b
main(0) at main+0x733
end trace frame: 0x0, count: -12
ddb{0}> machine ddbcpu 1
----------------------------------------------------------
.... no more answer
4th reboot:
----------------------------------------------------------
...
uvm_fault(0xffffffff8214ea68, 0x140, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at strlen+0x30: movq 0(%rax),%rdx
ddb{0}> trace
strlen() at strlen+0x30
panic(ffffffff81e283bb) at panic+0x93
rw_enter(ffff800000cb9708,11) at rw_enter+0x26f
gen6_ppgtt_pin(ffff800000cb9400) at gen6_ppgtt_pin+0x52
__intel_context_do_pin(fffffd817dc8ac00) at __intel_context_do_pin+0xca
intel_engines_init(ffff800000104c38) at intel_engines_init+0x4b5
intel_gt_init(ffff800000104c38) at intel_gt_init+0x130
i915_gem_init(ffff800000100000) at i915_gem_init+0xa3
i915_driver_probe(ffff800000100000,ffffffff81fc6e90) at i915_driver_probe+0x7ed
inteldrm_attachhook(ffff800000100000) at inteldrm_attachhook+0x43
config_process_deferred_mountroot() at config_process_deferred_mountroot+0x6b
main(0) at main+0x733
end trace frame: 0x0, count: -12
ddb{0}> mach ddbcpu 1
Stopped at x86_ipi_db+0x12: leave
ddb{1}> trace
x86_ipi_db(ffff80001ff39ff0) at x86_ipi_db+0x12
x86_ipi_handler() at x86_ipi_handler+0x80
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x1ea
sched_idle(ffff80001ff39ff0) at sched_idle+0x27e
end trace frame: 0x0, count: -5
ddb{1}> mach ddbcpu 2
Stopped at x86_ipi_db+0x12: leave
ddb{2}> trace
x86_ipi_db(ffff80001ff42ff0) at x86_ipi_db+0x12
x86_ipi_handler() at x86_ipi_handler+0x80
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
uvm_pmr_get1page(10,0,ffff800020267018,0,0,1) at uvm_pmr_get1page+0x3f1
uvm_pagezero_thread(ffff80002025b500) at uvm_pagezero_thread+0xd9
end trace frame: 0x0, count: -5
ddb{2}> mach ddbcpu 3
Stopped at x86_ipi_db+0x12: leave
ddb{3}> trace
x86_ipi_db(ffff80001ff4bff0) at x86_ipi_db+0x12
x86_ipi_handler() at x86_ipi_handler+0x80
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x1ea
sched_idle(ffff80001ff4bff0) at sched_idle+0x27e
end trace frame: 0x0, count: -5
ddb{3}> mach ddbcpu 0
Stopped at strlen+0x30: movq 0(%rax),%rdx
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
93925 314026 0 0 3 0x14200 bored i915-userptr-acq
35993 12303 0 0 3 0x14200 bored i915_flip
99508 53623 0 0 3 0x14200 bored i915_modeset
64027 36437 0 0 3 0x14200 bored i915-dp
44109 451043 0 0 3 0x14200 bored i915
63622 228826 0 0 3 0x14200 bored smr
84648 437915 0 0 7 0x14200 zerothread
66853 290705 0 0 3 0x14200 aiodoned aiodoned
67033 386119 0 0 2 0x14600 update
5353 344511 0 0 3 0x14200 cleaner cleaner
68251 8583 0 0 3 0x14200 reaper reaper
45966 468689 0 0 3 0x14200 pgdaemon pagedaemon
53088 229744 0 0 3 0x14200 bored srdis
29936 419820 0 0 3 0x14200 bored crynlk
97275 488617 0 0 3 0x14200 bored crypto
32086 342813 0 0 3 0x14200 usbtsk usbtask
85037 24599 0 0 3 0x14200 usbatsk usbatsk
37442 17057 0 0 3 0x14200 bored drmtskl
68648 373546 0 0 3 0x14200 bored drmlwq
23480 141248 0 0 3 0x14200 bored drmlwq
85823 419561 0 0 3 0x14200 bored drmlwq
94398 490315 0 0 3 0x14200 bored drmlwq
27118 263953 0 0 3 0x14200 bored drmubwq
31642 510659 0 0 3 0x14200 bored drmubwq
39603 361494 0 0 3 0x14200 bored drmubwq
24367 47641 0 0 3 0x14200 bored drmubwq
68615 466738 0 0 3 0x14200 bored drmhpwq
65944 249193 0 0 3 0x14200 bored drmhpwq
22100 191984 0 0 3 0x14200 bored drmhpwq
52172 274572 0 0 3 0x14200 bored drmhpwq
74500 342330 0 0 3 0x14200 bored drmwq
54173 255260 0 0 3 0x14200 bored drmwq
37873 213285 0 0 3 0x14200 bored drmwq
55743 351492 0 0 3 0x14200 bored drmwq
86989 404651 0 0 2 0x40014200 acpi0
6309 193431 0 0 7 0x40014200 idle3
64082 183872 0 0 1 0x14200 idle2
61748 359241 0 0 7 0x40014200 idle1
58141 216733 0 0 2 0x14200 sensors
34348 300035 0 0 3 0x14200 bored softnet
36477 442067 0 0 3 0x14200 bored systqmp
21835 34459 0 0 3 0x14200 bored systq
98127 354165 0 0 2 0x40014200 softclock
50682 310432 0 0 3 0x40014200 idle0
1 350312 0 0 3 0 initexec swapper
* 0 0 -1 0 7 0x10200 swapper
ddb{0}> show uvm
Current UVM status:
pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
971039 VM pages: 0 active, 0 inactive, 20 wired, 961722 free (6287 zero)
min 10% (25) anon, 10% (25) vnode, 5% (12) vtext
freemin=32367, free-target=43156, inactive-target=0, wired-max=323679
faults=1, traps=3, intrs=22506, ctxswitch=239 fpuswitch=0
softint=18290, syscalls=0, kmapent=12
fault counts:
noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
ok relocks(total)=0(0), anget(retries)=0(0), amapcopy=0
neighbor anon/obj pg=0/0, gets(lock/unlock)=0/0
cases: anon=0, anoncow=0, obj=0, prcopy=0, przero=0
daemon and swap counts:
woke=0, revs=0, scans=0, obscans=0, anscans=0
busy=0, freed=0, reactivate=0, deactivate=0
pageouts=0, pending=0, nswget=0
nswapdev=1
swpages=2098490, swpginuse=0, swpgonly=0 paging=0
kernel pointers:
objs(kern)=0xffffffff82159240
ddb{0}> show bcstats
Current Buffer Cache status:
numbufs 2 busymapped 0, delwri 0
kvaslots 5964 avail kva slots 5964
bufpages 5, dmapages 5, dirtypages 0
pendingreads 0, pendingwrites 0
highflips 0, highflops 0, dmaflips 0
ddb{0}> show registers
rdi 0x140
rsi 0x28
rbp 0xffffffff82531a80 end+0x131a80
rbx 0
rdx 0xffffffff82531ac0 end+0x131ac0
rcx 0x10
rax 0x140
r8 0x101010101010101
r9 0x8080808080808080
r10 0xff8d27e5477b5d45
r11 0x146945e1d05a8db3
r12 0xffffffff
r13 0xffffffff81e283c7 cmd680_setup_channel.udma_tbl+0x3a0b
r14 0x140
r15 0xa
rip 0xffffffff81006340 strlen+0x30
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffffffff82531978 end+0x131978
ss 0x10
strlen+0x30: movq 0(%rax),%rdx
ddb{0}>