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

Bug#1029849: marked as done (hw-detect: storing firmware information specifically)



Your message dated Wed, 22 Mar 2023 19:49:21 +0000
with message-id <E1pf4SX-005HMt-Ly@fasolo.debian.org>
and subject line Bug#1029849: fixed in hw-detect 1.155
has caused the Debian Bug report #1029849,
regarding hw-detect: storing firmware information specifically
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1029849: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029849
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: hw-detect
Severity: important
X-Debbugs-Cc: debian-release@lists.debian.org

Hi,

Quoting the text that was agreed to via the 2022 General Resolution
about non-free firmware:

    When the installer/live system is running we will provide
    information to the user about what firmware has been loaded (both
    free and non-free), and we will also store that information on the
    target system such that users will be able to find it later. 

During the initial brainstorming, I think it was suggested to maybe
include some kind of informational message at the end of the
installation process, like “we installed this and that” or “yay,
you're entirely free”.

That would mean extra work on the translation side, wouldn't add much
value, so that looks like something we should *not* implement.


Regarding the letter of the text, and given hw-detect's code, it's
probably easy enough to keep a file around during the installation
process, with both package name and the component it was found in.

hw-detect already has some finish-install hooks, so it would only need
to generate something like /var/log/installer/firmware-packages from
it, with “$package $component” on each line?

And maybe “# no firmware packages” (with a leading # to signal a
comment), so that people can easily iterate over it if they so wish?


I don't think that's a blocker for the next d-i release, that might be
considered a blocker for Bookworm though; debian-release@ in Cc can
comment and raise severity if that's desired.

If one wanted not to work on this at all, one could make the case that
/var/log/installer/syslog can be used to determine whether/which
firmware packages were installed; the presence of non-free-firmware in
sources.list would be another indication. (That's why I don't think
that's a short-term blocker at all.) But building a 2-column table out
of existing information shouldn't be much work anyway…


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

--- End Message ---
--- Begin Message ---
Source: hw-detect
Source-Version: 1.155
Done: Cyril Brulebois <kibi@debian.org>

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 1029849@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 22 Mar 2023 20:31:11 +0100
Source: hw-detect
Architecture: source
Version: 1.155
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Closes: 1029804 1029849 1031631 1033035
Changes:
 hw-detect (1.155) unstable; urgency=medium
 .
   [ Cyril Brulebois ]
   * Deduplicate the list of requested firmware files, not just the list of
     requesting modules (Closes: #1031631).
   * Implement microcode support when /proc/cpuinfo contains a vendor_id
     field, with one of the following values (Closes: #1029804):
      - Install amd64-microcode on AuthenticAMD.
      - Install intel-microcode on GenuineIntel.
      - Enable non-free-firmware accordingly.
      - Perform installation via finish-install, making sure apt-setup has
        been configured, and using apt-install for dependency resolution.
   * Optimize firmware package installation: process dpkg triggers once,
     after all packages have been installed (i.e. install-firmware only
     triggers a single update-initramfs call).
   * Fix condition around moutmedia calls (See: #1032377).
   * Fix files removal for non-accepted firmware packages (See: #1032377).
   * Add a special case for the mhi module: when the module requesting
     firmware files is “mhi”, use the modules listed as holders (e.g.
     ath11k_pci and qrtr_mhi). This is less precise than the usb special
     case, since /sys/bus/mhi/devices/<device> gives no hints as to which
     network module would be involved (See: #1032140). Thanks to Nicolas
     Dandrimont and Benoît Chauvet for the tests.
   * Adjust dmesg timestamp management: only update the timestamp file if
     there are new lines.
   * Fix package name extraction when removing a firmware package (e.g.
     it failed to install because it was corrupted). Regression in 1.153,
     spotted in #1032970.
   * Build /var/log/firmware-summary as a 3-column summary of firmware (and
     microcode) packages getting installed (Closes: #1029849). Those three
     columns are: package, component, and reason. The reason might be dmesg
     (check-missing-firmware), modalias (install-firmware hook), or cpu
     (install-firmware hook).
 .
   [ Pascal Hambourg ]
   * Fix several glitches (Closes: #1033035):
      - Fix removal of temporary files in /target after installing firmware
        packages (they're in /tmp so the next reboot has been doing the
        trick until now).
      - Determine the package name by using the Package field instead of
        trusting the filename when installing firmware packages.
      - Make sure not to include the possible -n option when setting the
        IFACES variables in check-missing-firmware.
Checksums-Sha1:
 eaa42a8ae1ad674a6d18dd2992fa20b70ecfd296 1990 hw-detect_1.155.dsc
 9918ed7197c5f80945fe5d3cb2ef91e0b4a0298d 195232 hw-detect_1.155.tar.xz
 6e415c8183d2fb5574bf360a5815641cccfaf888 6524 hw-detect_1.155_source.buildinfo
Checksums-Sha256:
 9e55c9507048484b85870d7c89640d91cbd3c3930282ac8f51c5bd5f0eecbe50 1990 hw-detect_1.155.dsc
 b13bb32c6a162a77549dc59584418b191e6cd406e5222357b41bd71651d59b71 195232 hw-detect_1.155.tar.xz
 31a63bad2f86257964f5d545cc361fdb3dfdab1a834c1763b09a91f5f77c6b4e 6524 hw-detect_1.155_source.buildinfo
Files:
 3e9910d3b03016b60ee45f046b8e838c 1990 debian-installer standard hw-detect_1.155.dsc
 4d4062ce48d90a4802b6f8f732bfcc1e 195232 debian-installer standard hw-detect_1.155.tar.xz
 6e5293b429f561996d21cd2f9e58dd61 6524 debian-installer standard hw-detect_1.155_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmQbV6wQHGtpYmlAZGVi
aWFuLm9yZwAKCRD/kUrwwrNVIEBYEACRtLD90dTz8KXqRQikYF4EHd6sgNRVdbSy
iB9PyVAaGvp+VAOK4Vni0Wvf1liihqoOeRw22hYITqBMulX7OgzJWUOcRpUn+HSA
BeuBPbM1nLmS7pcDH0AKkrIwEp3PMj+yYQzhoOa1nVYH3bRdfxWYoz4XDLkXObK+
U9CLCXgQI4dDNf4GnZdt+kmJGccFnNTHcAmgDbfsOhd01AkN64uY/zOy1kSHKJCx
1lK1Wg94m83iPOU8eNKqoXXsJEp1h4m7MV7GFfB7hTBA9GsPbiMsFnmCS1YOAeCI
R9AfH239TudJmCRXGYaW4oI33h9G7AEOz17AI/IQj2MnYrrjzdSNImsQcuJ8V331
3gBUvH4bn+5Q0npj8KKDuxalot6dswOTUa6SOfZ1fryTXIEIITx20SyrjSC/Q9j1
U24Jf/fUpvWIV2cmK6vrXdl2luGBlvzk0TugG6WH7cLTFLkiW/BrBMlt0Np+mJi0
8RwUTT+GrVcmpSdtbsMTXASTrJuTm3Hy1VYSUlnpo7C+5wGhjViXDgShbdl6dSjJ
ohiAS+h3u8wWOJef7yoI7bzaH36CgSu+Qp/HkHSHGPdRtY1zazXnspRAlYlxFWH6
zTdrY7iwx3Aiw3q4jBQ8tHug0dM6VwwB1/ffi566pNAdaqjU7m+qkFyVtRtiuOoN
iRKOpMdzKA==
=5f86
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: