mbox

[00/15] kernel: consolidated pull request

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

Pull-request

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

Message

Bruce Ashfield July 10, 2023, 3:20 a.m. UTC
From: Bruce Ashfield <bruce.ashfield@gmail.com>

Richard,

Here's the latest queued kernel changes. There are the expectd -stable updates
6.1, but those of course aren't the most interesting part of this queue.

We have the 6.4 reference kernel initial integration.

I've tested this on all architectures, core-image-sato + core-image-kernel-dev
as well as -rt, standard and -tiny kernels.

We also have the matching libc-headers bumps. I've already send patches
for some applications that had issues with the 6.4 headers, but the issues
were relatively minimal.

I've included the poky and oe-core preferred version bumps in this
series, just to make it a bit easier to test. They can be ignored if there
are issues, and we can just make the 6.4 kernel available in tree, and
fix the remaining issues before making it default.

I ran into perf and localversion issues (which broke the on-target
module builds). The patches to address them are in the series.

qemumips64 is seting a smp preemptible trace on boot, and I haven't
been able to track it down. If that is the only issue, it would be
better to get this into the tree, and try and find a mips expert to
help us out. I'll continue looking into it, but haven't had much luck
yet.

Bruce

The following changes since commit d221e59a5067266c3f620259a1e56a56823df1fb:

  bitbake: cooker: Log when parsing starts in server log (2023-06-30 18:05:30 +0100)

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 (15):
  linux-yocto/6.1: update to v6.1.36
  linux-yocto/6.1: update to v6.1.37
  linux-libc-headers: bump to 6.4
  perf: fix buildpaths QA warning in 6.4+
  kernel: fix localversion in v6.3+
  linux-yocto: introduce 6.4 reference kernel recipes
  linux-yocto/6.4: update to latest
  linux-yocto/6.4: aufs6 integration
  linux-yocto/6.4: refresh configuration
  linux-yocto-rt/6.4: integrate -rt6
  linux-yocto/6.4: update to v6.4.2
  linux-yocto/6.1: update to v6.1.38
  conf/machine: set preferred kernel to be 6.4
  poky/poky-tiny: set preferred linux-yocto version to 6.4
  linux-yocto-tiny/6.4: fix configuration warnings (HID)

 meta-poky/conf/distro/poky-tiny.conf          |  2 +-
 meta-poky/conf/distro/poky.conf               |  4 +-
 meta/classes-recipe/kernel-arch.bbclass       |  7 ++
 meta/classes-recipe/kernel.bbclass            |  6 +-
 meta/conf/distro/include/tcmode-default.inc   |  2 +-
 meta/conf/machine/include/x86/x86-base.inc    |  2 +-
 meta/conf/machine/qemuarmv5.conf              |  2 +-
 ...linux-stddef.h-in-swab.h-uapi-header.patch | 42 -----------
 ...aders_6.1.bb => linux-libc-headers_6.4.bb} |  3 +-
 .../linux/linux-yocto-rt_6.1.bb               |  6 +-
 .../linux/linux-yocto-rt_6.4.bb               | 48 +++++++++++++
 .../linux/linux-yocto-tiny_6.1.bb             |  6 +-
 .../linux/linux-yocto-tiny_6.4.bb             | 33 +++++++++
 meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 28 ++++----
 meta/recipes-kernel/linux/linux-yocto_6.4.bb  | 71 +++++++++++++++++++
 meta/recipes-kernel/perf/perf.bb              |  2 +-
 16 files changed, 191 insertions(+), 73 deletions(-)
 delete mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-include-linux-stddef.h-in-swab.h-uapi-header.patch
 rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_6.1.bb => linux-libc-headers_6.4.bb} (74%)
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_6.4.bb
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_6.4.bb
 create mode 100644 meta/recipes-kernel/linux/linux-yocto_6.4.bb

Comments

Ross Burton July 10, 2023, 2:54 p.m. UTC | #1
On 10 Jul 2023, at 04:20, Bruce Ashfield via lists.openembedded.org <bruce.ashfield=gmail.com@lists.openembedded.org> wrote:
> Here's the latest queued kernel changes. There are the expectd -stable updates
> 6.1, but those of course aren't the most interesting part of this queue.


I’ve not triaged them yet as it’s still building, but https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5577 is just this branch on top of master and has some new failures/warnings.

Ross
Alexandre Belloni July 10, 2023, 8:59 p.m. UTC | #2
Hello,

