On Fri, Jun 07, 2019 at 03:43:39PM +0200, Paul de Weerd wrote:
> I've just replaced my home gateway with a brandless machine with an
> i5-7200U. While preparing, I noticed the message "ucode too large"
> scrolling by on the serial console, just before the kernel starts.
>
> The dmesg shows cpu0 as mode 06-8e-09:
>
> cpu0: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 2395.19 MHz, 06-8e-09
>
> While /etc/firmware/intel/06-8e-09 is the biggest file in that
> directory (at 193kB), so this probably has something to do with that
> and the MDS "fun".
>
> Machine works fine as far as I can tell (typing this mail over an SSH
> session through it).
>
This should work if you are using a -current EFI boot(9) or try the
following diff for the BIOS boot(9). In both cases make sure you
installboot the new code.
--
:wq Claudio
Index: arch/amd64/stand/libsa/exec_i386.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/stand/libsa/exec_i386.c,v
retrieving revision 1.31
diff -u -p -r1.31 exec_i386.c
--- arch/amd64/stand/libsa/exec_i386.c 28 May 2019 17:38:02 -0000 1.31
+++ arch/amd64/stand/libsa/exec_i386.c 7 Jun 2019 13:58:05 -0000
@@ -226,7 +226,7 @@ ucode_load(void)
return;
buflen = sb.st_size;
- if (buflen > 128*1024) {
+ if (buflen > 256*1024) {
printf("ucode too large\n");
return;
}