mbox

[00/13] kernel-yocto: consolidated pull request

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

Pull-request

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

Message

Bruce Ashfield Aug. 4, 2022, 10:57 p.m. UTC
From: Bruce Ashfield <bruce.ashfield@gmail.com>

Richard,

As I mentioned earlier today, I've built and booted the 5.19 kernel
on all architectures, have run core-iamge-kernel-dev, core-image-sato
and validated musl.

At this point, we need wider coverage to scare out the remaining
gremlins.

I'm also sending update to 5.10 and 5.15 in the pull request, since
these are the retbleed stable updates, and I didn't want to sit on
them any longer. These are of course independenct of the 5.19 work.

I found one issue with vboxguestdrivers in meta-oe agains the new
kernel/headers, and I've sent a patch to that mailing list. I also
had to fix lttng-modules (as usual) and have sent a patch to that
mailing list as well.

devsrc needed a few tweaks as well, and they are included in the
series.

Note: I've mixed in the poky / meta-yocto patches as part of this
pull request, just for ease of sending it for wider testing and to
see if I missed any references to 5.10 or have left any else
dangling.

Cheers,

Bruce

The following changes since commit 25248acfdf92465b360ca464725b679ac5200d8d:

  initscripts: run umountnfs as a KILL script (2022-07-23 13:55:26 +0100)

are available in the Git repository at:

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

Bruce Ashfield (13):
  linux-yocto/5.15: update to v5.15.58
  linux-yocto/5.10: update to v5.10.134
  linux-yocto-rt/5.15: update to -rt48 (and fix -stable merge)
  linux-libc-headers: update to v5.19
  linux-yocto: introduce v5.19 reference kernel recipes
  meta/conf: update preferred linux-yocto version to v5.19
  kernel-devsrc: support arm v5.19+ on target build
  kernel-devsrc: support powerpc on v5.19+
  lttng-modules: fix build against mips and v5.19 kernel
  linux-yocto: drop v5.10 reference kernel recipes
  poky: update preferred version to v5.19
  poky: change preferred kernel version to 5.15 in poky-alt
  yocto-bsp: drop v5.10 bbappend and create 5.19 placeholder

 .../include/poky-distro-alt-test-config.inc   |   2 +-
 meta-poky/conf/distro/poky-tiny.conf          |   2 +-
 meta-poky/conf/distro/poky.conf               |   4 +-
 .../linux/linux-yocto_5.10.bbappend           |  23 ----
 .../linux/linux-yocto_5.19.bbappend           |  23 ++++
 meta/conf/distro/include/tcmode-default.inc   |   2 +-
 meta/conf/machine/include/x86/x86-base.inc    |   2 +-
 meta/conf/machine/qemuarmv5.conf              |   2 +-
 ...ers_5.16.bb => linux-libc-headers_5.19.bb} |   4 +-
 meta/recipes-kernel/linux/kernel-devsrc.bb    |  17 +++
 .../linux/linux-yocto-rt_5.15.bb              |   6 +-
 ...octo-rt_5.10.bb => linux-yocto-rt_5.19.bb} |  10 +-
 .../linux/linux-yocto-tiny_5.15.bb            |   6 +-
 ...-tiny_5.10.bb => linux-yocto-tiny_5.19.bb} |  14 +--
 meta/recipes-kernel/linux/linux-yocto_5.15.bb |  26 ++---
 ...inux-yocto_5.10.bb => linux-yocto_5.19.bb} |  66 ++++++-----
 ...tracepoints-condtional-on-CONFIG_COM.patch | 103 ++++++++++++++++++
 .../lttng/lttng-modules_2.13.4.bb             |   1 +
 18 files changed, 222 insertions(+), 91 deletions(-)
 delete mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.10.bbappend
 create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.19.bbappend
 rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_5.16.bb => linux-libc-headers_5.19.bb} (81%)
 rename meta/recipes-kernel/linux/{linux-yocto-rt_5.10.bb => linux-yocto-rt_5.19.bb} (87%)
 rename meta/recipes-kernel/linux/{linux-yocto-tiny_5.10.bb => linux-yocto-tiny_5.19.bb} (59%)
 rename meta/recipes-kernel/linux/{linux-yocto_5.10.bb => linux-yocto_5.19.bb} (47%)
 create mode 100644 meta/recipes-kernel/lttng/lttng-modules/0001-compaction-make-tracepoints-condtional-on-CONFIG_COM.patch

Comments

Richard Purdie Aug. 8, 2022, 7:38 a.m. UTC | #1
Hi Bruce,

On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
> As I mentioned earlier today, I've built and booted the 5.19 kernel
> on all architectures, have run core-iamge-kernel-dev, core-image-sato
> and validated musl.
> 
> At this point, we need wider coverage to scare out the remaining
> gremlins.
> 
> I'm also sending update to 5.10 and 5.15 in the pull request, since
> these are the retbleed stable updates, and I didn't want to sit on
> them any longer. These are of course independenct of the 5.19 work.
> 
> I found one issue with vboxguestdrivers in meta-oe agains the new
> kernel/headers, and I've sent a patch to that mailing list. I also
> had to fix lttng-modules (as usual) and have sent a patch to that
> mailing list as well.
> 
> devsrc needed a few tweaks as well, and they are included in the
> series.
> 
> Note: I've mixed in the poky / meta-yocto patches as part of this
> pull request, just for ease of sending it for wider testing and to
> see if I missed any references to 5.10 or have left any else
> dangling.

We've had a few autobuilder issues but I did run this through with
other changes. The logs were a mess but I think I see three issues
which are likely kernel related. The first kernel module issue happened
a lot, the other two were more isolated to oe-selftest or a single
failure.

https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio

RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  [Previous line repeated 2 more times]
  File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
    self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
AssertionError: 2 != 0 : cd /tmp && make
make -C /usr/src/kernel M=/tmp modules
make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
make[1]: *** [Makefile:1728: prepare] Error 2
make: *** [Makefile:5: all] Error 2

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3948/steps/15/logs/stdio

 runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase)
2022-08-08 02:08:41,717 - oe-selftest - INFO -  ... FAIL

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-645516/meta-selftest/lib/oeqa/runtime/cases/virgl.py", line 17, in test_kmscube
    self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
AssertionError: 234 != 0 : kmscube exited with non-zero status 234 and output:
Using display 0x55f5ecf4d920 with EGL version 1.4
===================================
EGL information:
  version: "1.4"
  vendor: "Mesa Project"
  client extensions: "EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless"
  display extensions: "EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display "
===================================
OpenGL ES 2.x information:
  version: "OpenGL ES 3.2 Mesa 22.1.3"
  shading language version: "OpenGL ES GLSL ES 3.20"
  vendor: "Mesa/X.org"
  renderer: "virgl"
  extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra "
===================================
Using modifier ffffffffffffff
failed to set mode: Invalid argument


https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/5569/steps/12/logs/stdio

x32 init issue:

