Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547166 - sys-apps/microcode-data-20150121 breaks glibc on Intel Haswell systems
Summary: sys-apps/microcode-data-20150121 breaks glibc on Intel Haswell systems
Status: RESOLVED DUPLICATE of bug 528712
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-20 07:57 UTC by Marek Szuba
Modified: 2015-04-21 12:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2015-04-20 07:57:17 UTC
Hello,

Version 20150102 is now the latest stable version of sys-apps/microcode-data. Unfortunately, applying microcode updates from this ebuild on systems with Intel Haswell CPUs can result in severe system breakage due to the fact libpthread from recent versions of glibc tries to use instructions which this microcode update disables. This results in something along the lines of

kernel: traps: systemd[1] trap invalid opcode ip:7f50e593119a sp:7ffe4a1cb840 error:0 in libpthread-2.20.so[7f50e5925000+17000]
systemd[1]: Caught <ILL>, dumped core as pid 3956.
systemd[1]: Freezing execution.

and when it happens in a critical component such as systemd it renders the affected system unusable. If you are interested in details of the root cause of this behaviour, I have just posted a separate bug report regarding it.

In light of the above, I would strongly recommend masking recent versions of sys-apps/microcode-data until glibc ebuilds have been updated to address the problem. Better to have a system which can occasionally crash (which is what happens if you keep on using old microcode) than one which does not run at all...
Comment 1 SpanKY gentoo-dev 2015-04-20 16:04:34 UTC

*** This bug has been marked as a duplicate of bug 528712 ***
Comment 2 Marek Szuba archtester gentoo-dev 2015-04-21 12:14:57 UTC
Hello,

I respectfully disagree. Although the underlying problem is indeed the same as for bug #528712, what THIS bug is about that with sys-apps/microcode-data-20150121 having been marked stable lately anyone who runs Gentoo on an Intel Haswell-based machine will end up with a severely crippled or downright unusable system if they update @world. Please reconsider.