Skip to contentSkip to conversation

Yocto vrs K.O kernel, wireguard go Boom

DISCUSSION akuster808 2 participants 4 messages Jan 8, 2018

lore
Share & tools
lore

akuster808

author
#0 lore raw

Hello,

Wireguard in meta-networking is failing do to compat.h issues on newer kernels. I have updated the package and it fixed  my problem on 4.14 K.O kernel. Now I build it with the Yocko 4.12 and it fails. It wont fail with a 4.12 K.O kernel. The is one commit that was backported from 4.13 K.O to yocto 4.12 which is causing the issue.

random: add get_random_{bytes,u32,u64,int,long,once}_wait family

	6e4990d8d226e1861a5a2b632cf93bc70feab3af

<http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.12/commit/include/linux/random.h?h=standard/base&id=6e4990d8d226e1861a5a2b632cf93bc70feab3af>

 I know Yocto is maintaining the 4.12 beyond the K.O release process so I don't know if this a kernel bug or if I need to come up with some other solution.

regards,
Armin

#1 lore raw
Quoted 8 lines · On Mon, Jan 8, 2018 at 10:08 AM, akuster808 <[email protected]> wrote:

Hello,

Wireguard in meta-networking is failing do to compat.h issues on newer kernels. I have updated the package and it fixed my problem on 4.14 K.O kernel. Now I build it with the Yocko 4.12 and it fails. It wont fail with a 4.12 K.O kernel. The is one commit that was backported from 4.13 K.O to yocto 4.12 which is causing the issue.

Quoted 7 lines

random: add get_random_{bytes,u32,u64,int,long,once}_wait family

6e4990d8d226e1861a5a2b632cf93bc70feab3af
<http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.12/commit/include/linux/random.h?h=standard/base&id=6e4990d8d226e1861a5a2b632cf93bc70feab3af>

If you try the 4.9 kernel, does it also have issues ? Either way, it is likely just a -stable
fix that hasn't made it into our 4.12 maintenance cycle yet, and that is something we
can fix by adding anything that is required to get things building again.

But knowing the 4.9 status would be a good data point, since I have more -stable
updates queued (and not sent). So if it blows up, and then doesn't with AUTOREV,
we have a small set of commits to look at.

Bruce

Quoted 19 lines

I know Yocto is maintaining the 4.12 beyond the K.O release process so I
don't know if this a kernel bug or if I need to come up with some other solution.

regards,
Armin

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
author
#2 lore raw
Quoted 31 lines · Bruce Ashfield

On Mon, Jan 8, 2018 at 10:08 AM, akuster808 <[email protected] <mailto:[email protected]>> wrote:

Hello,

Wireguard in meta-networking is failing do to compat.h issues on newer kernels. I have updated the package and it fixed  my problem on 4.14 K.O kernel. Now I build it with the Yocko 4.12 and it fails. It wont fail with a 4.12 K.O kernel. The is one commit that was backported from 4.13 K.O to yocto 4.12 which is causing the issue.

random: add get_random_{bytes,u32,u64,int,long,once}_wait family

6e4990d8d226e1861a5a2b632cf93bc70feab3af
<http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.12/commit/include/linux/random.h?h=standard/base&id=6e4990d8d226e1861a5a2b632cf93bc70feab3af>

If you try the 4.9 kernel, does it also have issues ? Either way, it is likely just a -stable
fix that hasn't made it into our 4.12 maintenance cycle yet, and that is something we
can fix by adding anything that is required to get things building again.

Quoted 3 lines

But knowing the 4.9 status would be a good data point, since I have more -stable
updates queued (and not sent).

4.9 works fine with current wireguard and updated version.

- armin

Quoted 32 lines

So if it blows up, and then doesn't with AUTOREV,
we have a small set of commits to look at.

Bruce

 I know Yocto is maintaining the 4.12 beyond the K.O release process so I don't know if this a kernel bug or if I need to come up with some other solution.

regards,
Armin

--
_______________________________________________
Openembedded-core mailing list [email protected] <mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-core
<http://lists.openembedded.org/mailman/listinfo/openembedded-core>

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
#3 lore raw
Quoted 29 lines · On Mon, Jan 8, 2018 at 4:57 PM, akuster808 <[email protected]> wrote:

On 01/08/2018 08:01 AM, Bruce Ashfield wrote:

Quoted 8 lines · On Mon, Jan 8, 2018 at 10:08 AM, akuster808 <[email protected]> wrote:

Hello,

Wireguard in meta-networking is failing do to compat.h issues on newer kernels. I have updated the package and it fixed my problem on 4.14 K.O kernel. Now I build it with the Yocko 4.12 and it fails. It wont fail with a 4.12 K.O kernel. The is one commit that was backported from 4.13 K.O to yocto 4.12 which is causing the issue.

Quoted 7 lines

random: add get_random_{bytes,u32,u64,int,long,once}_wait family

6e4990d8d226e1861a5a2b632cf93bc70feab3af
<http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.12/commit/include/linux/random.h?h=standard/base&id=6e4990d8d226e1861a5a2b632cf93bc70feab3af>

If you try the 4.9 kernel, does it also have issues ? Either way, it is likely just a -stable
fix that hasn't made it into our 4.12 maintenance cycle yet, and that is something we
can fix by adding anything that is required to get things building again.

Quoted 6 lines

But knowing the 4.9 status would be a good data point, since I have more -stable
updates queued (and not sent).

4.9 works fine with current wireguard and updated version.

ok. Thanks for doing that test. I'll do a check of the two -stable queues and see what's up.

Bruce

Quoted 36 lines

- armin

So if it blows up, and then doesn't with AUTOREV,
we have a small set of commits to look at.

Bruce

Quoted 12 lines

I know Yocto is maintaining the 4.12 beyond the K.O release process so I
don't know if this a kernel bug or if I need to come up with some other solution.

regards,
Armin

Quoted 7 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"