You are not logged in.

#1 2014-10-23 07:57:51

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

[solved]Intel microcode necessary?

I saw the announcement about intels microcode updating.
I understand it is for some reason necessary to load the updates early in the boot process now. But actually I never had intel-ucode installed.
Therefore my microcode never was updated on boot. Is it necessary to do this now because of the new kernel?

EDIT: What would happen if I don't  update the microcode?

Last edited by dice (2014-10-24 08:40:11)


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#2 2014-10-23 08:13:23

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: [solved]Intel microcode necessary?

I have it in my boot options with no errors though when I check it via

dmesg | grep microcode

it does not give the early space message so I am not sure my self if it is actually needed for me as well it does give all other info though.

From what I understand it is no longer persistant(via the wiki) so I wonder what you get with the code above.

Last edited by bleach (2014-10-23 08:19:06)

Offline

#3 2014-10-23 08:13:26

stupidus
Member
Registered: 2012-02-27
Posts: 124

Re: [solved]Intel microcode necessary?

I actually have the same question. I never had intel-ucode installed. However, when I saw the news, I thought I have to install it now and made the changes to my bootloader. Upon rebooting I got a kernel panic, so I reverted the changes to the bootloader, and everything is working fine again. Is intel-ucode needed? Because if not, I don't think it's worth the hassle to debug that kernel panic, and I would just leave it as it is.

Offline

#4 2014-10-23 08:22:27

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: [solved]Intel microcode necessary?

If you are using syslinux I found you need to put initrd after append.

Last edited by bleach (2014-10-23 08:23:40)

Offline

#5 2014-10-23 08:23:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [solved]Intel microcode necessary?

There are lists on the wiki page for the CPUs that require the microcode. If yours is there, install the package, update your boot{loader,manager} config and go about your business...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2014-10-23 08:24:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [solved]Intel microcode necessary?

bleach wrote:

If you are using syslinux I found you need to put initrd after append.

Not necessary: the wiki example works as advertised.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-10-23 08:27:40

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: [solved]Intel microcode necessary?

Hmm it did not work for me though when I switched them it worked maybe its my setup? I had got thrown into a recovery prompt.

edit:I was wrong I had probably typed somthing in wrong

Last edited by bleach (2014-10-23 08:36:40)

Offline

#8 2014-10-23 08:38:06

stupidus
Member
Registered: 2012-02-27
Posts: 124

Re: [solved]Intel microcode necessary?

@jasonwryan: That list just tells you wether the CPU supports microcode updates, not wether it needs it as far as I understood it.

And obviously it worked very well for most people without having intel-ucode installed, so it does not seem to be strictly necessary to install it.

In my case, I probably won't install it, because a preliminary search on google made me think, that this is not compatible with the way grub-legacy handles multiple initrd's.

Offline

#9 2014-10-23 08:40:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [solved]Intel microcode necessary?

It does need it. Read the first paragraph on the wiki page again: Intel pushes these updates for a reason...

@bleach: I made the mistake of including a space between the comma and the start of the next initrd line and ended up in the same place tongue


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2014-10-23 09:54:29

dlh
Member
Registered: 2010-11-26
Posts: 44

Re: [solved]Intel microcode necessary?

I updated the microcode and didn't change my grub.cfg file and after reboot I have:

> dmesg | grep micro
[    0.106809] microcode: CPU0 sig=0x306c3, pf=0x2, revision=0x17
[    0.106814] microcode: CPU1 sig=0x306c3, pf=0x2, revision=0x17
[    0.106838] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

Is that states that microcode was properly applied?

Offline

#11 2014-10-23 10:24:06

Kooothor
Member
From: Paname
Registered: 2008-08-02
Posts: 226

Re: [solved]Intel microcode necessary?

@dlh : nope, I had the same thing than you before updating. After, I installed the intel-ucode, added the line to the grub init, and here is what I have now :

