Your message dated Thu, 17 May 2018 16:19:59 +0000
with message-id <e1fjldh-000cnv...@fasolo.debian.org>
and subject line Bug#875297: fixed in dracut 047+31-1
has caused the Debian Bug report #875297,
regarding dracut: Support early loading microcode on Debian
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 ow...@bugs.debian.org
immediately.)


-- 
875297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875297
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dracut
Version: 045+132-1
Severity: important
X-Debbugs-Cc: h...@debian.org

dracut supports early loading of microcode but makes assumptions about
paths that do not match the packaging in Debian. Hence the microcode
updates are skipped altogether on platforms where the intel-microcode
package requests early loading (e.g. the Haswell machine I'm typing this
on).

I'd suggest the following three changes, which make it work on my machine:

1) Add the microcode paths to fw_dir. Given that Debian does not version
its firmware by kernel and given that we don't seem to ship anything in
/lib/firmware/updates either archive-wide, this would mean this in
10-debian.conf:

fw_dir=/lib/firmware:/lib/firmware/intel-ucode:/lib/firmware/amd-ucode

This adds the subdirectories to dracut's search path for microcode, as
it expects the Intel fragments and AMD's .bin files in the base of the
firmware directory.

2) Activate early loading by configuration. early_microcode defaults to
"no" so we need to set this in 10-debian.conf:

early_microcode=yes

3) Add a patch to dracut.sh (/usr/bin/dracut) because intel-microcode
uses the .initramfs suffix for the ucode files where it requests early
loading. Given that hostonly is the default for dracut, only including
microcode for the machine it is currently running on, we need to add a
star to the pattern it looks for:

Index: dracut-045+132/dracut.sh
===================================================================
--- dracut-045+132.orig/dracut.sh
+++ dracut-045+132/dracut.sh
@@ -1649,7 +1649,7 @@ if [[ $early_microcode = yes ]]; then
                 _src="*"
                 dinfo "*** Constructing ${ucode_dest[$idx]} ****"
                 if [[ $hostonly ]]; then
-                    _src=$(get_ucode_file)
+                    _src="$(get_ucode_file)*"
                     [[ $_src ]] || break
                     [[ -r $_fwdir/$_fw/$_src ]] || break
                 fi

Kind regards and thanks
Philipp Kern

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: dracut
Source-Version: 047+31-1

