mbox

[0/9] kernel: consolidated pull request

Message ID cover.1671560768.git.bruce.ashfield@gmail.com
State Not Applicable, archived
Headers show

Pull-request

https://git.yoctoproject.org/poky-contrib zedd/kernel

Message

Bruce Ashfield Dec. 20, 2022, 6:42 p.m. UTC
From: Bruce Ashfield <bruce.ashfield@gmail.com>

Richard,

Most of these are -stable udpates, mixed in are a couple of clang fixes
from Khem, and of course the bigger items of the libc-headers bump and
the v6.1 reference kernel recipes.

I've built both musl and glibc for all architectures with the new libc
headers, and sent patches last week for issues that I found in core or
meta-oe.

That being said, I'm sure there's something .. somewhere lurking, but
there's no sense sitting on it longer.

As for the 6.1 reference kernel, I've done the same. Built and booted
core-image-minimal, sato and kernel dev on all architectures. The changes
sent before the last release meant that our normal culprits of lttng-modules
and kernel-devsrc don't need any tweaking to work. -rt has also been
tested.

We can't make 6.1 the default yet, as the reference h/w BSPs need to
be updated, and then 5.19 removed. But again, no sense sitting on these
longer.

I'm around full time for the rest of this week, and then off and on
through the first week of January to squash any fallout from the
updates.

Cheers,

Bruce

The following changes since commit ace02cec70a4a1bc9088044905b3c4a801a39a1b:

  systemd: Make importd depend on glib-2.0 again (2022-12-18 19:48:00 +0000)

are available in the Git repository at:

  https://git.yoctoproject.org/poky-contrib zedd/kernel
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Bruce Ashfield (9):
  yocto-bsps/5.15: update to v5.15.78
  linux-yocto/5.15: update to v5.15.80
  linux-yocto/5.19: fix perf build with clang
  linux-yocto/5.15: ltp and squashfs fixes
  linux-libc-headers: bump to 6.1
  linux-yocto: introduce v6.1 reference kernel recipes
  linux-yocto/5.15: fix perf build with clang
  linux-yocto/5.15: update to v5.15.84
  linux-yocto/5.15: libbpf: Fix build warning on ref_ctr_off

 .../linux/linux-yocto_5.15.bbappend           | 16 ++---
 meta/conf/distro/include/tcmode-default.inc   |  2 +-
 ...d-input-and-output-files-instead-of-.patch | 67 ------------------
 ...ders_5.19.bb => linux-libc-headers_6.1.bb} |  5 +-
 .../linux/linux-yocto-rt_5.15.bb              |  4 +-
 .../linux/linux-yocto-rt_5.19.bb              |  4 +-
 .../linux/linux-yocto-rt_6.1.bb               | 45 ++++++++++++
 .../linux/linux-yocto-tiny_5.15.bb            |  4 +-
 .../linux/linux-yocto-tiny_5.19.bb            |  4 +-
 .../linux/linux-yocto-tiny_6.1.bb             | 30 ++++++++
 meta/recipes-kernel/linux/linux-yocto_5.15.bb | 24 +++----
 meta/recipes-kernel/linux/linux-yocto_5.19.bb | 22 +++---
 meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 70 +++++++++++++++++++
 13 files changed, 187 insertions(+), 110 deletions(-)
 delete mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch
 rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_5.19.bb => linux-libc-headers_6.1.bb} (70%)
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
 create mode 100644 meta/recipes-kernel/linux/linux-yocto_6.1.bb

Comments

Alexandre Belloni Dec. 21, 2022, 3:58 p.m. UTC | #1
Hello Bruce,

I think I applied everything properly and I end up with the following
error for multiple architectures:

stdio: ERROR: linux-yocto-5.15.78+gitAUTOINC+72756ee16d_24c30a8e9f-r0 do_kernel_version_sanity_check: Package Version (5.15.78+gitAUTOINC+72756ee16d_24c30a8e9f) does not match of kernel being built (5.15.84). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe.
stdio: ERROR: linux-yocto-5.15.78+gitAUTOINC+72756ee16d_24c30a8e9f-r0 do_kernel_version_sanity_check: ExecutionError('/home/pokybuild/yocto-worker/qemuarm-alt/build/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto/5.15.78+gitAUTOINC+72756ee16d_24c30a8e9f-r0/temp/run.do_kernel_version_sanity_check.3360864', 1, None, None)

