Bug 272772 - if_rtw89 rx buf and DMA init fails in 13.2 RELEASE
Summary: if_rtw89 rx buf and DMA init fails in 13.2 RELEASE
Status: Closed Works As Intended
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.2-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-wireless (Nobody)
URL:
Keywords: feature
Depends on:
Blocks: 273621
  Show dependency treegraph
 
Reported: 2023-07-28 10:22 UTC by Driver coder
Modified: 2024-10-09 22:45 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Driver coder 2023-07-28 10:22:31 UTC
Hardware was working OK:
none10@pci0:113:0:0:    class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec device=0xb852 subvendor=0x10ec subdevice=0xb887
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    class      = network

When try to load the RTW89 driver module(if_rtw89.ko), FW loaded successfully but fails to init rx buf and DMA Rx

dmesg Logs:
rtw89_8852be0: <rtw89_8852be> port 0x3000-0x30ff mem 0x9fe00000-0x9fefffff at device 0.0 on pci6
rtw89_8852be0: successfully loaded firmware image 'rtw89/rtw8852b_fw.bin'
rtw89_8852be0: loaded firmware rtw89/rtw8852b_fw.bin
rtw89_8852be0: successfully loaded firmware image 'rtw89/rtw8852b_fw.bin'
rtw89_8852be0: failed to init rx buf 0
rtw89_8852be0: failed to alloc rx ring 0
rtw89_8852be0: failed to alloc dma rx rings
rtw89_8852be0: failed to alloc pci trx rings
rtw89_8852be0: failed to setup pci resource
device_attach: rtw89_8852be0 attach returned 16


Note: Same I have tried it on Linux with same chipset - working fine.
Comment 1 Bjoern A. Zeeb freebsd_committer freebsd_triage 2024-10-09 22:45:50 UTC
I'll close this as the driver was never officially supported and certain problems have since been overcome by changes from me and others.
So this worked as expected at that time.