Re: amd64 boot crash for lack of being set up to use of rtw89; linuxkpi calls on the stack, 0xdeadc0dedeadc13e and such involved, devfs_ioctl with dsw=0xdeadc0dedeadc0de

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sat, 25 Jul 2026 20:46:46 UTC
On Sat, 25 Jul 2026, Mark Millard wrote:

>>> There's D57430 and D57431 still open that no one has reviewed so far.
>>> You could try to apply them.
>>
>> I expect I'll take a look at doing such later.
>
> D57431 did not apply cleanly to the source code that pkgbase supplied in
> /usr/src/sys/ (started from not having the prior one line patch you had
> me test):
>
> # git apply D57430.diff
> # git apply D57431.diff
> error: patch failed: sys/compat/linuxkpi/common/src/linux_pci.c:342
> error: sys/compat/linuxkpi/common/src/linux_pci.c: patch does not apply

Maybe just start with D57430 for now.

I'll go and rebase D57431, which addresses yet another problem there.


One other thing you could do for testing, which does not require
recompiling anything is adding:

devmatch_blacklist="if_rtw89"

to rc.conf and see if things then at least boot.

/bz

-- 
Bjoern A. Zeeb                                                     r15:7