From owner-freebsd-hackers@freebsd.org Wed Mar 14 16:34:37 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B261EF5CE55 for ; Wed, 14 Mar 2018 16:34:37 +0000 (UTC) (envelope-from mail@osfux.nl) Received: from vm1982.vellance.net (vm1982.vellance.net [79.99.187.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43AEF69890 for ; Wed, 14 Mar 2018 16:34:36 +0000 (UTC) (envelope-from mail@osfux.nl) Received: from vm1982.vellance.net (localhost [127.0.0.1]) by vm1982.vellance.net (Postfix) with ESMTP id DFDD920217; Wed, 14 Mar 2018 17:26:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1521044781; bh=/2eXw8iPvPgj/MVv93/VPCX/1+KOJfxOp9VWPEarYM4=; h=To:From:Subject:Date; b=BwSU9TV1YIR420iteRU1wIc5Dfn1IBZBGlKU8vH8ZR5QcGTLfQQIT9MCaEmqs4+9n S1vnIDXoU6fi+4Xa9WkxLYN45glyvJs46na8BWl5WmisK0g4EOaDgB02LAV4Vj+Wu2 7/VfYFhySyItk2eGzZCF/U1P6Vry9qpELNr7LYfZOLgxBzljDEdNrVM6Bk2cSiaW4O LdSAvN3vYj00fYnN1Mk4KvjvDdUzluZHV5k4lkCYFGfIfut7P1J0/1SrlNxeKhurvO 6CYqeRazMorjrjGzoJi8NpnhmoT7xVjWPRW/SSqEWTbD8/ZjMfQDiWTlPFnpjA4rBN Cmo93mPib81eWVIPrNMmQIhBXLjuUVZUHb6YqOLGnmW/wiukNAhr7cxBsrJ1jlb5xf tcE5bev+H468TyUgjPw3Mqrvy1ZqxDjNdt6TJdtVp47Hy0xWKb5WG/kR2dPBpRf2IV r8Hb4HcU8jmI6x+DItZw1IAcE+FFHmFPe1jH6yn9Sk+D0O0+vGWfBQw5FB+wxJoAdW j6784OdyXmQUgsKqXpoW31CFK1GWnyu4CCI0VlBjoS9LIT6vxdWJOGq2Gn92Q6Yub1 SCFcWkg0TsGXScAbzyeWgVbPpKzztS3ieAR+eIxZRzgHjCGpH8RS2h/4YJ4TKf5aaj qXHtaLbNziJZVG9esLZLGFUc= Received: from vm1982.vellance.net (localhost [127.0.0.1]) by vm1982.vellance.net (Postfix) with ESMTP id 22EDB20209; Wed, 14 Mar 2018 17:26:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1521044778; bh=/2eXw8iPvPgj/MVv93/VPCX/1+KOJfxOp9VWPEarYM4=; h=To:From:Subject:Date; b=LQmCxET0b87FLNdkqc27QmmHnaPF0XBRwgY1MPawHJP7Hp02gxt6NETt0p9PhMP1s TOY2/1/YWMVrQf/ge2RAzCLjGC/NJixiPri+Addwlb07F+up5qELIfjxkSVRZ7hshy giZsOMckoSyE2wIZz6TvNh4ClhhzOSxjsunBf20IOJNm/cRqC5J1G2HkoQxnyv4Aqt bctXQCDrURXOaZtbdH4HfUWvWk2Of1q3W9Rk/3BaDP767sY02+FSsKnns1TZHnN89T nu58BLQwFp23sLE4LQ5/oLnHIrshCoM3YPU4+/w0AU1I7a28piH/XgHzqZmw4V5BKY uEySLMVOqdv3sDUkdItCAsnSgxfmIOgsV1Dp7/F5zQy5+wYk9Z6X0ctDPPoFxNxO2k B3JKw9ovPdWh0Y344/7iIbnFpNXGDvYRLDUmw3l6Y5albB7cfqh11/jBn2eoFdYNS5 GLCQXhQipZcbU7YzuB6h9g3prxPG2uLbFwro8Sut1N8eWa3Pz/E5hazuY4JYNx2o1p G+p3OO3g2lGNXBzbJvu8Q5l8YyRIOPZesfmGgGRn+X9EabEmm4AGPsxYQuWcMVq60x Lq8Zdt2SRDOA043CdxM+uISSN9Nk2TuiC3SJrqMrpkPDpZaNw1ECsVc0EZwUqO54n9 3FiwjQ3ZtKADATJvKFbRZuHY= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on vm1982.vellance.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.1 Received: from rubens-MacBook-Air.local (engineering.quanza.net [91.208.87.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm1982.vellance.net (Postfix) with ESMTPSA; Wed, 14 Mar 2018 17:26:11 +0100 (CET) To: Stefan Blachmann , freebsd-hackers@freebsd.org From: Ruben Subject: cpupdate : Unsupported version for Intel CPU? Message-ID: Date: Wed, 14 Mar 2018 17:26:10 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2018 16:34:37 -0000 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  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  >> .depend Warning: Object directory not changed from original /usr/home/ruben/cpupdate cc -O2 -pipe   -g -MD  -MF.depend.cpupdate.o -MTcpupdate.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c cpupdate.c -o cpupdate.o cc -O2 -pipe   -g -MD  -MF.depend.intel.o -MTintel.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c intel.c -o intel.o cc -O2 -pipe -g -std=gnu99 -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=cpupdate.debug  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  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 1 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 2 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 3 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 4 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 5 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 6 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 7 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 8 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 9 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 10 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 11 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 12 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 13 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 14 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 Processor Core: 15 -> CPUID: 206c2  Family: 06  Model: 2C  Stepping: 02  uCodeRev: 00000013 [root@fbh4:/usr/home/ruben/cpupdate]# fetch https://github.com/platomav/CPUMicrocodes/blob/master/Intel/cpu206C2_plat03_ver0000001D_2015-08-04_PRD_F7DC758B.bin fetch: https://github.com/platomav/CPUMicrocodes/blob/master/Intel/cpu206C2_plat03_ver0000001D_2015-08-04_PRD_F7DC758B.bin: size of remote file is not known cpu206C2_plat03_ver0000001D_2015-08-04_PRD_F7D          30 kB  270 kBps 00m00s [root@fbh4:/usr/home/ruben/cpupdate]# ./cpupdate -vv -I -f /usr/home/ruben/cpupdate/cpu206C2_plat03_ver0000001D_2015-08-04_PRD_F7DC758B.bin Unsupported version Error in [first] header [root@fbh4:/usr/home/ruben/cpupdate]#