On 2025/01/13 18:02, Peter Philipp wrote:
> >Synopsis:    repeated cycling of interface dwqe(4) causes panic
> >Category:    kernel
> >Environment:
>       System      : OpenBSD 7.5
>       Details     : A riscv64 system running a patched 7.5
>       Architecture: OpenBSD.riscv64
>       Machine     : riscv64
> >Description:
>       In my hallway is a riscv64 starfive visionfive 2 in a 
> computer cabinet.  It used to have a direct connection to a cat6 
> cable to the kitchen table a few meters away.  In those times 
> before I moved back into my home's office, I had sensing 
> failures and ethernet would not come alive on the bridge(4)'ed 
> ethernet link.  I used to have a crontab running every 30 
> minutes cycling the state of the UP'ed interface in order to 
> prevent this.  When I moved to the office again, which is 
> connected to a permanent switch, these problems should not 
> happen any more.  I forgot to remove the crontab, but it's a 
> good to know, that there will still be a panic, if you do that.
> 
> I haven't checked the code to dwqe.c online yet (I'm mostly 
> in an offline mode these days, and limited in bandwith, for the 
> moment).
> 
> I wanted to report this bug nontheless, even if it's already
> fixed, or whether the removal of the cycling crontab is sufficient
> to fix the issue.
> 
> >How-To-Repeat:
> 
> Here is two panic's in base64 (to reduce the overhead on the list).
> They are .xz'ed:

oh c'mon. 50k -> 15k isn't worth the hassle, especially using s
totally nonstandard encoding that people have to jump through hoops
to read.

-------:

** NOTE: second dump search to _PJP
***********************************
Script started on Wed Jan  8 08:52:30 2025
arcturus# cu -l/dev/cuaU00-s115200
Connected to /dev/cuaU0 (speed 115200)
show panic
*cpu0: Fatal page fault at 0xffffffc0004731e4: 0xffffff82deadbf0f
ddb{0}> bt
panic() at panic+0x102
do_trap_supervisor() at do_trap_supervisor+0x1e0
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
dwqe_tx_proc() at dwqe_tx_proc+0x28
dwqe_intr() at dwqe_intr+0x6e
plic_irq_dispatch() at plic_irq_dispatch+0xee
plic_irq_handler() at plic_irq_handler+0x54
riscv_cpu_intr() at riscv_cpu_intr+0x20
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
plic_splx() at plic_splx+0x72
ifioctl() at ifioctl+0x2e2
sys_ioctl() at sys_ioctl+0x22c
svc_handler() at svc_handler+0x3d4
do_trap_user() at do_trap_user+0x158
cpu_exception_handler_user() at cpu_exception_handler_user+0x7c
32d7017e8() at 0x32d7017e8
bad frame pointer: 0xfffffffffffffffe
end trace frame: 0xfffffffffffffffe, count: -16
ddb{0}> help
machine     kill        print       p           pprint      examine
x           search      set         write       w           delete
d           break       dwatch      watch       step        s
continue    c           until       next        match       trace
bt          call        ps          callout     reboot      show
boot        help        hangman     dmesg
ddb{0}> dmesg
OpenBSD 7.5 (GENERIC.MP) #19: Wed Dec 11 07:54:23 CET 2024
    [email protected]:/usr/src/sys/arch/riscv64/compile/GENERIC.MP
