Re: How to test MediaTek mt7921!
- In reply to: Bjoern A. Zeeb: "How to test MediaTek mt7921!"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jul 2026 11:26:31 UTC
On Tue, 28 Jul 2026, Bjoern A. Zeeb wrote:
Hi,
various updates:
(1)
> https://reviews.freebsd.org/D58479 mt76: mt7921: update man page
That review is in main now and will be MFCed to stable/15 approx end of the week.
(2)
If you have trouble updating this in single user mode (mount -uw /, vi /etc/rc.conf, ..)
> * If anything goes wrong boot into single user and add
> devmatch_blacklist="${devmatch_blacklist} if_mt7921"
> to rc.conf, which will prevent the driver from being automatically loaded.
you can also type this into the loader prompt:
devmatch_blocklist="if_mt7921"
which should help for that boot so you can add rc.conf from multi user.
(3)
There is a bug in generic LinuxKPI which was discovered by one of you:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297121
This was leading to timeouts and mt7921 not working. A temporary workaround
would be to set the following in your loader.conf to avoid bouncing:
compat.linuxkpi.skb.mem_limit=1
(4)
I am aware of one case where the chipset would not work but only run into
timeouts upon loading firmware. I've head similar problems last year, which
are documented at:
https://github.com/FreeBSDFoundation/proj-laptop/issues/66#issuecomment-3418857232
and the following comments down to end of November. I had the same issue
on Linux on these Laptops.
You would see messages similar to
mt7921e 0000:02:00.0: Message 000021ed (seq 1) timeout
along with others like:
mt7921e 0000:02:00.0: Timeout for driver own
or:
.. failed to release patch semaphore
I am trying to see what can be done about this, especially given laptops ship
with the card included, so should be a good combination of HW.
(5)
Lastly! We also had a success story of someone able to associate and having packets.
That's it for now. Please keep us updated if you are trying it out!
/bz
--
Bjoern A. Zeeb r15:7