>Synopsis:      <synopsis of the problem (one line)>
>Category:      <PR category (one line)>
>Environment:
        System      : OpenBSD 7.5
        Details     : OpenBSD 7.5 (GENERIC.MP) #1: Fri Mar 22 19:01:44 MDT 2024
                         
dera...@riscv64.openbsd.org:/usr/src/sys/arch/riscv64/compile/GENERIC.MP

        Architecture: OpenBSD.riscv64
        Machine     : riscv64
>Description:
        random kernel panic. Please find below ddb traces:



ddb{0}> show panic
*cpu0: Fatal page fault at 0xffffffc0004de424: 0x5542e7b819


ddb{0}> trace
panic() at panic+0x102
do_trap_supervisor() at do_trap_supervisor+0x1e0
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
pool_cache_get() at pool_cache_get+0x70
m_clget() at m_clget+0x12c
dwqe_alloc_mbuf() at dwqe_alloc_mbuf+0x26
dwqe_fill_rx_ring() at dwqe_fill_rx_ring+0x42
dwqe_rx_proc() at dwqe_rx_proc+0x14a
dwqe_intr() at dwqe_intr+0x5e
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
rw_enter() at rw_enter+0x2a
kqueue_scan() at kqueue_scan+0x376
sys_kevent() at sys_kevent+0x306
svc_handler() at svc_handler+0x3d4
do_trap_user() at do_trap_user+0x158
cpu_exception_handler_user() at cpu_exception_handler_user+0x7c
end of kernel
end trace frame: 0xd16a7746c, count: -19

ddb{0}> machine ddbcpu 1
Stopped at      ipi_intr+0x22:  c.li    a0,1
ipi_intr() at ipi_intr+0x22
riscv_cpu_intr() at riscv_cpu_intr+0x20
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
sched_idle() at sched_idle+0x1fe
proc_trampoline() at proc_trampoline+0xc
end trace frame: 0x0, count: 10

ddb{1}> trace
ipi_intr() at ipi_intr+0x22
riscv_cpu_intr() at riscv_cpu_intr+0x20
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a
sched_idle() at sched_idle+0x1fe
proc_trampoline() at proc_trampoline+0xc
end trace frame: 0x0, count: -5



dmesg:
OpenBSD 7.5 (GENERIC.MP) #1: Fri Mar 22 19:01:44 MDT 2024
    dera...@riscv64.openbsd.org:/usr/src/sys/arch/riscv64/compile/GENERIC.MP