real mem  = 4294967296 (4096MB)
avail mem = 8234708992 (7853MB)
SBI: OpenSBI v1.2, SBI Specification Version 1.0
random: good seed from bootblocks
mainbus0 at root: StarFive VisionFive 2 v1.3B
cpu0 at mainbus0: SiFive U7 imp 4210427 rv64imafdc_zba_zbb
intc0 at cpu0
cpu0: 32KB 64b/line 64-way L1 I-cache, 32KB 64b/line 64-way L1 D-cache
cpu0: 2048KB 64b/line 2048-way L2 cache
cpu1 at mainbus0: SiFive U7 imp 4210427 rv64imafdc_zba_zbb
cpu1: 32KB 64b/line 64-way L1 I-cache, 32KB 64b/line 64-way L1 D-cache
cpu1: 2048KB 64b/line 2048-way L2 cache
cpu2 at mainbus0: SiFive U7 imp 4210427 rv64imafdc_zba_zbb
cpu2: 32KB 64b/line 64-way L1 I-cache, 32KB 64b/line 64-way L1 D-cache
cpu2: 2048KB 64b/line 2048-way L2 cache
cpu3 at mainbus0: SiFive U7 imp 4210427 rv64imafdc_zba_zbb
cpu3: 32KB 64b/line 64-way L1 I-cache, 32KB 64b/line 64-way L1 D-cache
cpu3: 2048KB 64b/line 2048-way L2 cache
"opp-table-0" at mainbus0 not configured
"dvp-clock" at mainbus0 not configured
"gmac0-rgmii-rxin-clock" at mainbus0 not configured
"gmac0-rmii-refin-clock" at mainbus0 not configured
"gmac1-rgmii-rxin-clock" at mainbus0 not configured
"gmac1-rmii-refin-clock" at mainbus0 not configured
"hdmitx0-pixel-clock" at mainbus0 not configured
"i2srx-bclk-ext-clock" at mainbus0 not configured
"i2srx-lrck-ext-clock" at mainbus0 not configured
"i2stx-bclk-ext-clock" at mainbus0 not configured
"i2stx-lrck-ext-clock" at mainbus0 not configured
"mclk-ext-clock" at mainbus0 not configured
"oscillator" at mainbus0 not configured
"rtc-oscillator" at mainbus0 not configured
"stmmac-axi-config" at mainbus0 not configured
"tdm-ext-clock" at mainbus0 not configured
simplebus0 at mainbus0: "soc"
plic0 at simplebus0
stfpciephy0 at simplebus0
stfpciephy1 at simplebus0
stfclock0 at simplebus0: stgcrg
syscon0 at simplebus0: "syscon"
stfclock1 at simplebus0: syscrg
syscon1 at simplebus0: "syscon"
stfclock2 at syscon1: pll
stfpinctrl0 at simplebus0
stfclock3 at simplebus0: aoncrg
syscon2 at simplebus0: "syscon"
"timer" at simplebus0 not configured
"cache-controller" at simplebus0 not configured
com0 at simplebus0: dw16550
com0: console
dwiic0 at simplebus0
iic0 at dwiic0
dwiic1 at simplebus0
iic1 at dwiic1
"tdm" at simplebus0 not configured
"usb" at simplebus0 not configured
"phy" at simplebus0 not configured
dwiic2 at simplebus0
iic2 at dwiic2
axppmic0 at iic2 addr 0x36: AXP15060
dwiic3 at simplebus0
iic3 at dwiic3
"sony,imx219" at iic3 addr 0x10 not configured
"pwm" at simplebus0 not configured
stftemp0 at simplebus0
"spi" at simplebus0 not configured
"timer"rat-simplebus0 not configured
"watchdog" at simplebus0 not configured
"dma" at simplebus0 not configured
stfrng0 at simplebus0
dwmmc0 at simplebus0: 198 MHz base clock
sdmmc0 at dwmmc0: 8-bit, mmc high-speed, dma
dwmmc1 at simplebus0: 198 MHz base clock
sdmmc1 at dwmmc1: 4-bit, sd high-speed, dma
dwqe0 at simplebus0 gmac 0dwqe0: reset timeout
: rev 0x52, address 6c:cf:39:00:b6:80
dwqe0: reset timeout
ytphy0 at dwqe0 phy 0: YT8531 10/100/1000 PHY, rev. 11
dwqe1 at simplebus0 gmac 1: rev 0x52, address 6c:cf:39:00:b6:81
ytphy1 at dwqe1 phy 0: YT8531 10/100/1000 PHY, rev. 11
"dma-controller" at simplebus0 not configured
"pinctrl" at simplebus0 not configured
"power-controller" at simplebus0 not configured
"csi-bridge" at simplebus0 not configured
"clock-controller" at simplebus0 not configured
"phy" at simplebus0 not configured
"camss" at simplebus0 not configured
"clock-controller" at simplebus0 not configured
stfpcie0 at simplebus0
pci0_atrstfpcie0
ppb0 at pci0 dev 0 function 0 "PLDA XpressRICH-AXI" rev 0x00
pci1 at ppb0 bus 1
xhci0 at pci1 dev 0 function 0 "VIA VL805 xHCI" rev 0x01: intx, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "VIA xHCI root hub" rev 3.00/1.00 add
r 1
stfpcie1 at simplebus0
pci2 at stfpcie1
ppb1 at pci2 dev 0 function 0 "PLDA XpressRICH-AXI" rev 0x00
pci3 at ppb1 bus 1
nvme0 at pci3 dev 0 function 0 vendor "Crucial", unknown product 0x540a rev 0x0
1: intx, NVMe 1.4
nvme0: CT500P3SSD8, firmware P9CR30A, serial 2310E6B71094
scsibus0 at nvme0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <NVMe, CT500P3SSD8, P9CR>
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
gpiorestart0 at mainbus0
"clk_ext_camera" at mainbus0 not configured
scsibus1 at sdmmc1: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <Sandisk, SN128, 0080> removable
sd1: 121942MB, 512 bytes/sector, 249737216 sectors
sdmmc0: can't enable card
uhub1mateuhub0 port 1 configuration 1 interface 0 "vendor 0x2109 USB2.0 Hub" re
v 2.10/4.20 addr 2
uhidev0 at uhub1 port 2 configuration 1 interface 0 "APC Back-UPS ES 700G FW:87
1.O4 .I USB FW:O4" rev 1.10/1.06 addr 3
uhidev0: iclass 3/0, 146 report ids
upd0 at uhidev0
uhid0 at uhidev0 reportid 1: input=0, output=0, feature=1
uhid1 at uhidev0 reportid 2: input=0, output=0, feature=1
uhid2 at uhidev0 reportid 3: input=0, output=0, feature=1
uhid3 at uhidev0 reportid 4: input=0, output=0, feature=1
uhid4 at uhidev0 reportid 5: input=0, output=0, feature=1
uhid5 at uhidev0 reportid 6: input=1, output=0, feature=1
uhid6 at uhidev0 reportid 7: input=0, output=0, feature=2
uhid7 at uhidev0 reportid 8: input=0, output=0, feature=2
uhid8 at uhidev0 reportid 9: input=0, output=0, feature=2
uhid9 at uhidev0 reportid 10: input=0, output=0, feature=1
uhid10 at uhidev0 reportid 11: input=0, output=0, feature=1
uhid11 at uhidev0 reportid 12: input=3, output=0, feature=3
uhid12 at uhidev0 reportid 13: input=0, output=0, feature=1
uhid13 at uhidev0 reportid 14: input=0, output=0, feature=1
uhid14 at uhidev0 reportid 15: input=0, output=0, feature=1
uhid15 at uhidev0 reportid 16: input=0, output=0, feature=1
uhid16 at uhidev0 reportid 17: input=0, output=0, feature=1
uhid17oat-uhidev0 reportid 18: input=0, output=0, feature=1
uhid18 at uhidev0 reportid 23: input=0, output=0, feature=2
uhid19 at uhidev0 reportid 24: input=0, output=0, feature=1
uhid20 at uhidev0 reportid 28: input=0, output=0, feature=3
uhid21 at uhidev0 reportid 32: input=0, output=0, feature=2
uhid22 at uhidev0 reportid 34: input=0, output=0, feature=1
uhid23 at uhidev0 reportid 35: input=0, output=0, feature=2
uhid24 at uhidev0 reportid 36: input=0, output=0, feature=2
uhid25 at uhidev0 reportid 37: input=0, output=0, feature=2
uhid26 at uhidev0 reportid 38: input=0, output=0, feature=2
uhid27 at uhidev0 reportid 39: input=0, output=0, feature=1
uhid28 at uhidev0 reportid 40: input=0, output=0, feature=4
uhid29 at uhidev0 reportid 48: input=0, output=0, feature=2
uhid30 at uhidev0 reportid 49: input=0, output=0, feature=2
uhid31 at uhidev0 reportid 50: input=0, output=0, feature=2
uhid32 at uhidev0 reportid 51: input=0, output=0, feature=2
uhid33 at uhidev0 reportid 52: input=0, output=0, feature=1
uhid34 at uhidev0 reportid 53: input=0, output=0, feature=1
uhid35 at uhidev0 reportid 54: input=0, output=0, feature=1
uhid36 at uhidev0 reportid 64: input=0, output=0, feature=1
uhid37 at uhidev0 reportid 65: input=0, output=0, feature=2
uhid38 at uhidev0 reportid 80: input=0, output=0, feature=1
uhid39 at uhidev0 reportid 81: input=0, output=0, feature=1
uhid40oat-uhidev0 reportid 96: input=0, output=0, feature=2
uhid41 at uhidev0 reportid 97: input=0, output=0, feature=1
uhid42 at uhidev0 reportid 98: input=0, output=0, feature=4
uhid43 at uhidev0 reportid 120: input=0, output=0, feature=1
uhid44 at uhidev0 reportid 121: input=0, output=0, feature=1
uhid45 at uhidev0 reportid 122: input=0, output=0, feature=4
uhid46 at uhidev0 reportid 123: input=0, output=0, feature=2
uhid47 at uhidev0 reportid 124: input=0, output=0, feature=1
uhid48 at uhidev0 reportid 125: input=0, output=0, feature=1
uhid49 at uhidev0 reportid 126: input=0, output=0, feature=1
uhid50 at uhidev0 reportid 127: input=0, output=0, feature=1
uhid51 at uhidev0 reportid 140: input=0, output=0, feature=1
uhid52 at uhidev0 reportid 141: input=0, output=0, feature=1
uhid53 at uhidev0 reportid 142: input=0, output=0, feature=1
uhid54 at uhidev0 reportid 143: input=0, output=0, feature=1
uhid55 at uhidev0 reportid 144: input=0, output=0, feature=1
uhid56 at uhidev0 reportid 145: input=0, output=0, feature=2
uhid57 at uhidev0 reportid 146: input=0, output=0, feature=2
umass0 at uhub0 port 4 configuration 1 interface 0 "Western Digital My Book 25E
E" rev 3.00/40.04 addr 4
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd2 at scsibus2 targ 1 lun 0: <WD, My Book 25EE, 4004>
sd2:_3815447MB, 512 bytes/sector, 7814035456 sectors
uk0 at scsibus2 targ 1 lun 1: <WD, SES Device, 4004>
axen0 at uhub0 port 5 configuration 1 interface 0 "D-Link Elec. Corp. D-Link DU
B-1312" rev 3.00/1.00 addr 5
axen0: AX88179, address f4:8c:eb:4b:5d:70
rgephy0 at axen0 phy 3: RTL8169S/8110S/8211 PHY, rev. 5
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd1a (d407b70bfb1f051d.a) swap on sd1b dump on sd1b
WARNING: CHECK AND RESET THE DATE!
<6>ndp info overwritten for fe80:9::2e4f:2088:1e0c:13ae by bc:ee:7b:dd:2e:5b on
 vether0
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
<6>ndp info overwritten for fe80:9::2e4f:2088:1e0c:13ae by bc:ee:7b:dd:2e:5b on
 vether0
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0:otimeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
<3>uid 1000 on /backup: file system full
<3>uid 1000 on /backup: file system full
<3>uid 1000 on /backup: file system full
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0:otimeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0:otimeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0:otimeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
dwqe0: timeout flushing TX queue
rgephy0 detached
axen0: detach has active endpoints
axen0 detached
axen0 at uhub0 port 2 configuration 1 interface 0 "D-Link Elec. Corp. D-Link DU
B-1312" rev 3.00/1.00 addr 5
axen0:oAX88179, address f4:8c:eb:4b:5d:70
rgephy0 at axen0 phy 3: RTL8169S/8110S/8211 PHY, rev. 5
rgephy0 detached
axen0 detached
softraid0: vnd2c partition not of type RAID (0)
sd3 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd3: 1023999MB, 512 bytes/sector, 2097151472 sectors
t[0] == 0x8000000000000009
t[1] == 0xffffffc00069f7ec
t[2] == 0x00000031d234dfa0
t[3] == 0x0000000000000000
t[4] == 0x0000000000000000
t[5] == 0x0000000000000000
t[6] == 0x0000000000000000
s[0] == 0xffffffc0998c4940
s[1] == 0xffffffc01373e000
s[2] == 0xdead0002deadbeef
s[3] == 0x0000000000001160
s[4] == 0xffffffc01373e000
s[5] == 0x0000000000000001
s[6] == 0xffffffc01371e800
s[7] == 0x0000000000000000
s[8] == 0x0000000000000001
s[9]_==r0x0000000000008b43
s[10] == 0x0000000000000001
s[11] == 0xffffffc000985670
a[0] == 0x0000000000000000
a[1] == 0xdead0002deadbeef
a[2] == 0x0000000000000000
a[3] == 0xdeadbeefdeadbeef
a[4] == 0x0000000000000003
a[5] == 0xffffffc0004731bc
a[6] == 0x0000000000000000
a[7] == 0x0000000000000003
sepc == 0xffffffc0004731e4
sstatus == 0x0000000200000120
stval == 0xffffff82deadbf0f
scause == 0x000000000000000d
panic: Fatal page fault at 0xffffffc0004731e4: 0xffffff82deadbf0f
Stopped at      panic+0x102:    addi    a0,zero,256    TID    PID    UID     PR
FLAGS     PFLAGS  CPU  COMMAND
*119088  55246      0   0x8000002          0    0K ifconfig
 237581  43627      0  0x18000002          0    1  awk
 472689  67115      0   0x8100002          0    2  dd
  19109  28220      0  0x18000012          0    3  sshd
