Hi,

I know, the Raspberry Pi Zero 2 is officially not supported by OpenBSD,
but in general, it runs fine with the correct dtb. The Pi Zero 2 is connected
to an Waveshare PoE Ethernet/USB hub, with an RTL8152B ethernet chip.
Usually after a day or two, OpenBSD 7.8 panics. These panics also
happened with OpenBSD 7.7.
Machine is just running a standard OpenBSD installation with ssh and
AdGuardHome, no other services are running.

ddb{0}> show panic
*cpu0: kernel diagnostic assertion "dxfer->xfer.status == USBD_IN_PROGRESS" fai
led: file "/usr/src/sys/dev/usb/dwc2/dwc2.c", line 308

ddb{0}> trace
db_enter() at panic+0x138
panic() at __assert+0x28
panic() at dwc2_softintr+0x194
dwc2_softintr() at softintr_dispatch+0xc8
softintr_dispatch() at arm_do_pending_intr+0xb8
arm_do_pending_intr() at bcm_intc_irq_handler+0x188
bcm_intc_irq_handler() at arm_cpu_irq+0x44
arm_cpu_irq() at handle_el1h_irq+0x68
handle_el1h_irq() at _kernel_lock+0xac
--- interrupt ---
_kernel_lock() at vn_write+0x3c
vn_write() at dofilewritev+0x118
dofilewritev() at sys_write+0x50
sys_write() at svc_handler+0x450
svc_handler() at do_el0_sync+0x1cc
do_el0_sync() at handle_el0_sync+0x70
handle_el0_sync() at 0x4f593bbcc
--- trap ---
end of kernel

ddb{0}> machine ddbcpu 1
After executing this, the Pi Zero 2 just hangs, no further output.


I’m also attaching dmesg here, as it shows an error on the ure0 interface
right before the panic:
ddb{0}> dmesg
OpenBSD 7.8 (GENERIC.MP) #1: Sat Nov 29 11:06:26 MST 2025
    [email protected]:/usr/src/sys/arch/arm64/compile/GENERIC.
MP
real mem  = 468172800 (446MB)
avail mem = 415092736 (395MB)
random: good seed from bootblocks
mainbus0 at root: Raspberry Pi Zero 2 W Rev 1.0
efi0 at mainbus0: UEFI 2.11
efi0: Das U-Boot rev 0x20250700
smbios0 at efi0: SMBIOS 3.7.0
smbios0: vendor U-Boot version "2025.07" date 07/01/2025
smbios0: raspberrypi Raspberry Pi Zero 2 W Rev 1.0
cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4
cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 512KB 64b/line 16-way L2 cache
cpu0: CRC32,ASID16
cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4
cpu1: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu1: 512KB 64b/line 16-way L2 cache
cpu2 at mainbus0 mpidr 2: ARM Cortex-A53 r0p4
cpu2: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu2: 512KB 64b/line 16-way L2 cache
cpu3 at mainbus0 mpidr 3: ARM Cortex-A53 r0p4
cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu3: 512KB 64b/line 16-way L2 cache
"linux,cma" at mainbus0 not configured
apm0 at mainbus0
simplefb0 at mainbus0: 656x416, 32bpp
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0-5 added (std, vt100 emulation)
"system" at mainbus0 not configured
"axi" at mainbus0 not configured
simplebus0 at mainbus0: "soc"
bcmclock0 at simplebus0
bcmmbox0 at simplebus0
bcmgpio0 at simplebus0
bcmaux0 at simplebus0
bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA8 DMA9 DMA10 DMA11
bcmintc0 at simplebus0
pluart0 at simplebus0: rev 2, 16 byte fifo
pluart0: console
bcmsdhost0 at simplebus0: 250 MHz base clock
sdmmc0 at bcmsdhost0: 4-bit, sd high-speed, mmc high-speed, dma
dwctwo0 at simplebus0
bcmdog0 at simplebus0
bcmrng0 at simplebus0
bcmtemp0 at simplebus0
"interrupt-controller" at simplebus0 not configured
sdhc0 at simplebus0
sdhc0: SDHC 3.00, 200 MHz base clock
sdmmc1 at sdhc0: 4-bit, sd high-speed, mmc high-speed
"firmware" at simplebus0 not configured
"power" at simplebus0 not configured
"mailbox" at simplebus0 not configured
"gpiomem" at simplebus0 not configured
"fb" at simplebus0 not configured
simplebus1 at simplebus0: "nvmem"
"nvmem_otp" at simplebus1 not configured
"nvmem_cust" at simplebus1 not configured
simplebus2 at mainbus0: "clocks"
"clk-osc" at simplebus2 not configured
"clk-usb" at simplebus2 not configured
"phy" at mainbus0 not configured
"arm-pmu" at mainbus0 not configured
agtimer0 at mainbus0: 19200 kHz
"cam1_regulator" at mainbus0 not configured
"cam_dummy_reg" at mainbus0 not configured
"fixedregulator_3v3" at mainbus0 not configured
"fixedregulator_5v0" at mainbus0 not configured
gpioleds0 at mainbus0: "ACT"
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev 2.00/1.0
0 addr 1
scsibus0 at sdmmc0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Sandisk, SD32G, 0085> removable
sd0: 30436MB, 512 bytes/sector, 62333952 sectors
uhub1 at uhub0 port 1 configuration 1 interface 0 "Terminus Technology USB 2.0 H
ub" rev 2.00/1.11 addr 2
bwfm0 at sdmmc1 function 1
manufacturer 0x02d0, product 0xa9a6 at sdmmc1 function 2 not configured
ure0 at uhub1 port 4 configuration 1 interface 0 "Realtek USB 10/100 LAN" rev 2
.00/20.00 addr 3
ure0: RTL8152 (0x4c10), address 00:e0:4c:36:01:37
rlphy0 at ure0 phy 0: RTL8201E, rev. 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (214d5602f304b9de.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
WARNING: CHECK AND RESET THE DATE!
gpio0 at bcmgpio0: 54 pins
bwfm0: address d8:3a:dd:32:17:f6
<4>pluart0: 0 silo overflows, 6 ibuf overflows
umass0 at uhub1 port 1 configuration 1 interface 0 "USB SanDisk 3.2Gen1" rev 2.
10/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd1 at scsibus3 targ 1 lun 0: <USB, SanDisk 3.2Gen1, 1.00> removable serial.078
155a9052225031913
sd1: 117348MB, 512 bytes/sector, 240328704 sectors
sd1 detached
scsibus3 detached
umass0 detached
ure0: usb error on tx: IN_PROGRESS
usb_insert_transfer: xfer=0xffffff8003c69a20 not free
panic: kernel diagnostic assertion "dxfer->xfer.status == USBD_IN_PROGRESS" fai
led: file "/usr/src/sys/dev/usb/dwc2/dwc2.c", line 308
Stopped at      db_enter+0x18:  brk     #0xf000
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*243840  57526      0         0x3  0x4000000    0K AdGuardHome
 418029  11385      0     0x14000      0x200    2  sdmmc0
db_enter() at panic+0x138
panic() at __assert+0x28
panic() at dwc2_softintr+0x194
dwc2_softintr() at softintr_dispatch+0xc8
softintr_dispatch() at arm_do_pending_intr+0xb8
arm_do_pending_intr() at bcm_intc_irq_handler+0x188
bcm_intc_irq_handler() at arm_cpu_irq+0x44
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}> ddb{0}> ddb{0}> ddb{0}> Bad character
?

If more info is needed, please let me know.

Reply via email to