Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#991603: isenkram-autoinstall-firmware installs firmware-realtek due to iwl-debug-yoyo.bin?

51 views
Skip to first unread message

Simon Josefsson

unread,
Jul 28, 2021, 7:10:03 AM7/28/21
to
Package: isenkram
Version: 0.48

Hi! As far as I know, my Lenovo X201 does not have any realtek-related
hardware in it, but isenkram-autoinstall-firmware still installs the
'firmware-realtek' for me. Is it because of the iwl-debug-yoyo.bin
(which sounds like a firmware-iwlwifi thing)? This seems like a bug?

/Simon

root@latte:~# isenkram-autoinstall-firmware
info: looking for firmware file iwl-debug-yoyo.bin requested by kernel
info: some kernel driver requested extra firmware files: iwlwifi-ma-a0-gf-a0-59.ucode iwlwifi-ma-a0-mr-a0-59.ucode iwlwifi-QuQnj-b0-hr-b0-59.ucode iwlwifi-QuQnj-b0-jf-b0-59.ucode iwlwifi-so-a0-gf-a0-59.ucode iwlwifi-so-a0-hr-b0-59.ucode iwlwifi-so-a0-jf-b0-59.ucode iwlwifi-SoSnj-a0-gf4-a0-59.ucode iwlwifi-SoSnj-a0-gf-a0-59.ucode iwlwifi-SoSnj-a0-hr-b0-59.ucode iwlwifi-SoSnj-a0-mr-a0-59.ucode rtl_bt/rtl8723a_fw.bin rtl_bt/rtl8723b_config.bin rtl_bt/rtl8723b_fw.bin rtl_bt/rtl8723bs_config.bin rtl_bt/rtl8723bs_fw.bin rtl_bt/rtl8723ds_config.bin rtl_bt/rtl8723ds_fw.bin rtl_bt/rtl8761a_config.bin rtl_bt/rtl8761a_fw.bin rtl_bt/rtl8821a_config.bin rtl_bt/rtl8821a_fw.bin rtl_bt/rtl8822b_config.bin rtl_bt/rtl8822b_fw.bin iwl-debug-yoyo.bin
info: locating packages with the requested firmware files
info: determining whether enabling other components is required
info: trying to install firmware-realtek
Väljer tidigare ej valt paket firmware-realtek.
(Läser databasen ... 349599 filer och kataloger installerade.)
Förbereder att packa upp .../firmware-realtek_20210315-3_all.deb ...
Packar upp firmware-realtek (20210315-3) ...
Ställer in firmware-realtek (20210315-3) ...
Hanterar utlösare för initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-8-amd64
root@latte:~#

root@latte:~# lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation QM57 Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
02:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
root@latte:~#

root@latte:~# dmesg|grep -i firm
[ 0.105328] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.420446] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 3.597202] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[ 5.422690] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[ 5.422861] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[ 5.632171] iwlwifi 0000:02:00.0: firmware: direct-loading firmware iwlwifi-6000-4.ucode
[ 5.632380] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 6000-4.ucode op_mode iwldvm
[ 5.632410] iwlwifi 0000:02:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
[ 5.632411] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
root@latte:~# dmesg|grep -i real
[ 0.082278] NR_IRQS: 524544, nr_irqs: 456, preallocated irqs: 16
root@latte:~# dmesg|grep -i rtl
root@latte:~#

signature.asc

Petter Reinholdtsen

unread,
Jul 28, 2021, 7:40:03 AM7/28/21
to
[Simon Josefsson]
> Hi! As far as I know, my Lenovo X201 does not have any
> realtek-related hardware in it, but isenkram-autoinstall-firmware
> still installs the 'firmware-realtek' for me. Is it because of the
> iwl-debug-yoyo.bin (which sounds like a firmware-iwlwifi thing)? This
> seems like a bug?

If so, I believe it is a bug somewhere else than isenkram. In this
case, the kernel driver ask for a firmware file missing on disk,
isenkram-autoinstall-firmware discover this request and uses either
appstream information or package file lists (similar to apt-file) to
locate which package contain the requested file. In other words,
isenkram do not know much about the driver, file nor packages, but
depend on other sources for this information.

If the kernel driver should not need the firmware file in question, it
should stop requesting it. Then isenkram will not try to track it down
to install it.

Not sure which package to send this issue to. Any suggestions?

--
Vennlig hilsen
Petter Reinholdtsen

Petter Reinholdtsen

unread,
Nov 22, 2023, 12:30:06 PM11/22/23
to

I had a look at the isenkram source and as far as I can tell the
iwl-debug-yoyo.bin file is not provided by any package:

% grep iwl-debug-yoyo.bin generated/*
%

As far as I can tell from the list of files requested by the kernel
drivers of your machine, these are the files causing the
firmware-realtek package to be installed:

rtl_bt/rtl8723a_fw.bin rtl_bt/rtl8723b_fw.bin rtl_bt/rtl8723bs_fw.bin
rtl_bt/rtl8761a_fw.bin rtl_bt/rtl8821a_config.bin
rtl_bt/rtl8821a_fw.bin rtl_bt/rtl8822b_config.bin
rtl_bt/rtl8822b_fw.bin

As far as I can tell, this is correct. Did I misunderstand something?
0 new messages