panic() at panic+0x102
do_trap_supervisor() at do_trap_supervisor+0x1e0
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
dwqe_tx_proc() at dwqe_tx_proc+0x28
dwqe_intr() at dwqe_intr+0x6e
plic_irq_dispatch() at plic_irq_dispatch+0xee
plic_irq_handler() at plic_irq_handler+0x54
riscv_cpu_intr() at riscv_cpu_intr+0x20
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
plic_splx() at plic_splx+0x72
ifioctl() at ifioctl+0x2e2
sys_ioctl() at sys_ioctl+0x22c
svc_handler() at svc_handler+0x3d4
do_trap_user() at do_trap_user+0x158
end trace frame: 0xffffffc0998c4ec0, 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}> ddb{0}> panic() at panic+0x102
do_trap_supervisor() at do_trap_supervisor+0x1e0
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
dwqe_tx_proc() at dwqe_tx_proc+0x28
dwqe_intr() at dwqe_intr+0x6e
plic_irq_dispatch() at plic_irq_dispatch+0xee
plic_irq_handler() at plic_irq_handler+0x54
riscv_cpu_intr() at riscv_cpu_intr+0x20
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
plic_splx() at plic_splx+0x72
ifioctl() at ifioctl+0x2e2
sys_ioctl() at sys_ioctl+0x22c
svc_handler() at svc_handler+0x3d4
do_trap_user() at do_trap_user+0x158
cpu_exception_handler_user() at cpu_exception_handler_user+0x7c
32d7017e8() at 0x32d7017e8
bad frame pointer: 0xfffffffffffffffe
end trace frame: 0xfffffffffffffffe, count: -16
ddb{0}> *cpu0: Fatal page fault at 0xffffffc0004731e4: 0xffffff82deadbf0f
ddb{0}> panic() at panic+0x102
do_trap_supervisor() at do_trap_supervisor+0x1e0
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
dwqe_tx_proc() at dwqe_tx_proc+0x28
dwqe_intr() at dwqe_intr+0x6e
plic_irq_dispatch() at plic_irq_dispatch+0xee
plic_irq_handler() at plic_irq_handler+0x54
riscv_cpu_intr() at riscv_cpu_intr+0x20
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
plic_splx() at plic_splx+0x72
ifioctl() at ifioctl+0x2e2
sys_ioctl() at sys_ioctl+0x22c
svc_handler() at svc_handler+0x3d4
do_trap_user() at do_trap_user+0x158
cpu_exception_handler_user() at cpu_exception_handler_user+0x7c
32d7017e8() at 0x32d7017e8
bad frame pointer: 0xfffffffffffffffe
end trace frame: 0xfffffffffffffffe, count: -16
ddb{0}> machine     kill        print       p           pprint      examine
x           search      set         write       w           delete
d           break       dwatch      watch       step        s
continue    c           until       next        match       trace
bt          call        ps          callout     reboot      show
boot        help        hangman     dmesg
ddb{0}>
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
*55246  119088  29631      0  7   0x8000002                ifconfig
 43627  237581  56261      0  7  0x18000002                awk
 56261  181826  42792      0  3   0x8100082  piperd        sh
 29631  495007  60621      0  3   0x810008a  sigsusp       sh
 60621  300443  51450      0  3   0x810008a  sigsusp       sh
 42792  411950  77206      0  3   0x810008a  sigsusp       sh
 51450  355996  72113      0  3  0x18100090  piperd        cron
 77206  469666  72113      0  3  0x18100090  piperd        cron
 38922  487558  16547      0  3   0x8000003  biowait       mv
 52983   24164      1      0  3   0x8800403  bqwait        mv
 66928   69858      1      0  3   0x8800403  bqwait        mv
 32160  248770      0      0  3     0x14200  bored         srdis
 56874  299270  28998      0  2  0x18900003                gzip
 28998  452466   9578      0  3   0x8900083  pipewr        tar
  9578  195603      1      0  3   0x890048b  sigsusp       sh
 67115  472689  52816      0  7   0x8100002                dd
 52816  467280  28220      0  3   0x810008a  sigsusp       ksh
 28220   19109  40183      0  7  0x18000012                sshd
 16547  335399  43659      0  3   0x810008b  sigsusp       ksh
 43659  444863  58457   1000  3   0x810008b  sigsusp       ksh
 58457  420944  11948   1000  3  0x18000098  kqread        sshd
-11948or227453  40183      0  3  0x18000092  kqread        sshd
 20917  141169      1   1000  3  0x181000b8  kqread        ssh-agent
 35214  281533      1      0  3  0x18100083  ttyin         getty
 39135  510022  84591   1007  3  0x19000090  kqread        wildcarddnsd
 84591   31303      1      0  3  0x18000080  nanoslp       wildcarddnsd
 72113   96379      1      0  3  0x18100098  kqread        cron
 76038  463745      1     99  3  0x19100090  kqread        sndiod
  3263  163644      1    110  3  0x18100090  kqread        sndiod
 33239  276836      1      0  3  0x18100080  kqread        httpd
 69856  116833      1     67  3  0x19100092  kqread        httpd
 21746  435523      1     67  3  0x19100092  kqread        httpd
 36667  226085      1     67  3  0x19100092  kqread        httpd
 93075  394817      1     67  3  0x19100092  kqread        httpd
 57392  100021      1     67  3  0x19100092  kqread        httpd
 42614  128958      1     67  3  0x19100092  kqread        httpd
 97346  313319      1     67  3  0x19100092  kqread        httpd
 87372  224630      1     67  3  0x19100092  kqread        httpd
 84105  146303      1     67  3  0x19100092  kqread        httpd
 25841   25850      1     67  3  0x19100092  kqread        httpd
 55993  437449      1     67  3  0x19100092  kqread        httpd
 95630   81201  31301     95  3  0x19100092  kqread        smtpd
 22722  372997  31301    103  3  0x19100092  kqread        smtpd
 79259  485083  31301     95  3  0x19100092  kqread        smtpd