$ dmesg|grep microcode
[Oct23 12:18] CPU0 microcode updated early to revision 0x1b, date = 2014-05-29
[  +0.010736] CPU1 microcode updated early to revision 0x1b, date = 2014-05-29
[  +0.010669] CPU2 microcode updated early to revision 0x1b, date = 2014-05-29
[  +0.010653] CPU3 microcode updated early to revision 0x1b, date = 2014-05-29
[  +0.000045] microcode: CPU0 sig=0x306a9, pf=0x10, revision=0x1b
[  +0.000006] microcode: CPU1 sig=0x306a9, pf=0x10, revision=0x1b
[  +0.000007] microcode: CPU2 sig=0x306a9, pf=0x10, revision=0x1b
[  +0.000007] microcode: CPU3 sig=0x306a9, pf=0x10, revision=0x1b
[  +0.000007] microcode: CPU4 sig=0x306a9, pf=0x10, revision=0x1b
[  +0.000007] microcode: CPU5 sig=0x306a9, pf=0x10, revision=0x1b
[  +0.000007] microcode: CPU6 sig=0x306a9, pf=0x10, revision=0x1b
[  +0.000006] microcode: CPU7 sig=0x306a9, pf=0x10, revision=0x1b
[  +0.000040] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

So I guess now it's updated. Although I'm not sure it will change my life, but I guess having the most recent firmware on my CPU is better than having an old one smile


ktr

Offline

#12 2014-10-23 11:26:40

stupidus
Member
Registered: 2012-02-27
Posts: 124

Re: [solved]Intel microcode necessary?

I've overcome my paranoia regarding the bootloader and installed syslinux. Now everything is working fine with the microcode update. So I guess you really cannot use grub-legacy anymore.

Offline

#13 2014-10-23 14:14:06

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [solved]Intel microcode necessary?

The Wiki article states, "For recent kernels, you need intel-ucode 20140913 or newer." If I run pacman -Ss ucode, I get "extra/intel-ucode 20140624-1". How am I supposed to get the newer version?

Tim

Offline

#14 2014-10-23 14:17:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved]Intel microcode necessary?

Always update your system before installing new software (and keep your mirrorlist up to date) https://www.archlinux.org/packages/?sor … =&flagged=

Offline

#15 2014-10-23 14:21:30

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [solved]Intel microcode necessary?

karol wrote:

Always update your system before installing new software (and keep your mirrorlist up to date) https://www.archlinux.org/packages/?sor … =&flagged=

Thanks, karol. I realized that after I posted, and was looking for a way to delete my post.

I am unable to upgrade at this point because my system is btrfs based and btrfs has serious bugs in kernel 3.17.1. I'll have to wait a while.

Tim

Last edited by ratcheer (2014-10-23 14:23:38)

Offline

#16 2014-10-23 15:55:35

dlh
Member
Registered: 2010-11-26
Posts: 44

Re: [solved]Intel microcode necessary?

I patched my grub.cfg file:

--- /boot/grub/grub.cfg 2014-10-23 17:53:53.400283497 +0200
+++ /boot/grub/grub.cfg.bak     2014-10-23 17:53:48.284260123 +0200
@@ -105,6 +105,7 @@
          search --no-floppy --fs-uuid --set=root 64818bcc-9991-40c1-a837-516792922139
        fi
        echo    'Wczytywanie systemu Linux custom...'
+       initrd  /boot/intel-ucode.img
        linux   /boot/vmlinuz-custom root=/dev/sdb1 rw  quiet elevator=noop
 }

and when booting I have:

Loading system Linux custom
alloc magic is broken at 0xddd26df0: 0
Aborted. Press any key to exit

Anu clues?

Offline

#17 2014-10-23 15:59:29

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [solved]Intel microcode necessary?

What if you put the initrd line after the kernel line?

Offline

#18 2014-10-23 16:04:02

dejavu
Member
Registered: 2008-05-26
Posts: 103

Re: [solved]Intel microcode necessary?

Does anyone know if it also survives suspend to ram. Here is my output:

