unable to load firmware patch rtl_nic/rtlXXXX

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

unable to load firmware patch rtl_nic/rtlXXXX

Postby NeoSeppl » Fri Jan 03, 2025 8:27 am

Hi,

experiencing warnings for my two Realtek USB NICs while booting my Raspberry Pi 4 Model B Rev 1.1

Kernel is Linux underworld 6.12.6-1-rpi #1 SMP PREEMPT Fri Dec 20 07:11:12 MST 2024 aarch64 GNU/Linux

Errors in Kernel log:

[code]
usb 2-1: New USB device found, idVendor=0bda, idProduct=8156, bcdDevice=31.04
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
usb 2-1: Product: USB 10/100/1G/2.5G LAN
usb 2-1: Manufacturer: Realtek
usb 2-1: SerialNumber: xxxxxxxx
r8152-cfgselector 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
r8152 2-1:1.0: Direct firmware load for rtl_nic/rtl8156b-2.fw failed with error -2
r8152 2-1:1.0: unable to load firmware patch rtl_nic/rtl8156b-2.fw (-2)
r8152 2-1:1.0 eth1: v1.12.13

...

usb 2-2: new SuperSpeed USB device number 3 using xhci_hcd
usb 2-2: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
usb 2-2: Product: USB 10/100/1000 LAN
usb 2-2: Manufacturer: Realtek
usb 2-2: SerialNumber: 000001
r8152-cfgselector 2-2: reset SuperSpeed USB device number 3 using xhci_hcd
r8152 2-2:1.0: Direct firmware load for rtl_nic/rtl8153a-4.fw failed with error -2
r8152 2-2:1.0: unable to load firmware patch rtl_nic/rtl8153a-4.fw (-2)
r8152 2-2:1.0 eth2: v1.12.13[/code]

How can I get rid of those?

I did some investigation by myself:
- Firmware files are present and located under /usr/lib/firmware/rtl_nic/
- Firmware files are not included in the mkinitcpio image
- fwupd is not installed (do I need it?)

Appreciate some hints / ideas to solve. Thx.
NeoSeppl
 
Posts: 3
Joined: Sat Feb 10, 2024 7:20 pm

Re: unable to load firmware patch rtl_nic/rtlXXXX

Postby lategoodbye » Fri Jan 03, 2025 3:51 pm

Hard to say, but from my understanding the kernel usually looks at /lib/firmware/ not /usr/lib/firmware/
lategoodbye
 
Posts: 124
Joined: Sat Dec 29, 2018 1:24 am

Re: unable to load firmware patch rtl_nic/rtlXXXX

Postby NeoSeppl » Fri Jan 03, 2025 4:22 pm

Yes, that's what I checked as well.

[code]lrwxrwxrwx 1 root root 7 26. Nov 01:15 lib -> usr/lib[/code]

/lib is a symlink to /usr/lib - does the kernel follow symlinks?
NeoSeppl
 
Posts: 3
Joined: Sat Feb 10, 2024 7:20 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 54 guests