https://autobuilder.yoctoproject.org/typhoon/#builders/110/builds/5262/steps/11/logs/errors
https://autobuilder.yoctoproject.org/typhoon/#builders/131/builds/1756/steps/12/logs/errors
https://autobuilder.yoctoproject.org/typhoon/#builders/102/builds/3982/steps/12/logs/errors
https://autobuilder.yoctoproject.org/typhoon/#builders/107/builds/3957/steps/11/logs/errors
https://autobuilder.yoctoproject.org/typhoon/#builders/109/builds/5225/steps/11/logs/errors
https://autobuilder.yoctoproject.org/typhoon/#builders/101/builds/5156/steps/11/logs/errors


On 20/12/2022 13:42:01-0500, Bruce Ashfield wrote:
> From: Bruce Ashfield <bruce.ashfield@gmail.com>
> 
> Richard,
> 
> Most of these are -stable udpates, mixed in are a couple of clang fixes
> from Khem, and of course the bigger items of the libc-headers bump and
> the v6.1 reference kernel recipes.
> 
> I've built both musl and glibc for all architectures with the new libc
> headers, and sent patches last week for issues that I found in core or
> meta-oe.
> 
> That being said, I'm sure there's something .. somewhere lurking, but
> there's no sense sitting on it longer.
> 
> As for the 6.1 reference kernel, I've done the same. Built and booted
> core-image-minimal, sato and kernel dev on all architectures. The changes
> sent before the last release meant that our normal culprits of lttng-modules
> and kernel-devsrc don't need any tweaking to work. -rt has also been
> tested.
> 
> We can't make 6.1 the default yet, as the reference h/w BSPs need to
> be updated, and then 5.19 removed. But again, no sense sitting on these
> longer.
> 
> I'm around full time for the rest of this week, and then off and on
> through the first week of January to squash any fallout from the
> updates.
> 
> Cheers,
> 
> Bruce
> 
> The following changes since commit ace02cec70a4a1bc9088044905b3c4a801a39a1b:
> 
>   systemd: Make importd depend on glib-2.0 again (2022-12-18 19:48:00 +0000)
> 
> are available in the Git repository at:
> 
>   https://git.yoctoproject.org/poky-contrib zedd/kernel
>   http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
> 
> Bruce Ashfield (9):
>   yocto-bsps/5.15: update to v5.15.78
>   linux-yocto/5.15: update to v5.15.80
>   linux-yocto/5.19: fix perf build with clang
>   linux-yocto/5.15: ltp and squashfs fixes
>   linux-libc-headers: bump to 6.1
>   linux-yocto: introduce v6.1 reference kernel recipes
>   linux-yocto/5.15: fix perf build with clang
>   linux-yocto/5.15: update to v5.15.84
>   linux-yocto/5.15: libbpf: Fix build warning on ref_ctr_off
> 
>  .../linux/linux-yocto_5.15.bbappend           | 16 ++---
>  meta/conf/distro/include/tcmode-default.inc   |  2 +-
>  ...d-input-and-output-files-instead-of-.patch | 67 ------------------
>  ...ders_5.19.bb => linux-libc-headers_6.1.bb} |  5 +-
>  .../linux/linux-yocto-rt_5.15.bb              |  4 +-
>  .../linux/linux-yocto-rt_5.19.bb              |  4 +-
>  .../linux/linux-yocto-rt_6.1.bb               | 45 ++++++++++++
>  .../linux/linux-yocto-tiny_5.15.bb            |  4 +-
>  .../linux/linux-yocto-tiny_5.19.bb            |  4 +-
>  .../linux/linux-yocto-tiny_6.1.bb             | 30 ++++++++
>  meta/recipes-kernel/linux/linux-yocto_5.15.bb | 24 +++----
>  meta/recipes-kernel/linux/linux-yocto_5.19.bb | 22 +++---
>  meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 70 +++++++++++++++++++
>  13 files changed, 187 insertions(+), 110 deletions(-)
>  delete mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch
>  rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_5.19.bb => linux-libc-headers_6.1.bb} (70%)
>  create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
>  create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
>  create mode 100644 meta/recipes-kernel/linux/linux-yocto_6.1.bb
> 
> -- 
> 2.37.3
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#174873): https://lists.openembedded.org/g/openembedded-core/message/174873
> Mute This Topic: https://lists.openembedded.org/mt/95791763/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Bruce Ashfield Dec. 21, 2022, 4:06 p.m. UTC | #2
On Wed, Dec 21, 2022 at 10:58 AM Alexandre Belloni
<alexandre.belloni@bootlin.com> wrote:
>
> Hello Bruce,
>
> I think I applied everything properly and I end up with the following
> error for multiple architectures:
>
> stdio: ERROR: linux-yocto-5.15.78+gitAUTOINC+72756ee16d_24c30a8e9f-r0 do_kernel_version_sanity_check: Package Version (5.15.78+gitAUTOINC+72756ee16d_24c30a8e9f) does not match of kernel being built (5.15.84). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe.
> stdio: ERROR: linux-yocto-5.15.78+gitAUTOINC+72756ee16d_24c30a8e9f-r0 do_kernel_version_sanity_check: ExecutionError('/home/pokybuild/yocto-worker/qemuarm-alt/build/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto/5.15.78+gitAUTOINC+72756ee16d_24c30a8e9f-r0/temp/run.do_kernel_version_sanity_check.3360864', 1, None, None)
>