$ dmesg | grep microcode
[    0.000000] CPU0 microcode updated early to revision 0x60f, date = 2010-09-29
[    0.006666] CPU1 microcode updated early to revision 0x60f, date = 2010-09-29
[    0.780684] microcode: CPU0 sig=0x10676, pf=0x80, revision=0x60f
[    0.780700] microcode: CPU1 sig=0x10676, pf=0x80, revision=0x60f
[    0.780822] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[   85.309709] CPU1 microcode updated early to revision 0x60f, date = 2010-09-29
[  114.982686] CPU1 microcode updated early to revision 0x60f, date = 2010-09-29
[ 1448.889502] CPU1 microcode updated early to revision 0x60f, date = 2010-09-29

Offline

#19 2014-10-23 21:15:08

ampe0
Member
Registered: 2014-10-23
Posts: 6

Re: [solved]Intel microcode necessary?

So, how should I append this to my syslinux.cfg file?

LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sdc1 rw
    INITRD ../initramfs-linux.img

LABEL archfallback
    MENU LABEL Arch Linux Fallback
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sdc1 rw
    INITRD ../initramfs-linux-fallback.img

I see the initrd line but how should I apply the other intel-ucode.img file? From reading the syslinux wiki I'm assuming (there are no examples) like so:

INITRD ../intel-ucode.img, /initramfs-linux.img
INITRD ../intel-ucode.img, /initramfs-linux-fallback.img

but can someone please confirm or correct this before I have to reboot. Thanks. smile

Offline

#20 2014-10-23 21:21:59

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,240

Re: [solved]Intel microcode necessary?


Mike C

Offline

#21 2014-10-23 21:28:00

ampe0
Member
Registered: 2014-10-23
Posts: 6

Re: [solved]Intel microcode necessary?

Wow, my bad. I should have continued reading instead of heading straight to google, thanks. big_smile

Offline

#22 2014-10-24 08:39:57

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: [solved]Intel microcode necessary?

Okay I guess I'll mark this solved


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#23 2014-10-24 09:01:03

secretrice
Member
Registered: 2014-09-17
Posts: 5

Re: [solved]Intel microcode necessary?

@dice  - please, hold your horses for a one more question :-) - about @dejavu post.
There are some dates: 2010-09-29 - which, I think, are in conflict with idea of new upgrade for intel CPU via intel-ucode package (older date), but other text indicates that microcode was upgraded correctly. What does it mean in this case? Is microcode upgraded succesfully or not?

Thank you in advance, and I'm sorry for refreshing solved subject.

Offline

#24 2014-10-24 12:40:52

dlh
Member
Registered: 2010-11-26
Posts: 44

Re: [solved]Intel microcode necessary?

lucke wrote:

What if you put the initrd line after the kernel line?

Now it's working fine, thanks smile

[    0.000000] CPU0 microcode updated early to revision 0x1c, date = 2014-07-03
[    0.049089] CPU1 microcode updated early to revision 0x1c, date = 2014-07-03
[    0.108206] microcode: CPU0 sig=0x306c3, pf=0x2, revision=0x1c
[    0.108211] microcode: CPU1 sig=0x306c3, pf=0x2, revision=0x1c
[    0.108234] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

Offline

#25 2014-10-24 18:57:21

forumache
Member
From: Netherlands
Registered: 2011-09-02
Posts: 55

Re: [solved]Intel microcode necessary?

Ha, ha, for someone who likes puzzles:

I have an Atom 330 processor (dual-core with hyperthreading), so it appears as 4 CPUs.

With the new intel-ucode.img in syslinux.cfg, this is what I get:

[    0.000000] CPU0 microcode updated early to revision 0x219, date = 2009-04-10
[    0.556420] microcode: CPU0 sig=0x106c2, pf=0x8, revision=0x219
[    0.556453] microcode: CPU1 sig=0x106c2, pf=0x8, revision=0x213
[    0.556481] microcode: CPU2 sig=0x106c2, pf=0x8, revision=0x219
[    0.556510] microcode: CPU3 sig=0x106c2, pf=0x8, revision=0x213
[    0.556808] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

So yeah, it applied the microcode (early) to just one core.
You can see above that CPU0 and CPU2 (same core) are 0x219, the other core (CPU1,CPU3) remained at 0x213.

Nice, isn't it? wink

Offline

Board footer

Powered by FluxBB