-96919or231445  31301     95  3  0x18100092  kqread        smtpd
 37162  117038  31301     95  3  0x19100092  kqread        smtpd
 62872  196156  31301     95  3  0x19100092  kqread        smtpd
 31301  458235      1      0  3  0x18100080  kqread        smtpd
 50937    5538  18628     94  3  0x19100092  kqread        rad
 53620  454141  18628     94  3  0x19100092  kqread        rad
 18628  204549      1      0  3  0x18100080  kqread        rad
  5410   28093      1     77  3  0x19100090  kqread        dhcpd
 40183  206171      1      0  3  0x18000088  kqread        sshd
 70604  234198  35054     74  3  0x19100092  bpf           pflogd
 35054  283214      1      0  3  0x18000080  netio         pflogd
 17040  305887  21409     73  3  0x19100090  kqread        syslogd
 21409  276801      1      0  3  0x18100082  netio         syslogd
 45270  274436      1      0  3  0x18100080  kqread        resolvd
 86129  178274  21805     77  3  0x18100092  kqread        dhcpleased
 54677  154950  21805     77  3  0x18100092  kqread        dhcpleased
 21805  423053      1      0  3  0x18000080  kqread        dhcpleased
 68932  390790  11675    115  3  0x18100092  kqread        slaacd
 34425  459806  11675    115  3  0x18100092  kqread        slaacd
 11675  435084      1      0  3  0x18100080  kqread        slaacd
 38547  266414      1      0  3   0x8000080  mfsidl        mount_mfs
 83252  381482      0      0  3     0x14200  bored         smr
 53501  461092      0      0  3     0x14200  pgzero        zerothread
-63004or181271      0      0  3     0x14200  aiodoned      aiodoned
 66593   47070      0      0  3     0x14200  syncer        update
 23281  161032      0      0  3     0x14200  cleaner       cleaner
 78411   98146      0      0  3     0x14200  reaper        reaper
 86285  501138      0      0  3     0x14200  pgdaemon      pagedaemon
 80313  167529      0      0  3     0x14200  usbtsk        usbtask
 29378  490615      0      0  3     0x14200  usbatsk       usbatsk
 37894  175768      0      0  3     0x14200  mmctsk        sdmmc1
 11845  194777      0      0  3     0x14200  mmctsk        sdmmc0
 75418   69970      0      0  3     0x14200  bored         sensors
 77890   78642      0      0  3  0x40014200                idle3
 81110  116011      0      0  3  0x40014200                idle2
 73920   60824      0      0  3  0x40014200                idle1
 10647  443039      0      0  3     0x14200  bored         softnet3
 79212  245523      0      0  3     0x14200  bored         softnet2
 79856   39516      0      0  3     0x14200  bored         softnet1
 57242  100922      0      0  3     0x14200  bored         softnet0
 58666   12498      0      0  3     0x14200  bored         systqmp
  5666  187088      0      0  3     0x14200  bored         systq
 41320    2404      0      0  3     0x14200  tmoslp        softclockmp
 71321     827      0      0  3  0x40014200  tmoslp        softclock
 88342   72201      0      0  3  0x40014200                idle0
  9590  292014      0      0  3     0x14200  kmalloc       kmthread
--db_1or302637      0      0  3   0x8000082  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> help

_PJP
Script started on Mon Jan 13 16:54:42 2025
arcturus# cu -l /dev/cuaU0 -s 115200
Connected to /dev/cuaU0 (speed 115200)
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.e-Insufficient info makes it difficult to find and fix bugs.
ddb{0}> show panic
*cpu0: Fatal page fault at 0xffffffc000649530: 0xffffff82deafbecd
ddb{0}> bs
No such command
ddb{0}> bt
panic() at panic+0x102
do_trap_supervisor() at do_trap_supervisor+0x1e0
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
dwqe_tx_proc() at dwqe_tx_proc+0x28
dwqe_intr() at dwqe_intr+0x6e
plic_irq_dispatch() at plic_irq_dispatch+0xee
plic_irq_handler() at plic_irq_handler+0x54
riscv_cpu_intr() at riscv_cpu_intr+0x20
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
plic_splx() at plic_splx+0x72
ifioctl() at ifioctl+0x2e2
sys_ioctl() at sys_ioctl+0x22c
svc_handler() at svc_handler+0x3d4
do_trap_user() at do_trap_user+0x158
cpu_exception_handler_user() at cpu_exception_handler_user+0x7c
13fdb27e8() at 0x13fdb27e8
bad frame pointer: 0xfffffffffffffffe
end trace frame: 0xfffffffffffffffe, count: -16
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
*31335  259425  57608      0  7   0x8000002                ifconfig
 23066   97640  27737      0  7   0x8000002                awk
 98651  410975  27737      0  7   0x8000002                stat
 57608   98910  52109      0  3   0x810008a  sigsusp       sh
 27737  164540  18281      0  3   0x8100082  piperd        sh
 52109   58664  80465      0  3   0x810008a  sigsusp       sh
 18281  191386   1933      0  3   0x810008a  sigsusp       sh
 80465  432391  30612      0  3  0x18100090  piperd        cron
  1933  245564  30612      0  3  0x18100090  piperd        cron
 48013   53113  37551      0  7   0x8100002                dd
 37551  401750  73345      0  3   0x810008a  sigsusp       ksh
 73345  242027  95943      0  2  0x18000012                sshd
 44687  142190      1      0  3  0x18100083  ttyin         getty
 43028  132104      0      0  3     0x14200  bored         srdis
 30612   26846      1      0  3  0x18100098  kqread        cron
 43831  245221      1     99  3  0x19100090  kqread        sndiod
 59082   60028      1    110  3  0x18100090  kqread        sndiod
 93692  325121      1      0  3  0x18100080  kqread        httpd
 66966   56224      1     67  3  0x19100092  kqread        httpd
 69964  273605      1     67  3  0x19100092  kqread        httpd
  2862  509100      1     67  3  0x19100092  kqread        httpd
-12735or450769      1     67  3  0x19100092  kqread        httpd
 26124  136136      1     67  3  0x19100092  kqread        httpd
  1770  108328      1     67  3  0x19100092  kqread        httpd
 76738  146424      1     67  3  0x19100092  kqread        httpd
 34506  221764      1     67  3  0x19100092  kqread        httpd
 16594  296987      1     67  3  0x19100092  kqread        httpd
 54809  362412      1     67  3  0x19100092  kqread        httpd
 73448  287755      1     67  3  0x19100092  kqread        httpd
 33333  472835  18631     95  3  0x19100092  kqread        smtpd
 75254  265698  18631    103  3  0x19100092  kqread        smtpd
 75081   87737  18631     95  3  0x19100092  kqread        smtpd
 10982  289955  18631     95  3  0x18100092  kqread        smtpd
 14328  165161  18631     95  3  0x19100092  kqread        smtpd
 47971  287237  18631     95  3  0x19100092  kqread        smtpd
 18631  197534      1      0  3  0x18100080  kqread        smtpd
   566   88798  89133     94  3  0x19100092  kqread        rad
 76430  130370  89133     94  3  0x19100092  kqread        rad
 89133  472588      1      0  3  0x18100080  kqread        rad
 60885  501246      1     77  3  0x19100090  kqread        dhcpd
 95943   71972      1      0  3  0x18000088  kqread        sshd
 53861  212392  54129     74  3  0x19100092  bpf           pflogd
 54129  266071      1      0  3  0x18000080  netio         pflogd
 22714   51160  33552     73  3  0x19100090  kqread        syslogd