On 10/07/2023 14:54:50+0000, Ross Burton wrote:
> On 10 Jul 2023, at 04:20, Bruce Ashfield via lists.openembedded.org <bruce.ashfield=gmail.com@lists.openembedded.org> wrote:
> > Here's the latest queued kernel changes. There are the expectd -stable updates
> > 6.1, but those of course aren't the most interesting part of this queue.
> 
> 
> I’ve not triaged them yet as it’s still building, but https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5577 is just this branch on top of master and has some new failures/warnings.
> 

It mostly worked on my branch, there is this new failure though:

https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/7413/steps/12/logs/stdio

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuarm-oecore/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/qemuarm-oecore/build/meta/lib/oeqa/runtime/cases/parselogs.py", line 393, in test_parselogs
    self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 4 != 0 : No ignore list found for this machine, using default
No ignore list found for this machine, using default
No ignore list found for this machine, using default
No ignore list found for this machine, using default
No ignore list found for this machine, using default
No ignore list found for this machine, using default
No ignore list found for this machine, using default
No ignore list found for this machine, using default
Log: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/target_logs/Xorg.0.log
-----------------------
Central error: [    17.416] (II) FBDEV(0): 	mode "640x480" test failed
***********************
[    17.381] 	compiled for 1.21.1.8, module version = 0.0.2
[    17.381] 	ABI class: X.Org Video Driver, version 25.2
[    17.384] (II) FBDEV(0): using default device
[    17.389] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[    17.389] (==) FBDEV(0): RGB weight 888
[    17.389] (==) FBDEV(0): Default visual is TrueColor
[    17.403] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    17.406] (II) FBDEV(0): hardware: virtio_gpudrmfb (video memory: 4000kB)
[    17.407] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[    17.411] (II) FBDEV(0): checking modes against framebuffer device...
[    17.416] (II) FBDEV(0): 	mode "640x480" test failed
[    17.417] (II) FBDEV(0): 	mode "640x480" test failed
[    17.418] (II) FBDEV(0): 	mode "640x480" test failed
[    17.419] (II) FBDEV(0): 	mode "640x480" test failed
[    17.441] (II) FBDEV(0): 	mode "640x480" not found
[    17.442] (II) FBDEV(0): checking modes against monitor...
[    17.444] (II) FBDEV(0): Virtual size is 1280x800 (pitch 1280)
[    17.445] (**) FBDEV(0):  Built-in mode "current"
[    17.446] (==) FBDEV(0): DPI set to (96, 96)
[    17.447] (II) Loading sub module "fb"
[    17.448] (II) LoadModule: "fb"

> Ross

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#184081): https://lists.openembedded.org/g/openembedded-core/message/184081
> Mute This Topic: https://lists.openembedded.org/mt/100051814/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Alexandre Belloni July 10, 2023, 9:16 p.m. UTC | #3
On 10/07/2023 22:59:02+0200, Alexandre Belloni via lists.openembedded.org wrote:
> Hello,
> 
> On 10/07/2023 14:54:50+0000, Ross Burton wrote:
> > On 10 Jul 2023, at 04:20, Bruce Ashfield via lists.openembedded.org <bruce.ashfield=gmail.com@lists.openembedded.org> wrote:
> > > Here's the latest queued kernel changes. There are the expectd -stable updates
> > > 6.1, but those of course aren't the most interesting part of this queue.
> > 
> > 
> > I’ve not triaged them yet as it’s still building, but https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5577 is just this branch on top of master and has some new failures/warnings.
> > 
> 
> It mostly worked on my branch, there is this new failure though:

And I just realized I forgot to take the meta-poky patch which would
explain the successes.

> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/7413/steps/12/logs/stdio
> 
> Traceback (most recent call last):
>   File "/home/pokybuild/yocto-worker/qemuarm-oecore/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^
>   File "/home/pokybuild/yocto-worker/qemuarm-oecore/build/meta/lib/oeqa/runtime/cases/parselogs.py", line 393, in test_parselogs
>     self.assertEqual(errcount, 0, msg=self.msg)
> AssertionError: 4 != 0 : No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> Log: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/target_logs/Xorg.0.log
> -----------------------
> Central error: [    17.416] (II) FBDEV(0): 	mode "640x480" test failed
> ***********************
> [    17.381] 	compiled for 1.21.1.8, module version = 0.0.2
> [    17.381] 	ABI class: X.Org Video Driver, version 25.2
> [    17.384] (II) FBDEV(0): using default device
> [    17.389] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
> [    17.389] (==) FBDEV(0): RGB weight 888
> [    17.389] (==) FBDEV(0): Default visual is TrueColor
> [    17.403] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
> [    17.406] (II) FBDEV(0): hardware: virtio_gpudrmfb (video memory: 4000kB)
> [    17.407] (DB) xf86MergeOutputClassOptions unsupported bus type 0
> [    17.411] (II) FBDEV(0): checking modes against framebuffer device...
> [    17.416] (II) FBDEV(0): 	mode "640x480" test failed
> [    17.417] (II) FBDEV(0): 	mode "640x480" test failed
> [    17.418] (II) FBDEV(0): 	mode "640x480" test failed
> [    17.419] (II) FBDEV(0): 	mode "640x480" test failed
> [    17.441] (II) FBDEV(0): 	mode "640x480" not found
> [    17.442] (II) FBDEV(0): checking modes against monitor...
> [    17.444] (II) FBDEV(0): Virtual size is 1280x800 (pitch 1280)
> [    17.445] (**) FBDEV(0):  Built-in mode "current"
> [    17.446] (==) FBDEV(0): DPI set to (96, 96)
> [    17.447] (II) Loading sub module "fb"
> [    17.448] (II) LoadModule: "fb"
> 
> > Ross
> 
> > 
> > 
> > 
> 
> 
> -- 
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#184097): https://lists.openembedded.org/g/openembedded-core/message/184097
> Mute This Topic: https://lists.openembedded.org/mt/100051814/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Bruce Ashfield July 10, 2023, 10:58 p.m. UTC | #4
On Mon, Jul 10, 2023 at 4:59 PM Alexandre Belloni
<alexandre.belloni@bootlin.com> wrote:
>
> Hello,
>
> On 10/07/2023 14:54:50+0000, Ross Burton wrote:
> > On 10 Jul 2023, at 04:20, Bruce Ashfield via lists.openembedded.org <bruce.ashfield=gmail.com@lists.openembedded.org> wrote:
> > > Here's the latest queued kernel changes. There are the expectd -stable updates
> > > 6.1, but those of course aren't the most interesting part of this queue.
> >
> >
> > I’ve not triaged them yet as it’s still building, but https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5577 is just this branch on top of master and has some new failures/warnings.
> >
>
> It mostly worked on my branch, there is this new failure though:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/7413/steps/12/logs/stdio
>
> Traceback (most recent call last):
>   File "/home/pokybuild/yocto-worker/qemuarm-oecore/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^
>   File "/home/pokybuild/yocto-worker/qemuarm-oecore/build/meta/lib/oeqa/runtime/cases/parselogs.py", line 393, in test_parselogs
>     self.assertEqual(errcount, 0, msg=self.msg)
> AssertionError: 4 != 0 : No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> No ignore list found for this machine, using default
> Log: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/target_logs/Xorg.0.log

It's odd.

I can build and test qemuarm core-image-sato and I don't get any warnings.

I wasn't able to see the exact configuration of that specific run (is
it under build-properties?).

Bruce


> -----------------------
> Central error: [    17.416] (II) FBDEV(0):      mode "640x480" test failed
> ***********************
> [    17.381]    compiled for 1.21.1.8, module version = 0.0.2
> [    17.381]    ABI class: X.Org Video Driver, version 25.2
> [    17.384] (II) FBDEV(0): using default device
> [    17.389] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
> [    17.389] (==) FBDEV(0): RGB weight 888
> [    17.389] (==) FBDEV(0): Default visual is TrueColor
> [    17.403] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
> [    17.406] (II) FBDEV(0): hardware: virtio_gpudrmfb (video memory: 4000kB)
> [    17.407] (DB) xf86MergeOutputClassOptions unsupported bus type 0
> [    17.411] (II) FBDEV(0): checking modes against framebuffer device...
> [    17.416] (II) FBDEV(0):     mode "640x480" test failed
> [    17.417] (II) FBDEV(0):     mode "640x480" test failed
> [    17.418] (II) FBDEV(0):     mode "640x480" test failed
> [    17.419] (II) FBDEV(0):     mode "640x480" test failed
> [    17.441] (II) FBDEV(0):     mode "640x480" not found
> [    17.442] (II) FBDEV(0): checking modes against monitor...
> [    17.444] (II) FBDEV(0): Virtual size is 1280x800 (pitch 1280)
> [    17.445] (**) FBDEV(0):  Built-in mode "current"
> [    17.446] (==) FBDEV(0): DPI set to (96, 96)
> [    17.447] (II) Loading sub module "fb"
> [    17.448] (II) LoadModule: "fb"
>
> > Ross
>
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#184081): https://lists.openembedded.org/g/openembedded-core/message/184081
> > Mute This Topic: https://lists.openembedded.org/mt/100051814/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