The kernels are released via script, so the sknew should never happen.

But looking at the series, I see what the issue is. I ran the script
against the yocto-bsps, versus oe-core, so it has jumped the version.

If you just drop the patch: linux-yocto/5.15: update to v5.15.84

I'll send a v2 of it shortly.

Bruce

> https://autobuilder.yoctoproject.org/typhoon/#builders/110/builds/5262/steps/11/logs/errors
> https://autobuilder.yoctoproject.org/typhoon/#builders/131/builds/1756/steps/12/logs/errors
> https://autobuilder.yoctoproject.org/typhoon/#builders/102/builds/3982/steps/12/logs/errors
> https://autobuilder.yoctoproject.org/typhoon/#builders/107/builds/3957/steps/11/logs/errors
> https://autobuilder.yoctoproject.org/typhoon/#builders/109/builds/5225/steps/11/logs/errors
> https://autobuilder.yoctoproject.org/typhoon/#builders/101/builds/5156/steps/11/logs/errors
>
>
> On 20/12/2022 13:42:01-0500, Bruce Ashfield wrote:
> > From: Bruce Ashfield <bruce.ashfield@gmail.com>
> >
> > Richard,
> >
> > Most of these are -stable udpates, mixed in are a couple of clang fixes
> > from Khem, and of course the bigger items of the libc-headers bump and
> > the v6.1 reference kernel recipes.
> >
> > I've built both musl and glibc for all architectures with the new libc
> > headers, and sent patches last week for issues that I found in core or
> > meta-oe.
> >
> > That being said, I'm sure there's something .. somewhere lurking, but
> > there's no sense sitting on it longer.
> >
> > As for the 6.1 reference kernel, I've done the same. Built and booted
> > core-image-minimal, sato and kernel dev on all architectures. The changes
> > sent before the last release meant that our normal culprits of lttng-modules
> > and kernel-devsrc don't need any tweaking to work. -rt has also been
> > tested.
> >
> > We can't make 6.1 the default yet, as the reference h/w BSPs need to
> > be updated, and then 5.19 removed. But again, no sense sitting on these
> > longer.
> >
> > I'm around full time for the rest of this week, and then off and on
> > through the first week of January to squash any fallout from the
> > updates.
> >
> > Cheers,
> >
> > Bruce
> >
> > The following changes since commit ace02cec70a4a1bc9088044905b3c4a801a39a1b:
> >
> >   systemd: Make importd depend on glib-2.0 again (2022-12-18 19:48:00 +0000)
> >
> > are available in the Git repository at:
> >
> >   https://git.yoctoproject.org/poky-contrib zedd/kernel
> >   http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
> >
> > Bruce Ashfield (9):
> >   yocto-bsps/5.15: update to v5.15.78
> >   linux-yocto/5.15: update to v5.15.80
> >   linux-yocto/5.19: fix perf build with clang
> >   linux-yocto/5.15: ltp and squashfs fixes
> >   linux-libc-headers: bump to 6.1
> >   linux-yocto: introduce v6.1 reference kernel recipes
> >   linux-yocto/5.15: fix perf build with clang
> >   linux-yocto/5.15: update to v5.15.84
> >   linux-yocto/5.15: libbpf: Fix build warning on ref_ctr_off
> >
> >  .../linux/linux-yocto_5.15.bbappend           | 16 ++---
> >  meta/conf/distro/include/tcmode-default.inc   |  2 +-
> >  ...d-input-and-output-files-instead-of-.patch | 67 ------------------
> >  ...ders_5.19.bb => linux-libc-headers_6.1.bb} |  5 +-
> >  .../linux/linux-yocto-rt_5.15.bb              |  4 +-
> >  .../linux/linux-yocto-rt_5.19.bb              |  4 +-
> >  .../linux/linux-yocto-rt_6.1.bb               | 45 ++++++++++++
> >  .../linux/linux-yocto-tiny_5.15.bb            |  4 +-
> >  .../linux/linux-yocto-tiny_5.19.bb            |  4 +-
> >  .../linux/linux-yocto-tiny_6.1.bb             | 30 ++++++++
> >  meta/recipes-kernel/linux/linux-yocto_5.15.bb | 24 +++----
> >  meta/recipes-kernel/linux/linux-yocto_5.19.bb | 22 +++---
> >  meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 70 +++++++++++++++++++
> >  13 files changed, 187 insertions(+), 110 deletions(-)
> >  delete mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch
> >  rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_5.19.bb => linux-libc-headers_6.1.bb} (70%)
> >  create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
> >  create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
> >  create mode 100644 meta/recipes-kernel/linux/linux-yocto_6.1.bb
> >
> > --
> > 2.37.3
> >
>
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#174873): https://lists.openembedded.org/g/openembedded-core/message/174873
> > Mute This Topic: https://lists.openembedded.org/mt/95791763/3617179
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
Alexandre Belloni Dec. 22, 2022, 3 p.m. UTC | #3
Hello Bruce,