[    6.250566] Run /etc/init as init process
[    6.251951] Run /bin/init as init process
[    6.253182] Run /bin/sh as init process
[    6.258191] request_module: kmod_concurrent_max (0) close to 0
(max_modprobes: 50), for module binfmt-464c, throttling...
[   11.363516] request_module: modprobe binfmt-464c cannot be
processed, kmod busy with 50 threads for more than 5 seconds now
[   11.366573] Starting init: /bin/sh exists but couldn't execute it
(error -8)
[   11.369043] Kernel panic - not syncing: No working init found.  Try
passing init= option to kernel. See Linux Documentation/admin-
guide/init.rst for guidance.
[   11.371040] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.19.0-yocto-
standard #1
[   11.372059] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
[   11.373541] Call Trace:
[   11.373905]  <TASK>
[   11.374221]  dump_stack_lvl+0x3a/0x50
[   11.374754]  dump_stack+0x10/0x16
[   11.375223]  panic+0x113/0x283
[   11.375684]  ? rest_init+0xc0/0xc0
[   11.376154]  kernel_init+0x127/0x130
[   11.376630]  ret_from_fork+0x22/0x30
[   11.377120]  </TASK>
[   11.377532] Kernel Offset: 0xf600000 from 0xffffffff81000000
(relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[   11.378972] ---[ end Kernel panic - not syncing: No working init
found.  Try passing init= option to kernel. See Linux
Documentation/admin-guide/init.rst for guidance. ]---

Cheers,

Richard
Bruce Ashfield Aug. 8, 2022, 1:01 p.m. UTC | #2
On Mon, Aug 8, 2022 at 3:38 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> Hi Bruce,
>
> On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
> > As I mentioned earlier today, I've built and booted the 5.19 kernel
> > on all architectures, have run core-iamge-kernel-dev, core-image-sato
> > and validated musl.
> >
> > At this point, we need wider coverage to scare out the remaining
> > gremlins.
> >
> > I'm also sending update to 5.10 and 5.15 in the pull request, since
> > these are the retbleed stable updates, and I didn't want to sit on
> > them any longer. These are of course independenct of the 5.19 work.
> >
> > I found one issue with vboxguestdrivers in meta-oe agains the new
> > kernel/headers, and I've sent a patch to that mailing list. I also
> > had to fix lttng-modules (as usual) and have sent a patch to that
> > mailing list as well.
> >
> > devsrc needed a few tweaks as well, and they are included in the
> > series.
> >
> > Note: I've mixed in the poky / meta-yocto patches as part of this
> > pull request, just for ease of sending it for wider testing and to
> > see if I missed any references to 5.10 or have left any else
> > dangling.
>
> We've had a few autobuilder issues but I did run this through with
> other changes. The logs were a mess but I think I see three issues
> which are likely kernel related. The first kernel module issue happened
> a lot, the other two were more isolated to oe-selftest or a single
> failure.
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio
>
> RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)
>
> Traceback (most recent call last):
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   [Previous line repeated 2 more times]
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
>     self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
> AssertionError: 2 != 0 : cd /tmp && make
> make -C /usr/src/kernel M=/tmp modules
> make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
> /bin/sh: -c: line 1: syntax error near unexpected token `('
> /bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
> make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
> make[1]: *** [Makefile:1728: prepare] Error 2
> make: *** [Makefile:5: all] Error 2

We recognize this one. :)

So either we put bash in as a shell RDPENDS for devsrc, or we wait for
the reproducibility fix to land. I'm ok with either route, do you have
a preference ?


>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3948/steps/15/logs/stdio
>
>  runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase)
> 2022-08-08 02:08:41,717 - oe-selftest - INFO -  ... FAIL
>
> Traceback (most recent call last):
>   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-645516/meta-selftest/lib/oeqa/runtime/cases/virgl.py", line 17, in test_kmscube
>     self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
> AssertionError: 234 != 0 : kmscube exited with non-zero status 234 and output:
> Using display 0x55f5ecf4d920 with EGL version 1.4
> ===================================
> EGL information:
>   version: "1.4"
>   vendor: "Mesa Project"
>   client extensions: "EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless"
>   display extensions: "EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display "
> ===================================
> OpenGL ES 2.x information:
>   version: "OpenGL ES 3.2 Mesa 22.1.3"
>   shading language version: "OpenGL ES GLSL ES 3.20"
>   vendor: "Mesa/X.org"
>   renderer: "virgl"
>   extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra "
> ===================================
> Using modifier ffffffffffffff
> failed to set mode: Invalid argument
>

I did do graphical tests on x86-64, and didn't see any issues. I'll
have another look.

>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/5569/steps/12/logs/stdio
>
> x32 init issue:

As for this, I really have no idea.  Perhaps we can get someone from
Intel to have a closer look, or we push x32 completely off the cliff
:)

Bruce

>
> [    6.250566] Run /etc/init as init process
> [    6.251951] Run /bin/init as init process
> [    6.253182] Run /bin/sh as init process
> [    6.258191] request_module: kmod_concurrent_max (0) close to 0
> (max_modprobes: 50), for module binfmt-464c, throttling...
> [   11.363516] request_module: modprobe binfmt-464c cannot be
> processed, kmod busy with 50 threads for more than 5 seconds now
> [   11.366573] Starting init: /bin/sh exists but couldn't execute it
> (error -8)
> [   11.369043] Kernel panic - not syncing: No working init found.  Try
> passing init= option to kernel. See Linux Documentation/admin-
> guide/init.rst for guidance.
> [   11.371040] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.19.0-yocto-
> standard #1
> [   11.372059] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
> rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
> [   11.373541] Call Trace:
> [   11.373905]  <TASK>
> [   11.374221]  dump_stack_lvl+0x3a/0x50
> [   11.374754]  dump_stack+0x10/0x16
> [   11.375223]  panic+0x113/0x283
> [   11.375684]  ? rest_init+0xc0/0xc0
> [   11.376154]  kernel_init+0x127/0x130
> [   11.376630]  ret_from_fork+0x22/0x30
> [   11.377120]  </TASK>
> [   11.377532] Kernel Offset: 0xf600000 from 0xffffffff81000000
> (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
> [   11.378972] ---[ end Kernel panic - not syncing: No working init
> found.  Try passing init= option to kernel. See Linux
> Documentation/admin-guide/init.rst for guidance. ]---
>
> Cheers,
>
> Richard
>
>


--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
Richard Purdie Aug. 8, 2022, 1:08 p.m. UTC | #3
On Mon, 2022-08-08 at 09:01 -0400, Bruce Ashfield wrote:
> On Mon, Aug 8, 2022 at 3:38 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > 
> > Hi Bruce,
> > 
> > On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
> > > As I mentioned earlier today, I've built and booted the 5.19 kernel
> > > on all architectures, have run core-iamge-kernel-dev, core-image-sato
> > > and validated musl.
> > > 
> > > At this point, we need wider coverage to scare out the remaining
> > > gremlins.
> > > 
> > > I'm also sending update to 5.10 and 5.15 in the pull request, since
> > > these are the retbleed stable updates, and I didn't want to sit on
> > > them any longer. These are of course independenct of the 5.19 work.
> > > 
> > > I found one issue with vboxguestdrivers in meta-oe agains the new
> > > kernel/headers, and I've sent a patch to that mailing list. I also
> > > had to fix lttng-modules (as usual) and have sent a patch to that
> > > mailing list as well.
> > > 
> > > devsrc needed a few tweaks as well, and they are included in the
> > > series.
> > > 
> > > Note: I've mixed in the poky / meta-yocto patches as part of this
> > > pull request, just for ease of sending it for wider testing and to
> > > see if I missed any references to 5.10 or have left any else
> > > dangling.
> > 
> > We've had a few autobuilder issues but I did run this through with
> > other changes. The logs were a mess but I think I see three issues
> > which are likely kernel related. The first kernel module issue happened
> > a lot, the other two were more isolated to oe-selftest or a single
> > failure.
> > 
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio
> > 
> > RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)
> > 
> > Traceback (most recent call last):
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   [Previous line repeated 2 more times]
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
> >     self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
> > AssertionError: 2 != 0 : cd /tmp && make
> > make -C /usr/src/kernel M=/tmp modules
> > make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
> > /bin/sh: -c: line 1: syntax error near unexpected token `('
> > /bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
> > make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
> > make[1]: *** [Makefile:1728: prepare] Error 2
> > make: *** [Makefile:5: all] Error 2
> 
> We recognize this one. :)
> 
> So either we put bash in as a shell RDPENDS for devsrc, or we wait for
> the reproducibility fix to land. I'm ok with either route, do you have
> a preference ?

I don't think bash as an RDEPENDS will help as that doesn't replace
/bin/sh with bash? :/

Can we get the reproducibility fix in? :)


> > OpenGL ES 2.x information:
> >   version: "OpenGL ES 3.2 Mesa 22.1.3"
> >   shading language version: "OpenGL ES GLSL ES 3.20"
> >   vendor: "Mesa/X.org"
> >   renderer: "virgl"
> >   extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra "
> > ===================================
> > Using modifier ffffffffffffff
> > failed to set mode: Invalid argument
> > 
> 
> I did do graphical tests on x86-64, and didn't see any issues. I'll
> have another look.

This is virgl GL passthrough in qemu so not a commonly tested thing,
you'd need to run the selftest. I'm hoping AlexK has some ideas on this
one.

> > https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/5569/steps/12/logs/stdio
> > 
> > x32 init issue:
> 
> As for this, I really have no idea.  Perhaps we can get someone from
> Intel to have a closer look, or we push x32 completely off the cliff
> :)

The kernel didn't remove x32 did it? That would make this easy!

Cheers,