-33552or347687      1      0  3  0x18100082  netio         syslogd
  9448  356584      1      0  3  0x18100080  kqread        resolvd
 18424  228690  78658     77  3  0x18100092  kqread        dhcpleased
 76730    8939  78658     77  3  0x18100092  kqread        dhcpleased
 78658  503535      1      0  3  0x18000080  kqread        dhcpleased
 35395  113521  10556    115  3  0x18100092  kqread        slaacd
 97450  481060  10556    115  3  0x18100092  kqread        slaacd
 10556  370747      1      0  3  0x18100080  kqread        slaacd
 81251  307535      1      0  3   0x8000080  mfsidl        mount_mfs
 16916  487608      0      0  3     0x14200  bored         smr
 75407  334362      0      0  3     0x14200  pgzero        zerothread
 34548  350380      0      0  3     0x14200  aiodoned      aiodoned
 47965   63693      0      0  3     0x14200  syncer        update
 70146   18103      0      0  3     0x14200  cleaner       cleaner
 19875  456576      0      0  3     0x14200  reaper        reaper
 92284   30411      0      0  3     0x14200  pgdaemon      pagedaemon
 44969    4688      0      0  3     0x14200  usbtsk        usbtask
 48794  103395      0      0  3     0x14200  usbatsk       usbatsk
 64238  354190      0      0  3     0x14200  mmctsk        sdmmc1
 40562   54614      0      0  3     0x14200  mmctsk        sdmmc0
 41463  198137      0      0  3     0x14200  bored         sensors
 44497  378084      0      0  3  0x40014200                idle3
 20834  444155      0      0  3  0x40014200                idle2
-33680or300165      0      0  3  0x40014200                idle1
 42697  177877      0      0  3     0x14200  bored         softnet3
  1856  513166      0      0  3     0x14200  bored         softnet2
 71554  223084      0      0  3     0x14200  bored         softnet1
 69489  361922      0      0  3     0x14200  netlock       softnet0
 19625  484775      0      0  3     0x14200  bored         systqmp
 79299  295580      0      0  3     0x14200  bored         systq
 10715  226380      0      0  3     0x14200  tmoslp        softclockmp
 15794  207080      0      0  3  0x40014200  tmoslp        softclock
 43356   21922      0      0  3  0x40014200                idle0
 64414  199862      0      0  3     0x14200  kmalloc       kmthread
     1  293745      0      0  3   0x8000082  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> help
ddb{0}> show all poolss
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       52    0        0     2     0     2     2     0     8    0
rtpcb      120       20    0       14     1     0     1     1     0     8    0
rtentry    112      154    0      118     3     1     2     2     0     8    0
unpcb      144      424    0      316    26    21     5     5     0     8    0
syncache   336       44    0       44    39    39     0     1     0     8    0
sackhl      24       24    0       24    24    24     0     1     0     8    0
tcpqe       32 29394902    0 29394902  7600  7597     3     6     0     8    3
tcpcb      808       54    0       43    19    17     2     2     0     8    0
arp         88      103    0       99     1     0     1     1     0     8    0
inpcb      360     1151    0     1131     2     0     2     2     0     8    0
nd6        104       26    0       20     1     0     1     1     0     8    0
cryptop    280       16    0        0     2     0     2     2     0     8    0
pfosfp      40     1428    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfstitem    24    93765    0    93762   752   750     2     2     0     8    0
pfstkey    128    93765    0    93762  1394  1392     2    11     0     8    0
pfstate    344    93765    0    93762  3564  3562     2    30     0     8    0
pfrule     1344      25    0       16     3     1     2     3     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      507    0      296    19     2    17    17     0     8    0
art_table   32      508    0      296     3     0     3     3     0     8    0
art_nodee-- 16      154    0      120     1     0     1     1     0     8    0
dirhash    1024    8520    0     5799   601   254   347   580     0     8    0
dino2pl    256  1693540    0  1512933 11452   162 11290 11290     0     8    0
dino1pl    128        5    0        4     5     4     1     1     0     8    0
ffsino     240  1693545    0  1512937 10784   158 10626 10626     0     8    0
nchpl      144  1988829    0  1983438   250    50   200   200     0     8    0
uvmvnodes   80   180652    0        0  3687     0  3687  3687     0     8    0
vnodes     216   180652    0        0 10037     0 10037 10037     0     8    0
namei      1024 10223320   0 10223320  5866  5865     1     1     0     8    1
percpumem   32       39    0        0     1     0     1     1     0     8    0
scxspl     216 60219532    0 60219532    57    56     1     4     1     8    1
xhcixfer   280  5985182    0  5985171     2     0     2     2     0     8    1
extentpl    40       41    0       14     1     0     1     1     0     8    0
kstatmem   264       18    0        0     2     0     2     2     0     8    0
plimitpl   152     6638    0     6605     2     0     2     2     0     8    0
sigapl     424   814718    0   814639  3881  3872     9    11     0     8    0
futexpl     64    15443    0    15443    11    11     0     1     0     8    0
knotepl    120     8272    0        0    10     0    10    10     0     8    0
kqueuepl   184      225    0      182    25    22     3     3     0     8    0
pipepl     288   548436    0   548427  4638  4637     1     2     0     8    0
fdescpl    432   814692    0   814638   766   759     7     8     0     8    1
filepl     120  4332563    0  4332331    50    42     8     8     0     8    0
lockfpl    104      113    0      110     1     0     1     1     0     8    0
lockfsple-- 48       58    0       55     1     0     1     1     0     8    0
sessionpl  144     6638    0     6607  2490  2488     2     2     0     8    0
pgrppl      48     7405    0     7374     1     0     1     1     0     8    0
ucredpl    104     7490    0     7443     2     0     2     2     0     8    0
zombiepl   144   814639    0   814639  5840  5839     1     1     0     8    1
processpl  1072  814718    0   814639  2383  2377     6     7     0     8    0
procpl     672   814771    0   814692  2750  2743     7     8     0     8    0
sockpl     488     1595    0     1461    39    22    17    19     0     8    0
mcl64k     65536     41    0        0     4     0     4     4     0     8    0
mcl16k     16384      7    0        0     1     0     1     1     0     8    0
mcl12k     12288      3    0        0     1     0     1     1     0     8    0
mcl9k      9216       4    0        0     1     0     1     1     0     8    0
mcl8k      8192      37    0        0     5     0     5     5     0     8    0
mcl4k      4096      34    0        0     4     0     4     4     0     8    0
mcl2k2     2112       5    0        0     1     0     1     1     0     8    0
mcl2k      2048   43379    0        0   221   129    92    94     0     8    0
mtagpl      96       44    0        0     1     0     1     1     0     8    0
mbufpl     256    54550    0        0    88    41    47    48     0     8    0
bufpl      280 36872790    0 36788836 16716  9725  6991 12904     0     8    0
anonpl      24 176362909   0 176349117 1662  1570    92   544     0   761    0
amapchunkpl 152 14503259   0 14502440  3363  3330    33   187     0   158    0
amappl16   200    59847    0    59602   629   615    14   198     0     8    0
amappl15   192      186    0      185     5     4     1     2     0     8    0
amappl14e--184   741604    0   741562    27    24     3     4     0     8    0
amappl13   176      202    0      201     4     3     1     2     0     8    0
amappl12   168  2406067    0  2406013    38    34     4    23     0     8    0
amappl11   160    54043    0    53973  5905  5902     3     5     0     8    0
amappl10   152      679    0      678     6     5     1     3     0     8    0
amappl9    144  1452972    0  1452971   595   594     1     3     0     8    0
amappl8    136     7724    0     7720    22    21     1    14     0     8    0
amappl7    128    14774    0    14774  6252  6251     1     4     0     8    1
amappl6    120     8648    0     8626    29    28     1    21     0     8    0
amappl5    112 15069284    0 15069222    13    10     3     6     0     8    0
amappl4    104  1133083    0  1133019    45    42     3    16     0     8    0
amappl3     96  5275742    0  5275365   104    94    10    35     0     8    0
amappl2     88  2116769    0  2116532   200   193     7    70     0     8    0
amappl1     80 22636935    0 22635422   730   698    32    47     0     8    0
amappl      88  4836036    0  4835756    59    51     8    31     0    92    0
dma65536   65536     16    0        0     2     0     2     2     0     8    0
dma32768   32768      5    0        5     1     1     0     1     0     8    0
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma256     256       28    0       28     6     6     0     1     0     8    0
dma128     128        6    0        6     2     2     0     1     0     8    0
dma64       64        5    0        5     2     2     0     1     0     8    0
dma32       32       15    0       15     5     5     0     1     0     8    0
dma16       16       18    0       18     4     4     0     1     0     8    0
vpdb_more--8192  323722 5044        0 204671 199221 5450 9127    20     8    0
pted        40   349004    0        0  1483   101  1382  1483     1     8    1
pmap        56   814691    0   814638     1     0     1     1     1     8    0
aobjpl      72        2    0        0     1     0     1     1     0     8    0
uaddrrnd    24   814692    0   814638     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24   814692    0   814638     1     0     1     1     0     8    0
vmmpekpl   168 16872619    0 16871064   344   260    84    85     0     8    0
vmmpepl    168 112549300   0 112544814 27840 27644  196   590     0   357    0
vmsppl     352   814691    0   814638   525   520     5     7     0     8    0
rwobjpl     24 48701341    0 48517786  1394   288  1106  1110     0     8    0
phpool     112   238423    1   210533  1009   108   901   901     0     8    0

