Re: How to test MediaTek mt7921!

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sun, 23 Aug 2026 07:12:12 UTC
On Sat, 22 Aug 2026, Raúl Zighelboim wrote:

> During the first VAP creation attempt I also saw WITNESS warnings about
> sleeping allocations while lkpi-priv-dma was held. The stack included:
>
>  linux_dma_map_phys_common
>  mt76_dma_tx_queue_skb_raw
>  mt76_mcu_skb_send_and_get_msg
>  mt76_connac_mcu_set_mac_enable
>  mt7921_start
>  lkpi_ic_vap_create
>
> Please let me know which debugfs data, boot logs or additional debug
> options would be most useful. I can rebuild and test patches on this
> machine.

Please try to set a tunable in loader.conf according to (3) from
https://lists.freebsd.org/archives/freebsd-wireless/2026-July/004375.html
(you have to reboot after editing loader.conf).


If you have further trouble please use a bootverbose (boot -v) and report
the full relevant dmesg details as well as the output of
 	pciconf -lv mt79210 
(or if the driver is not loaded the equivalent pci device).


/bz


-- 
For there shall arise false Christs, and false prophets, and shall shew
great signs and wonders; insomuch that, if it were possible, they shall
deceive the very elect. Behold, I have told you before. [Mat. 24:24-25]