The officially official Devuan Forum!

You are not logged in.

#1 2020-02-17 14:21:59

uther
Member
Registered: 2019-05-16
Posts: 32  

[SOLVED] Beowulf and Realtek rtl8822be wifi firmware issue

I've found an issue with Realtek 8822 WiFi card after upgrading to Beowulf. It seems like firmware changed location because in /lib/firmware are:

/lib/firmware/rtl_bt/rtl8822b_config.bin
/lib/firmware/rtl_bt/rtl8822b_fw.bin
/lib/firmware/rtl_bt/rtl8822cu_fw.bin
/lib/firmware/rtlwifi/rtl8822befw.bin

but /lib/firmware/rtw88 does not exist:

dmesg | grep 8822
[   13.187885] rtw_pci 0000:02:00.0: firmware: failed to load rtw88/rtw8822b_fw.bin (-2)
[   13.187889] rtw_pci 0000:02:00.0: Direct firmware load for rtw88/rtw8822b_fw.bin failed with error -2
lspci
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
lshw -C network
  *-network DISABLED        
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: eth0
       version: 0e
       serial: 
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical
       configuration: broadcast=yes driver=r8169 latency=0 link=no multicast=yes
       resources: irq:72 ioport:3400(size=256) memory:c0814000-c0814fff memory:c0800000-c0803fff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: eth1
       version: 10
       serial: 
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168g-3_0.0.1 04/23/13 ip=192.168.88.87 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:73 ioport:2000(size=256) memory:c0704000-c0704fff memory:c0700000-c0703fff
dpkg --get-selections | grep firmware
firmware-linux-free				install
firmware-realtek				install

Last edited by uther (2020-02-17 16:13:06)

Offline

#2 2020-02-17 15:12:36

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 560  
Website

Re: [SOLVED] Beowulf and Realtek rtl8822be wifi firmware issue

I found this but the referenced bug seems to apply to kernel >5.0. I presume you're using the 4.19 LTS branch with beowulf?

Just to be sure can we see

uname -a
sudo dmesg | grep firmware
lspci -knn | grep -A2 WiFi
ip link

"Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher." — Antoine de Saint-Exupéry

Offline

#3 2020-02-17 15:15:07

HevyDevy
Member
Registered: 2019-09-06
Posts: 167  

Re: [SOLVED] Beowulf and Realtek rtl8822be wifi firmware issue

Did /lib/firmware/rtw88 exist ascii ?

Offline

#4 2020-02-17 15:37:08

uther
Member
Registered: 2019-05-16
Posts: 32  

Re: [SOLVED] Beowulf and Realtek rtl8822be wifi firmware issue

Head_on_a_Stick wrote:

I found this but the referenced bug seems to apply to kernel >5.0. I presume you're using the 4.19 LTS branch with beowulf?

Sh*t, I forgot to mention. I'm on 5.4.0-0.

uname -a
Linux user 5.4.0-0.bpo.2-rt-amd64 #1 SMP PREEMPT_RT Debian 5.4.8-1~bpo10+1 (2020-01-07) x86_64 GNU/Linux
dmesg | grep firmware 
[   13.187885] rtw_pci 0000:02:00.0: firmware: failed to load rtw88/rtw8822b_fw.bin (-2)
[   13.187887] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[   13.187889] rtw_pci 0000:02:00.0: Direct firmware load for rtw88/rtw8822b_fw.bin failed with error -2
[   13.187892] rtw_pci 0000:02:00.0: failed to request firmware
[   13.204310] rtw_pci 0000:02:00.0: failed to load firmware
[   28.347329] r8169 0000:05:00.0: firmware: direct-loading firmware rtl_nic/rtl8168g-3.fw
lspci -knn | grep -A2 WiFi
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]
	Subsystem: Lenovo RTL8822BE 802.11a/b/g/n/ac WiFi adapter [17aa:b023]
	Kernel modules: rtwpci
ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether e8:6a:54:64:52:43 brd ff:ff:ff:ff:ff:ff
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether e8:6a:54:64:52:42 brd ff:ff:ff:ff:ff:ff
HevyDevy wrote:

Did /lib/firmware/rtw88 exist ascii ?

Unfortunately I've migrated to Beowulf on all my machines. Maybe someone else can tell. I assume yes, because before migration WiFi worked.

Last edited by uther (2020-02-17 15:39:59)

Offline

#5 2020-02-17 15:39:51

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 560  
Website

Re: [SOLVED] Beowulf and Realtek rtl8822be wifi firmware issue

uther wrote:

I'm on 5.4.0-0

Either switch to the non-backports kernel or build a new module from Larry Finger's github site.

The Ubuntu kernels are fixed now but the twats haven't passed it upstream. As usual.


"Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher." — Antoine de Saint-Exupéry

Offline

#6 2020-02-17 16:12:38

uther
Member
Registered: 2019-05-16
Posts: 32  

Re: [SOLVED] Beowulf and Realtek rtl8822be wifi firmware issue

Head_on_a_Stick wrote:

build a new module from Larry Finger's github site.

That solved the issue.

Offline

Board footer