We believe that the bug you reported is fixed in the latest version of
dracut, 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 875...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Lange <la...@debian.org> (supplier of updated dracut 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 17 May 2018 17:44:36 +0200
Source: dracut
Binary: dracut dracut-core dracut-network dracut-config-generic 
dracut-config-rescue
Architecture: source all amd64
Version: 047+31-1
Distribution: unstable
Urgency: medium
Maintainer: Thomas Lange <la...@debian.org>
Changed-By: Thomas Lange <la...@debian.org>
Description:
 dracut     - Low-level tool for generating an initramfs image (automation)
 dracut-config-generic - Low-level tool for generating an initramfs image
 dracut-config-rescue - Low-level tool for generating an initramfs image
 dracut-core - Low-level tool for generating an initramfs image (core tools)
 dracut-network - Low-level tool for generating an initramfs image (network 
modules
Closes: 875297 880984
Changes:
 dracut (047+31-1) unstable; urgency=medium
 .
   * new upstream version
   * add patch for early microcode loading, Closes: #875297
   * rules: remove quilt option
   * control: update standards version, no changes
   * 10-debian.conf: crc32c modules not needed any more
   * add dracut.pc to debian-core, Closes: #880984
Checksums-Sha1:
 2df9f9ea21269d8caa1c79129fc4266bc3b1f47e 2193 dracut_047+31-1.dsc
 98dc23abeb671419a55b7e4c2c8e5ed47b6d7a35 286508 dracut_047+31.orig.tar.xz
 338fdc5020c942401edb520b50649325799f3cae 11656 dracut_047+31-1.debian.tar.xz
 d77cc523e39aa6df287611b9efc5c60efc372573 6546 
dracut-config-generic_047+31-1_all.deb
 72c4803d0d794c2d7334b6bd1711841b80bde270 6542 
dracut-config-rescue_047+31-1_all.deb
 6d4ed2332ff71b817a5fbfe1db8156b9ae9ce9f3 66008 
dracut-core-dbgsym_047+31-1_amd64.deb
 f5623de3d736bd7bbcfa930f864f8942fae3e5e2 251484 dracut-core_047+31-1_amd64.deb
 ff659b53484dcf0bd945a4e61d75b505f678a577 51396 dracut-network_047+31-1_all.deb
 548ca34913b5dc1e3fd6724ef61bcc51814e70e6 8252 dracut_047+31-1_all.deb
 71abedfd66e6ebb30189c9812fdf2ea71a190408 7974 dracut_047+31-1_amd64.buildinfo
Checksums-Sha256:
 7ca7c7153dcfde6c3fe4c2da9a87ead6666b4229a9bc355d444109a542b74895 2193 
dracut_047+31-1.dsc
 34775c7bf9e6c1f1f01e489b70a33009f86716f04a8833f874bd3bcd1f7fa227 286508 
dracut_047+31.orig.tar.xz
 74454f34d7f0fa662e0a9ba4a84ef841a21eda00a3b2374fe590b4694f17e976 11656 
dracut_047+31-1.debian.tar.xz
 c37db6630dc33d1320820b670d4b5112ff7e5445a5be4c8456849a9192bafb25 6546 
dracut-config-generic_047+31-1_all.deb
 d5aacf4b3c2a2181df7d80edaf1a3cafbcde7131b845ec2b24928b82501a4ec2 6542 
dracut-config-rescue_047+31-1_all.deb
 96517adccb7e7845a029a9821068c66eab4976a1da03afa2700d55558f5c15d4 66008 
dracut-core-dbgsym_047+31-1_amd64.deb
 247cc4337dc58fd47f577f3ee74064c9e5276aab8145a325ab698194d7221362 251484 
dracut-core_047+31-1_amd64.deb
 44c26b477bbad5e5f1ad301722d67ae53535dfbecccdc52ae6a1123c641409f9 51396 
dracut-network_047+31-1_all.deb
 6bb72a64bcfc6392f0f18b6d730bcdaf275901b498ddcaabd8a1f463a0946d89 8252 
dracut_047+31-1_all.deb
 a607fdbd6b8572b6ddb82fe69517ed2e2b298678f8f02ca3bed3e9838661af85 7974 
dracut_047+31-1_amd64.buildinfo
Files:
 776ae0a5188bc659e2825758dc4fe0da 2193 utils optional dracut_047+31-1.dsc
 8ab3914ac33c852f61913743a4b94cf5 286508 utils optional 
dracut_047+31.orig.tar.xz
 1e89dfb23ed2ef446ad2638ce675b22e 11656 utils optional 
dracut_047+31-1.debian.tar.xz
 518cf1a8f1a0a06ca38fb892e9d0c24d 6546 utils optional 
dracut-config-generic_047+31-1_all.deb
 7d1ca0ba0321ff3a7f2b54d01fe7124c 6542 utils optional 
dracut-config-rescue_047+31-1_all.deb
 2e80c43ff54475f7fefa4c8bc2fb51d2 66008 debug extra 
dracut-core-dbgsym_047+31-1_amd64.deb
 199f6196bdabba7f689221eba79e6995 251484 utils optional 
dracut-core_047+31-1_amd64.deb
 06bf4a5a95eb4669bcf5ca4181f72c31 51396 utils optional 
dracut-network_047+31-1_all.deb
 a41b3bdffebe6b104ff1b30ace4fd457 8252 utils optional dracut_047+31-1_all.deb
 355e02c07f91ea0e709e082de24d090a 7974 utils optional 
dracut_047+31-1_amd64.buildinfo

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

iQJFBAEBCAAvFiEEsR7jJz9rLetSjJPaK/jZ/gdLzeQFAlr9pAMRHGxhbmdlQGRl
Ymlhbi5vcmcACgkQK/jZ/gdLzeQQZRAAqJVZyKyESKcBkNC4e1PFmksTCuktWDb4
7lhGOTLDm9qSs5PjFW1JFg4k6rvHk1rxiEpIm7ZK4oStIqXl0u2qlQ7xkXry47ox
Um9TK9ZKa4VotIRhmMmuH88frrLmyphUnvj75rjy1KwxBQ39KUmK7PAuRVKlcQ8I
8JuVVn9KDhCkJM2n35PF/svdMKqJ+rzTXQ5s0UHqoARbHiV/URynVyEFRGcMVv+J
NBwkzMlOFoEmSTsDOU8IeAfDX7uZf+6d8tTosBrcA5EiTje5uFWI22hqIrsbVzij
z7J/suHupIzeAhFE+9LzKLajXVCj0CDnc+mKNZkrh8P4oQNLCvQ0by8R40OBBIjs
TAwIZtry66c4xXOe6ioqtrwxiOrb0XCfSZolXswzGk02EeAMQSvW9rw9pVtjYq5j
O66qzCsAl88tm5mvjNOEG4oDZe/46eEUERjJh3ZW5ef2fAV5ej0eQ5FBUPbzkWbS
W43JcGDmPBv24qimSem9tQW8ttyTiVKucwPfVti0tDcafcajzx+862l5yQYD7dmB
7xEfCLXe86vEcDlSiqZwLz1SKhssPmsR2JS25LESHsC4m9IBDwOymJnBone8sBAp
p2S5KCFHbuiajSJnlIQdBxHc/FocBg45Qeh96cLLqOSf/rOT+swGNqx1xrG4Rg0z
Wedt2s+EXIs=
=4Smv
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to