[Bug 272772] if_rtw89 rx buf and DMA init fails in 13.2 RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Jul 2023 10:22:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272772

            Bug ID: 272772
           Summary: if_rtw89 rx buf and DMA init fails in 13.2 RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: immu.ahmed1905@gmail.com

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.

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