6 bytes read in 16 ms (8.8 MiB/s)
disks: sd0*
>> OpenBSD/riscv64 BOOTRISCV64 1.5
boot> 
booting sd0a:/bsd: 
5456572+1725488+220204+709444\[386592+122+529752+380806]=0xa1feb0
clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
bootargs:
all mapped
type 0x0 pa 0x40000000 va 0x40000000 pages 0x80 attr 0x8
type 0x7 pa 0x40080000 va 0x40080000 pages 0x180 attr 0x8
type 0x2 pa 0x40200000 va 0x40200000 pages 0x4000 attr 0x8
type 0x7 pa 0x44200000 va 0x44200000 pages 0x3cf6 attr 0x8
type 0x9 pa 0x47ef6000 va 0x47ef6000 pages 0x14 attr 0x8
type 0x7 pa 0x47f0a000 va 0x47f0a000 pages 0xb66de attr 0x8
type 0x2 pa 0xfe5e8000 va 0xfe5e8000 pages 0x8 attr 0x8
type 0x4 pa 0xfe5f0000 va 0xfe5f0000 pages 0x1 attr 0x8
type 0x7 pa 0xfe5f1000 va 0xfe5f1000 pages 0x1 attr 0x8
type 0x2 pa 0xfe5f2000 va 0xfe5f2000 pages 0x100 attr 0x8
type 0x1 pa 0xfe6f2000 va 0xfe6f2000 pages 0x25 attr 0x8
type 0x4 pa 0xfe717000 va 0xfe717000 pages 0x8 attr 0x8
type 0x6 pa 0xfe71f000 va 0xfe71f000 pages 0x1 attr 0x8000000000000008
type 0x4 pa 0xfe720000 va 0xfe720000 pages 0x3 attr 0x8
type 0x6 pa 0xfe723000 va 0xfe723000 pages 0x3 attr 0x8000000000000008
type 0x4 pa 0xfe726000 va 0xfe726000 pages 0x1 attr 0x8
type 0x6 pa 0xfe727000 va 0xfe727000 pages 0x4 attr 0x8000000000000008
type 0x4 pa 0xfe72b000 va 0xfe72b000 pages 0x8 attr 0x8
type 0x2 pa 0xfe733000 va 0xfe733000 pages 0x1811 attr 0x8
type 0x5 pa 0xfff44000 va 0xfff44000 pages 0x1 attr 0x8000000000000008
type 0x2 pa 0xfff45000 va 0xfff45000 pages 0xbb attr 0x8
type 0x4 pa 0x100000000 va 0x100000000 pages 0x140000 attr 0x8
[ using 1298240 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-2024 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 7.5 (GENERIC.MP) #21: Sat Dec 28 11:42:31 CET 2024
    [email protected]:/usr/src/sys/arch/riscv64/compile/GENERIC.MP
real mem  = 4294967296 (4096MB)
avail mem = 8234708992 (7853MB)
SBI: OpenSBI v1.2, SBI Specification Version 1.0
random: good seed from bootblocks
mainbus0 at root: StarFive VisionFive 2 v1.3B
cpu0 at mainbus0: SiFive U7 imp 4210427 rv64imafdc_zba_zbb
intc0 at cpu0
cpu0: 32KB 64b/line 64-way L1 I-cache, 32KB 64b/line 64-way L1 D-cache
cpu0: 2048KB 64b/line 2048-way L2 cache
cpu1 at mainbus0: SiFive U7 imp 4210427 rv64imafdc_zba_zbb
cpu1: 32KB 64b/line 64-way L1 I-cache, 32KB 64b/line 64-way L1 D-cache
cpu1: 2048KB 64b/line 2048-way L2 cache
cpu2 at mainbus0: SiFive U7 imp 4210427 rv64imafdc_zba_zbb
cpu2: 32KB 64b/line 64-way L1 I-cache, 32KB 64b/line 64-way L1 D-cache
cpu2: 2048KB 64b/line 2048-way L2 cache
cpu3 at mainbus0: SiFive U7 imp 4210427 rv64imafdc_zba_zbb
cpu3: 32KB 64b/line 64-way L1 I-cache, 32KB 64b/line 64-way L1 D-cache
cpu3: 2048KB 64b/line 2048-way L2 cache
"opp-table-0" at mainbus0 not configured
"dvp-clock" at mainbus0 not configured
"gmac0-rgmii-rxin-clock" at mainbus0 not configured
"gmac0-rmii-refin-clock" at mainbus0 not configured
"gmac1-rgmii-rxin-clock" at mainbus0 not configured
"gmac1-rmii-refin-clock" at mainbus0 not configured
"hdmitx0-pixel-clock" at mainbus0 not configured
"i2srx-bclk-ext-clock" at mainbus0 not configured
"i2srx-lrck-ext-clock" at mainbus0 not configured
"i2stx-bclk-ext-clock" at mainbus0 not configured
"i2stx-lrck-ext-clock" at mainbus0 not configured
"mclk-ext-clock" at mainbus0 not configured
"oscillator" at mainbus0 not configured
"rtc-oscillator" at mainbus0 not configured
"stmmac-axi-config" at mainbus0 not configured
"tdm-ext-clock" at mainbus0 not configured
simplebus0 at mainbus0: "soc"
plic0 at simplebus0
stfpciephy0 at simplebus0
stfpciephy1 at simplebus0
stfclock0 at simplebus0: stgcrg
syscon0 at simplebus0: "syscon"
stfclock1 at simplebus0: syscrg
syscon1 at simplebus0: "syscon"
stfclock2 at syscon1: pll
stfpinctrl0 at simplebus0
stfclock3 at simplebus0: aoncrg
syscon2 at simplebus0: "syscon"
"timer" at simplebus0 not configured
"cache-controller" at simplebus0 not configured
com0 at simplebus0: dw16550
com0: console
dwiic0 at simplebus0
iic0 at dwiic0
dwiic1 at simplebus0
iic1 at dwiic1
"tdm" at simplebus0 not configured
"usb" at simplebus0 not configured
"phy" at simplebus0 not configured
dwiic2 at simplebus0
iic2 at dwiic2
axppmic0 at iic2 addr 0x36: AXP15060
dwiic3 at simplebus0
iic3 at dwiic3
"sony,imx219" at iic3 addr 0x10 not configured
"pwm" at simplebus0 not configured
stftemp0 at simplebus0
"spi" at simplebus0 not configured
"timer" at simplebus0 not configured
"watchdog" at simplebus0 not configured
"dma" at simplebus0 not configured
stfrng0 at simplebus0
dwmmc0 at simplebus0: 198 MHz base clock
sdmmc0 at dwmmc0: 8-bit, mmc high-speed, dma
dwmmc1 at simplebus0: 198 MHz base clock
sdmmc1 at dwmmc1: 4-bit, sd high-speed, dma
dwqe0 at simplebus0 gmac 0: rev 0x52, address 6c:cf:39:00:b6:80
ytphy0 at dwqe0 phy 0: YT8531 10/100/1000 PHY, rev. 11
dwqe1 at simplebus0 gmac 1: rev 0x52, address 6c:cf:39:00:b6:81
ytphy1 at dwqe1 phy 0: YT8531 10/100/1000 PHY, rev. 11
"dma-controller" at simplebus0 not configured
"pinctrl" at simplebus0 not configured
"power-controller" at simplebus0 not configured
"csi-bridge" at simplebus0 not configured
"clock-controller" at simplebus0 not configured
"phy" at simplebus0 not configured
"camss" at simplebus0 not configured
"clock-controller" at simplebus0 not configured
stfpcie0 at simplebus0
pci0 at stfpcie0
ppb0 at pci0 dev 0 function 0 "PLDA XpressRICH-AXI" rev 0x00
pci1 at ppb0 bus 1
xhci0 at pci1 dev 0 function 0 "VIA VL805 xHCI" rev 0x01: intx, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "VIA xHCI root hub" rev 3.00/1.00 
addr 1
stfpcie1 at simplebus0
pci2 at stfpcie1
ppb1 at pci2 dev 0 function 0 "PLDA XpressRICH-AXI" rev 0x00
pci3 at ppb1 bus 1
nvme0 at pci3 dev 0 function 0 vendor "Crucial", unknown product 0x540a rev 
0x01: intx, NVMe 1.4
nvme0: CT500P3SSD8, firmware P9CR30A, serial 2310E6B71094
scsibus0 at nvme0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <NVMe, CT500P3SSD8, P9CR>
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
gpiorestart0 at mainbus0
"clk_ext_camera" at mainbus0 not configured
scsibus1 at sdmmc1: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <Sandisk, SN128, 0080> removable
sd1: 121942MB, 512 bytes/sector, 249737216 sectors
sdmmc0: can't enable card
uhub1 at uhub0 port 1 configuration 1 interface 0 "vendor 0x2109 USB2.0 Hub" 
rev 2.10/4.20 addr 2
umass0 at uhub0 port 4 configuration 1 interface 0 "Western Digital My Book 
25EE" rev 3.00/40.04 addr 3
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd2 at scsibus2 targ 1 lun 0: <WD, My Book 25EE, 4004>
sd2: 3815447MB, 512 bytes/sector, 7814035456 sectors
uk0 at scsibus2 targ 1 lun 1: <WD, SES Device, 4004>
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd1a (d407b70bfb1f051d.a) swap on sd1b dump on sd1b
WARNING: / was not properly unmounted
WARNING: CHECK AND RESET THE DATE!
uhidev0 at uhub1 port 2 configuration 1 interface 0 "APC Back-UPS ES 700G 
FW:871.O4 .I USB FW:O4" rev 1.10/1.06 addr 4
uhidev0: iclass 3/0, 146 report ids
upd0 at uhidev0
uhid0 at uhidev0 reportid 1: input=0, output=0, feature=1
uhid1 at uhidev0 reportid 2: input=0, output=0, feature=1
uhid2 at uhidev0 reportid 3: input=0, output=0, feature=1
uhid3 at uhidev0 reportid 4: input=0, output=0, feature=1
uhid4 at uhidev0 reportid 5: input=0, output=0, feature=1
uhid5 at uhidev0 reportid 6: input=1, output=0, feature=1
uhid6 at uhidev0 reportid 7: input=0, output=0, feature=2
uhid7 at uhidev0 reportid 8: input=0, output=0, feature=2
uhid8 at uhidev0 reportid 9: input=0, output=0, feature=2
uhid9 at uhidev0 reportid 10: input=0, output=0, feature=1
uhid10 at uhidev0 reportid 11: input=0, output=0, feature=1
uhid11 at uhidev0 reportid 12: input=3, output=0, feature=3
uhid12 at uhidev0 reportid 13: input=0, output=0, feature=1
uhid13 at uhidev0 reportid 14: input=0, output=0, feature=1
uhid14 at uhidev0 reportid 15: input=0, output=0, feature=1
uhid15 at uhidev0 reportid 16: input=0, output=0, feature=1
uhid16 at uhidev0 reportid 17: input=0, output=0, feature=1
uhid17 at uhidev0 reportid 18: input=0, output=0, feature=1
uhid18 at uhidev0 reportid 23: input=0, output=0, feature=2
uhid19 at uhidev0 reportid 24: input=0, output=0, feature=1
uhid20 at uhidev0 reportid 28: input=0, output=0, feature=3
uhid21 at uhidev0 reportid 32: input=0, output=0, feature=2
uhid22 at uhidev0 reportid 34: input=0, output=0, feature=1
uhid23 at uhidev0 reportid 35: input=0, output=0, feature=2
uhid24 at uhidev0 reportid 36: input=0, output=0, feature=2
uhid25 at uhidev0 reportid 37: input=0, output=0, feature=2
uhid26 at uhidev0 reportid 38: input=0, output=0, feature=2
uhid27 at uhidev0 reportid 39: input=0, output=0, feature=1
uhid28 at uhidev0 reportid 40: input=0, output=0, feature=4
uhid29 at uhidev0 reportid 48: input=0, output=0, feature=2
uhid30 at uhidev0 reportid 49: input=0, output=0, feature=2
uhid31 at uhidev0 reportid 50: input=0, output=0, feature=2
uhid32 at uhidev0 reportid 51: input=0, output=0, feature=2
uhid33 at uhidev0 reportid 52: input=0, output=0, feature=1
uhid34 at uhidev0 reportid 53: input=0, output=0, feature=1
uhid35 at uhidev0 reportid 54: input=0, output=0, feature=1
uhid36 at uhidev0 reportid 64: input=0, output=0, feature=1
uhid37 at uhidev0 reportid 65: input=0, output=0, feature=2
uhid38 at uhidev0 reportid 80: input=0, output=0, feature=1
uhid39 at uhidev0 reportid 81: input=0, output=0, feature=1
uhid40 at uhidev0 reportid 96: input=0, output=0, feature=2
uhid41 at uhidev0 reportid 97: input=0, output=0, feature=1
uhid42 at uhidev0 reportid 98: input=0, output=0, feature=4
uhid43 at uhidev0 reportid 120: input=0, output=0, feature=1
uhid44 at uhidev0 reportid 121: input=0, output=0, feature=1
uhid45 at uhidev0 reportid 122: input=0, output=0, feature=4
uhid46 at uhidev0 reportid 123: input=0, output=0, feature=2
uhid47 at uhidev0 reportid 124: input=0, output=0, feature=1
uhid48 at uhidev0 reportid 125: input=0, output=0, feature=1
uhid49 at uhidev0 reportid 126: input=0, output=0, feature=1
uhid50 at uhidev0 reportid 127: input=0, output=0, feature=1
uhid51 at uhidev0 reportid 140: input=0, output=0, feature=1
uhid52 at uhidev0 reportid 141: input=0, output=0, feature=1
uhid53 at uhidev0 reportid 142: input=0, output=0, feature=1
uhid54 at uhidev0 reportid 143: input=0, output=0, feature=1
uhid55 at uhidev0 reportid 144: input=0, output=0, feature=1
uhid56 at uhidev0 reportid 145: input=0, output=0, feature=2
uhid57 at uhidev0 reportid 146: input=0, output=0, feature=2
Automatic boot in progress: starting file system checks.
/dev/sd1a (d407b70bfb1f051d.a): 1977 files, 190671 used, 314040 free (248 
frags, 39224 blocks, 0.0% fragmentation)
/dev/sd1a (d407b70bfb1f051d.a): MARKING FILE SYSTEM CLEAN
/dev/sd0a (0a76fa1c6601d1bf.a): 1650 files, 25906 used, 478805 free (93 frags, 
59839 blocks, 0.0% fragmentation)
/dev/sd0a (0a76fa1c6601d1bf.a): MARKING FILE SYSTEM CLEAN
/dev/sd1l (d407b70bfb1f051d.l): 102496 files, 16608876 used, 12973417 free (785 
frags, 1621579 blocks, 0.0% fragmentation)
/dev/sd1l (d407b70bfb1f051d.l): MARKING FILE SYSTEM CLEAN
/dev/sd1d (d407b70bfb1f051d.d): 7 files, 6 used, 2028729 free (41 frags, 253586 
blocks, 0.0% fragmentation)
/dev/sd1d (d407b70bfb1f051d.d): MARKING FILE SYSTEM CLEAN
/dev/sd1f (d407b70bfb1f051d.f): UNREF FILE I=26058  OWNER=root MODE=100444
/dev/sd1f: SIZE=3869336 MTIME=Jan  8 06:32 2025  (CLEARED)
/dev/sd1f (d407b70bfb1f051d.f): UNREF FILE I=751715  OWNER=root MODE=100444
/dev/sd1f: SIZE=325768 MTIME=Jan  8 06:31 2025  (CLEARED)
/dev/sd1f (d407b70bfb1f051d.f): FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
/dev/sd1f (d407b70bfb1f051d.f): SUMMARY INFORMATION BAD (SALVAGED)
/dev/sd1f (d407b70bfb1f051d.f): BLK(S) MISSING IN BIT MAPS (SALVAGED)
/dev/sd1f (d407b70bfb1f051d.f): 72509 files, 2328251 used, 3914092 free (12516 
frags, 487697 blocks, 0.2% fragmentation)
/dev/sd1f (d407b70bfb1f051d.f): MARKING FILE SYSTEM CLEAN
/dev/sd1g (d407b70bfb1f051d.g): 5986 files, 163790 used, 340921 free (2217 
frags, 42338 blocks, 0.4% fragmentation)
/dev/sd1g (d407b70bfb1f051d.g): MARKING FILE SYSTEM CLEAN
/dev/sd1h (d407b70bfb1f051d.h): 52827 files, 1878061 used, 6878922 free (4234 
frags, 859336 blocks, 0.0% fragmentation)
/dev/sd1h (d407b70bfb1f051d.h): MARKING FILE SYSTEM CLEAN
/dev/sd1k (d407b70bfb1f051d.k): 48717 files, 1918220 used, 1126531 free (899 
frags, 140704 blocks, 0.0% fragmentation)
/dev/sd1k (d407b70bfb1f051d.k): MARKING FILE SYSTEM CLEAN
/dev/sd1j (d407b70bfb1f051d.j): 102200 files, 794711 used, 726016 free (184 
frags, 90729 blocks, 0.0% fragmentation)
/dev/sd1j (d407b70bfb1f051d.j): MARKING FILE SYSTEM CLEAN
/dev/sd1e (d407b70bfb1f051d.e): UNREF FILE I=25927  OWNER=root MODE=100444
/dev/sd1e: SIZE=42634 MTIME=Jan  8 06:32 2025  (CLEARED)
/dev/sd1e (d407b70bfb1f051d.e): FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
/dev/sd1e (d407b70bfb1f051d.e): SUMMARY INFORMATION BAD (SALVAGED)
/dev/sd1e (d407b70bfb1f051d.e): BLK(S) MISSING IN BIT MAPS (SALVAGED)
/dev/sd1e (d407b70bfb1f051d.e): 8629 files, 4653454 used, 1439345 free (1409 
frags, 179742 blocks, 0.0% fragmentation)
/dev/sd1e (d407b70bfb1f051d.e): MARKING FILE SYSTEM CLEAN
/dev/sd0l (0a76fa1c6601d1bf.l): 1332610 files, 47973391 used, 29429943 free 
(53767 frags, 3672022 blocks, 0.1% fragmentation)
/dev/sd0l (0a76fa1c6601d1bf.l): MARKING FILE SYSTEM CLEAN
WARNING: R/W mount of /backup denied.  Filesystem is not clean - run fsck
mount_ffs: 71d55a9a25f9e7b0.a on /backup: filesystem must be mounted read-only; 
you may need to run fsck
pf enabled
kern.nosuidcoredump: 1 -> 3
kern.video.record: 0 -> 1
kern.audio.record: 0 -> 1
starting network
ifconfig: bridge0: axen0: No such file or directory
reordering: ld.so libc libcrypto sshd.
starting early daemons: syslogd pflogd.
starting RPC daemons:.
WARNING: R/W mount of /backup denied.  Filesystem is not clean - run fsck
mount_ffs: 71d55a9a25f9e7b0.a on /backup: filesystem must be mounted read-only; 
you may need to run fsck
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 dhcpd rad smtpd httpd sndiod.
Mon Jan 13 17:06:44 CET 2025
WARNING: R/W mount of /backup denied.  Filesystem is not clean - run fsck
mount_ffs: 71d55a9a25f9e7b0.a on /backup: filesystem must be mounted read-only; 
you may need to run fsck
** /dev/sd2a (71d55a9a25f9e7b0.a)
** Last Mounted on /backup
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? yes

SUMMARY INFORMATION BAD
SALVAGE? yes

BLK(S) MISSING IN BIT MAPS
SALVAGE? yes

729360 files, 435909051 used, 48627746 free (72202 frags, 6069443 blocks, 0.0% 
fragmentation)

MARK FILE SYSTEM CLEAN? yes


***** FILE SYSTEM WAS MODIFIED *****
softraid0: sd3 was not shutdown properly
softraid0: sd3 was not shutdown properly
softraid0: sd3 was not shutdown properly
sd3 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd3: 1023999MB, 512 bytes/sector, 2097151408 sectors
softraid0: sd3 was not shutdown properly
softraid0: CRYPTO volume attached as sd3
WARNING: R/W mount of /cbackup/1 denied.  Filesystem is not clean - run fsck
mount_ffs: a20e28fa3d26a717.a on /cbackup/1: filesystem must be mounted 
read-only; you may need to run fsck
** /dev/sd3a (a20e28fa3d26a717.a)
** Last Mounted on /cbackup/1
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
184 files, 76868189 used, 53171322 free (58 frags, 6646408 blocks, 0.0% 
fragmentation)

MARK FILE SYSTEM CLEAN? yes


***** FILE SYSTEM WAS MODIFIED *****
starting local daemons: cron.
Mon Jan 13 17:10:15 CET 2025

OpenBSD/riscv64 (stern.delphinusdns.org) (console)

login:
[EOT]
arcturus# exit

Script done on Mon Jan 13 17:10:22 2025

Reply via email to