real mem  = 4294967296 (4096MB)
avail mem = 8105844736 (7730MB)
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: 49 MHz base clock
sdmmc0 at dwmmc0: 8-bit, mmc high-speed, dma
dwmmc1 at simplebus0: 49 MHz base clock
sdmmc1 at dwmmc1: 4-bit, sd high-speed, dma
dwqe0 at simplebus0 gmac 0: rev 0x52, address 6c:cf:39:00:83:c6
ytphy0 at dwqe0 phy 0: YT8531 10/100/1000 PHY, rev. 11
dwqe1 at simplebus0 gmac 1: rev 0x52, address 6c:cf:39:00:83:c7
dwqe1: reset timeout
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
0:0:0: bridge mem address conflict 0x900000000/0x100000
ppb1 at pci2 dev 0 function 0 "PLDA XpressRICH-AXI" rev 0x00
pci3 at ppb1 bus 1
gpiorestart0 at mainbus0
"clk_ext_camera" at mainbus0 not configured
"framebuffer" at mainbus0 not configured
scsibus0 at sdmmc1: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Sandisk, SN32G, 0080> removable
sd0: 30424MB, 512 bytes/sector, 62309376 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
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (fe62fe2070655399.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
WARNING: CHECK AND RESET THE DATE!

usbdevs:
Controller /dev/usb0:
addr 01: 1106:0000 VIA, xHCI root hub
         super speed, self powered, config 1, rev 1.00
         driver: uhub0
addr 02: 2109:3431 vendor 0x2109, USB2.0 Hub
         high speed, self powered, config 1, rev 4.20
         driver: uhub1
addr 03: 1a86:7523 vendor 0x1a86, USB Serial
         full speed, power 98 mA, config 1, rev 2.64
         driver: uchcom0

pcidump:
Domain /dev/pci0:
 0:0:0: PLDA XpressRICH-AXI
        0x0000: Vendor ID: 1556, Product ID: 1111
        0x0004: Command: 0006, Status: 0010
        0x0008: Class: 06 Bridge, Subclass: 04 PCI,
                Interface: 00, Revision: 00
        0x000c: BIST: 00, Header Type: 01, Latency Timer: 00,
                Cache Line Size: 08
        0x0010: BAR mem prefetchable 64bit addr: 0x0000000000000000/0x00004000
        0x0018: Primary Bus: 0, Secondary Bus: 1, Subordinate Bus: 1,
                Secondary Latency Timer: 00
        0x001c: I/O Base: 00, I/O Limit: 00, Secondary Status: 0000
        0x0020: Memory Base: 3000, Memory Limit: 3000
        0x0024: Prefetch Memory Base: 0001, Prefetch Memory Limit: 0001
        0x0028: Prefetch Memory Base Upper 32 Bits: 00000009
        0x002c: Prefetch Memory Limit Upper 32 Bits: 00000008
        0x0030: I/O Base Upper 16 Bits: 0000, I/O Limit Upper 16 Bits: 0000
        0x0038: Expansion ROM Base Address: 00000000
        0x003c: Interrupt Pin: 01, Line: 00, Bridge Control: 0000
        0x0080: Capability 0x10: PCI Express
                Max Payload Size: 128 / 128 bytes
                Max Read Request Size: 512 bytes
                Link Speed: 5.0 / 5.0 GT/s
                Link Width: x1 / x1
        0x0100: Enhanced Capability 0x0b: Vendor-Specific
        0x0200: Enhanced Capability 0x01: Advanced Error Reporting
        0x00e0: Capability 0x05: Message Signalled Interrupts (MSI)
                Enabled: no; 32 vectors (1 enabled)
        0x00f8: Capability 0x01: Power Management
                State: D0
        0x0000: 11111556 00100006 06040000 00010008
        0x0010: 0000000c 00000000 00010100 00000000
        0x0020: 30003000 00010001 00000009 00000008
        0x0030: 00000000 00000080 00000000 00000100
        0x0040: 00000000 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 0142e010 00008020 00012910 01600c12
        0x0090: 40120000 00000000 00000000 00000000
        0x00a0: 00000000 0010081f 00000000 00000006
        0x00b0: 00010042 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 018af805 00000000 00000000 00000000
        0x00f0: 00000000 00000000 fe030001 00000008
 1:0:0: VIA VL805 xHCI
        0x0000: Vendor ID: 1106, Product ID: 3483
        0x0004: Command: 0006, Status: 0010
        0x0008: Class: 0c Serial Bus, Subclass: 03 USB,
                Interface: 30, Revision: 01
        0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR mem 64bit addr: 0x0000000030000000/0x00001000
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1106 Product ID: 3483
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 00 Min Gnt: 00 Max Lat: 00
        0x0080: Capability 0x01: Power Management
                State: D0
        0x0090: Capability 0x05: Message Signalled Interrupts (MSI)
                Enabled: no; 4 vectors (1 enabled)
        0x00c4: Capability 0x10: PCI Express
                Max Payload Size: 128 / 256 bytes
                Max Read Request Size: 512 bytes
                Link Speed: 5.0 / 5.0 GT/s
                Link Width: x1 / x1
        0x0100: Enhanced Capability 0x01: Advanced Error Reporting
        0x0000: 34831106 00100006 0c033001 00000000
        0x0010: 30000004 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 34831106
        0x0030: 00000000 00000080 00000000 00000100
        0x0040: 00000000 00000100 40083009 00000000
        0x0050: 00013726 00000000 00000000 34831106
        0x0060: 00002030 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 89c39001 00000000 00000000 00000000
        0x0090: 0084c405 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00002000 00020010 00008001 00112810
        0x00d0: 00065012 10120000 00000000 00000000
        0x00e0: 00000000 00000000 00000012 00000000
        0x00f0: 00000000 00010022 00000000 00000000
Domain /dev/pci1:
 0:0:0: PLDA XpressRICH-AXI
        0x0000: Vendor ID: 1556, Product ID: 1111
        0x0004: Command: 0006, Status: 0010
        0x0008: Class: 06 Bridge, Subclass: 04 PCI,
                Interface: 00, Revision: 00
        0x000c: BIST: 00, Header Type: 01, Latency Timer: 00,
                Cache Line Size: 08
        0x0010: BAR mem prefetchable 64bit addr: 0x0000000000000000/0x00004000
        0x0018: Primary Bus: 0, Secondary Bus: 1, Subordinate Bus: 1,
                Secondary Latency Timer: 00
        0x001c: I/O Base: 00, I/O Limit: 00, Secondary Status: 0000
        0x0020: Memory Base: 3800, Memory Limit: 37f0
        0x0024: Prefetch Memory Base: 0001, Prefetch Memory Limit: 0001
        0x0028: Prefetch Memory Base Upper 32 Bits: 00000009
        0x002c: Prefetch Memory Limit Upper 32 Bits: 00000009
        0x0030: I/O Base Upper 16 Bits: 0000, I/O Limit Upper 16 Bits: 0000
        0x0038: Expansion ROM Base Address: 00000000
        0x003c: Interrupt Pin: 01, Line: 00, Bridge Control: 0000
        0x0080: Capability 0x10: PCI Express
                Max Payload Size: 128 / 128 bytes
                Max Read Request Size: 512 bytes
                Link Speed: 2.5 / 5.0 GT/s
                Link Width: x0 / x1
        0x0100: Enhanced Capability 0x0b: Vendor-Specific
        0x0200: Enhanced Capability 0x01: Advanced Error Reporting
        0x00e0: Capability 0x05: Message Signalled Interrupts (MSI)
                Enabled: no; 32 vectors (1 enabled)
        0x00f8: Capability 0x01: Power Management
                State: D0
        0x0000: 11111556 00100006 06040000 00010008
        0x0010: 0000000c 00000000 00010100 00000000
        0x0020: 37f03800 00010001 00000009 00000009
        0x0030: 00000000 00000080 00000000 00000100
        0x0040: 00000000 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 0142e010 00008020 00002910 01600c12
        0x0090: 00010000 00000000 00000000 00000000
        0x00a0: 00000000 0010081f 00000000 00000006
        0x00b0: 00000042 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 018af805 00000000 00000000 00000000
        0x00f0: 00000000 00000000 fe030001 00000008

acpidump:

Reply via email to