[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1029843: live-boot: Devices Requiring Firmware: multiple requested files in single line overlapping / special characters



Package: live-boot
Severity: normal
X-Debbugs-Cc: a.dalm2807@googlemail.com

Dear Maintainer,

on the Devices Requiring Firmware step in the debian-installer (debian-11.6.0-amd64-netinst.iso)
multiple files are requested for my Beelink BT3:
	brcmfmac43340-sdio.bin
	brcmfmac43340-sdio.To be filled by O.E.M.-Z83.txt
	brcmfmac43340-sdio.txt
	rtl8168g-2.fw
both .txt files are requested at once and they are displayed tab-separated and overlapping:
"The missing firmware files are: brcm/brcmfmac43340-sdio.To brcm/brcmfmac43340-sdio.txt"
This makes no sense if you don't kwow which files are actually needed.
Better would be adding newlines after "The missing files" and every file.

brcmfmac43340-sdio.txt is just requested as fallback if the other file is not existing:
dmesg | grep -E 'firmware|Bluetooth|brcm'
...
brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43340-sdio.bin failed with error -2
brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43340-sdio.To be filled by O.E.M.-Z83.txt failed with error -2
brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43340-sdio.txt failed with error -2
...

After installation the brcmfmac43340-sdio.To be filled by O.E.M.-Z83.txt file is missing in the system files,
it seems like the copy process fails either due to special characters or length.
rtl8168g-2.fw is requested last if not on the usb-stick but it is copied without asking when available
(tested twice, it can be found in system files after installation)
I'm not sure if the installer is supposed to ask for every single file or 
auto-copy if available when other firmware files were copied before

Wishlist: firmware-detection for the existing firmware-folder in the iso would be great. 
-> flash iso to usb, add files -> done.
for me this seems like including just a additional search path for firmware detection = 1 line of code

here are the cases I've tested:

files on stick: brcmfmac43340-sdio.bin, brcmfmac43340-sdio.To be filled by O.E.M.-Z83.txt
	The missing firmware files are: brcm/brcmfmac43340-sdio.bin -> Yes
	The missing firmware files are: brcm/brcmfmac43340-sdio.To brcm/brcmfmac43340-sdio.txt -> Yes
	Installer asks for .txt files again -> hard shutdown, no cancel installation button available

files on stick: brcmfmac43340-sdio.bin, brcmfmac43340-sdio.txt
	The missing firmware files are: brcm/brcmfmac43340-sdio.bin -> Yes
	The missing firmware files are: brcm/brcmfmac43340-sdio.To brcm/brcmfmac43340-sdio.txt -> Yes
	The missing firmware files are: brcm/brcmfmac43340-sdio.To brcm/brcmfmac43340-sdio.clm_blob -> No (WLAN works without)
	The missing firmware files are: rtl_nic/rtl8168g-2.fw -> hard shutdown, no cancel installation button available

files on stick: brcmfmac43340-sdio.bin, brcmfmac43340-sdio.txt, rtl8168g-2.fw
	The missing firmware files are: brcm/brcmfmac43340-sdio.bin -> Yes
	The missing firmware files are: brcm/brcmfmac43340-sdio.To brcm/brcmfmac43340-sdio.txt -> Yes
	The missing firmware files are: brcm/brcmfmac43340-sdio.To brcm/brcmfmac43340-sdio.clm_blob -> No (WLAN works without)
	not asked for rtl8168g-2.fw but file is after installation in /lib/firmware/rtl_nic/
	(brcmfmac43340-sdio.bin and brcmfmac43340-sdio.txt are in /lib/firmware/brcm/ after installation)	

files on stick: brcmfmac43340-sdio.bin, brcmfmac43340-sdio.txt, brcmfmac43340-sdio.To be filled by O.E.M.-Z83.txt, rtl8168g-2.fw
	The missing firmware files are: brcm/brcmfmac43340-sdio.bin -> Yes
	The missing firmware files are: brcm/brcmfmac43340-sdio.To brcm/brcmfmac43340-sdio.txt -> Yes
	The missing firmware files are: brcm/brcmfmac43340-sdio.To brcm/brcmfmac43340-sdio.clm_blob -> No (WLAN works without)
	not asked for rtl8168g-2.fw but file is after installation in /lib/firmware/rtl_nic/
	only brcmfmac43340-sdio.bin and brcmfmac43340-sdio.txt are in /lib/firmware/brcm/ after installation
  

-- System Information:
Debian Release: 11.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-21-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_USER
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages live-boot depends on:
pn  live-boot-initramfs-tools | live-boot-backend  <none>

Versions of packages live-boot recommends:
pn  live-boot-doc  <none>
pn  live-tools     <none>
ii  rsync          3.2.3-4+deb11u1
pn  uuid-runtime   <none>

Versions of packages live-boot suggests:
pn  cryptsetup  <none>
pn  curlftpfs   <none>
pn  httpfs2     <none>
ii  wget        1.21-1+deb11u1


Reply to: