Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #67318 > unrolled thread

Bug#962972: firmware-realtek: unable to load firmware patch rtl_nic/rtl8153a-2.fw (-2)

Started byGrant Grundler <grantgrundler@gmail.com>
First post2020-06-16 19:00 +0200
Last post2020-08-24 16:40 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#962972: firmware-realtek: unable to load firmware patch rtl_nic/rtl8153a-2.fw (-2) Grant Grundler <grantgrundler@gmail.com> - 2020-06-16 19:00 +0200
    Bug#962972: workaround until firmware-realtek is updated Grant Grundler <grantgrundler@gmail.com> - 2020-06-16 19:30 +0200
    Bug#962972: firmware-realtek: missing files in 20200619-1 Michał Mirosław <mirq-deboogs@rere.qmqm.pl> - 2020-08-14 18:40 +0200
    Bug#962972: marked as done (firmware-realtek: unable to load  firmware patch rtl_nic/rtl8153a-2.fw (-2)) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-08-24 16:40 +0200

#67318 — Bug#962972: firmware-realtek: unable to load firmware patch rtl_nic/rtl8153a-2.fw (-2)

FromGrant Grundler <grantgrundler@gmail.com>
Date2020-06-16 19:00 +0200
SubjectBug#962972: firmware-realtek: unable to load firmware patch rtl_nic/rtl8153a-2.fw (-2)
Message-ID<Ain6h-6NR-3@gated-at.bofh.it>
Package: firmware-realtek
Version: 20190717-2
Severity: important

TL;DR Please update rtl_nic. This will solve most of the issues reported against rtl815x devices.

Linux gggnuc6 5.6.0-2-amd64 #1 SMP Debian 5.6.14-1 (2020-05-23) x86_64 GNU/Linux

Errors that an update will fix:
[79912.317675] r8152 2-2.4:1.0: firmware: failed to load rtl_nic/rtl8153a-2.fw (-2)
[79912.317683] r8152 2-2.4:1.0: Direct firmware load for rtl_nic/rtl8153a-2.fw failed with error -2
  AND
[79912.458292] r8152 2-2.1:1.0: firmware: failed to load rtl_nic/rtl8153b-2.fw (-2)
[79912.458296] r8152 2-2.1:1.0: Direct firmware load for rtl_nic/rtl8153b-2.fw failed with error -2


"modprobe r8152" results in the following dmesg output:
[78645.896245] r8152 2-2.1:1.0 enx00e04cf007a4: carrier on
[79887.986255] usbcore: deregistering interface driver r8152
[79887.986552] r8152 2-2.1:1.0 enx00e04cf007a4: Stop submitting intr, status -108
[79888.042247] r8152 2-2.4:1.0 enx0023568c0143: Stop submitting intr, status -108
[79912.294537] usb 2-2.4: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[79912.317675] r8152 2-2.4:1.0: firmware: failed to load rtl_nic/rtl8153a-2.fw (-2)
[79912.317683] r8152 2-2.4:1.0: Direct firmware load for rtl_nic/rtl8153a-2.fw failed with error -2
[79912.317687] r8152 2-2.4:1.0: unable to load firmware patch rtl_nic/rtl8153a-2.fw (-2)
[79912.351441] r8152 2-2.4:1.0 eth0: v1.11.11
[79912.354955] r8152 2-2.4:1.0 enx0023568c0143: renamed from eth0
[79912.434704] usb 2-2.1: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[79912.458292] r8152 2-2.1:1.0: firmware: failed to load rtl_nic/rtl8153b-2.fw (-2)
[79912.458296] r8152 2-2.1:1.0: Direct firmware load for rtl_nic/rtl8153b-2.fw failed with error -2
[79912.458298] r8152 2-2.1:1.0: unable to load firmware patch rtl_nic/rtl8153b-2.fw (-2)
[79912.491249] r8152 2-2.1:1.0 eth0: v1.11.11
[79912.491294] usbcore: registered new interface driver r8152
[79912.496221] r8152 2-2.1:1.0 enx00e04cf007a4: renamed from eth0
[79915.982266] IPv6: ADDRCONF(NETDEV_CHANGE): enx0023568c0143: link becomes ready
[79915.982925] r8152 2-2.4:1.0 enx0023568c0143: carrier on
[79916.304655] IPv6: ADDRCONF(NETDEV_CHANGE): enx00e04cf007a4: link becomes ready
[79916.305100] r8152 2-2.1:1.0 enx00e04cf007a4: carrier on