--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
Bruce Ashfield July 10, 2023, 11:11 p.m. UTC | #5
On Mon, Jul 10, 2023 at 6:58 PM Bruce Ashfield via
lists.openembedded.org
<bruce.ashfield=gmail.com@lists.openembedded.org> wrote:
>
> On Mon, Jul 10, 2023 at 4:59 PM Alexandre Belloni
> <alexandre.belloni@bootlin.com> wrote:
> >
> > Hello,
> >
> > On 10/07/2023 14:54:50+0000, Ross Burton wrote:
> > > On 10 Jul 2023, at 04:20, Bruce Ashfield via lists.openembedded.org <bruce.ashfield=gmail.com@lists.openembedded.org> wrote:
> > > > Here's the latest queued kernel changes. There are the expectd -stable updates
> > > > 6.1, but those of course aren't the most interesting part of this queue.
> > >
> > >
> > > I’ve not triaged them yet as it’s still building, but https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5577 is just this branch on top of master and has some new failures/warnings.
> > >
> >
> > It mostly worked on my branch, there is this new failure though:
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/7413/steps/12/logs/stdio
> >
> > Traceback (most recent call last):
> >   File "/home/pokybuild/yocto-worker/qemuarm-oecore/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >            ^^^^^^^^^^^^^^^^^^^^^
> >   File "/home/pokybuild/yocto-worker/qemuarm-oecore/build/meta/lib/oeqa/runtime/cases/parselogs.py", line 393, in test_parselogs
> >     self.assertEqual(errcount, 0, msg=self.msg)
> > AssertionError: 4 != 0 : No ignore list found for this machine, using default
> > No ignore list found for this machine, using default
> > No ignore list found for this machine, using default
> > No ignore list found for this machine, using default
> > No ignore list found for this machine, using default
> > No ignore list found for this machine, using default
> > No ignore list found for this machine, using default
> > No ignore list found for this machine, using default
> > Log: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/target_logs/Xorg.0.log
>
> It's odd.
>
> I can build and test qemuarm core-image-sato and I don't get any warnings.
>
> I wasn't able to see the exact configuration of that specific run (is
> it under build-properties?).

I'm using systemd vs sysvinit, it could be masking the messages. I'll
try that change locally.

Bruce

>
> Bruce
>
>
> > -----------------------
> > Central error: [    17.416] (II) FBDEV(0):      mode "640x480" test failed
> > ***********************
> > [    17.381]    compiled for 1.21.1.8, module version = 0.0.2
> > [    17.381]    ABI class: X.Org Video Driver, version 25.2
> > [    17.384] (II) FBDEV(0): using default device
> > [    17.389] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
> > [    17.389] (==) FBDEV(0): RGB weight 888
> > [    17.389] (==) FBDEV(0): Default visual is TrueColor
> > [    17.403] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
> > [    17.406] (II) FBDEV(0): hardware: virtio_gpudrmfb (video memory: 4000kB)
> > [    17.407] (DB) xf86MergeOutputClassOptions unsupported bus type 0
> > [    17.411] (II) FBDEV(0): checking modes against framebuffer device...
> > [    17.416] (II) FBDEV(0):     mode "640x480" test failed
> > [    17.417] (II) FBDEV(0):     mode "640x480" test failed
> > [    17.418] (II) FBDEV(0):     mode "640x480" test failed
> > [    17.419] (II) FBDEV(0):     mode "640x480" test failed
> > [    17.441] (II) FBDEV(0):     mode "640x480" not found
> > [    17.442] (II) FBDEV(0): checking modes against monitor...
> > [    17.444] (II) FBDEV(0): Virtual size is 1280x800 (pitch 1280)
> > [    17.445] (**) FBDEV(0):  Built-in mode "current"
> > [    17.446] (==) FBDEV(0): DPI set to (96, 96)
> > [    17.447] (II) Loading sub module "fb"
> > [    17.448] (II) LoadModule: "fb"
> >
> > > Ross
> >
> > >
> > >
> > >
> >
> >
> > --
> > Alexandre Belloni, co-owner and COO, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com
>
>
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#184105): https://lists.openembedded.org/g/openembedded-core/message/184105
> Mute This Topic: https://lists.openembedded.org/mt/100051814/1050810
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>