Package: glibc
Version: 2.19-18+deb8u6

This bug is related to :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800574

The following patch was applied to disable hardware lock elision (HLE) on some Haswell and Broadwell CPUs :

https://anonscm.debian.org/viewvc/pkg-glibc/glibc-package/branches/glibc-branch-jessie/debian/patches/amd64/local-blacklist-for-Intel-TSX.diff?view=markup&pathrev=6644

The Patch was from Henrique de Moraes Holschuh <h...@debian.org>

This bug seems still present on Intel(R) Xeon(R) CPU E5-2603 v4.

I had troubles to install Eaton Intelligent Power Protector : always resulting in crash (SIGSEGV). I didn't have the problem on different hardware.
I guess eaton IPP is not very well coded.
I added the model and stepping of my CPU in sysdeps/x86_64/multiarch/init-arch.c recompiled the package and my problems disappeared.

I'm a newbie and have trouble to understand the process of making a patch, sorry ....

What i did :

apt-get source glibc

Modified the following file : (addition in bold and red)
sysdeps/x86_64/multiarch/init-arch.c (from line 192 to 197)

 if (kind == arch_kind_intel && family == 6 &&
((model == 63 && stepping <= 2) || (model == 60 && stepping <= 3) ||
(model == 69 && stepping <= 1) || (model == 70 && stepping <= 1) ||
(model == 61 && stepping <= 4) || (model == 71 && stepping <= 1) ||
*(model == 79 && stepping <= 1)**||* (model == 86 && stepping <= 2) ))
__cpu_features.cpuid[COMMON_CPUID_INDEX_7].ebx &= ~(bit_RTM | bit_HLE);

rebuilt the glibc package, reinstall .deb and rebooted.


--------------------------------------------------

Debian version : 8.6 (jessie)

--------------------------------------------------
cat /proc/cpuinfo :

model           : 79
model name      : Intel(R) Xeon(R) CPU E5-2603 v4 @ 1.70GHz
stepping        : 1

Hardware :

Dell Poweredge r430, dual cpu

--------------------------------------------------

kernel :
3.16.0-4-amd64

glibc version :
glibc_2.19-18+deb8u6

-----------------------------------------------------

*CPU :*

Intel(R) Xeon(R) CPU E5-2603 v4

cat /proc/cpuinfo :
model           : 79
model name      : Intel(R) Xeon(R) CPU E5-2603 v4 @ 1.70GHz
stepping        : 1

Cheers

*Eric PEYREMORTE*
*Technicien Informatique
Centre de Ressources Informatique (CRI)*
*51 rue B. de Laffemas 26000 VALENCE
Tel: 04.75.41.88.37 / Fax: 04.75.41.88.44
**www.iut-valence.fr
<http://www.iut-valence.fr>*

Reply via email to