Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2018 17:54:55 +0100
From:      Stefan Blachmann <sblachmann@gmail.com>
To:        Ruben <mail@osfux.nl>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: cpupdate : Unsupported version for Intel CPU?
Message-ID:  <CACc-My34Ze9n5PFagM6BDpmR03-%2B6rKaKc5B%2BUX5_McovHGQGA@mail.gmail.com>
In-Reply-To: <a8699b3b-1f5d-7d05-268f-b7e6c4a69cee@osfux.nl>
References:  <a8699b3b-1f5d-7d05-268f-b7e6c4a69cee@osfux.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ruben,
thank you for your feedback!

The tool is intended for all Intel cpus.

I wonder whether there might be a download error?
To verify this here is the SHA256 checksum:

% sha256 /home/stefan/Downloads/Intel/Intel/cpu206C2_plat03_ver0000001D_201=
5-08-04_PRD_F7DC758B.bin
SHA256 (/home/stefan/Downloads/Intel/Intel/cpu206C2_plat03_ver0000001D_2015=
-08-04_PRD_F7DC758B.bin)
=3D 8f0f2d80ea3ffa0c4993445a49c42751ebe04dfcea19c25d1951870daac45d9a
%

What makes me wonder too is the size (30KB) that is shown in your log:

% ll /home/stefan/Downloads/Intel/Intel/cpu206C2_plat03_ver0000001D_2015-08=
-04_PRD_F7DC758B.bin
-rw-r--r--  1 stefan  stefan  9216 Mar 11 18:40
/home/stefan/Downloads/Intel/Intel/cpu206C2_plat03_ver0000001D_2015-08-04_P=
RD_F7DC758B.bin

Please can you check that size and checksum are correct?
If they are, please let me know so that I can investigate what might
have happened else.

Anyway I did a major rework of the tool and added new functions and
documentation in the last days. Will upload that tonight or tomorrow.
I'll email when it's on github.

Have a nice day!
Stefan


On 3/14/18, Ruben <mail@osfux.nl> wrote:
> Hi Stefan,
>
>
> Is this tool intended to be compatible with all intel CPU's or is it
> just for a specific subset of Intel CPU's (or subset=C2=A0 perhaps of
> microcode images)?
>
> The reason I'm asking is because I've just given your tool a try and got
> an "error" message (see below). I have not tried using the traditional
> tools yet (devcpu).
>
> Any feedback appreciated!
>
>
> Kind regards,
>
>
> Ruben
>
> [root@fbh4:/usr/home/ruben]# git clone
> https://github.com/kernschmelze/cpupdate
>
> [ snip ]
>
> [root@fbh4:/usr/home/ruben]# cd cpupdate/
> [root@bh4:/usr/home/ruben/cpupdate]# make
> echo cpupdate.full: /usr/lib/libc.a=C2=A0 >> .depend
> Warning: Object directory not changed from original
> /usr/home/ruben/cpupdate
> cc -O2 -pipe=C2=A0=C2=A0 -g -MD=C2=A0 -MF.depend.cpupdate.o -MTcpupdate.o=
 -std=3Dgnu99
> -fstack-protector-strong=C2=A0=C2=A0=C2=A0 -Qunused-arguments=C2=A0 -c cp=
update.c -o cpupdate.o
> cc -O2 -pipe=C2=A0=C2=A0 -g -MD=C2=A0 -MF.depend.intel.o -MTintel.o -std=
=3Dgnu99
> -fstack-protector-strong=C2=A0=C2=A0=C2=A0 -Qunused-arguments=C2=A0 -c in=
tel.c -o intel.o
> cc -O2 -pipe -g -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments
> -o cpupdate.full cpupdate.o intel.o
> objcopy --only-keep-debug cpupdate.full cpupdate.debug
> objcopy --strip-debug --add-gnu-debuglink=3Dcpupdate.debug=C2=A0 cpupdate=
.full
> cpupdate
> gzip -cn cpupdate.8 > cpupdate.8.gz
> [root@fbh4:/usr/home/ruben/cpupdate]#
>
> [root@fbh4:/usr/home/ruben/cpupdate]# ./cpupdate -i
> Found CPU(s) from Intel
> Processor Core: 0
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 1
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 2
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 3
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 4
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 5
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 6
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 7
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 8
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 9
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 10
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 11
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 12
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 13
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 14
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
> Processor Core: 15
> -> CPUID: 206c2=C2=A0 Family: 06=C2=A0 Model: 2C=C2=A0 Stepping: 02=C2=A0=
 uCodeRev: 00000013
>
> [root@fbh4:/usr/home/ruben/cpupdate]# fetch
> https://github.com/platomav/CPUMicrocodes/blob/master/Intel/cpu206C2_plat=
03_ver0000001D_2015-08-04_PRD_F7DC758B.bin
> fetch:
> https://github.com/platomav/CPUMicrocodes/blob/master/Intel/cpu206C2_plat=
03_ver0000001D_2015-08-04_PRD_F7DC758B.bin:
> size of remote file is not known
> cpu206C2_plat03_ver0000001D_2015-08-04_PRD_F7D=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 30 kB=C2=A0 270 kBps
> 00m00s
>
> [root@fbh4:/usr/home/ruben/cpupdate]# ./cpupdate -vv -I -f
> /usr/home/ruben/cpupdate/cpu206C2_plat03_ver0000001D_2015-08-04_PRD_F7DC7=
58B.bin
> Unsupported version
> Error in [first] header
> [root@fbh4:/usr/home/ruben/cpupdate]#
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACc-My34Ze9n5PFagM6BDpmR03-%2B6rKaKc5B%2BUX5_McovHGQGA>