Development discussion of WireGuard
 help / color / mirror / Atom feed
* [WireGuard] Hosting Companies with Dishonest CPUID [Was: Re: Seeking Ubuntu PPA Maintainer]
@ 2016-11-16 14:14 Jason A. Donenfeld
  2016-11-16 14:44 ` Egbert Verhage
  0 siblings, 1 reply; 4+ messages in thread
From: Jason A. Donenfeld @ 2016-11-16 14:14 UTC (permalink / raw)
  To: Egbert Verhage; +Cc: WireGuard mailing list

Hey Egbert,

I'm glad that my avx2disabler module worked for you. I believe it
would be in your interest to pressure the hosting provider into either
reenabling AVX, or fixing their CPUID to report correct information.
CPUID is the kernel's only means of judging capabilities, and if the
[virtual] hardware lies, it is impossible to make a reliable operating
system.

Jason

On Wed, Nov 16, 2016 at 11:03 AM, Egbert Verhage <egbert@eggiecode.org> wrote:
> Hey Jason,
>
> The kernel module worked for my. ([1020751.674357] AVX2 disabler loaded:
> 1 -> 0)
> Going to update the PPA to remove my disable of AVX2.
>
> The problem is that the hosting company hides the cpuuid, but from the
> call with the sysadmin it is a XEON E5-2??? v3.
>
> Greetz,
> Egbert
>
>
> On 2016-11-16 02:31, Jason A. Donenfeld wrote:
>> Hey Egbert,
>>
>> On Wed, Nov 16, 2016 at 1:34 AM, Egbert Verhage <egbert@eggiecode.org> wrote:
>>> I mailed/called with one of the sys admins and discussed with him about the
>>> problem in the AVX2 extention.
>>> I think I'm going to mail/call the hosting company again.
>> It seems like the crux of the issue is that if they disable AVX2
>> instructions, they need to make this known in the CPUID. Otherwise the
>> operating system will assume it's there when it isn't.
>>
>>> Can give you a vps if you want to. Just 3 euro the month.
>> See the attached tarball. Compile the kernel module in there and load
>> it BEFORE WireGuard. You might have to manually unload wireguard for
>> this to work: "rmmod wireguard && insmod ./avx2disabler.ko && modprobe
>> wireguard", for example. It should disable avx2 inside the kernel,
>> solving the issue.
>>
>> Jason
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [WireGuard] Hosting Companies with Dishonest CPUID [Was: Re: Seeking Ubuntu PPA Maintainer]
  2016-11-16 14:14 [WireGuard] Hosting Companies with Dishonest CPUID [Was: Re: Seeking Ubuntu PPA Maintainer] Jason A. Donenfeld
@ 2016-11-16 14:44 ` Egbert Verhage
  2016-11-16 15:05   ` Jason A. Donenfeld
  0 siblings, 1 reply; 4+ messages in thread
From: Egbert Verhage @ 2016-11-16 14:44 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

[-- Attachment #1: Type: text/plain, Size: 2247 bytes --]

Hey Jason,

The service/hardware is great. But it is a problem with the raid6 module 
on the host.
That uses AVX/AVX2. PCExtreme hasalready blacklisted AVX because all of 
the virtual machines crashes with it enabled.

I'm the only complaining about AVX2 crashing on the machines, so 
therefore it is not yet blacklisted.

Just sended a email to them, waiting on response. Wanted to add the 
mail, but it is in dutch. I don't know if you can read that.

Greetz,
Egbert


On 2016-11-16 15:14, Jason A. Donenfeld wrote:
> Hey Egbert,
>
> I'm glad that my avx2disabler module worked for you. I believe it
> would be in your interest to pressure the hosting provider into either
> reenabling AVX, or fixing their CPUID to report correct information.
> CPUID is the kernel's only means of judging capabilities, and if the
> [virtual] hardware lies, it is impossible to make a reliable operating
> system.
>
> Jason
>
> On Wed, Nov 16, 2016 at 11:03 AM, Egbert Verhage <egbert@eggiecode.org> wrote:
>> Hey Jason,
>>
>> The kernel module worked for my. ([1020751.674357] AVX2 disabler loaded:
>> 1 -> 0)
>> Going to update the PPA to remove my disable of AVX2.
>>
>> The problem is that the hosting company hides the cpuuid, but from the
>> call with the sysadmin it is a XEON E5-2??? v3.
>>
>> Greetz,
>> Egbert
>>
>>
>> On 2016-11-16 02:31, Jason A. Donenfeld wrote:
>>> Hey Egbert,
>>>
>>> On Wed, Nov 16, 2016 at 1:34 AM, Egbert Verhage <egbert@eggiecode.org> wrote:
>>>> I mailed/called with one of the sys admins and discussed with him about the
>>>> problem in the AVX2 extention.
>>>> I think I'm going to mail/call the hosting company again.
>>> It seems like the crux of the issue is that if they disable AVX2
>>> instructions, they need to make this known in the CPUID. Otherwise the
>>> operating system will assume it's there when it isn't.
>>>
>>>> Can give you a vps if you want to. Just 3 euro the month.
>>> See the attached tarball. Compile the kernel module in there and load
>>> it BEFORE WireGuard. You might have to manually unload wireguard for
>>> this to work: "rmmod wireguard && insmod ./avx2disabler.ko && modprobe
>>> wireguard", for example. It should disable avx2 inside the kernel,
>>> solving the issue.
>>>
>>> Jason
>>

[-- Attachment #2: Type: text/html, Size: 3851 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [WireGuard] Hosting Companies with Dishonest CPUID [Was: Re: Seeking Ubuntu PPA Maintainer]
  2016-11-16 14:44 ` Egbert Verhage
@ 2016-11-16 15:05   ` Jason A. Donenfeld
  2016-11-16 15:08     ` Egbert Verhage
  0 siblings, 1 reply; 4+ messages in thread
From: Jason A. Donenfeld @ 2016-11-16 15:05 UTC (permalink / raw)
  To: Egbert Verhage; +Cc: WireGuard mailing list

https://git.zx2c4.com/WireGuard/commit/?id=34df71964861e7ea5f542bac0225c8b82bb8d9b2

This commit should work around things.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [WireGuard] Hosting Companies with Dishonest CPUID [Was: Re: Seeking Ubuntu PPA Maintainer]
  2016-11-16 15:05   ` Jason A. Donenfeld
@ 2016-11-16 15:08     ` Egbert Verhage
  0 siblings, 0 replies; 4+ messages in thread
From: Egbert Verhage @ 2016-11-16 15:08 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

:D. That is great solution, thank you!


On 2016-11-16 16:05, Jason A. Donenfeld wrote:
> https://git.zx2c4.com/WireGuard/commit/?id=34df71964861e7ea5f542bac0225c8b82bb8d9b2
>
> This commit should work around things.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-16 15:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-16 14:14 [WireGuard] Hosting Companies with Dishonest CPUID [Was: Re: Seeking Ubuntu PPA Maintainer] Jason A. Donenfeld
2016-11-16 14:44 ` Egbert Verhage
2016-11-16 15:05   ` Jason A. Donenfeld
2016-11-16 15:08     ` Egbert Verhage

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).