<div dir="ltr"><div><div>Hi Mike,<br><br></div>Thanks for the "tips"...<br><br></div>Cheers,<br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 18, 2015 at 9:50 AM, Mi Re <span dir="ltr"><<a href="mailto:mireatwork@gmail.com" target="_blank">mireatwork@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all<br>
<br>
I did not find a solution for the mentioned problem here, so I'm posting it.<br>
<br>
The error seems to be related to Intel's TSX extensions and specifically HLE (Hardware Lock Elision). Some Broadwell and Haswell processors have faulty implementations of these extensions and were later disabled by Intel through microcode updates.<br>
<br>
There are two possible solutions for Linux users:<br>
<br>
Solution 1 (the easy one): Install the latest "intel-ucode" (on Arch Linux) or "intel-microcode" (Ubuntu) and reboot. Check for distribution-specific steps first. If you're lucky, iked should now run fine.<br>
<br>
If the error is still present, continue reading.<br>
<br>
Solution 2 (the not-so-easy one): You need to rebuild your glibc package without Lock Elision enabled. For Arch Linux, the steps are the following:<br>
<br>
==========<br>
$ sudo abs core<br>
$ cp -r /var/abs/core/glibc /tmp<br>
$ cd /tmp/glibc<br>
<br>
( PKGBUILD: remove the line containing --enable-lock-elision with sed:)<br>
<br>
$ sed -i '/--enable-lock-elision/d' PKGBUILD<br>
$ makepkg<br>
==========<br>
<br>
You then can either install the glibc globally for your system by executing:<br>
<br>
$ sudo pacman -U /tmp/glibc/glibc-whatever.pkg.tar.xz<br>
<br>
or you unpack the built glibc package to some location that you like and use the LD_LIBRARY_PATH mechanism to override the libs used by iked everytime you start iked:<br>
<br>
$ sudo LD_LIBRARY_PATH=$LOCATION_OF_UNPACKED_TAR/usr/lib iked<br>
<br>
With that, iked should start without any problems.<br>
<br>
Instructions for other distributions on rebuilding glibc vary, but I hope you got the idea of what needs to be done.<br>
<br>
I hope I could help some other Users out there.<br>
<br>
Thanks also to knotty66 and shuairan from the Arch User Repository.<br>
<br>
<br>
Regards<br>
Mike<br>
_______________________________________________<br>
vpn-help mailing list<br>
<a href="mailto:vpn-help@lists.shrew.net" target="_blank">vpn-help@lists.shrew.net</a><br>
<a href="https://lists.shrew.net/mailman/listinfo/vpn-help" rel="noreferrer" target="_blank">https://lists.shrew.net/mailman/listinfo/vpn-help</a><br>
</blockquote></div><br></div></div></div></div></div>