Changeset 83d1722c for postlfs/config/firmware.xml
- Timestamp:
- 06/09/2020 09:18:09 PM (3 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, ken/inkscape-core-mods, lazarus, plabs/python-mods, qt5new, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
- Children:
- 5eb179fa
- Parents:
- edcb4a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/config/firmware.xml
redcb4a5 r83d1722c 25 25 class="directory">/lib/firmware</filename>, where the kernel or kernel 26 26 drivers look for firmware images. 27 </para>28 29 <para>30 Preparing firmware for multiple different machines, as a distro would31 do, is outside the scope of this book.32 27 </para> 33 28 … … 129 124 130 125 <para> 131 Intel provide updates of their microcode for SandyBridge and later 132 processors as new vulnerabilities come to light. New versions of AMD 126 Intel provide updates of their microcode for Haswell and later 127 processors as new vulnerabilities come to light, and have in the past 128 provided updates for processors from SandyBridge onwards, although those 129 are no-longer supported for new fixes. New versions of AMD 133 130 firmware are rare and usually only apply to a few models, although 134 131 motherboard manufacturers get extra updates which maybe update microcode … … 166 163 </para> 167 164 165 <para> 166 If you are creating an initrd to update firmware for different machines, 167 as a distro would do, go down to 'Early loading of microcode' and cat all 168 the Intel blobs to GenuineIntel.bin or cat all the AMD blobs to 169 AuthenticAMD.bin. This creates a larger initrd - for all Intel machines in 170 the 20200609 update the size is 3.0 MB compared to typically 24 KB for one 171 machine. 172 </para> 173 168 174 <sect3 id="intel-microcode"> 169 175 <title>Intel Microcode for the CPU</title> … … 174 180 'https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/'/> 175 181 and downloading the latest file there. As of this writing the most 176 recent version of the microcode is microcode-20 191115. Extract this182 recent version of the microcode is microcode-20200609. Extract this 177 183 file in the normal way, the microcode is in the <filename>intel-ucode 178 184 </filename> directory, containing various blobs with names in the form … … 196 202 197 203 <para> 198 T o be able to use this latest microcode to provide mitigation on all199 the affected processors, the kernel version needs to be at least 5.3.11200 (or 4.19.84 if you are using the 4.19 long term support series).204 The documentation on the latest SRBDS (Special Register Buffer Data 205 Sampling) vulnerabilities/fixes will be documented in kernels 5.4.46, 206 5.6.18, 5.7.2, 5.8.0 and later. 201 207 </para> 202 208 … … 245 251 <para> 246 252 Then use the following command to see if anything was loaded: 253 (N.B. the dates when microcode was created may be months ahead of when 254 it was released.) 247 255 </para> 248 256 … … 250 258 251 259 <para> 252 This reformatted example was created by temporarily booting without 260 This reformatted example for an old (20191115) verison of the microcode 261 was created by temporarily booting without 253 262 microcode, to show the current Firmware Bug message, then the late load 254 263 shows it being updated to revision 0xd6. … … 417 426 <para> 418 427 The places and times where early loading happens are very different 419 in AMD and Intel machines. First, an Intel example with early loading:420 </para> 421 422 <screen><literal>[ 0.000000] microcode: microcode updated early to revision 0x d6, date = 2019-10-03423 [ 0.000000] Linux version 5. 4.6 (ken@leshp) (gcc version 9.2.0 (GCC))i424 #4 SMP PREEMPT Sat Dec 21 21:41:03 GMT 2019 425 [ 0. 000000] Command line: BOOT_IMAGE=/vmlinuz-5.4.6-sda11 root=/dev/sda11 ro resume=/dev/sda10426 [ 0. 579936] microcode: sig=0x506e3, pf=0x2, revision=0xd6427 [ 0.579961] microcode: Microcode Update Driver: v2.2.</literal></screen> 428 in AMD and Intel machines. First, an Intel (Haswell) example with early loading: 429 </para> 430 431 <screen><literal>[ 0.000000] microcode: microcode updated early to revision 0x28, date = 2019-11-12 432 [ 0.000000] Linux version 5.6.2 (ken@plexi) (gcc version 9.2.0 (GCC)) #2 SMP PREEMPT Tue Apr 7 21:34:32 BST 2020 433 [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.6.2-sda10 root=/dev/sda10 ro resume=/dev/sdb1 434 [ 0.371462] microcode: sig=0x306c3, pf=0x2, revision=0x28 435 [ 0.371491] microcode: Microcode Update Driver: v2.2.</literal></screen> 436 428 437 429 438 <para>
Note:
See TracChangeset
for help on using the changeset viewer.