I got the following warning for qemuarm oe-core:

WARNING: linux-yocto-6.1+gitAUTOINC+d2ea5dce4e_0952191638-r0 do_kernel_configcheck: [kernel config]: This BSP contains fragments with warnings:
[INFO]: the following symbols were not found in the active configuration:
     - CONFIG_ARM_CRYPTO

On 20/12/2022 13:42:01-0500, Bruce Ashfield wrote:
> From: Bruce Ashfield <bruce.ashfield@gmail.com>
> 
> Richard,
> 
> Most of these are -stable udpates, mixed in are a couple of clang fixes
> from Khem, and of course the bigger items of the libc-headers bump and
> the v6.1 reference kernel recipes.
> 
> I've built both musl and glibc for all architectures with the new libc
> headers, and sent patches last week for issues that I found in core or
> meta-oe.
> 
> That being said, I'm sure there's something .. somewhere lurking, but
> there's no sense sitting on it longer.
> 
> As for the 6.1 reference kernel, I've done the same. Built and booted
> core-image-minimal, sato and kernel dev on all architectures. The changes
> sent before the last release meant that our normal culprits of lttng-modules
> and kernel-devsrc don't need any tweaking to work. -rt has also been
> tested.
> 
> We can't make 6.1 the default yet, as the reference h/w BSPs need to
> be updated, and then 5.19 removed. But again, no sense sitting on these
> longer.
> 
> I'm around full time for the rest of this week, and then off and on
> through the first week of January to squash any fallout from the
> updates.
> 
> Cheers,
> 
> Bruce
> 
> The following changes since commit ace02cec70a4a1bc9088044905b3c4a801a39a1b:
> 
>   systemd: Make importd depend on glib-2.0 again (2022-12-18 19:48:00 +0000)
> 
> are available in the Git repository at:
> 
>   https://git.yoctoproject.org/poky-contrib zedd/kernel
>   http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
> 
> Bruce Ashfield (9):
>   yocto-bsps/5.15: update to v5.15.78
>   linux-yocto/5.15: update to v5.15.80
>   linux-yocto/5.19: fix perf build with clang
>   linux-yocto/5.15: ltp and squashfs fixes
>   linux-libc-headers: bump to 6.1
>   linux-yocto: introduce v6.1 reference kernel recipes
>   linux-yocto/5.15: fix perf build with clang
>   linux-yocto/5.15: update to v5.15.84
>   linux-yocto/5.15: libbpf: Fix build warning on ref_ctr_off
> 
>  .../linux/linux-yocto_5.15.bbappend           | 16 ++---
>  meta/conf/distro/include/tcmode-default.inc   |  2 +-
>  ...d-input-and-output-files-instead-of-.patch | 67 ------------------
>  ...ders_5.19.bb => linux-libc-headers_6.1.bb} |  5 +-
>  .../linux/linux-yocto-rt_5.15.bb              |  4 +-
>  .../linux/linux-yocto-rt_5.19.bb              |  4 +-
>  .../linux/linux-yocto-rt_6.1.bb               | 45 ++++++++++++
>  .../linux/linux-yocto-tiny_5.15.bb            |  4 +-
>  .../linux/linux-yocto-tiny_5.19.bb            |  4 +-
>  .../linux/linux-yocto-tiny_6.1.bb             | 30 ++++++++
>  meta/recipes-kernel/linux/linux-yocto_5.15.bb | 24 +++----
>  meta/recipes-kernel/linux/linux-yocto_5.19.bb | 22 +++---
>  meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 70 +++++++++++++++++++
>  13 files changed, 187 insertions(+), 110 deletions(-)
>  delete mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch
>  rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_5.19.bb => linux-libc-headers_6.1.bb} (70%)
>  create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
>  create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
>  create mode 100644 meta/recipes-kernel/linux/linux-yocto_6.1.bb
> 
> -- 
> 2.37.3
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#174873): https://lists.openembedded.org/g/openembedded-core/message/174873
> Mute This Topic: https://lists.openembedded.org/mt/95791763/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>