Richard
Bruce Ashfield Aug. 8, 2022, 1:12 p.m. UTC | #4
On Mon, Aug 8, 2022 at 9:08 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Mon, 2022-08-08 at 09:01 -0400, Bruce Ashfield wrote:
> > On Mon, Aug 8, 2022 at 3:38 AM Richard Purdie
> > <richard.purdie@linuxfoundation.org> wrote:
> > >
> > > Hi Bruce,
> > >
> > > On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
> > > > As I mentioned earlier today, I've built and booted the 5.19 kernel
> > > > on all architectures, have run core-iamge-kernel-dev, core-image-sato
> > > > and validated musl.
> > > >
> > > > At this point, we need wider coverage to scare out the remaining
> > > > gremlins.
> > > >
> > > > I'm also sending update to 5.10 and 5.15 in the pull request, since
> > > > these are the retbleed stable updates, and I didn't want to sit on
> > > > them any longer. These are of course independenct of the 5.19 work.
> > > >
> > > > I found one issue with vboxguestdrivers in meta-oe agains the new
> > > > kernel/headers, and I've sent a patch to that mailing list. I also
> > > > had to fix lttng-modules (as usual) and have sent a patch to that
> > > > mailing list as well.
> > > >
> > > > devsrc needed a few tweaks as well, and they are included in the
> > > > series.
> > > >
> > > > Note: I've mixed in the poky / meta-yocto patches as part of this
> > > > pull request, just for ease of sending it for wider testing and to
> > > > see if I missed any references to 5.10 or have left any else
> > > > dangling.
> > >
> > > We've had a few autobuilder issues but I did run this through with
> > > other changes. The logs were a mess but I think I see three issues
> > > which are likely kernel related. The first kernel module issue happened
> > > a lot, the other two were more isolated to oe-selftest or a single
> > > failure.
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio
> > >
> > > RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)
> > >
> > > Traceback (most recent call last):
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> > >     return func(*args, **kwargs)
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> > >     return func(*args, **kwargs)
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> > >     return func(*args, **kwargs)
> > >   [Previous line repeated 2 more times]
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
> > >     self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
> > > AssertionError: 2 != 0 : cd /tmp && make
> > > make -C /usr/src/kernel M=/tmp modules
> > > make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
> > > /bin/sh: -c: line 1: syntax error near unexpected token `('
> > > /bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
> > > make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
> > > make[1]: *** [Makefile:1728: prepare] Error 2
> > > make: *** [Makefile:5: all] Error 2
> >
> > We recognize this one. :)
> >
> > So either we put bash in as a shell RDPENDS for devsrc, or we wait for
> > the reproducibility fix to land. I'm ok with either route, do you have
> > a preference ?
>
> I don't think bash as an RDEPENDS will help as that doesn't replace
> /bin/sh with bash? :/

Oh maybe not, but I've always had bash as the shell in all my test
images, no busybox.

>
> Can we get the reproducibility fix in? :)

That would depend on someone sending it to the linux-yocto list, or it
making -stable. I wasn't copied on the upstream submission, so I don't
have a reference to it. but I'll search lkml and see if I can locate
it.

>
>
> > > OpenGL ES 2.x information:
> > >   version: "OpenGL ES 3.2 Mesa 22.1.3"
> > >   shading language version: "OpenGL ES GLSL ES 3.20"
> > >   vendor: "Mesa/X.org"
> > >   renderer: "virgl"
> > >   extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra "
> > > ===================================
> > > Using modifier ffffffffffffff
> > > failed to set mode: Invalid argument
> > >
> >
> > I did do graphical tests on x86-64, and didn't see any issues. I'll
> > have another look.
>
> This is virgl GL passthrough in qemu so not a commonly tested thing,
> you'd need to run the selftest. I'm hoping AlexK has some ideas on this
> one.
>
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/5569/steps/12/logs/stdio
> > >
> > > x32 init issue:
> >
> > As for this, I really have no idea.  Perhaps we can get someone from
> > Intel to have a closer look, or we push x32 completely off the cliff
> > :)
>
> The kernel didn't remove x32 did it? That would make this easy!


I can hope and check!

Bruce

>
> Cheers,
>
> Richard
>
Alexander Kanavin Aug. 8, 2022, 1:20 p.m. UTC | #5
On Mon, 8 Aug 2022 at 15:12, Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
> > This is virgl GL passthrough in qemu so not a commonly tested thing,
> > you'd need to run the selftest. I'm hoping AlexK has some ideas on this
> > one.

I'm running a build now, will report.

> > The kernel didn't remove x32 did it? That would make this easy!
>
>
> I can hope and check!

One of these days I'll send a patch to gcc upstream to drop x32
support (and not tell anyone here until it lands :-)

Alex
Khem Raj Aug. 8, 2022, 4:14 p.m. UTC | #6
Hi Bruce

5.19 has issues with zfs see [1], it seem zfs is not yet working well
with 5.19 I see this message

| checking whether blk_queue_discard() is available... configure: error:
|       *** None of the expected "blk_queue_discard" interfaces were detected.
|       *** This may be because your kernel version is newer than what is
|       *** supported, or you are using a patched custom kernel with
|       *** incompatible modifications.
|       ***
|       *** ZFS Version: zfs-2.1.4-1
|       *** Compatible Kernels: 3.10 - 5.17
|

There is another failure in audit, but its not clear yet if its due to
kernel 5.19 or something else

| audit_wrap.c: In function '_wrap_audit_rule_data_buf_set':
| audit_wrap.c:4701:17: error: cast specifies array type
|  4701 |     arg1->buf = (char [])(char
*)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
sizeof(char)*(size));
|       |                 ^
| audit_wrap.c:4701:15: error: invalid use of flexible array member
|  4701 |     arg1->buf = (char [])(char
*)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
sizeof(char)*(size));
|       |               ^
| audit_wrap.c:4703:15: error: invalid use of flexible array member
|  4703 |     arg1->buf = 0;
|       |               ^


[1] https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1888

On Mon, Aug 8, 2022 at 12:38 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> Hi Bruce,
>
> On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
> > As I mentioned earlier today, I've built and booted the 5.19 kernel
> > on all architectures, have run core-iamge-kernel-dev, core-image-sato
> > and validated musl.
> >
> > At this point, we need wider coverage to scare out the remaining
> > gremlins.
> >
> > I'm also sending update to 5.10 and 5.15 in the pull request, since
> > these are the retbleed stable updates, and I didn't want to sit on
> > them any longer. These are of course independenct of the 5.19 work.
> >
> > I found one issue with vboxguestdrivers in meta-oe agains the new
> > kernel/headers, and I've sent a patch to that mailing list. I also
> > had to fix lttng-modules (as usual) and have sent a patch to that
> > mailing list as well.
> >
> > devsrc needed a few tweaks as well, and they are included in the
> > series.
> >
> > Note: I've mixed in the poky / meta-yocto patches as part of this
> > pull request, just for ease of sending it for wider testing and to
> > see if I missed any references to 5.10 or have left any else
> > dangling.
>
> We've had a few autobuilder issues but I did run this through with
> other changes. The logs were a mess but I think I see three issues
> which are likely kernel related. The first kernel module issue happened
> a lot, the other two were more isolated to oe-selftest or a single
> failure.
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio
>
> RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)
>
> Traceback (most recent call last):
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   [Previous line repeated 2 more times]
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
>     self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
> AssertionError: 2 != 0 : cd /tmp && make
> make -C /usr/src/kernel M=/tmp modules
> make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
> /bin/sh: -c: line 1: syntax error near unexpected token `('
> /bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
> make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
> make[1]: *** [Makefile:1728: prepare] Error 2
> make: *** [Makefile:5: all] Error 2
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3948/steps/15/logs/stdio
>
>  runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase)
> 2022-08-08 02:08:41,717 - oe-selftest - INFO -  ... FAIL
>
> Traceback (most recent call last):
>   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-645516/meta-selftest/lib/oeqa/runtime/cases/virgl.py", line 17, in test_kmscube
>     self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
> AssertionError: 234 != 0 : kmscube exited with non-zero status 234 and output:
> Using display 0x55f5ecf4d920 with EGL version 1.4
> ===================================
> EGL information:
>   version: "1.4"
>   vendor: "Mesa Project"
>   client extensions: "EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless"
>   display extensions: "EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display "
> ===================================
> OpenGL ES 2.x information:
>   version: "OpenGL ES 3.2 Mesa 22.1.3"
>   shading language version: "OpenGL ES GLSL ES 3.20"
>   vendor: "Mesa/X.org"
>   renderer: "virgl"
>   extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra "
> ===================================
> Using modifier ffffffffffffff
> failed to set mode: Invalid argument
>
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/5569/steps/12/logs/stdio
>
> x32 init issue:
>
> [    6.250566] Run /etc/init as init process
> [    6.251951] Run /bin/init as init process
> [    6.253182] Run /bin/sh as init process
> [    6.258191] request_module: kmod_concurrent_max (0) close to 0
> (max_modprobes: 50), for module binfmt-464c, throttling...
> [   11.363516] request_module: modprobe binfmt-464c cannot be
> processed, kmod busy with 50 threads for more than 5 seconds now
> [   11.366573] Starting init: /bin/sh exists but couldn't execute it
> (error -8)
> [   11.369043] Kernel panic - not syncing: No working init found.  Try
> passing init= option to kernel. See Linux Documentation/admin-
> guide/init.rst for guidance.
> [   11.371040] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.19.0-yocto-
> standard #1
> [   11.372059] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
> rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
> [   11.373541] Call Trace:
> [   11.373905]  <TASK>
> [   11.374221]  dump_stack_lvl+0x3a/0x50
> [   11.374754]  dump_stack+0x10/0x16
> [   11.375223]  panic+0x113/0x283
> [   11.375684]  ? rest_init+0xc0/0xc0
> [   11.376154]  kernel_init+0x127/0x130
> [   11.376630]  ret_from_fork+0x22/0x30
> [   11.377120]  </TASK>
> [   11.377532] Kernel Offset: 0xf600000 from 0xffffffff81000000
> (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
> [   11.378972] ---[ end Kernel panic - not syncing: No working init
> found.  Try passing init= option to kernel. See Linux
> Documentation/admin-guide/init.rst for guidance. ]---
>
> Cheers,
>
> Richard
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#169070): https://lists.openembedded.org/g/openembedded-core/message/169070
> Mute This Topic: https://lists.openembedded.org/mt/92824833/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Bruce Ashfield Aug. 8, 2022, 5:10 p.m. UTC | #7
On Mon, Aug 8, 2022 at 12:14 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> Hi Bruce
>
> 5.19 has issues with zfs see [1], it seem zfs is not yet working well
> with 5.19 I see this message
>

Indeed! It is pretty clear about that.

I can try and uprev of the package, or did you have one already started ?

Bruce

> | checking whether blk_queue_discard() is available... configure: error:
> |       *** None of the expected "blk_queue_discard" interfaces were detected.
> |       *** This may be because your kernel version is newer than what is
> |       *** supported, or you are using a patched custom kernel with
> |       *** incompatible modifications.
> |       ***
> |       *** ZFS Version: zfs-2.1.4-1
> |       *** Compatible Kernels: 3.10 - 5.17
> |
>
> There is another failure in audit, but its not clear yet if its due to
> kernel 5.19 or something else
>
> | audit_wrap.c: In function '_wrap_audit_rule_data_buf_set':
> | audit_wrap.c:4701:17: error: cast specifies array type
> |  4701 |     arg1->buf = (char [])(char
> *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
> sizeof(char)*(size));
> |       |                 ^
> | audit_wrap.c:4701:15: error: invalid use of flexible array member
> |  4701 |     arg1->buf = (char [])(char
> *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
> sizeof(char)*(size));
> |       |               ^
> | audit_wrap.c:4703:15: error: invalid use of flexible array member
> |  4703 |     arg1->buf = 0;
> |       |               ^
>
>
> [1] https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1888
>
> On Mon, Aug 8, 2022 at 12:38 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> >
> > Hi Bruce,
> >
> > On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
> > > As I mentioned earlier today, I've built and booted the 5.19 kernel
> > > on all architectures, have run core-iamge-kernel-dev, core-image-sato
> > > and validated musl.
> > >
> > > At this point, we need wider coverage to scare out the remaining
> > > gremlins.
> > >
> > > I'm also sending update to 5.10 and 5.15 in the pull request, since
> > > these are the retbleed stable updates, and I didn't want to sit on
> > > them any longer. These are of course independenct of the 5.19 work.
> > >
> > > I found one issue with vboxguestdrivers in meta-oe agains the new
> > > kernel/headers, and I've sent a patch to that mailing list. I also
> > > had to fix lttng-modules (as usual) and have sent a patch to that
> > > mailing list as well.
> > >
> > > devsrc needed a few tweaks as well, and they are included in the
> > > series.
> > >
> > > Note: I've mixed in the poky / meta-yocto patches as part of this
> > > pull request, just for ease of sending it for wider testing and to
> > > see if I missed any references to 5.10 or have left any else
> > > dangling.
> >
> > We've had a few autobuilder issues but I did run this through with
> > other changes. The logs were a mess but I think I see three issues
> > which are likely kernel related. The first kernel module issue happened
> > a lot, the other two were more isolated to oe-selftest or a single
> > failure.
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio
> >
> > RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)
> >
> > Traceback (most recent call last):
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   [Previous line repeated 2 more times]
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
> >     self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
> > AssertionError: 2 != 0 : cd /tmp && make
> > make -C /usr/src/kernel M=/tmp modules
> > make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
> > /bin/sh: -c: line 1: syntax error near unexpected token `('
> > /bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
> > make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
> > make[1]: *** [Makefile:1728: prepare] Error 2
> > make: *** [Makefile:5: all] Error 2
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3948/steps/15/logs/stdio
> >
> >  runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase)
> > 2022-08-08 02:08:41,717 - oe-selftest - INFO -  ... FAIL
> >
> > Traceback (most recent call last):
> >   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-645516/meta-selftest/lib/oeqa/runtime/cases/virgl.py", line 17, in test_kmscube
> >     self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
> > AssertionError: 234 != 0 : kmscube exited with non-zero status 234 and output:
> > Using display 0x55f5ecf4d920 with EGL version 1.4
> > ===================================
> > EGL information:
> >   version: "1.4"
> >   vendor: "Mesa Project"
> >   client extensions: "EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless"
> >   display extensions: "EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display "
> > ===================================
> > OpenGL ES 2.x information:
> >   version: "OpenGL ES 3.2 Mesa 22.1.3"
> >   shading language version: "OpenGL ES GLSL ES 3.20"
> >   vendor: "Mesa/X.org"
> >   renderer: "virgl"
> >   extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra "
> > ===================================
> > Using modifier ffffffffffffff
> > failed to set mode: Invalid argument
> >
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/5569/steps/12/logs/stdio
> >
> > x32 init issue:
> >
> > [    6.250566] Run /etc/init as init process
> > [    6.251951] Run /bin/init as init process
> > [    6.253182] Run /bin/sh as init process
> > [    6.258191] request_module: kmod_concurrent_max (0) close to 0
> > (max_modprobes: 50), for module binfmt-464c, throttling...
> > [   11.363516] request_module: modprobe binfmt-464c cannot be
> > processed, kmod busy with 50 threads for more than 5 seconds now
> > [   11.366573] Starting init: /bin/sh exists but couldn't execute it
> > (error -8)
> > [   11.369043] Kernel panic - not syncing: No working init found.  Try
> > passing init= option to kernel. See Linux Documentation/admin-
> > guide/init.rst for guidance.
> > [   11.371040] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.19.0-yocto-
> > standard #1
> > [   11.372059] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
> > rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
> > [   11.373541] Call Trace:
> > [   11.373905]  <TASK>
> > [   11.374221]  dump_stack_lvl+0x3a/0x50
> > [   11.374754]  dump_stack+0x10/0x16
> > [   11.375223]  panic+0x113/0x283
> > [   11.375684]  ? rest_init+0xc0/0xc0
> > [   11.376154]  kernel_init+0x127/0x130
> > [   11.376630]  ret_from_fork+0x22/0x30
> > [   11.377120]  </TASK>
> > [   11.377532] Kernel Offset: 0xf600000 from 0xffffffff81000000
> > (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
> > [   11.378972] ---[ end Kernel panic - not syncing: No working init
> > found.  Try passing init= option to kernel. See Linux
> > Documentation/admin-guide/init.rst for guidance. ]---
> >
> > Cheers,
> >
> > Richard
> >
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#169070): https://lists.openembedded.org/g/openembedded-core/message/169070
> > Mute This Topic: https://lists.openembedded.org/mt/92824833/1997914
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
Bruce Ashfield Aug. 8, 2022, 5:21 p.m. UTC | #8
On Mon, Aug 8, 2022 at 1:11 PM Bruce Ashfield via
lists.openembedded.org
<bruce.ashfield=gmail.com@lists.openembedded.org> wrote:
>
> On Mon, Aug 8, 2022 at 12:14 PM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > Hi Bruce
> >
> > 5.19 has issues with zfs see [1], it seem zfs is not yet working well
> > with 5.19 I see this message
> >
>
> Indeed! It is pretty clear about that.
>
> I can try and uprev of the package, or did you have one already started ?
>

2.1.5 builds fine against 5.19, I can send the bump to the list
shortly. I just have to refresh one of the patches.

Bruce

> Bruce
>
> > | checking whether blk_queue_discard() is available... configure: error:
> > |       *** None of the expected "blk_queue_discard" interfaces were detected.
> > |       *** This may be because your kernel version is newer than what is
> > |       *** supported, or you are using a patched custom kernel with
> > |       *** incompatible modifications.
> > |       ***
> > |       *** ZFS Version: zfs-2.1.4-1
> > |       *** Compatible Kernels: 3.10 - 5.17
> > |
> >
> > There is another failure in audit, but its not clear yet if its due to
> > kernel 5.19 or something else
> >
> > | audit_wrap.c: In function '_wrap_audit_rule_data_buf_set':
> > | audit_wrap.c:4701:17: error: cast specifies array type
> > |  4701 |     arg1->buf = (char [])(char
> > *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
> > sizeof(char)*(size));
> > |       |                 ^
> > | audit_wrap.c:4701:15: error: invalid use of flexible array member
> > |  4701 |     arg1->buf = (char [])(char
> > *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
> > sizeof(char)*(size));
> > |       |               ^
> > | audit_wrap.c:4703:15: error: invalid use of flexible array member
> > |  4703 |     arg1->buf = 0;
> > |       |               ^
> >
> >
> > [1] https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1888
> >
> > On Mon, Aug 8, 2022 at 12:38 AM Richard Purdie
> > <richard.purdie@linuxfoundation.org> wrote:
> > >
> > > Hi Bruce,
> > >
> > > On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
> > > > As I mentioned earlier today, I've built and booted the 5.19 kernel
> > > > on all architectures, have run core-iamge-kernel-dev, core-image-sato
> > > > and validated musl.
> > > >
> > > > At this point, we need wider coverage to scare out the remaining
> > > > gremlins.
> > > >
> > > > I'm also sending update to 5.10 and 5.15 in the pull request, since
> > > > these are the retbleed stable updates, and I didn't want to sit on
> > > > them any longer. These are of course independenct of the 5.19 work.
> > > >
> > > > I found one issue with vboxguestdrivers in meta-oe agains the new
> > > > kernel/headers, and I've sent a patch to that mailing list. I also
> > > > had to fix lttng-modules (as usual) and have sent a patch to that
> > > > mailing list as well.
> > > >
> > > > devsrc needed a few tweaks as well, and they are included in the
> > > > series.
> > > >
> > > > Note: I've mixed in the poky / meta-yocto patches as part of this
> > > > pull request, just for ease of sending it for wider testing and to
> > > > see if I missed any references to 5.10 or have left any else
> > > > dangling.
> > >
> > > We've had a few autobuilder issues but I did run this through with
> > > other changes. The logs were a mess but I think I see three issues
> > > which are likely kernel related. The first kernel module issue happened
> > > a lot, the other two were more isolated to oe-selftest or a single
> > > failure.
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio
> > >
> > > RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)
> > >
> > > Traceback (most recent call last):
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> > >     return func(*args, **kwargs)
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> > >     return func(*args, **kwargs)
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> > >     return func(*args, **kwargs)
> > >   [Previous line repeated 2 more times]
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
> > >     self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
> > > AssertionError: 2 != 0 : cd /tmp && make
> > > make -C /usr/src/kernel M=/tmp modules
> > > make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
> > > /bin/sh: -c: line 1: syntax error near unexpected token `('
> > > /bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
> > > make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
> > > make[1]: *** [Makefile:1728: prepare] Error 2
> > > make: *** [Makefile:5: all] Error 2
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3948/steps/15/logs/stdio
> > >
> > >  runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase)
> > > 2022-08-08 02:08:41,717 - oe-selftest - INFO -  ... FAIL
> > >
> > > Traceback (most recent call last):
> > >   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> > >     return func(*args, **kwargs)
> > >   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-645516/meta-selftest/lib/oeqa/runtime/cases/virgl.py", line 17, in test_kmscube
> > >     self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
> > > AssertionError: 234 != 0 : kmscube exited with non-zero status 234 and output:
> > > Using display 0x55f5ecf4d920 with EGL version 1.4
> > > ===================================
> > > EGL information:
> > >   version: "1.4"
> > >   vendor: "Mesa Project"
> > >   client extensions: "EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless"
> > >   display extensions: "EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display "
> > > ===================================
> > > OpenGL ES 2.x information:
> > >   version: "OpenGL ES 3.2 Mesa 22.1.3"
> > >   shading language version: "OpenGL ES GLSL ES 3.20"
> > >   vendor: "Mesa/X.org"
> > >   renderer: "virgl"
> > >   extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra "
> > > ===================================
> > > Using modifier ffffffffffffff
> > > failed to set mode: Invalid argument
> > >
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/5569/steps/12/logs/stdio
> > >
> > > x32 init issue:
> > >
> > > [    6.250566] Run /etc/init as init process
> > > [    6.251951] Run /bin/init as init process
> > > [    6.253182] Run /bin/sh as init process
> > > [    6.258191] request_module: kmod_concurrent_max (0) close to 0
> > > (max_modprobes: 50), for module binfmt-464c, throttling...
> > > [   11.363516] request_module: modprobe binfmt-464c cannot be
> > > processed, kmod busy with 50 threads for more than 5 seconds now
> > > [   11.366573] Starting init: /bin/sh exists but couldn't execute it
> > > (error -8)
> > > [   11.369043] Kernel panic - not syncing: No working init found.  Try
> > > passing init= option to kernel. See Linux Documentation/admin-
> > > guide/init.rst for guidance.
> > > [   11.371040] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.19.0-yocto-
> > > standard #1
> > > [   11.372059] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
> > > rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
> > > [   11.373541] Call Trace:
> > > [   11.373905]  <TASK>
> > > [   11.374221]  dump_stack_lvl+0x3a/0x50
> > > [   11.374754]  dump_stack+0x10/0x16
> > > [   11.375223]  panic+0x113/0x283
> > > [   11.375684]  ? rest_init+0xc0/0xc0
> > > [   11.376154]  kernel_init+0x127/0x130
> > > [   11.376630]  ret_from_fork+0x22/0x30
> > > [   11.377120]  </TASK>
> > > [   11.377532] Kernel Offset: 0xf600000 from 0xffffffff81000000
> > > (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
> > > [   11.378972] ---[ end Kernel panic - not syncing: No working init
> > > found.  Try passing init= option to kernel. See Linux
> > > Documentation/admin-guide/init.rst for guidance. ]---
> > >
> > > Cheers,
> > >
> > > Richard
> > >
> > >
> > >
> > >
> > >
>
>
>
> --
> - 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 (#169104): https://lists.openembedded.org/g/openembedded-core/message/169104
> Mute This Topic: https://lists.openembedded.org/mt/92824833/1050810
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj Aug. 8, 2022, 5:27 p.m. UTC | #9
On 8/8/22 10:21 AM, Bruce Ashfield wrote:
> On Mon, Aug 8, 2022 at 1:11 PM Bruce Ashfield via
> lists.openembedded.org
> <bruce.ashfield=gmail.com@lists.openembedded.org> wrote:
>>
>> On Mon, Aug 8, 2022 at 12:14 PM Khem Raj <raj.khem@gmail.com> wrote:
>>>
>>> Hi Bruce
>>>
>>> 5.19 has issues with zfs see [1], it seem zfs is not yet working well
>>> with 5.19 I see this message
>>>
>>
>> Indeed! It is pretty clear about that.
>>
>> I can try and uprev of the package, or did you have one already started ?
>>
> 
> 2.1.5 builds fine against 5.19, I can send the bump to the list
> shortly. I just have to refresh one of the patches.

Thanks Bruce, thats helpful.

> 
> Bruce
> 
>> Bruce
>>
>>> | checking whether blk_queue_discard() is available... configure: error:
>>> |       *** None of the expected "blk_queue_discard" interfaces were detected.
>>> |       *** This may be because your kernel version is newer than what is
>>> |       *** supported, or you are using a patched custom kernel with
>>> |       *** incompatible modifications.
>>> |       ***
>>> |       *** ZFS Version: zfs-2.1.4-1
>>> |       *** Compatible Kernels: 3.10 - 5.17
>>> |
>>>
>>> There is another failure in audit, but its not clear yet if its due to
>>> kernel 5.19 or something else
>>>
>>> | audit_wrap.c: In function '_wrap_audit_rule_data_buf_set':
>>> | audit_wrap.c:4701:17: error: cast specifies array type
>>> |  4701 |     arg1->buf = (char [])(char
>>> *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
>>> sizeof(char)*(size));
>>> |       |                 ^
>>> | audit_wrap.c:4701:15: error: invalid use of flexible array member
>>> |  4701 |     arg1->buf = (char [])(char
>>> *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
>>> sizeof(char)*(size));
>>> |       |               ^
>>> | audit_wrap.c:4703:15: error: invalid use of flexible array member
>>> |  4703 |     arg1->buf = 0;
>>> |       |               ^
>>>
>>>
>>> [1] https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1888
>>>
>>> On Mon, Aug 8, 2022 at 12:38 AM Richard Purdie
>>> <richard.purdie@linuxfoundation.org> wrote:
>>>>
>>>> Hi Bruce,
>>>>
>>>> On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
>>>>> As I mentioned earlier today, I've built and booted the 5.19 kernel
>>>>> on all architectures, have run core-iamge-kernel-dev, core-image-sato
>>>>> and validated musl.
>>>>>
>>>>> At this point, we need wider coverage to scare out the remaining
>>>>> gremlins.
>>>>>
>>>>> I'm also sending update to 5.10 and 5.15 in the pull request, since
>>>>> these are the retbleed stable updates, and I didn't want to sit on
>>>>> them any longer. These are of course independenct of the 5.19 work.
>>>>>
>>>>> I found one issue with vboxguestdrivers in meta-oe agains the new
>>>>> kernel/headers, and I've sent a patch to that mailing list. I also
>>>>> had to fix lttng-modules (as usual) and have sent a patch to that
>>>>> mailing list as well.
>>>>>
>>>>> devsrc needed a few tweaks as well, and they are included in the
>>>>> series.
>>>>>
>>>>> Note: I've mixed in the poky / meta-yocto patches as part of this
>>>>> pull request, just for ease of sending it for wider testing and to
>>>>> see if I missed any references to 5.10 or have left any else
>>>>> dangling.
>>>>
>>>> We've had a few autobuilder issues but I did run this through with
>>>> other changes. The logs were a mess but I think I see three issues
>>>> which are likely kernel related. The first kernel module issue happened
>>>> a lot, the other two were more isolated to oe-selftest or a single
>>>> failure.
>>>>
>>>> https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio
>>>>
>>>> RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)
>>>>
>>>> Traceback (most recent call last):
>>>>    File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>>>>      return func(*args, **kwargs)
>>>>    File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>>>>      return func(*args, **kwargs)
>>>>    File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>>>>      return func(*args, **kwargs)
>>>>    [Previous line repeated 2 more times]
>>>>    File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
>>>>      self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
>>>> AssertionError: 2 != 0 : cd /tmp && make
>>>> make -C /usr/src/kernel M=/tmp modules
>>>> make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
>>>> /bin/sh: -c: line 1: syntax error near unexpected token `('
>>>> /bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
>>>> make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
>>>> make[1]: *** [Makefile:1728: prepare] Error 2
>>>> make: *** [Makefile:5: all] Error 2
>>>>
>>>> https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3948/steps/15/logs/stdio
>>>>
>>>>   runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase)
>>>> 2022-08-08 02:08:41,717 - oe-selftest - INFO -  ... FAIL
>>>>
>>>> Traceback (most recent call last):
>>>>    File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>>>>      return func(*args, **kwargs)
>>>>    File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-645516/meta-selftest/lib/oeqa/runtime/cases/virgl.py", line 17, in test_kmscube
>>>>      self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
>>>> AssertionError: 234 != 0 : kmscube exited with non-zero status 234 and output:
>>>> Using display 0x55f5ecf4d920 with EGL version 1.4
>>>> ===================================
>>>> EGL information:
>>>>    version: "1.4"
>>>>    vendor: "Mesa Project"
>>>>    client extensions: "EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless"
>>>>    display extensions: "EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display "
>>>> ===================================
>>>> OpenGL ES 2.x information:
>>>>    version: "OpenGL ES 3.2 Mesa 22.1.3"
>>>>    shading language version: "OpenGL ES GLSL ES 3.20"
>>>>    vendor: "Mesa/X.org"
>>>>    renderer: "virgl"
>>>>    extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra "
>>>> ===================================
>>>> Using modifier ffffffffffffff
>>>> failed to set mode: Invalid argument
>>>>
>>>>
>>>> https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/5569/steps/12/logs/stdio
>>>>
>>>> x32 init issue:
>>>>
>>>> [    6.250566] Run /etc/init as init process
>>>> [    6.251951] Run /bin/init as init process
>>>> [    6.253182] Run /bin/sh as init process
>>>> [    6.258191] request_module: kmod_concurrent_max (0) close to 0
>>>> (max_modprobes: 50), for module binfmt-464c, throttling...
>>>> [   11.363516] request_module: modprobe binfmt-464c cannot be
>>>> processed, kmod busy with 50 threads for more than 5 seconds now
>>>> [   11.366573] Starting init: /bin/sh exists but couldn't execute it
>>>> (error -8)
>>>> [   11.369043] Kernel panic - not syncing: No working init found.  Try
>>>> passing init= option to kernel. See Linux Documentation/admin-
>>>> guide/init.rst for guidance.
>>>> [   11.371040] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.19.0-yocto-
>>>> standard #1
>>>> [   11.372059] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
>>>> rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
>>>> [   11.373541] Call Trace:
>>>> [   11.373905]  <TASK>
>>>> [   11.374221]  dump_stack_lvl+0x3a/0x50
>>>> [   11.374754]  dump_stack+0x10/0x16
>>>> [   11.375223]  panic+0x113/0x283
>>>> [   11.375684]  ? rest_init+0xc0/0xc0
>>>> [   11.376154]  kernel_init+0x127/0x130
>>>> [   11.376630]  ret_from_fork+0x22/0x30
>>>> [   11.377120]  </TASK>
>>>> [   11.377532] Kernel Offset: 0xf600000 from 0xffffffff81000000
>>>> (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
>>>> [   11.378972] ---[ end Kernel panic - not syncing: No working init
>>>> found.  Try passing init= option to kernel. See Linux
>>>> Documentation/admin-guide/init.rst for guidance. ]---
>>>>
>>>> Cheers,
>>>>
>>>> Richard
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>> --
>> - 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 (#169104): https://lists.openembedded.org/g/openembedded-core/message/169104
>> Mute This Topic: https://lists.openembedded.org/mt/92824833/1050810
>> Group Owner: openembedded-core+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [bruce.ashfield@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
> 
>
Bruce Ashfield Aug. 8, 2022, 6:07 p.m. UTC | #10
On Mon, Aug 8, 2022 at 12:14 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> Hi Bruce
>
> 5.19 has issues with zfs see [1], it seem zfs is not yet working well
> with 5.19 I see this message
>
> | checking whether blk_queue_discard() is available... configure: error:
> |       *** None of the expected "blk_queue_discard" interfaces were detected.
> |       *** This may be because your kernel version is newer than what is
> |       *** supported, or you are using a patched custom kernel with
> |       *** incompatible modifications.
> |       ***
> |       *** ZFS Version: zfs-2.1.4-1
> |       *** Compatible Kernels: 3.10 - 5.17
> |
>
> There is another failure in audit, but its not clear yet if its due to
> kernel 5.19 or something else
>
> | audit_wrap.c: In function '_wrap_audit_rule_data_buf_set':
> | audit_wrap.c:4701:17: error: cast specifies array type
> |  4701 |     arg1->buf = (char [])(char
> *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
> sizeof(char)*(size));
> |       |                 ^
> | audit_wrap.c:4701:15: error: invalid use of flexible array member
> |  4701 |     arg1->buf = (char [])(char
> *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
> sizeof(char)*(size));
> |       |               ^
> | audit_wrap.c:4703:15: error: invalid use of flexible array member
> |  4703 |     arg1->buf = 0;
> |       |               ^
>
>

audit looks like it has been broken since about 5.17:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010289

I'm checking to see how debian fixed it, as we don't want to hack the
kernel headers like was referenced in that bug.

Bruce

> [1] https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1888
>
> On Mon, Aug 8, 2022 at 12:38 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> >
> > Hi Bruce,
> >
> > On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
> > > As I mentioned earlier today, I've built and booted the 5.19 kernel
> > > on all architectures, have run core-iamge-kernel-dev, core-image-sato
> > > and validated musl.
> > >
> > > At this point, we need wider coverage to scare out the remaining
> > > gremlins.
> > >
> > > I'm also sending update to 5.10 and 5.15 in the pull request, since
> > > these are the retbleed stable updates, and I didn't want to sit on
> > > them any longer. These are of course independenct of the 5.19 work.
> > >
> > > I found one issue with vboxguestdrivers in meta-oe agains the new
> > > kernel/headers, and I've sent a patch to that mailing list. I also
> > > had to fix lttng-modules (as usual) and have sent a patch to that
> > > mailing list as well.
> > >
> > > devsrc needed a few tweaks as well, and they are included in the
> > > series.
> > >
> > > Note: I've mixed in the poky / meta-yocto patches as part of this
> > > pull request, just for ease of sending it for wider testing and to
> > > see if I missed any references to 5.10 or have left any else
> > > dangling.
> >
> > We've had a few autobuilder issues but I did run this through with
> > other changes. The logs were a mess but I think I see three issues
> > which are likely kernel related. The first kernel module issue happened
> > a lot, the other two were more isolated to oe-selftest or a single
> > failure.
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio
> >
> > RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)
> >
> > Traceback (most recent call last):
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   [Previous line repeated 2 more times]
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
> >     self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
> > AssertionError: 2 != 0 : cd /tmp && make
> > make -C /usr/src/kernel M=/tmp modules
> > make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
> > /bin/sh: -c: line 1: syntax error near unexpected token `('
> > /bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
> > make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
> > make[1]: *** [Makefile:1728: prepare] Error 2
> > make: *** [Makefile:5: all] Error 2
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3948/steps/15/logs/stdio
> >
> >  runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase)
> > 2022-08-08 02:08:41,717 - oe-selftest - INFO -  ... FAIL
> >
> > Traceback (most recent call last):
> >   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-645516/meta-selftest/lib/oeqa/runtime/cases/virgl.py", line 17, in test_kmscube
> >     self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
> > AssertionError: 234 != 0 : kmscube exited with non-zero status 234 and output:
> > Using display 0x55f5ecf4d920 with EGL version 1.4
> > ===================================
> > EGL information:
> >   version: "1.4"
> >   vendor: "Mesa Project"
> >   client extensions: "EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless"
> >   display extensions: "EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display "
> > ===================================
> > OpenGL ES 2.x information:
> >   version: "OpenGL ES 3.2 Mesa 22.1.3"
> >   shading language version: "OpenGL ES GLSL ES 3.20"
> >   vendor: "Mesa/X.org"
> >   renderer: "virgl"
> >   extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra "
> > ===================================
> > Using modifier ffffffffffffff
> > failed to set mode: Invalid argument
> >
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/5569/steps/12/logs/stdio
> >
> > x32 init issue:
> >
> > [    6.250566] Run /etc/init as init process
> > [    6.251951] Run /bin/init as init process
> > [    6.253182] Run /bin/sh as init process
> > [    6.258191] request_module: kmod_concurrent_max (0) close to 0
> > (max_modprobes: 50), for module binfmt-464c, throttling...
> > [   11.363516] request_module: modprobe binfmt-464c cannot be
> > processed, kmod busy with 50 threads for more than 5 seconds now
> > [   11.366573] Starting init: /bin/sh exists but couldn't execute it
> > (error -8)
> > [   11.369043] Kernel panic - not syncing: No working init found.  Try
> > passing init= option to kernel. See Linux Documentation/admin-
> > guide/init.rst for guidance.
> > [   11.371040] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.19.0-yocto-
> > standard #1
> > [   11.372059] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
> > rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
> > [   11.373541] Call Trace:
> > [   11.373905]  <TASK>
> > [   11.374221]  dump_stack_lvl+0x3a/0x50
> > [   11.374754]  dump_stack+0x10/0x16
> > [   11.375223]  panic+0x113/0x283
> > [   11.375684]  ? rest_init+0xc0/0xc0
> > [   11.376154]  kernel_init+0x127/0x130
> > [   11.376630]  ret_from_fork+0x22/0x30
> > [   11.377120]  </TASK>
> > [   11.377532] Kernel Offset: 0xf600000 from 0xffffffff81000000
> > (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
> > [   11.378972] ---[ end Kernel panic - not syncing: No working init
> > found.  Try passing init= option to kernel. See Linux
> > Documentation/admin-guide/init.rst for guidance. ]---
> >
> > Cheers,
> >
> > Richard
> >
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#169070): https://lists.openembedded.org/g/openembedded-core/message/169070
> > Mute This Topic: https://lists.openembedded.org/mt/92824833/1997914
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
Khem Raj Aug. 8, 2022, 6:16 p.m. UTC | #11
On Mon, Aug 8, 2022 at 11:07 AM Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
>
> On Mon, Aug 8, 2022 at 12:14 PM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > Hi Bruce
> >
> > 5.19 has issues with zfs see [1], it seem zfs is not yet working well
> > with 5.19 I see this message
> >
> > | checking whether blk_queue_discard() is available... configure: error:
> > |       *** None of the expected "blk_queue_discard" interfaces were detected.
> > |       *** This may be because your kernel version is newer than what is
> > |       *** supported, or you are using a patched custom kernel with
> > |       *** incompatible modifications.
> > |       ***
> > |       *** ZFS Version: zfs-2.1.4-1
> > |       *** Compatible Kernels: 3.10 - 5.17
> > |
> >
> > There is another failure in audit, but its not clear yet if its due to
> > kernel 5.19 or something else
> >
> > | audit_wrap.c: In function '_wrap_audit_rule_data_buf_set':
> > | audit_wrap.c:4701:17: error: cast specifies array type
> > |  4701 |     arg1->buf = (char [])(char
> > *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
> > sizeof(char)*(size));
> > |       |                 ^
> > | audit_wrap.c:4701:15: error: invalid use of flexible array member
> > |  4701 |     arg1->buf = (char [])(char
> > *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2),
> > sizeof(char)*(size));
> > |       |               ^
> > | audit_wrap.c:4703:15: error: invalid use of flexible array member
> > |  4703 |     arg1->buf = 0;
> > |       |               ^
> >
> >
>
> audit looks like it has been broken since about 5.17:
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010289
>
> I'm checking to see how debian fixed it, as we don't want to hack the
> kernel headers like was referenced in that bug.

Yeah, I am on it don't worry. The fix would be to edit audit.h and use
it during build.

>
> Bruce
>
> > [1] https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1888
> >
> > On Mon, Aug 8, 2022 at 12:38 AM Richard Purdie
> > <richard.purdie@linuxfoundation.org> wrote:
> > >
> > > Hi Bruce,
> > >
> > > On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
> > > > As I mentioned earlier today, I've built and booted the 5.19 kernel
> > > > on all architectures, have run core-iamge-kernel-dev, core-image-sato
> > > > and validated musl.
> > > >
> > > > At this point, we need wider coverage to scare out the remaining
> > > > gremlins.
> > > >
> > > > I'm also sending update to 5.10 and 5.15 in the pull request, since
> > > > these are the retbleed stable updates, and I didn't want to sit on
> > > > them any longer. These are of course independenct of the 5.19 work.
> > > >
> > > > I found one issue with vboxguestdrivers in meta-oe agains the new
> > > > kernel/headers, and I've sent a patch to that mailing list. I also
> > > > had to fix lttng-modules (as usual) and have sent a patch to that
> > > > mailing list as well.
> > > >
> > > > devsrc needed a few tweaks as well, and they are included in the
> > > > series.
> > > >
> > > > Note: I've mixed in the poky / meta-yocto patches as part of this
> > > > pull request, just for ease of sending it for wider testing and to
> > > > see if I missed any references to 5.10 or have left any else
> > > > dangling.
> > >
> > > We've had a few autobuilder issues but I did run this through with
> > > other changes. The logs were a mess but I think I see three issues
> > > which are likely kernel related. The first kernel module issue happened
> > > a lot, the other two were more isolated to oe-selftest or a single
> > > failure.
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio
> > >
> > > RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)
> > >
> > > Traceback (most recent call last):
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> > >     return func(*args, **kwargs)
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> > >     return func(*args, **kwargs)
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> > >     return func(*args, **kwargs)
> > >   [Previous line repeated 2 more times]
> > >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
> > >     self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
> > > AssertionError: 2 != 0 : cd /tmp && make
> > > make -C /usr/src/kernel M=/tmp modules
> > > make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
> > > /bin/sh: -c: line 1: syntax error near unexpected token `('
> > > /bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
> > > make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
> > > make[1]: *** [Makefile:1728: prepare] Error 2
> > > make: *** [Makefile:5: all] Error 2
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3948/steps/15/logs/stdio
> > >
> > >  runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase)
> > > 2022-08-08 02:08:41,717 - oe-selftest - INFO -  ... FAIL
> > >
> > > Traceback (most recent call last):
> > >   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> > >     return func(*args, **kwargs)
> > >   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-645516/meta-selftest/lib/oeqa/runtime/cases/virgl.py", line 17, in test_kmscube
> > >     self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
> > > AssertionError: 234 != 0 : kmscube exited with non-zero status 234 and output:
> > > Using display 0x55f5ecf4d920 with EGL version 1.4
> > > ===================================
> > > EGL information:
> > >   version: "1.4"
> > >   vendor: "Mesa Project"
> > >   client extensions: "EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless"
> > >   display extensions: "EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display "
> > > ===================================
> > > OpenGL ES 2.x information:
> > >   version: "OpenGL ES 3.2 Mesa 22.1.3"
> > >   shading language version: "OpenGL ES GLSL ES 3.20"
> > >   vendor: "Mesa/X.org"
> > >   renderer: "virgl"
> > >   extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra "
> > > ===================================
> > > Using modifier ffffffffffffff
> > > failed to set mode: Invalid argument
> > >
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/5569/steps/12/logs/stdio
> > >
> > > x32 init issue:
> > >
> > > [    6.250566] Run /etc/init as init process
> > > [    6.251951] Run /bin/init as init process
> > > [    6.253182] Run /bin/sh as init process
> > > [    6.258191] request_module: kmod_concurrent_max (0) close to 0
> > > (max_modprobes: 50), for module binfmt-464c, throttling...
> > > [   11.363516] request_module: modprobe binfmt-464c cannot be
> > > processed, kmod busy with 50 threads for more than 5 seconds now
> > > [   11.366573] Starting init: /bin/sh exists but couldn't execute it
> > > (error -8)
> > > [   11.369043] Kernel panic - not syncing: No working init found.  Try
> > > passing init= option to kernel. See Linux Documentation/admin-
> > > guide/init.rst for guidance.
> > > [   11.371040] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.19.0-yocto-
> > > standard #1
> > > [   11.372059] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
> > > rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
> > > [   11.373541] Call Trace:
> > > [   11.373905]  <TASK>
> > > [   11.374221]  dump_stack_lvl+0x3a/0x50
> > > [   11.374754]  dump_stack+0x10/0x16
> > > [   11.375223]  panic+0x113/0x283
> > > [   11.375684]  ? rest_init+0xc0/0xc0
> > > [   11.376154]  kernel_init+0x127/0x130
> > > [   11.376630]  ret_from_fork+0x22/0x30
> > > [   11.377120]  </TASK>
> > > [   11.377532] Kernel Offset: 0xf600000 from 0xffffffff81000000
> > > (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
> > > [   11.378972] ---[ end Kernel panic - not syncing: No working init
> > > found.  Try passing init= option to kernel. See Linux
> > > Documentation/admin-guide/init.rst for guidance. ]---
> > >
> > > Cheers,
> > >
> > > Richard
> > >
> > >
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#169070): https://lists.openembedded.org/g/openembedded-core/message/169070
> > > Mute This Topic: https://lists.openembedded.org/mt/92824833/1997914
> > > Group Owner: openembedded-core+owner@lists.openembedded.org
> > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.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
Alexander Kanavin Aug. 8, 2022, 6:34 p.m. UTC | #12
On Mon, 8 Aug 2022 at 15:08, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> > > Using modifier ffffffffffffff
> > > failed to set mode: Invalid argument
> > >
> >
> > I did do graphical tests on x86-64, and didn't see any issues. I'll
> > have another look.
>
> This is virgl GL passthrough in qemu so not a commonly tested thing,
> you'd need to run the selftest. I'm hoping AlexK has some ideas on this
> one.

Patch sent :-)

Alex
Bruce Ashfield Aug. 9, 2022, 3:44 a.m. UTC | #13
On Mon, Aug 8, 2022 at 3:38 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> Hi Bruce,
>
> On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
> > As I mentioned earlier today, I've built and booted the 5.19 kernel
> > on all architectures, have run core-iamge-kernel-dev, core-image-sato
> > and validated musl.
> >
> > At this point, we need wider coverage to scare out the remaining
> > gremlins.
> >
> > I'm also sending update to 5.10 and 5.15 in the pull request, since
> > these are the retbleed stable updates, and I didn't want to sit on
> > them any longer. These are of course independenct of the 5.19 work.
> >
> > I found one issue with vboxguestdrivers in meta-oe agains the new
> > kernel/headers, and I've sent a patch to that mailing list. I also
> > had to fix lttng-modules (as usual) and have sent a patch to that
> > mailing list as well.
> >
> > devsrc needed a few tweaks as well, and they are included in the
> > series.
> >
> > Note: I've mixed in the poky / meta-yocto patches as part of this
> > pull request, just for ease of sending it for wider testing and to
> > see if I missed any references to 5.10 or have left any else
> > dangling.
>
> We've had a few autobuilder issues but I did run this through with
> other changes. The logs were a mess but I think I see three issues
> which are likely kernel related. The first kernel module issue happened
> a lot, the other two were more isolated to oe-selftest or a single
> failure.
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio
>
> RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)
>
> Traceback (most recent call last):
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   [Previous line repeated 2 more times]
>   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
>     self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
> AssertionError: 2 != 0 : cd /tmp && make
> make -C /usr/src/kernel M=/tmp modules
> make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
> /bin/sh: -c: line 1: syntax error near unexpected token `('
> /bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
> make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
> make[1]: *** [Makefile:1728: prepare] Error 2
> make: *** [Makefile:5: all] Error 2
>

Patch sent.

> https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3948/steps/15/logs/stdio
>
>  runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase)
> 2022-08-08 02:08:41,717 - oe-selftest - INFO -  ... FAIL
>
> Traceback (most recent call last):
>   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
>     return func(*args, **kwargs)
>   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-645516/meta-selftest/lib/oeqa/runtime/cases/virgl.py", line 17, in test_kmscube
>     self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
> AssertionError: 234 != 0 : kmscube exited with non-zero status 234 and output:
> Using display 0x55f5ecf4d920 with EGL version 1.4
> ===================================
> EGL information:
>   version: "1.4"
>   vendor: "Mesa Project"
>   client extensions: "EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless"
>   display extensions: "EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display "
> ===================================
> OpenGL ES 2.x information:
>   version: "OpenGL ES 3.2 Mesa 22.1.3"
>   shading language version: "OpenGL ES GLSL ES 3.20"
>   vendor: "Mesa/X.org"
>   renderer: "virgl"
>   extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra "
> ===================================
> Using modifier ffffffffffffff
> failed to set mode: Invalid argument
>
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/5569/steps/12/logs/stdio
>
> x32 init issue:
>
> [    6.250566] Run /etc/init as init process
> [    6.251951] Run /bin/init as init process
> [    6.253182] Run /bin/sh as init process
> [    6.258191] request_module: kmod_concurrent_max (0) close to 0
> (max_modprobes: 50), for module binfmt-464c, throttling...
> [   11.363516] request_module: modprobe binfmt-464c cannot be
> processed, kmod busy with 50 threads for more than 5 seconds now
> [   11.366573] Starting init: /bin/sh exists but couldn't execute it
> (error -8)
> [   11.369043] Kernel panic - not syncing: No working init found.  Try
> passing init= option to kernel. See Linux Documentation/admin-
> guide/init.rst for guidance.
> [   11.371040] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.19.0-yocto-
> standard #1
> [   11.372059] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
> rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
> [   11.373541] Call Trace:
> [   11.373905]  <TASK>
> [   11.374221]  dump_stack_lvl+0x3a/0x50
> [   11.374754]  dump_stack+0x10/0x16
> [   11.375223]  panic+0x113/0x283
> [   11.375684]  ? rest_init+0xc0/0xc0
> [   11.376154]  kernel_init+0x127/0x130
> [   11.376630]  ret_from_fork+0x22/0x30
> [   11.377120]  </TASK>
> [   11.377532] Kernel Offset: 0xf600000 from 0xffffffff81000000
> (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
> [   11.378972] ---[ end Kernel panic - not syncing: No working init
> found.  Try passing init= option to kernel. See Linux
> Documentation/admin-guide/init.rst for guidance. ]---
>

And patch sent for this one as well.

Bruce

> Cheers,
>
> Richard
>
>
Richard Purdie Aug. 9, 2022, 8 p.m. UTC | #14
On Mon, 2022-08-08 at 23:44 -0400, Bruce Ashfield wrote:
> On Mon, Aug 8, 2022 at 3:38 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > 
> > Hi Bruce,
> > 
> > On Thu, 2022-08-04 at 18:57 -0400, bruce.ashfield@gmail.com wrote:
> > > As I mentioned earlier today, I've built and booted the 5.19 kernel
> > > on all architectures, have run core-iamge-kernel-dev, core-image-sato
> > > and validated musl.
> > > 
> > > At this point, we need wider coverage to scare out the remaining
> > > gremlins.
> > > 
> > > I'm also sending update to 5.10 and 5.15 in the pull request, since
> > > these are the retbleed stable updates, and I didn't want to sit on
> > > them any longer. These are of course independenct of the 5.19 work.
> > > 
> > > I found one issue with vboxguestdrivers in meta-oe agains the new
> > > kernel/headers, and I've sent a patch to that mailing list. I also
> > > had to fix lttng-modules (as usual) and have sent a patch to that
> > > mailing list as well.
> > > 
> > > devsrc needed a few tweaks as well, and they are included in the
> > > series.
> > > 
> > > Note: I've mixed in the poky / meta-yocto patches as part of this
> > > pull request, just for ease of sending it for wider testing and to
> > > see if I missed any references to 5.10 or have left any else
> > > dangling.
> > 
> > We've had a few autobuilder issues but I did run this through with
> > other changes. The logs were a mess but I think I see three issues
> > which are likely kernel related. The first kernel module issue happened
> > a lot, the other two were more isolated to oe-selftest or a single
> > failure.
> > 
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4999/steps/16/logs/stdio
> > 
> > RESULTS - kernelmodule.KernelModuleTest.test_kernel_module: FAILED (19.47s)
> > 
> > Traceback (most recent call last):
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
> >     return func(*args, **kwargs)
> >   [Previous line repeated 2 more times]
> >   File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/runtime/cases/kernelmodule.py", line 46, in test_kernel_module
> >     self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
> > AssertionError: 2 != 0 : cd /tmp && make
> > make -C /usr/src/kernel M=/tmp modules
> > make[1]: Entering directory '/lib/modules/5.19.0-yocto-standard/build'
> > /bin/sh: -c: line 1: syntax error near unexpected token `('
> > /bin/sh: -c: line 1: `if [ "gcc (GCC) 12.1.0" != ""aarch64-poky-linux-gcc (GCC) 12.1.0"" ]; then \'
> > make[1]: Leaving directory '/lib/modules/5.19.0-yocto-standard/build'
> > make[1]: *** [Makefile:1728: prepare] Error 2
> > make: *** [Makefile:5: all] Error 2
> > 
> 
> Patch sent.

Just to round things off on the list, there was one further issue which
I sent a patch to kernel-devsrc for. With that fixed we could merge
5.19 for core for master, thanks!

Cheers,

Richard