- Package:
- src:hw-detect
- Source:
- src:hw-detect
- Submitter:
- Roland Clobus
- Date:
- 2026-07-30 12:35:02 UTC
- Severity:
- normal
- Tags:
Source: hw-detect User: debian-amd64@lists.debian.org Usertags: amd64 X-Debbugs-Cc: debian-amd64@lists.debian.org User: debian-boot@lists.debian.org Usertags: amd64 X-Debbugs-Cc: debian-boot@lists.debian.org Version: 1.176 Severity: grave Justification: renders package unusable Tags: d-i Hello maintainers of hw-detect, The new version of ethdetect.sh does not detect the network interfaces when booting from BIOS. This can be seen on openQA [1] where the installer fails to find the network interfaces for the BIOS scenarios. The UEFI scenarios still work. From the d-i syslog (broken, BIOS) [2]: Jul 29 21:33:12 main-menu[430]: INFO: Menu item 'ethdetect' selected Jul 29 21:33:17 net/hw-detect.hotplug: Detected hotpluggable network interface lo Jul 29 21:33:18 net/hw-detect.hotplug: Detected hotpluggable network interface ens4 Jul 29 21:33:18 kernel: [ 30.969705] virtio_net virtio0 ens4: renamed from eth0 Jul 29 21:33:19 check-missing-firmware: looking at dmesg for the first time Jul 29 21:33:19 check-missing-firmware: saving timestamp for a later use: [ 30.969705] Jul 29 21:33:19 check-missing-firmware: no missing firmware in loaded kernel modules From the d-i syslog (last working, BIOS) [3]: Jul 29 16:03:07 main-menu[430]: INFO: Menu item 'ethdetect' selected Jul 29 16:03:13 net/hw-detect.hotplug: Detected hotpluggable network interface lo Jul 29 16:03:13 kernel: [ 31.465192] virtio_net virtio0 ens4: renamed from eth0 Jul 29 16:03:13 net/hw-detect.hotplug: Detected hotpluggable network interface ens4 Jul 29 16:03:14 check-missing-firmware: looking at dmesg for the first time Jul 29 16:03:14 check-missing-firmware: saving timestamp for a later use: [ 31.465192] Jul 29 16:03:14 check-missing-firmware: no missing firmware in loaded kernel modules Jul 29 16:03:14 check-missing-firmware: taking network interface ens4 up/down Jul 29 16:03:15 check-missing-firmware: looking at dmesg again, restarting from timestamp: [ 31.465192] Jul 29 16:03:15 check-missing-firmware: timestamp found, truncating dmesg accordingly Jul 29 16:03:15 check-missing-firmware: keeping timestamp (no new lines): [ 31.465192] Jul 29 16:03:15 check-missing-firmware: no missing firmware in loaded kernel modules After 1.176 entered unstable, all BIOS installer tests started to fail. There are no version differences in the other udebs, so that's why I report against hw-detect. I think it might be caused by the 'Change hw-detect/firmware-lookup type to string' change, since that influences whether the network interface is taken down and up again. With kind regards, Roland Clobus [1] https://openqa.debian.net/tests/overview?build=20260729-7&distri=debian&version=testing [2] https://openqa.debian.net/tests/554214/logfile?filename=syslog.txt [3] https://openqa.debian.net/tests/554110/logfile?filename=complete_install-DI_syslog.txt
Hi Roland,
Thanks for the report.
Roland Clobus <rclobus@rclobus.nl> (2026-07-30):
Commit 619ba547da555a9a87290c8ce9315c3db5376cf0 looks much more plausible
to me, as interface names can be preceeded by a number of spaces, with a
first column that's right-aligned. Depending on if and how the heading is
word-wrapped (I'm seeing Inter-\nface in several cases but I'm not
checking the actual implementation), the number of interfaces, and their
name length, a number of them can go missing. With default QEMU settings
on bookworm, latest mini.iso gets:
Inter-|
face |
lo:
ens3:
which probably explains the issue down the line.
Cheers,
Hello, Bug #1143094 in hw-detect reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/installer-team/hw-detect/-/commit/f655fc230ce9668a5999c20ca3efa468a232d05b ------------------------------------------------------------------------ ethdetect: Handle initial padding in /proc/net/dev Closes: #1143094 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1143094
We believe that the bug you reported is fixed in the latest version of hw-detect, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1143094@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Colin Watson <cjwatson@debian.org> (supplier of updated hw-detect package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Thu, 30 Jul 2026 13:04:47 +0100 Source: hw-detect Architecture: source Version: 1.177 Distribution: unstable Urgency: medium Maintainer: Debian Install System Team <debian-boot@lists.debian.org> Changed-By: Colin Watson <cjwatson@debian.org> Closes: 1143094 Changes: hw-detect (1.177) unstable; urgency=medium . * ethdetect: Handle initial padding in /proc/net/dev (closes: #1143094). Checksums-Sha1: 2f83e65c3f5e46db95ad64470e29b6677079971d 1965 hw-detect_1.177.dsc 84d1d696106ee88b137a536d6a39c5dcb90a84a4 198568 hw-detect_1.177.tar.xz a9d1301ac24557926bb13a6f5f19f24fffee9eaa 6501 hw-detect_1.177_source.buildinfo Checksums-Sha256: 2f676c9e5598e5104c7a5b66c2339b3f830816e4236f345351e2274c6478d763 1965 hw-detect_1.177.dsc b012c8c70613df8d11069cbc2082040351a595ec9967c8f9466f0bdf2a1553c2 198568 hw-detect_1.177.tar.xz e6174c18692126c636f7dccd1117e0243362bad36b71f9dc3a20a1360511032c 6501 hw-detect_1.177_source.buildinfo Files: db022d13772d2fc820bd31b67d801970 1965 debian-installer standard hw-detect_1.177.dsc 488da7b5c37675524f22e54b6f6a0059 198568 debian-installer standard hw-detect_1.177.tar.xz e7561b3fd54debdb0e626db08ed27d10 6501 debian-installer standard hw-detect_1.177_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmprPhYACgkQOTWH2X2G UAtD8A/+MInvZHx4d/W17cbKXVT0H5osaGTGSXgA2rluJ+XjLv8Y+1+9YUKaawHS p6uCrhkbU9r5Bz4LxqKjARPQzAkJsJVy1N98eC9t9KHACMtPhulvuw11tuLamF69 6nXcLDRm6bfVU4EJ52y4Z15pW8uEx4j1AkRPIWchpoysZVxparOlVhiK6abK2qYo /QZ5Wi9KMSjJYlTaYYD1BZESVwuulPa9/IkWSImfvk6tU5FKPI2a6fM+1vANlDkJ kuixlg4Xkd7vv0u164AlkYWh3XY1oLn6M/Lbl3Jwr9KDqpLEfrVisiUMCSsekp+w j7qlzny1eSytkSqZwUGG/L1bN4a6gU3Sq8XkF7p98Y4QyL1pgIIbp007D/dO52Ox Y01Z0KBC8upi1BnQsl3AD7R0O6FQ4f8u1DvhAqQW5ReFPCKl4m1oHa0NJsVrj35Q tPRzEmESVZIk1fKGj/SrV6dsReOXJPU1CmCybW8+cF6oExcgdyGh7ic5KULxnW1x jVoJ3bdZWVjvw4DESZpGYpylRSUnZO/OeBSB9TNmw3xTuN3FXTkg9FSpDc0xihsC aAv76kJBoyJqe4Mn+jc2WsZ5CzIbBOcGIVrFRVSswJG0qlf87UeO8Khg2YQloodv puz/ORBjmDkAcYdiS60pDJ9B1c18R3q4FirsikMxdhJVhemfIMk= =vFjR -----END PGP SIGNATURE-----