tag 886424 moreinfo
thanks

On Fri, 05 Jan 2018, Benjamin Drung wrote:
> we create an initrd for a live system that should be bootable on AMD and
> Intel systems. Due to various CPU bugs, the microcode update for both
> AMD and Intel should be included in the initrd. We do not want to manage
> two different initrd files.
> 
> amd64-microcode and intel-microcode are installed and configured to
> AMD64UCODE_INITRAMFS=early and IUCODE_TOOL_INITRAMFS=early, but only the
> microcode from AMD can be seen in the initrd:
> 
> $ lsinitramfs /boot/initrd.img | head -n 10
> .
> kernel
> kernel/x86
> kernel/x86/microcode
> kernel/x86/microcode/AuthenticAMD.bin

Yeah, but if you hexdump -C it, you will find both microcode cpio
archives in there.  lsinitramfs skips over the second one for some
reason, but it is there.

Furthermore, if you boot it, it ought to work, both in Intel and AMD.

> Instead one cpio archive should probably created that contain
> kernel/x86/microcode/AuthenticAMD.bin and
> kernel/x86/microcode/GenuineIntel.bin.

That would require a lot of changes to initramfs-tools.

So, did you test your live-cd in both AMD and Intel boxes that would
accept a microcode update?  Did it work?  Please do, and report back...

-- 
  Henrique Holschuh

Reply via email to