Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
no microcode early update?
-
- Posts: 23
- Joined: 2016-03-21 13:52
no microcode early update?
my laptop is hp zbook g1, cpu i5-4300m. according to wiki 'Users of CPUs belonging to the Intel Haswell and Broadwell processor families in particular must install these microcode updates to ensure system stability'.
so i intall intel-microcode package and reboot, run dmesg | grep microcode only output:
[ 2.970879] microcode: sig=0x306c3, pf=0x10, revision=0x24
[ 2.971024] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
that means no microcode update.
if some microcode updated while boot, dmesg should output like:
[ 0.000000] CPU0 microcode updated early to revision 0x1b, date = 2014-05-29
[ 0.507267] microcode: CPU0 sig=0x306a9, pf=0x2, revision=0x1b
[ 0.507272] microcode: CPU1 sig=0x306a9, pf=0x2, revision=0x1b
[ 0.507335] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
i was installed intel-microcode package for my other laptops before, dmesg always output like 'microcode: sig=0x306c3, pf=0x10, revision=0x24' means no micodecode updated.
so do i need to do more config or just let it go?
debian9 stable, kernel 4.14 backports.
so i intall intel-microcode package and reboot, run dmesg | grep microcode only output:
[ 2.970879] microcode: sig=0x306c3, pf=0x10, revision=0x24
[ 2.971024] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
that means no microcode update.
if some microcode updated while boot, dmesg should output like:
[ 0.000000] CPU0 microcode updated early to revision 0x1b, date = 2014-05-29
[ 0.507267] microcode: CPU0 sig=0x306a9, pf=0x2, revision=0x1b
[ 0.507272] microcode: CPU1 sig=0x306a9, pf=0x2, revision=0x1b
[ 0.507335] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
i was installed intel-microcode package for my other laptops before, dmesg always output like 'microcode: sig=0x306c3, pf=0x10, revision=0x24' means no micodecode updated.
so do i need to do more config or just let it go?
debian9 stable, kernel 4.14 backports.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: no microcode early update?
What do you get with
I just installed the version from Sid, and now spectre-meltdown-checker has this for the hardware section:
Code: Select all
apt policy intel-microcode
Code: Select all
Hardware check
* Hardware support (CPU microcode) for mitigation techniques
* Indirect Branch Restricted Speculation (IBRS)
* SPEC_CTRL MSR is available: YES
* CPU indicates IBRS capability: YES (SPEC_CTRL feature bit)
* Indirect Branch Prediction Barrier (IBPB)
* PRED_CMD MSR is available: YES
* CPU indicates IBPB capability: YES (SPEC_CTRL feature bit)
* Single Thread Indirect Branch Predictors (STIBP)
* SPEC_CTRL MSR is available: YES
* CPU indicates STIBP capability: YES
* Enhanced IBRS (IBRS_ALL)
* CPU indicates ARCH_CAPABILITIES MSR availability: NO
* ARCH_CAPABILITIES MSR advertises IBRS_ALL capability: NO
* CPU explicitly indicates not being vulnerable to Meltdown (RDCL_NO): NO
* CPU microcode is known to cause stability problems: NO (model 78 stepping 3 ucode 0xc2)
MX Linux packager and developer
-
- Posts: 23
- Joined: 2016-03-21 13:52
Re: no microcode early update?
my install stable version, apt policy intel-microcode output not contain message like yours.
-
- Posts: 23
- Joined: 2016-03-21 13:52
Re: no microcode early update?
kernel modoule microcode balcklist by default, but nothing changed even if i un-blacklist it.
Re: no microcode early update?
please post the output of this command.stevepusser wrote:What do you get withCode: Select all
apt policy intel-microcode
-
- Posts: 23
- Joined: 2016-03-21 13:52
Re: no microcode early update?
apt policy intel-microcode
intel-microcode:
Installed: 3.20171117.1~bpo9+1
Candidate: 3.20171117.1~bpo9+1
Version table:
*** 3.20171117.1~bpo9+1 100
100 http://mirrors.163.com/debian stretch-backports/non-free amd64 Packages
100 /var/lib/dpkg/status
3.20170707.1~deb9u1 500
500 http://mirrors.163.com/debian stretch/non-free amd64 Packages
intel-microcode:
Installed: 3.20171117.1~bpo9+1
Candidate: 3.20171117.1~bpo9+1
Version table:
*** 3.20171117.1~bpo9+1 100
100 http://mirrors.163.com/debian stretch-backports/non-free amd64 Packages
100 /var/lib/dpkg/status
3.20170707.1~deb9u1 500
500 http://mirrors.163.com/debian stretch/non-free amd64 Packages
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: no microcode early update?
Like I wrote above, you have to install the Sid deb package to get a newer version. It's compatible with Stretch.
MX Linux packager and developer
-
- Posts: 23
- Joined: 2016-03-21 13:52
Re: no microcode early update?
with sid version(kernel 4.15.4) apt policy intel-microcode almost no change:
intel-microcode:
Installed: 3.20180312.1
Candidate: 3.20180312.1
Version table:
*** 3.20180312.1 500
500 http://mirrors.163.com/debian sid/non-free amd64 Packages
100 /var/lib/dpkg/status
kern.log still show
[ 0.712827] microcode: sig=0x1067a, pf=0x1, revision=0x1
[ 0.712912] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
do i have to make some config about initramfs or other some of configure? or lack of some firmware debs?
intel-microcode:
Installed: 3.20180312.1
Candidate: 3.20180312.1
Version table:
*** 3.20180312.1 500
500 http://mirrors.163.com/debian sid/non-free amd64 Packages
100 /var/lib/dpkg/status
kern.log still show
[ 0.712827] microcode: sig=0x1067a, pf=0x1, revision=0x1
[ 0.712912] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
do i have to make some config about initramfs or other some of configure? or lack of some firmware debs?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: no microcode early update?
I have never figured out how Debian handle µcode updates so I download Arch's intel-ucode package, untar it, place their intel-ucode.img in /boot and load it before Debian's initrd.img in the GRUB menuentry.
It is a pre-prepared initramfs image that applies the microcode so it should work with any distribution.
EDIT: sorry, I'm noisy today, I think I'm bored...
It is a pre-prepared initramfs image that applies the microcode so it should work with any distribution.
EDIT: sorry, I'm noisy today, I think I'm bored...
Last edited by Head_on_a_Stick on 2018-03-18 01:06, edited 1 time in total.
deadbang
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: no microcode early update?
It changed to the latest version and your machine keeps working. What else are you expecting to happen?andyjackson wrote:with sid version(kernel 4.15.4) apt policy intel-microcode almost no change:
intel-microcode:
Installed: 3.20180312.1
Candidate: 3.20180312.1
Version table:
*** 3.20180312.1 500
500 http://mirrors.163.com/debian sid/non-free amd64 Packages
100 /var/lib/dpkg/status
kern.log still show
[ 0.712827] microcode: sig=0x1067a, pf=0x1, revision=0x1
[ 0.712912] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
do i have to make some config about initramfs or other some of configure? or lack of some firmware debs?
MX Linux packager and developer
- sunrat
- Administrator
- Posts: 6462
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 472 times
Re: no microcode early update?
Hopefully you didn't add the sid repo to stretch and leave it enabled.andyjackson wrote:...
500 http://mirrors.163.com/debian sid/non-free amd64 Packages...
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 23
- Joined: 2016-03-21 13:52
Re: no microcode early update?
-----------It changed to the latest version and your machine keeps working. What else are you expecting to happen?
i got 'microcode: sig=0x306c3, pf=0x10, revision=0x24' not 'CPU0 microcode updated early to revision ...' from dmesg, kernel do not load any microcode, maybe bios already upodated microcodes, BUT how can i know that?
------------I have never figured out how Debian handle µcode updates so I download Arch's intel-ucode package, untar it, place their intel-ucode.img in /boot and load it before Debian's initrd.img in the GRUB menuentry.
is that stable? Arch's intel-ucode.img for debian? i dont think so.
i got 'microcode: sig=0x306c3, pf=0x10, revision=0x24' not 'CPU0 microcode updated early to revision ...' from dmesg, kernel do not load any microcode, maybe bios already upodated microcodes, BUT how can i know that?
------------I have never figured out how Debian handle µcode updates so I download Arch's intel-ucode package, untar it, place their intel-ucode.img in /boot and load it before Debian's initrd.img in the GRUB menuentry.
is that stable? Arch's intel-ucode.img for debian? i dont think so.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: no microcode early update?
It is the µcode from Intel packaged up into an initramfs image that applies the code to the CPU before the operating system is loaded so yes, it is 100% compatible with Debian.andyjackson wrote:I have never figured out how Debian handle µcode updates so I download Arch's intel-ucode package, untar it, place their intel-ucode.img in /boot and load it before Debian's initrd.img in the GRUB menuentry.
is that stable? Arch's intel-ucode.img for debian? i dont think so.
deadbang
-
- Posts: 23
- Joined: 2016-03-21 13:52
Re: no microcode early update?
i put intel-ucode.img to /boot and change grub.cfg with "initrd /boot/intel-ucode.img /boot/initrd.img-414..."and reboot, nothing changed. debian9 stable, kernel 4.14 backports.
what is you cpu type? with your sid + intel-ucode.img, dmesg | grep microcode output is?
what is you cpu type? with your sid + intel-ucode.img, dmesg | grep microcode output is?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: no microcode early update?
^ I'm not in that box atm but this has just been posted and may be relevant:
https://bbs.archlinux.org/viewtopic.php?pid=1774907
I'll post back later with the requested information.
https://bbs.archlinux.org/viewtopic.php?pid=1774907
I'll post back later with the requested information.
deadbang
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: no microcode early update?
Does dmesg report stuff from the initrd boot, or does it have to wait until the main system starts?
MX Linux packager and developer
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: no microcode early update?
^ Good question and I'm not sure.
Anyway the actual µcode version can be viewed with:
I tried updating it manually by downloading the files from Intel, placing them in /lib/firmware/intel-ucode and then running:
But the version stayed the same so I presume that my method works.
All we have in dmesg is
I have also discovered that for Debian the µcode is baked into the initramfs image, for more see
Anyway the actual µcode version can be viewed with:
Code: Select all
grep microcode /proc/cpuinfo
Code: Select all
# echo 1 > /sys/devices/system/cpu/microcode/reload
All we have in dmesg is
Code: Select all
alpine:~$ sudo dmesg|grep microcode
[ 0.533318] microcode: sig=0x20655, pf=0x10, revision=0x4
[ 0.533490] microcode: Microcode Update Driver: v2.2.
Code: Select all
zcat /usr/share/doc/intel-microcode/README.Debian.gz
deadbang