[Bug 282037] rtw89

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 12 Oct 2024 17:31:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282037

            Bug ID: 282037
           Summary: rtw89
           Product: Base System
           Version: 14.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: phil.vuchetich@gmail.com

Created attachment 254186
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254186&action=edit
dmesg after the above steps

The work in progress version of the rtw89 rtl8852be driver/firmware does not
yet work on my PC. This should be filed under the 273621 rtw89 meta-bug per
Bjoern Zeeb to validate the work in progress. It is possible (likely) that I am
missing a step.

The notebook PC is an HP14 i3 with the rtl8852be wifi chipset. An initial test
with a recent version of Linux showed the chipset is supported by the Linux
kernel (likely only with kernel >=6.2).

The current process was:

download FreeBSD-14.1-STABLE-amd64-20241003-ed03c3099086-268968-disc1.iso,
install via Ventoy USB, only use defaults, only create root user. USB wired
ethernet is automatically detected and supported for internet access for the
following steps:


# git clone https://github.com/freebsd/wireless/tree/bz_drv_update_v6.11
/usr/src
# cd /usr/src
# git checkout bz_drv_update_v6.11
# make buildkernel installkernel
# reboot
# cd /usr/src/sys/modules/rtw89
# make && make install
# reboot
# fwget

Needed firmware packages: 'gpu-firmware-intel-kmod-alderlake
gpu-firmware-intel-kmod-tigerlake wifi-firmware-rtw89-kmod-rtw8852b'
The most recent versions of packages are already installed

--I didn't capture the fwget output the first time running it, but it did
download firmware-the output above is after running a second time.

# reboot
# dmesg > dmesg20241012-rtw89 
(see attachment for full dmesg)

...
rtw890: <rtw89_8852be> port 0x3000-0x30ff mem 0x80500000-0x805fffff at device
0.0 on pci1
rtw8852b_fw-1.bin: could not load binary firmware
/boot/firmware/rtw8852b_fw-1.bin either
rtw89/rtw8852b_fw-1.bin: could not load binary firmware
/boot/firmware/rtw89/rtw8852b_fw-1.bin either
rtw89_rtw8852b_fw-1.bin: could not load binary firmware
/boot/firmware/rtw89_rtw8852b_fw-1.bin either
rtw89_rtw8852b_fw-1_bin: could not load binary firmware
/boot/firmware/rtw89_rtw8852b_fw-1_bin either
KLD rtw89_rtw8852b_fw_1_bin.ko: depends on kernel - not available or version
mismatch
...

#find / -name rtw8852b*
--27 files found are under /usr/src and usr/obj - none under /boot

#find / -name rtw89_rtw8852b*
/boot/modules/rtw89_rtw8852b_fw_1_bin.ko

Notes: retesting will use a clean install from the most recent snapshot. Let me
know if there are other steps I should try.

-- 
You are receiving this mail because:
You are the assignee for the bug.