The rtl8153a-2 and rtl8153a-3 devices are widely used and Realtek finally upstreamed
the firmware patching mechanism they had in their inhouse driver around Q4 2019:
     https://lore.kernel.org/netdev/1394712342-15778-335-Taiwan-albertk@realtek.com/

These patches helped chrome OS reliably detect and use RTL8153 devices.

However, the rtl8153a-3.fw file Realtek original submitted was broken and was
updated in Feb 2020 and ChromeOS picked up this update in April, 2020:
    https://chromium.googlesource.com/chromiumos/third_party/linux-firmware/+log/refs/heads/master/rtl_nic
    https://chromium.googlesource.com/chromiumos/third_party/linux-firmware/+/db0430c080d38e3055aec81f44b4c84012dba079

While I'm using a personal email to request this update, I am also grundler@chromium.org
and have extensively tested these patches. They work.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

firmware-realtek depends on no packages.

firmware-realtek recommends no packages.

Versions of packages firmware-realtek suggests:
ii  initramfs-tools  0.137

-- no debconf information

[toc] | [next] | [standalone]


#67320 — Bug#962972: workaround until firmware-realtek is updated

FromGrant Grundler <grantgrundler@gmail.com>
Date2020-06-16 19:30 +0200
SubjectBug#962972: workaround until firmware-realtek is updated
Message-ID<Ainzj-7cW-1@gated-at.bofh.it>
In reply to#67318

[Multipart message — attachments visible in raw view] — view raw

sudo bash
cd /lib/firmware/rtl_nic
wget
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8153b-2.fw
wget
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8153a-4.fw
wget
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8153a-3.fw
wget
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8153a-2.fw
^D

Kudos to Sedat Dilek <sedat.dilek@gmail.com> in comment #30 of bug 947356
for "pointing out the obvious". :)
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947356#30

[toc] | [prev] | [next] | [standalone]


#67778 — Bug#962972: firmware-realtek: missing files in 20200619-1

FromMichał Mirosław <mirq-deboogs@rere.qmqm.pl>
Date2020-08-14 18:40 +0200
SubjectBug#962972: firmware-realtek: missing files in 20200619-1
Message-ID<ADKUi-4fw-11@gated-at.bofh.it>
In reply to#67318
Package: firmware-realtek
Version: 20200619-1

In newer source tar there are firmware files for more chips than what is
packed into deb. Eg rtl8153a-3.fw is missing.

$ dpkg -l firmware-realtek
[...]
ii  firmware-realtek 20200619-1   all          Binary firmware for Realtek wired/wifi/BT adapters

$ tar tJf firmware-nonfree_20200619.orig.tar.xz|grep rtl_nic/rtl|wc -l
28

$ ls /lib/firmware/rtl_nic/|wc -l
24

Best Regards
Michał Mirosław

[toc] | [prev] | [next] | [standalone]


#67842 — Bug#962972: marked as done (firmware-realtek: unable to load firmware patch rtl_nic/rtl8153a-2.fw (-2))

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-08-24 16:40 +0200
SubjectBug#962972: marked as done (firmware-realtek: unable to load firmware patch rtl_nic/rtl8153a-2.fw (-2))
Message-ID<AHlNE-4kz-3@gated-at.bofh.it>
In reply to#67318

[Multipart message — attachments visible in raw view] — view raw

Your message dated Mon, 24 Aug 2020 14:34:32 +0000
with message-id <E1kADYO-0006CQ-Sf@fasolo.debian.org>
and subject line Bug#962972: fixed in firmware-nonfree 20200721-1
has caused the Debian Bug report #962972,
regarding firmware-realtek: unable to load firmware patch rtl_nic/rtl8153a-2.fw (-2)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
962972: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962972
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web