Your message dated Mon, 16 Jan 2017 11:25:16 +0100 with message-id <20170116102516.n3suegdomjkq5kfw@aurel32.net> and subject line Re: Bug#847927: Lock elision bug on Xeon has caused the Debian Bug report #847927, regarding Lock elision bug on Xeon to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 847927: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847927 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: Lock elision bug on Xeon
- From: Eric PEYREMORTE <eric.peyremorte@iut-valence.fr>
- Date: Mon, 12 Dec 2016 14:20:22 +0100
- Message-id: <4c5b7b7d-28be-234f-0947-644388fc206d@iut-valence.fr>
Package: glibc
Version: 2.19-18+deb8u6
This bug is related to :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800574The following patch was applied to disable hardware lock elision (HLE) on some Haswell and Broadwell CPUs :
The Patch was from Henrique de Moraes Holschuh <hmh@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 : 1Hardware :
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
--- End Message ---
--- Begin Message ---
- To: Eric PEYREMORTE <eric.peyremorte@iut-valence.fr>, 847927-done@bugs.debian.org
- Subject: Re: Bug#847927: Lock elision bug on Xeon
- From: Aurelien Jarno <aurelien@aurel32.net>
- Date: Mon, 16 Jan 2017 11:25:16 +0100
- Message-id: <20170116102516.n3suegdomjkq5kfw@aurel32.net>
- In-reply-to: <20161218210606.wsq323iyau7h7l3v@aurel32.net>
- References: <4c5b7b7d-28be-234f-0947-644388fc206d@iut-valence.fr> <20161218210606.wsq323iyau7h7l3v@aurel32.net>
Version: 2.19-18+deb8u7 On 2016-12-18 22:06, Aurelien Jarno wrote: > On 2016-12-12 14:20, Eric PEYREMORTE wrote: > > 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 <hmh@debian.org> > > > > This bug seems still present on Intel(R) Xeon(R) CPU E5-2603 v4. > > I don't think so. There as been a long series of broken CPU, but newer > ones are now fixed. > > > I had troubles to install Eaton Intelligent Power Protector : always > > resulting in crash (SIGSEGV). I didn't have the problem on different > > hardware. > > If you still see crashes, it's likely that you are using broken software > which do not correctly use locks. > > > I guess eaton IPP is not very well coded. > > Indeed. > > > I added the model and stepping of my CPU in > > sysdeps/x86_64/multiarch/init-arch.c recompiled the package and my problems > > disappeared. > > We have found that many softwares have bugs with HLE. The next jessie > release will have HLE disabled. This has been done in version > 2.19-18+deb8u7 that is currently in stable-proposed-updates and that > will be released with the next stable point release. > > You can access them by adding stable-proposed-updates to > /etc/apt/sources.list (in that case take care of not installing other > packages from this repository) or fetching them from a mirror. Debian 8.7 has been released, and it includes glibc 2.19-18+deb8u7. I am therefore closing this bug. Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.netAttachment: signature.asc
Description: PGP signature
--- End Message ---