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

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



Package: installation-reports

Boot method: USB stick
Image version: debian-bookworm-DI-alpha2-amd64-netinst.iso
               debian-bookworm-DI-alpha2-i386-netinst.iso
Date: 2023-03-05

Machine: various PC
Processor: various Intel from Pentium 4 to Core i7
Memory: 1.25 to 16 GiB

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [E]
Configure network:      [O]
Detect media:           [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [ ]
Install base system:    [ ]
Clock/timezone setup:   [ ]
User/password setup:    [ ]
Install tasks:          [ ]
Install boot loader:    [ ]
Overall install:        [ ]

Comments/Problems:

I tested firmware detection and loading with various (mostly old) hardware I have. I did not complete all installations.


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


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.


* 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
}

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


* 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
Mar  5 08:55:35 check-missing-firmware: using module usb instead of usb 2-4
Mar  5 08:55:35 check-missing-firmware: looking for firmware file isl3886usb requested by usb
Mar  5 08:55:35 check-missing-firmware: missing firmware files (isl3886usb isl3886usb) for iwlwifi usb
Mar  5 08:55:35 check-missing-firmware: mainloop iteration #1
Mar  5 08:55:35 check-missing-firmware: lookup with /cdrom/firmware/Contents-firmware

Mar  5 08:55:39 check-missing-firmware: removing and loading kernel module usb
Mar  5 08:55:39 check-missing-firmware: modprobe: FATAL: Module usb not found.
Mar  5 08:55:39 check-missing-firmware: modprobe: FATAL: Module usb not found in directory /lib/modules/6.1.0-3-686
Mar  5 08:55:39 check-missing-firmware: removing and loading kernel module usbcore as well (actual module for usb)
Mar  5 08:55:39 check-missing-firmware: modprobe: FATAL: Module usbcore is in use.


Reply to: