hello,

excited by the new orangepi rv2 support i immediately installed a
snapshot. i also have a riscv64 snapshot qemu tcg vm on my amd64 desktop
under libvirt on linux, and a hardware accelerated qemu vm hosted on
milk-v megrez also under libvirt on linux.

i setup dpb with an nfs share mounted for /usr/ports, and started
building a few things. the vm in the megrez is the dpb host, and tcg vm
and the orangepi rv2 are dpb workers.

the first oddity that only happened on the orangepi rv2 is that some
port source files would get corrupted when extracted. this only happned
to one file and not on every run. here is an example for archivers/zip:

--- zip30/crc32.c       Sun May  4 09:51:40 2008
+++ /usr/ports/pobj/zip-3.0/zip30/crc32.c       Sun May  4 09:51:40 2008
@@ -384,11 +384,9 @@
     0xe9c6f9b3L, 0x8ca1450bL, 0x620ef019L, 0x07694ca1L, 0xbe519b3cL,
     0xdb362784L, 0x35999296L, 0x50fe2e2eL, 0x99b95426L, 0xfcdee89eL,
     0x12715d8cL, 0x7716e134L, 0xce2e36a9L, 0xab498a11L, 0x45e63f03L,
-    0x208183bbL, 0x7691e0e3L, 0x13f65c5bL, 0xfd59e949L, 0x983e55f1L,
-    0x2106826cL, 0x44613ed4L, 0xaace8bc6L, 0xcfa9377eL, 0x38417fd6L,
-    0x5d26c36eL, 0xb389767cL, 0xd6eecac4L, 0x6fd61d59L, 0x0ab1a1e1L,
-    0xe41e14f3L, 0x8179a84bL, 0xd769cb13L, 0xb20e77abL, 0x5ca1c2b9L,
-    0x39c67e01L, 0x80fea99cL, 0xe5991524L, 0x0b36a036L, 0x6e511c8eL,
+    0x208183bbL, 0x7691e0e3L, 0x13f65c5bL, 0xfd59e949L, 
0x983e55f���0�M1Ð?����ŸÏsräj��������+B�����������d÷M�����������        
‹������ 
‹/***********************************************************************/
+/*                                                                     */
+/* Front-end EXEC to set up linkage 0b36a036L, 0x6e511c8eL,
     0xa7166686L, 0xc271da3eL, 0x2cde6f2cL, 0x49b9d394L, 0xf0810409L,
     0x95e6b8b1L, 0x7b490da3L, 0x1e2eb11bL, 0x483ed243L, 0x2d596efbL,
     0xc3f6dbe9L, 0xa6916751L, 0x1fa9b0ccL, 0x7ace0c74L, 0x9461b966L,

here there is some garbage followed by a fragment of a completely different
file from the same distfile. i'm not sure if this is a separate issue from the
panic.

a little later, the rv2 panic'd with the following:

d...
bm:3
ERROR:   CMD8
ERROR:   sd f! l:76
bm:4
nor m:0x20 d:0x4118
j...

U-Boot SPL 2022.10ky (Jan 07 2025 - 13:44:01 +0800)
[   0.219] DDR type LPDDR4X
[   0.227] Enable & config CLK/CA ODT
[   0.238] lpddr4_silicon_init consume 19ms
[   0.239] Change DDR data rate to 2400MT/s
[   0.455] Boot from fit configuration x1_orangepi-rv2
[   0.457] ## Checking hash(es) for config conf_14 ... OK
[   0.462] ## Checking hash(es) for Image opensbi ... OK
[   0.467] ## Checking hash(es) for Image uboot ... OK
[   0.472] ## Checking hash(es) for Image fdt_14 ... OK
[   0.518]

U-Boot 2022.10ky (Jan 07 2025 - 13:44:01 +0800)

[   0.520] CPU:   rv64imafdcv
[   0.523] Model: ky x1 orangepi-rv2 board
[   0.527] DRAM:  DDR size = 8192 MB
[   0.530] DDR size = 8192 MB
[   0.533] DDR size = 8192 MB
[   0.536] 8 GiB
[   0.611] reset driver probe start
[   0.613] reset driver probe finish
[   0.621] DCDC_REG1@dcdc1: enabling
[   0.623] DCDC_REG3@dcdc3: enabling
[   0.628] LDO_REG1@ldo1: enabling
[   0.632] SWITCH_REG1@switch1: enabling
[   0.633] SWITCH_REG2@pwr-event: enabling
[   0.637] SWITCH_REG3@pwr-int: enabling
[   0.640] SWITCH_REG4@rtc-ctrl: enabling
[   0.644] SWITCH_REG5@rtc-event: enabling
[   0.648] SWITCH_REG6@rtc-irq: enabling
[   0.651] SWITCH_REG7@power-down: enabling
[   0.655] SWITCH_REG8@reboot-flag: enabling
[   0.660] vcc3v3-pcie-regulator@vcc3v3_pcie: set 3300000 uV; enabling
[   0.666] DDR size = 8192 MB
[   0.671] Core:  416 devices, 30 uclasses, devicetree: board
[   0.684] WDT:   Started PMIC_WDT with servicing (60s timeout)
[   0.689] WDT:   Started watchdog@D4080000 with servicing (60s timeout)
[   0.698] MMC:   sdh@d4280000: probe done.
[   0.704] sdh@d4281000: probe done.
[   0.705] sdh@d4280000: 0, sdh@d4281000: 2
[   0.709] Loading Environment from SPIFlash... x1_qspi spi@d420c000: qspi 
iobase:0x0x00000000d420c000, ahb_addr:0x0x00000000b8000000, max_hz:26500000Hz
[   0.724] x1_qspi spi@d420c000: rx buf size:128, tx buf size:256, ahb buf 
size=512
[   0.731] x1_qspi spi@d420c000: AHB read enabled
[   0.736] x1_qspi spi@d420c000: bus clock: 26500000Hz, PMUap 
reg[0xd4282860]:0x0000075b
[   0.743] x1_qspi spi@d420c000: AHB buf size: 512
[   0.748] SF: Detected XM25QH128A with page size 256 Bytes, erase size 64 KiB, 
total 16 MiB
OK
[   0.770] Now init Rterm...
[   0.770] pcie prot id = 1, porta_init_done = 0
[   0.774] Now waiting portA resister tuning done...
[   0.779] porta redonly_reg2: 00005d16
[   0.783] pcie_rcal = 0x00005d16
[   0.786] pcie port id = 1, lane num = 2
[   0.789] Now int init_puphy...
[   0.792] waiting pll lock...
[   0.795] Now finish init_puphy....
[   0.798] pcie_dw_x1 pcie@ca400000: Unable to get phy0
[   0.803] pcie_dw_x1 pcie@ca400000: Unable to get phy1
[   0.943] PCIE-0: Link up (Gen2-x2, Bus0)
[   1.028] detect available blk:nvme
[   1.028] detect available blk:nvme
[   1.032] Error (-2): cannot determine file size
[   1.036] initialize_console_log_buffer
[   1.040] Have allocated memory for console log buffer
[   1.045] In:    serial
[   1.047] Out:   serial
[   1.049] Err:   serial
[   1.053] Default to 100kHz
[   1.068] EEPROM: TlvInfo v1 len=38
[   1.068] valid ethaddr: c0:74:2b:fb:93:06
[   1.072] Cannot find TLV data: part#
[   1.076] Cannot find TLV data: serial#
[   1.079] Cannot find TLV data: manufacture_date
[   1.084] Cannot find TLV data: manufacturer
[   1.088] Cannot find TLV data: device_version
[   1.092] Cannot find TLV data: sdk_version
[   1.107] Found device 'hdmi@c0400500', disp_uc_priv=000000007deb4a70
[   1.217] HDMI cannot get HPD signal
[   1.217] ky_display_init: device 'dpu@c0340000' display won't probe (ret=-1)
[   1.328] HDMI cannot get HPD signal
[   1.328] display devices not found or not probed yet: -1
[   1.333] All buttons probed successfully
[   1.338] Read PMIC reg ab value f0
[   1.341] Failed to get fastboot key config: -19
[   1.346] sdh@d4280000: 74 clk wait timeout(100)
[   1.349] MMC: no card present
[   1.352] mmc_init: -123, time 7
[   1.355] detect available blk:nvme
[   1.359] Net:   RGMII interface
[   1.361] eth0: ethernet@cac80000
[   1.367] Autoboot in 5 seconds
[   6.369] starting USB...
[   6.369] Bus ehci1@c0980100: ehci_x1_ci ehci1@c0980100: ehci_mv_probe Enter 
...
[   6.380] mv_usb_phy usbphy1@c09c0000: x1-ci-usb-phy-probe: Enter...
[   6.384] ehci_x1_ci ehci1@c0980100: ehci-x1-ci: init hccr c0980100 and hcor 
c0980140 hc_length 64
[   6.407] USB EHCI 1.00
[   6.407] Bus dwc3@c0a00000: No USB maximum speed specified. Using super speed
[   6.419] mv_usb_phy usb2phy@0xc0a30000: x1-ci-usb-phy-probe: Enter...
[   6.423] x1_combphy phy@c0b10000: USB3 PHY init.
[   6.427] dwc3-generic-host dwc3@c0a00000: this is a DesignWare USB3 DRD Core
[   6.848] Register 2000140 NbrPorts 2
Starting the controller
[   6.851] USB XHCI 1.10
[   6.853] scanning bus ehci1@c0980100 for devices... 1 USB Device(s) found
[   7.992] scanning bus dwc3@c0a00000 for devices... 3 USB Device(s) found
[   9.535]        scanning usb for storage devices... 0 Storage Device(s) found
[   9.540]
Device 0: unknown device
[   9.544] sdh@d4280000: 74 clk wait timeout(100)
[   9.547] MMC: no card present
[   9.550] mmc_init: -123, time 7
[   9.554] sdh@d4281000: 74 clk wait timeout(100)
[   9.574] Card did not respond to voltage select! : -110
[   9.576] mmc_init: -95, time 23
[   9.579] MMC Device 1 not found
[   9.582] no mmc device at slot 1
[   9.586]
Device 0: Vendor: 0x1c5c Rev: 61001171 Prod:    5MDBN00491300B93P
[   9.593]             Type: Hard Disk
[   9.596]             Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
[   9.603] ... is now current device
[   9.606] Scanning nvme 0:1...
[   9.609] sdh@d4280000: 74 clk wait timeout(100)
[   9.631] MMC: no card present
[   9.633] mmc_init: -123, time 4
[   9.636] No EFI system partition
[   9.846] BootOrder not defined
[   9.846] EFI boot manager: Cannot load any image
[   9.852] Found EFI removable media binary efi/boot/bootriscv64.efi
[   9.857] 149036 bytes read in 0 ms
[   9.864] Booting /efi\boot\bootriscv64.efi
disks: sd0*
>> OpenBSD/riscv64 BOOTRISCV64 1.9
boot>
booting sd0a:/bsd: 5816884+1943248+218288+729568 
[401059+136+669552+412416]=0xa51c30
bootargs:
type 0x0 pa 0x0 va 0x0 pages 0x80 attr 0x8
type 0x2 pa 0x80000 va 0x80000 pages 0xa attr 0x8
type 0x7 pa 0x8a000 va 0x8a000 pages 0x176 attr 0x8
type 0x2 pa 0x200000 va 0x200000 pages 0x4000 attr 0x8
type 0x7 pa 0x4200000 va 0x4200000 pages 0x3ced attr 0x8
type 0x9 pa 0x7eed000 va 0x7eed000 pages 0x26 attr 0x8
type 0x7 pa 0x7f13000 va 0x7f13000 pages 0x75d3d attr 0x8
type 0x2 pa 0x7dc50000 va 0x7dc50000 pages 0x9 attr 0x8
type 0x7 pa 0x7dc59000 va 0x7dc59000 pages 0x1 attr 0x8
type 0x2 pa 0x7dc5a000 va 0x7dc5a000 pages 0x100 attr 0x8
type 0x1 pa 0x7dd5a000 va 0x7dd5a000 pages 0x25 attr 0x8
type 0x4 pa 0x7dd7f000 va 0x7dd7f000 pages 0x8 attr 0x8
type 0x6 pa 0x7dd87000 va 0x7dd87000 pages 0x2 attr 0x8000000000000008
type 0x4 pa 0x7dd89000 va 0x7dd89000 pages 0x1 attr 0x8
type 0x6 pa 0x7dd8a000 va 0x7dd8a000 pages 0x2 attr 0x8000000000000008
type 0x4 pa 0x7dd8c000 va 0x7dd8c000 pages 0x1 attr 0x8
type 0x6 pa 0x7dd8d000 va 0x7dd8d000 pages 0x4 attr 0x8000000000000008
type 0x4 pa 0x7dd91000 va 0x7dd91000 pages 0x9 attr 0x8
type 0x2 pa 0x7dd9a000 va 0x7dd9a000 pages 0x1114 attr 0x8
type 0x5 pa 0x7eeae000 va 0x7eeae000 pages 0x1 attr 0x8000000000000008
type 0x2 pa 0x7eeaf000 va 0x7eeaf000 pages 0x151 attr 0x8
type 0x4 pa 0x7f000000 va 0x7f000000 pages 0x1000 attr 0x8
type 0x4 pa 0x100000000 va 0x100000000 pages 0x180000 attr 0x8
[ using 1484192 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-2026 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 7.9-current (GENERIC.MP) #0: Mon Apr 27 07:19:27 PDT 2026
    [email protected]:/sys/arch/riscv64/compile/GENERIC.MP
real mem  = 8589934592 (8192MB)
avail mem = 8256401408 (7873MB)
SBI: OpenSBI v1.3, SBI Specification Version 1.0
random: good seed from bootblocks
mainbus0 at root: OrangePi RV2
cpu0 at mainbus0: SpacemiT X60 imp 1000000049772200
intc0 at cpu0
cpu0: 32KB 64b/line 128-way L1 I-cache, 32KB 64b/line 128-way L1 D-cache
cpu0: 512KB 64b/line 512-way L2 cache
cpu1 at mainbus0: SpacemiT X60 imp 1000000049772200
cpu1: 32KB 64b/line 128-way L1 I-cache, 32KB 64b/line 128-way L1 D-cache
cpu1: 512KB 64b/line 512-way L2 cache
cpu2 at mainbus0: SpacemiT X60 imp 1000000049772200
cpu2: 32KB 64b/line 128-way L1 I-cache, 32KB 64b/line 128-way L1 D-cache
cpu2: 512KB 64b/line 512-way L2 cache
cpu3 at mainbus0: SpacemiT X60 imp 1000000049772200
cpu3: 32KB 64b/line 128-way L1 I-cache, 32KB 64b/line 128-way L1 D-cache
cpu3: 512KB 64b/line 512-way L2 cache
cpu4 at mainbus0: SpacemiT X60 imp 1000000049772200
cpu4: 32KB 64b/line 128-way L1 I-cache, 32KB 64b/line 128-way L1 D-cache
cpu4: 512KB 64b/line 512-way L2 cache
cpu5 at mainbus0: SpacemiT X60 imp 1000000049772200
cpu5: 32KB 64b/line 128-way L1 I-cache, 32KB 64b/line 128-way L1 D-cache
cpu5: 512KB 64b/line 512-way L2 cache
cpu6 at mainbus0: SpacemiT X60 imp 1000000049772200
cpu6: 32KB 64b/line 128-way L1 I-cache, 32KB 64b/line 128-way L1 D-cache
cpu6: 512KB 64b/line 512-way L2 cache
cpu7 at mainbus0: SpacemiT X60 imp 1000000049772200
cpu7: 32KB 64b/line 128-way L1 I-cache, 32KB 64b/line 128-way L1 D-cache
cpu7: 512KB 64b/line 512-way L2 cache
"clocks" at mainbus0 not configured
simplebus0 at mainbus0: "soc"
smtclock0 at simplebus0
smtpinctrl0 at simplebus0
smtclock1 at simplebus0
plic0 at simplebus0
"system-controller" at simplebus0 not configured
"system-controller" at simplebus0 not configured
"phy" at simplebus0 not configured
smtcomphy0 at simplebus0
smtcomphy1 at simplebus0
smtcomphy2 at simplebus0
smtgpio0 at simplebus0
smtiic0 at simplebus0
iic0 at smtiic0
smtpmic0 at iic0 addr 0x41
"system-controller" at simplebus0 not configured
"clock-controller" at simplebus0 not configured
"timer" at simplebus0 not configured
"system-controller" at simplebus0 not configured
simplebus1 at simplebus0: "camera-bus"
simplebus2 at simplebus0: "dma-bus"
"dma-controller" at simplebus2 not configured
com0 at simplebus2: pxa2x0, 32 byte fifo
com0: console
simplebus3 at simplebus0: "multimedia-bus"
simplebus4 at simplebus0: "network-bus"
smte0 at simplebus4: address c0:74:2b:fb:93:06
ytphy0 at smte0 phy 1: YT8531, rev. 11
smte1 at simplebus4: address c0:74:2b:fb:93:07
ytphy1 at smte1 phy 1: YT8531, rev. 11
simplebus5 at simplebus0: "pcie-bus"
dwpcie0 at simplebus5
dwpcie1 at simplebus5
pci0 at dwpcie0
ppb0 at pci0 dev 0 function 0 "SpacemiT K1" rev 0x00
pci1 at ppb0 bus 1
nvme0 at pci1 dev 0 function 0 vendor "SK hynix", unknown product 0x1f69 rev 
0x00: msix, NVMe 2.0
nvme0: PVC10 SK hynix 256GB, firmware 61001171, serial 5MDBN00491300B93P
scsibus0 at nvme0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <NVMe, PVC10 SK hynix 2, 6100>
sd0: 244198MB, 512 bytes/sector, 500118192 sectors
pci2 at dwpcie1
ppb1 at pci2 dev 0 function 0 "SpacemiT K1" rev 0x00
pci3 at ppb1 bus 1
simplebus6 at simplebus0: "storage-bus"
xhci0 at simplebus6, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 
addr 1
"regulator-pcie-vcc3v3" at mainbus0 not configured
"regulator-vcc-5v0" at mainbus0 not configured
"regulator-vcc4v0" at mainbus0 not configured
"regulator-vcc5v0-usb30" at mainbus0 not configured
"leds" at mainbus0 not configured
"framebuffer" at mainbus0 not configured
uhub1 at uhub0 port 1 configuration 1 interface 0 "GenesysLogic USB2.1 Hub" rev 
2.10/93.91 addr 2
uhub2 at uhub0 port 2 configuration 1 interface 0 "GenesysLogic USB3.2 Hub" rev 
3.20/93.91 addr 3
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (7ba43c566ebb7c44.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
Automatic boot in progress: starting file system checks.
/dev/sd0a (7ba43c566ebb7c44.a): 1694 files, 36592 used, 468119 free (63 frags, 
58507 blocks, 0.0% fragmentation)
/dev/sd0a (7ba43c566ebb7c44.a): MARKING FILE SYSTEM CLEAN
/dev/sd0l (7ba43c566ebb7c44.l): 16 files, 17 used, 37491974 free (30 frags, 
4686493 blocks, 0.0% fragmentation)
/dev/sd0l (7ba43c566ebb7c44.l): MARKING FILE SYSTEM CLEAN
/dev/sd0d (7ba43c566ebb7c44.d): 10 files, 8 used, 2028727 free (55 frags, 
253584 blocks, 0.0% fragmentation)
/dev/sd0d (7ba43c566ebb7c44.d): MARKING FILE SYSTEM CLEAN
/dev/sd0f (7ba43c566ebb7c44.f): 215281 files, 1146417 used, 10981254 free 
(42126 frags, 1367391 blocks, 0.3% fragmentation)
/dev/sd0f (7ba43c566ebb7c44.f): MARKING FILE SYSTEM CLEAN
/dev/sd0g (7ba43c566ebb7c44.g): 5504 files, 120418 used, 384293 free (165 
frags, 48016 blocks, 0.0% fragmentation)
/dev/sd0g (7ba43c566ebb7c44.g): MARKING FILE SYSTEM CLEAN
/dev/sd0h (7ba43c566ebb7c44.h): 31503 files, 356258 used, 9797349 free (877 
frags, 1224559 blocks, 0.0% fragmentation)
/dev/sd0h (7ba43c566ebb7c44.h): MARKING FILE SYSTEM CLEAN
/dev/sd0k (7ba43c566ebb7c44.k): 22391 files, 464104 used, 4612679 free (447 
frags, 576529 blocks, 0.0% fragmentation)
/dev/sd0k (7ba43c566ebb7c44.k): MARKING FILE SYSTEM CLEAN
/dev/sd0j (7ba43c566ebb7c44.j): 165759 files, 987036 used, 1549707 free (163 
frags, 193693 blocks, 0.0% fragmentation)
/dev/sd0j (7ba43c566ebb7c44.j): MARKING FILE SYSTEM CLEAN
/dev/sd0e (7ba43c566ebb7c44.e): 405 files, 5643 used, 10147964 free (132 frags, 
1268479 blocks, 0.0% fragmentation)
/dev/sd0e (7ba43c566ebb7c44.e): MARKING FILE SYSTEM CLEAN
pf enabled
starting network
ndp info overwritten for fe80:1::c6a8:16ff:fecd:b5d2 by c4:a8:16:cd:b5:d2 on 
smte0
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd smtpd sndiod.
starting local daemons: cron.
Tue Apr 28 12:16:37 PDT 2026



OpenBSD/riscv64 (rv2.home.arpa) (console)

login: t[0] == 0xffffffc013eb5c88
t[1] == 0x0000000000000002
t[2] == 0x0000000000000018
t[3] == 0x0000000000000002
t[4] == 0x000000006930b348
t[5] == 0x000000000000000c
t[6] == 0x000000006930ad80
s[0] == 0xffffffc06367dc90
s[1] == 0xffffffffffffffff
s[2] == 0xffffffc0139d8d18
s[3] == 0x00000000000005c8
s[4] == 0xffffffc01408cd80
s[5] == 0x00000000000005c8
s[6] == 0xffffffc01408cd80
s[7] == 0xffffffc013eb5c58
s[8] == 0xffffffc000a35978
s[9] == 0x0000000000000001
s[10] == 0x0000000000000001
s[11] == 0xffffffffffffffff
a[0] == 0xffffffc01408d000
a[1] == 0xffffffc01408d380
a[2] == 0xffffffc000a35e34
a[3] == 0x0000000000000040
a[4] == 0x0000000000000008
a[5] == 0xffffffc00037c5a6
a[6] == 0xffffffc013eb5c58
a[7] == 0x0000000000000001
sepc == 0xffffffc000507e4e
sstatus == 0x0000000200000120
stval == 0xffffffc01408d000
scause == 0x000000000000000f
panic: Fatal page fault at 0xffffffc000507e4e: 0xffffffc01408d000
Stopped at      panic+0xfc:     addi    a0,zero,256    TID    PID    UID     PR
FLAGS     PFLAGS  CPU  COMMAND
  59831  13211     55   0x1000002          0    3  c++
 332074  48314     73   0x1100010          0    1  syslogd
*282201  30269      0     0x14000      0x200    4  softnet0
panic() at panic+0xfc
do_trap_supervisor() at do_trap_supervisor+0x1f4
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
_dmamap_sync() at _dmamap_sync+0x13a
smte_encap() at smte_encap+0x84
smte_start() at smte_start+0xbc
ifq_serialize() at ifq_serialize+0x98
taskq_thread() at taskq_thread+0x70
proc_trampoline() at proc_trampoline+0xc
end trace frame: 0x0, count: 6
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{4}> show panic
*cpu4: Fatal page fault at 0xffffffc000507e4e: 0xffffffc01408d000
ddb{4}> show uvm
Current UVM status:
  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
  2015820 VM pages: 36410 active, 86755 inactive, 1 wired, 1636484 free (205945
 zero)
  freemin=67194, free-target=89592, inactive-target=0, wired-max=671940
  faults=123817916, traps=355675178, intrs=29096735, ctxswitch=17424034 fpuswit
ch=0
  softint=1133235, syscalls=121560009, kmapent=11
  fault counts:
    noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
    relocks=354470(7768), upgrades=0(0) anget(retries)=66727950(0), amapcopy=13
427285
    neighbor anon/obj pg=17444220/78589896, gets(lock/unlock)=25396806/363587
    cases: anon=62183148, anoncow=4544802, obj=23964743, prcopy=1422946, przero
=31702492
  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, swpskip=0
    swpages=2162687, swpginuse=0, swpgonly=0 paging=0
  kernel pointers:
    objs(kern)=0xffffffc000ae4e18
ddb{4}> show bcstats
Current Buffer Cache status:
numbufs 61270 busymapped 3, delwri 914
kvaslots 6351 avail kva slots 6348
bufpages 188829, dmapages 99063, dirtypages 1952
pendingreads 0, pendingwrites 2
highflips 24844, highflops 0, dmaflips 28
ddb{4}> trace
panic() at panic+0xfc
do_trap_supervisor() at do_trap_supervisor+0x1f4
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
_dmamap_sync() at _dmamap_sync+0x13a
smte_encap() at smte_encap+0x84
smte_start() at smte_start+0xbc
ifq_serialize() at ifq_serialize+0x98
taskq_thread() at taskq_thread+0x70
proc_trampoline() at proc_trampoline+0xc
end trace frame: 0x0, count: -9
ddb{4}> machine ddbcpu 1
Stopped at      ipi_intr+0x20:  c.ldsp  ra,8(sp)
ipi_intr() at ipi_intr+0x20
riscv_cpu_intr() at riscv_cpu_intr+0x2a
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
tsleep_nsec() at tsleep_nsec+0xfa
bwrite() at bwrite+0x1da
ffs_update() at ffs_update+0x172
VOP_FSYNC() at VOP_FSYNC+0x44
sys_fsync() at sys_fsync+0xa2
svc_handler() at svc_handler+0x386
do_trap_user() at do_trap_user+0x162
cpu_exception_handler_user() at cpu_exception_handler_user+0x7c
end of kernel
end trace frame: 0x646187ea8, count: 4
ddb{1}> machine ddbcpu 2
Stopped at      ipi_intr+0x20:  c.ldsp  ra,8(sp)
ipi_intr() at ipi_intr+0x20
riscv_cpu_intr() at riscv_cpu_intr+0x2a
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
sched_idle() at sched_idle+0x18c
proc_trampoline() at proc_trampoline+0xc
end trace frame: 0x0, count: 10
ddb{2}> machine ddbcpu 3
Stopped at      ipi_intr+0x20:  c.ldsp  ra,8(sp)
ipi_intr() at ipi_intr+0x20
riscv_cpu_intr() at riscv_cpu_intr+0x2a
cpu_exception_handler_user() at cpu_exception_handler_user+0x7c
end of kernel
end trace frame: 0x3fb9427900, count: 12
ddb{3}> machine ddbcpu 4
Stopped at      panic+0xfc:     addi    a0,zero,256panic() at panic+0xfc
do_trap_supervisor() at do_trap_supervisor+0x1f4
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
_dmamap_sync() at _dmamap_sync+0x13a
smte_encap() at smte_encap+0x84
smte_start() at smte_start+0xbc
ifq_serialize() at ifq_serialize+0x98
taskq_thread() at taskq_thread+0x70
proc_trampoline() at proc_trampoline+0xc
end trace frame: 0x0, count: 6
ddb{4}> machine ddbcpu 5
Stopped at      ipi_intr+0x20:  c.ldsp  ra,8(sp)
ipi_intr() at ipi_intr+0x20
riscv_cpu_intr() at riscv_cpu_intr+0x2a
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
sched_idle() at sched_idle+0x18c
proc_trampoline() at proc_trampoline+0xc
end trace frame: 0x0, count: 10
ddb{5}> machine ddbcpu 6
Stopped at      ipi_intr+0x20:  c.ldsp  ra,8(sp)
ipi_intr() at ipi_intr+0x20
riscv_cpu_intr() at riscv_cpu_intr+0x2a
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
sched_idle() at sched_idle+0x18c
proc_trampoline() at proc_trampoline+0xc
end trace frame: 0x0, count: 10
ddb{6}> machine ddbcpu 7
Stopped at      ipi_intr+0x20:  c.ldsp  ra,8(sp)
ipi_intr() at ipi_intr+0x20
riscv_cpu_intr() at riscv_cpu_intr+0x2a
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
sched_idle() at sched_idle+0x18c
proc_trampoline() at proc_trampoline+0xc
end trace frame: 0x0, count: 10
ddb{7}> machine ddbcpu 8
Invalid cpu 8
ddb{7}>

happy to provide more information if needed.

Reply via email to