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

Bug#1032377: firmware loading tests with bookworm-DI-alpha2



Pascal Hambourg <pascal@plouf.fr.eu.org> (2023-03-05):
> I tested firmware detection and loading with various (mostly old)
> hardware I have. I did not complete all installations.

Thanks for that.

> 1) Things that went well:
> 
> GPU AMD/ATI (radeon+firmware-amd-graphics): OK
> GPU Intel (i915+firmware-misc-nonfree): OK
> PCI SCSI QLogic ISP1020 (qla1280+firmware-qlogic): OK
> PCI Ethernet Intel PRO/100 (e100+firmware-misc-nonfree): OK
> PCI Ethernet Broadcom BCM5901 (tg3+firmware-misc-nonfree): OK
> PCIe wifi Intel Centrino Advanced-N 6205 (iwlwifi+firmware-iwlwifi): OK

Great.

> 2) Things that did not go so well:
> 
> PCI SCSI Advansys ASC 1300/3300 (advansys+firmware-misc-nonfree): KO/OK
> - i386: OK
> - amd64: KO. This is a kernel driver bug, cf. bug #1032271.

OK.

> * PCI wifi Intel PRO/Wireless 2200BG (ipw2200+firmware-ipw2x00): KO/OK
> The firmware package was found, installed and used but not copied in
> /var/cache/firmware. IIUC install_firmware_pkg() in check-missing-firmware
> ,it is because its preinst script requires a license acceptance (is that
> really needed ?). However the firmware files are left because of a typo
> (".md5sum" should be ".md5sums"):
> 
> > # Remove non-accepted firmware package
> > remove_pkg() {
> > 	pkgname="$1"
> > 	# Remove all files listed in /var/lib/dpkg/info/$pkgname.md5sum
> > 	for file in $(cut -d" " -f 2- /var/lib/dpkg/info/$pkgname.md5sum) ; do
> > 		rm /$file
> > 	done
> > }

Fixed the typo for now. I don't have enough bandwidth to actually think
about the license acceptance part. Might be worth filing separately
against hw-detect for later consideration.

> As a result, the interface works in the installer but IIUC the package
> will not be installed in the target system.
> 
> 
> * CardBus wifi Intersil Prism54 (p54pci+isl3886pci): KO/OK
> The firmware is not included in any Debian package, so I provided it either
> as loose file or hand-made .deb on a second USB stick.
> But check-missing-firmware never runs mount-media. Looking at the code:
> 
> > 	if [ "$loop" -lt 1 ]; then
> > 		# second, look for loose firmware files on the media device.
> 
> shouldn't the condition be "-gt" ? After changing it,
> - loose file: KO (not found, known bug)
> - .deb: OK

Definitely a typo/thinko, fixed.

> * USB wifi Intersil Prism54 (p54usb+isl3886usb): KO
> The firmware is not included in any Debian package, so I provided it either
> as loose file or hand-made .deb on a second USB stick.
> It seems that check-missing-firmware failed to find the real module name
> despite hw-detect commit ab087adedd738d8b6bfb7e785c591a1aa982b7f2.
> 
> Messages recorded in /var/log/syslog:
> 
> > Mar  5 08:54:09 kernel: [  100.782749] usb 2-4: new high-speed USB device number 3 using xhci_hcd
> > Mar  5 08:54:09 kernel: [  100.930970] usb 2-4: New USB device found, idVendor=0db0, idProduct=6826, bcdDevice= 2.02
> > Mar  5 08:54:09 kernel: [  100.930982] usb 2-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> 
> > Mar  5 08:55:33 kernel: [  184.568261] usb 2-4: Loading firmware file isl3886usb
> > Mar  5 08:55:33 kernel: [  184.568284] usb 2-4: firmware: failed to load isl3886usb (-2)
> > Mar  5 08:55:33 kernel: [  184.568294] usb 2-4: firmware: failed to load isl3886usb (-2)
> > Mar  5 08:55:33 kernel: [  184.568295] usb 2-4: Direct firmware load for isl3886usb failed with error -2
> > Mar  5 08:55:33 kernel: [  184.568298] p54usb 2-4:1.0: failed to initialize device (-2)
> > Mar  5 08:55:33 kernel: [  184.568352] usbcore: registered new interface driver p54usb
> 
> > Mar  5 08:55:34 check-missing-firmware: looking at dmesg for the first time
> > Mar  5 08:55:34 check-missing-firmware: saving timestamp for a later use: [  184.647143]
> > Mar  5 08:55:34 check-missing-firmware: failed to perform usb 2-4 lookup (no driver found)
> > Mar  5 08:55:34 check-missing-firmware: => sticking with the usb module
> > Mar  5 08:55:34 check-missing-firmware: using module usb instead of usb 2-4
> > Mar  5 08:55:34 check-missing-firmware: looking for firmware file isl3886usb requested by usb
> > Mar  5 08:55:34 check-missing-firmware: failed to perform usb 2-4 lookup (no driver found)
> > Mar  5 08:55:35 check-missing-firmware: => sticking with the usb module

Please share the contents of that device's directory, so that the lookup
can be adjusted. I could only test with one single device, so I haven't
tried to be clever and think about all possible cases. Feel free to
spawn a specific hw-detect bug report for that.


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: