Date: Fri, 12 Jan 2018 12:49:15 +0100 From: Rainer Hurling <rhurlin@gwdg.de> To: Sean Bruno <sbruno@freebsd.org>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: [CFT] AMD cpu microcode update port sysutils/devcpu-data D13832 Message-ID: <dc85c41d-2987-ac93-1e01-cf9fec833703@gwdg.de> In-Reply-To: <dc163730-5995-3c71-92d7-a926f0da6806@freebsd.org> References: <dc163730-5995-3c71-92d7-a926f0da6806@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 12.01.2018 um 00:03 schrieb Sean Bruno: > https://reviews.freebsd.org/D13832 <--- test this update > > I'd like to get some feedback from AMD cpu users on this update. I've > restructured and undone a few things that may have been keeping folks > using this port from getting their runtime cpu microcode updates. > > After installing the port, grab your microcode version via > sysutils/x86info. If you don't see an update, that only means there is > no update available for your system. > > x86info -a | grep Microcode > > Run the microcode_update and repeat. Check /var/log/messages for a > notification that the code was updated. You should be able to get > something like the following for your system if it executed an update: > > root@lab:/home/sbruno # x86info -a | grep "CPU Model" > CPU Model (x86info's best guess): AMD FX Series Processor (OR-B2) > > root@lab:/home/sbruno # x86info -a | grep Microcode > Microcode patch level: 0x6000629 > > root@lab:/home/sbruno # /usr/local/etc/rc.d/microcode_update onestart > Updating CPU Microcode... > Done. > > root@lab:/home/sbruno # x86info -a | grep Microcode > Microcode patch level: 0x600063d > > root@lab:/home/sbruno # grep microcode_update /var/log/messages > Jan 10 16:52:26 lab microcode_update: > /usr/local/share/cpucontrol/microcode_amd_fam15h.bin: updating cpu > /dev/cpuctl0 to revision 0x600063d... done. > Just for the record, for an older Phenom with dmesg: CPU: AMD Phenom(tm) II X6 1090T Processor (3214.31-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x100fa0 Family=0x10 Model=0xa Stepping=0 Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x802009<SSE3,MON,CX16,POPCNT> AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT> SVM: NP,NRIP,NAsids=64 TSC: P-state invariant, performance statistics #x86info -a | grep "CPU Model" CPU Model (x86info's best guess): Phenom/Athlon/Sempron/Turion (II)/Opteron (PH-E0) #x86info -a | grep Microcode Microcode patch level: 0x10000bf #/usr/local/etc/rc.d/microcode_update onestart Updating CPU Microcode... Done. #x86info -a | grep Microcode Microcode patch level: 0x10000bf #grep microcode_update /var/log/messages --- So no recent update and no log messages, as expected ;) Regards, Rainer Hurling
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dc85c41d-2987-ac93-1e01-cf9fec833703>