Received: from mail.prgmr.com (mail.prgmr.com [71.19.149.6]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id B9FB9781A80 for ; Mon, 21 Oct 2019 18:29:04 +0000 (UTC) Received: from localhost (97-115-95-239.ptld.qwest.net [97.115.95.239]) (Authenticated sender: cmb) by mail.prgmr.com (Postfix) with ESMTPSA id EED7E720093 for ; Mon, 21 Oct 2019 19:23:37 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.prgmr.com EED7E720093 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prgmr.com; s=default; t=1571700218; bh=8co+SI2lA8XSgCk60eLJl9FlqxdbBe1yI4C+KXXWqM8=; h=From:To:Subject:References:Date:In-Reply-To:From; b=dC1TXHHBDK6Aly4tBgJdZz3C1VdoR3yWIRQVFk5CMW5S5QtMn77g9yiMVU80ENklV Zuarv+HuLwK8Td3kPijRc95uw6QGueK7jv7TJKGyTL+Vk8jlplW0OJNeMIsDGCViGy oRRFgMFXONhwwBhMGPQPOk0anbYpEHZ/HFJM0emU= From: Chris Brannon To: alpine-user@lists.alpinelinux.org Subject: Re: Syslinux & Xen & microcode updates References: <87r236t8cl.fsf@cmbmachine.messageid.invalid> Date: Mon, 21 Oct 2019 11:29:02 -0700 In-Reply-To: (Christian Kujau's message of "Mon, 21 Oct 2019 10:45:00 -0700 (PDT)") Message-ID: <875zkit0k1.fsf@cmbmachine.messageid.invalid> MIME-Version: 1.0 Content-Type: text/plain Christian Kujau writes: > That didn't work, as vmlinuz-vanilla now tried to find its initrd in > intel-ucode.img, but that did not contain a rootfs and it panicked with > this infamous "Kernel panic - not syncing: VFS: Unable to mount root > fs..." message. I'm sorry, I gave you the wrong order, and I forgot that order is very important here. The order --- initramfs-vanilla --- intel-ucode.bin would have worked, if you need to keep them un-concatenated for some reason. > So, while "intel-ucode.img --- initramfs-vanilla" did not work (tested > just now), I fiddled around some more (boy, was it late last night) and > although I dismissed it first, the concatenation of the microcode and the > initrd[0] did indeed work, although I am missing the usual "microcode" > messages in dmesg, something like: > > microcode: sig=0x806e9, pf=0x80, revision=0xb4 > microcode: Microcode Update Driver: v2.2. I would expect this, because the microcode is now loaded by Xen before Linux boots. Linux sees the processor with up-to-date microcode. Try `sudo xl dmesg |grep -i microcode` to verify that Xen is loading it. You can also get the revision number for your processor's microcode from /proc/cpuinfo: `grep -i microcode /proc/cpuinfo`. If you have a copy of the GenuineIntel.bin file extracted from intel-ucode.img, you could compare the revision number from /proc/cpuinfo against the output of a command like: iucode_tool --list GenuineIntel.bin |grep -E 'sig 0x000806e9' Look for "rev 0x" and some hex digits. iucode_tool's output pads with 0s, /proc/cpuinfo doesn't. Probably Alpine's update-extlinux needs some support added for the combo of Xen and microcode. -- Chris