https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283903

--- Comment #17 from Bjoern A. Zeeb <b...@freebsd.org> ---
This may or may not be the same problem (and I do have four different Realtek
cards in this system) but another possible data point:

db> show malloc
              Type        InUse        MemUse     Requests
           lkpiskb       212076      885_168K      6581552 <<<<
            bounce         8336        33344K         8336
          mbuf_tag       203410        12721K     10820863  <<<
...

db> show uma
              Zone   Size    Used    Free    Requests  Sleeps  Bucket  Total
Mem    XFree
              mbuf    256  229803    1084    41147484       0     254  
59107072        0 <<<<
      mbuf_cluster   2048   18161    1651     9708177       0     254  
40574976        0
         malloc-64     64  204469    1541      278960       0     254  
13184640        0
         vmem btag     56  224005     402      230802       0     254  
12566792        0
...


It started like (but no SKB alloc failures in the log):

rtw881: failed to dequeue 3967 skb TX queue 5, BD=0xffffffff, rp 127 -> 4095^M
rtw881: failed to dequeue 4094 skb TX queue 6, BD=0xffffffff, rp 0 -> 4095^M
rtw881: failed to dequeue 4008 skb TX queue 1, BD=0xffffffff, rp 86 -> 4095^M
rtw881: failed to dequeue 4094 skb TX queue 0, BD=0xffffffff, rp 0 -> 4095^M
rtw881: failed to dequeue 4094 skb TX queue 3, BD=0xffffffff, rp 0 -> 4095^M
rtw881: failed to dequeue 4094 skb TX queue 2, BD=0xffffffff, rp 0 -> 4095^M
rtw881: failed to dequeue 4091 skb TX queue 7, BD=0xffffffff, rp 3 -> 4095^M
rtw881: unhandled firmware c2h interrupt^M
rtw881: pci bus timeout, check dma status^M
rtw881: pci bus timeout, check dma status^M
rtw880: failed to send h2c command^M
rtw881: pci bus timeout, check dma status^M
rtw881: pci bus timeout, check dma status^M
rtw881: pci bus timeout, check dma status^M
rtw881: pci bus timeout, check dma status^M
...

rtw881 is:
[109.713728] rtw881: <rtw_8821ce> port 0x3000-0x30ff mem 0xd0100000-0xd010ffff
irq 41 at device 0.0 on pci9^M
[109.732101] rtw88/rtw8821c_fw.bin: could not load firmware image, error 8^M
[109.737883] Trying to load binary firmware from
/boot/firmware/rtw88/rtw8821c_fw.bin^M
[109.759739] firmware: '/boot/firmware/rtw88/rtw8821c_fw.bin' version 0: 139472
bytes loaded at 0xfffffe0087a82000^M
[109.768918] rtw88/rtw8821c_fw.bin: Loaded binary firmware using
/boot/firmware/rtw88/rtw8821c_fw.bin^M
[109.777329] rtw881: successfully loaded firmware image
'rtw88/rtw8821c_fw.bin'^M
[109.783534] rtw881: Firmware version 24.11.0, H2C version 12^M

db> trace 100239
Tracing pid 0 tid 100239 td 0xfffff80005fbb740
kdb_alt_break_internal() at kdb_alt_break_internal+0x15d/frame
0xfffffe0068f7d940
kdb_alt_break() at kdb_alt_break+0xb/frame 0xfffffe0068f7d950
uart_intr_rxready() at uart_intr_rxready+0xf4/frame 0xfffffe0068f7d980
uart_intr() at uart_intr+0x138/frame 0xfffffe0068f7d9c0
intr_event_handle() at intr_event_handle+0xc8/frame 0xfffffe0068f7da30
intr_execute_handlers() at intr_execute_handlers+0x63/frame 0xfffffe0068f7da60
Xapic_isr1() at Xapic_isr1+0xdc/frame 0xfffffe0068f7da60
--- interrupt, rip = 0xffffffff8106e0d8, rsp = 0xfffffe0068f7db30, rbp =
0xfffffe0068f7db40 ---
spinlock_exit() at spinlock_exit+0x38/frame 0xfffffe0068f7db40
sbuf_printf_drain() at sbuf_printf_drain+0xaa/frame 0xfffffe0068f7db80
sbuf_drain() at sbuf_drain+0x57/frame 0xfffffe0068f7dba0
sbuf_finish() at sbuf_finish+0x8c/frame 0xfffffe0068f7dbc0
device_printf() at device_printf+0x10b/frame 0xfffffe0068f7dd10
rtw_pci_napi_poll() at rtw_pci_napi_poll+0x20e/frame 0xfffffe0068f7de20   <<<<
lkpi_napi_task() at lkpi_napi_task+0x1f/frame 0xfffffe0068f7de40
taskqueue_run_locked() at taskqueue_run_locked+0x1c2/frame 0xfffffe0068f7dec0
taskqueue_thread_loop() at taskqueue_thread_loop+0xd3/frame 0xfffffe0068f7def0
fork_exit() at fork_exit+0x82/frame 0xfffffe0068f7df30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0068f7df30
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---

Sadly I cannot dump here to gather more info later but I'll go and check and
keep an eye on this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to