<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16409</bug_id>
          
          <creation_ts>2026-08-26 08:20:40 +0000</creation_ts>
          <short_desc>AB-INT: QEMU: failed to start (riscv)</short_desc>
          <delta_ts>2026-09-17 18:54:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>oeqa/runtime</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>IN PROGRESS DESIGN</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Trevor Gamblin">tgamblin</assigned_to>
          <cc>Harish.Sadineni</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106644</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-26 08:20:40 +0000</bug_when>
    <thetext>This one looks new to me. I don&apos;t see any clear error in the log, but I assume it&apos;s riscv specific.

WARNING: core-image-ptest-tar-1.0-r0 do_testimage: Target didn&apos;t reach login banner in 1500 seconds (08/22/26 23:40:02)
WARNING: core-image-ptest-tar-1.0-r0 do_testimage: Last 25 lines of login console (2983):
Domain0 Region01            : 0x0000000080000000-0x000000008003ffff M: (F,R,X) S/U: ()
Domain0 Region02            : 0x0000000000100000-0x0000000000100fff M: (I,R,W) S/U: (R,W)
Domain0 Region03            : 0x0000000010000000-0x0000000010000fff M: (I,R,W) S/U: (R,W)
Domain0 Region04            : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: ()
Domain0 Region05            : 0x000000000c400000-0x000000000c5fffff M: (I,R,W) S/U: (R,W)
Domain0 Region06            : 0x000000000c000000-0x000000000c3fffff M: (I,R,W) S/U: (R,W)
Domain0 Region07            : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address        : 0x0000000080200000
Domain0 Next Arg1           : 0x0000000082200000
Domain0 Next Mode           : S-mode
Domain0 SysReset            : yes
Domain0 SysSuspend          : yes

Boot HART ID                : 1
Boot HART Domain            : root
Boot HART Priv Version      : v1.12
Boot HART Base ISA          : rv64imafdcbvh
Boot HART ISA Extensions    : smstateen,sscofpmf,sstc,zicntr,zihpm,zicboz,zicbom,svpbmt,sdtrig,svade,smnpm,ssstateen,v,f,d
Boot HART PMP Count         : 16
Boot HART PMP Granularity   : 2 bits
Boot HART PMP Address Bits  : 54
Boot HART MHPM Info         : 16 (0x0007fff8)
Boot HART Debug Triggers    : 2 triggers
Boot HART MIDELEG           : 0x0000000000003666
Boot HART MEDELEG           : 0x0000000000f4b509
WARNING: core-image-ptest-tar-1.0-r0 do_testimage: Last 25 lines of all logging (2983):
Domain0 Region01            : 0x0000000080000000-0x000000008003ffff M: (F,R,X) S/U: ()
Domain0 Region02            : 0x0000000000100000-0x0000000000100fff M: (I,R,W) S/U: (R,W)
Domain0 Region03            : 0x0000000010000000-0x0000000010000fff M: (I,R,W) S/U: (R,W)
Domain0 Region04            : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: ()
Domain0 Region05            : 0x000000000c400000-0x000000000c5fffff M: (I,R,W) S/U: (R,W)
Domain0 Region06            : 0x000000000c000000-0x000000000c3fffff M: (I,R,W) S/U: (R,W)
Domain0 Region07            : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address        : 0x0000000080200000
Domain0 Next Arg1           : 0x0000000082200000
Domain0 Next Mode           : S-mode
Domain0 SysReset            : yes
Domain0 SysSuspend          : yes

Boot HART ID                : 1
Boot HART Domain            : root
Boot HART Priv Version      : v1.12
Boot HART Base ISA          : rv64imafdcbvh
Boot HART ISA Extensions    : smstateen,sscofpmf,sstc,zicntr,zihpm,zicboz,zicbom,svpbmt,sdtrig,svade,smnpm,ssstateen,v,f,d
Boot HART PMP Count         : 16
Boot HART PMP Granularity   : 2 bits
Boot HART PMP Address Bits  : 54
Boot HART MHPM Info         : 16 (0x0007fff8)
Boot HART Debug Triggers    : 2 triggers
Boot HART MIDELEG           : 0x0000000000003666
Boot HART MEDELEG           : 0x0000000000f4b509</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106648</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-26 08:26:39 +0000</bug_when>
    <thetext>qemuriscv64-ptest alma8-vk-1 master&amp;master-next completed at 2026-08-23 00:57:16+00:00
https://valkyrie.yocto.io/pub/non-release/20260822-117/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2231/steps/16/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106658</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-08-27 14:41:03 +0000</bug_when>
    <thetext>See if it happens again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106698</commentid>
    <comment_count>3</comment_count>
    <who name="Harish Sadineni">Harish.Sadineni</who>
    <bug_when>2026-09-02 09:00:57 +0000</bug_when>
    <thetext>This issue is reproducible when building an image with KERNEL_DEBUG = &quot;True&quot; on riscv64. 
runqemu hangs when booting with -bios fw_jump.elf, but boots successfully with fw_dynamic.elf or the default bios.

Hope this helps, Trevor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106722</commentid>
    <comment_count>4</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2026-09-03 17:27:27 +0000</bug_when>
    <thetext>Note that this requires meta-oe to make pahole-native available, otherwise you get:

tgamblin@megalith ~/workspace/ypbuilds/poky-qemuriscv64/build $ bitbake core-image-minimal
Loading cache: 100% |#################################################################################################################################################################################| Time: 0:00:00
Loaded 1979 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES &apos;pahole-native&apos;. Close matches:
  pango-native
  patch-native
  patchelf-native
ERROR: Required build target &apos;core-image-minimal&apos; has no buildable providers.
Missing or unbuildable dependency chain was: [&apos;core-image-minimal&apos;, &apos;virtual/kernel&apos;, &apos;pahole-native&apos;]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106842</commentid>
    <comment_count>5</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2026-09-15 21:03:51 +0000</bug_when>
    <thetext>I can&apos;t reproduce this anymore. Harish, can you?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106847</commentid>
    <comment_count>6</comment_count>
    <who name="Harish Sadineni">Harish.Sadineni</who>
    <bug_when>2026-09-16 09:31:05 +0000</bug_when>
    <thetext>We&apos;ve now switched to kernel version 7.2 with the Poky distro by default (see commit: https://git.yoctoproject.org/meta-yocto/commit/?id=3bb1295755628c4facec3a0a2800a9c12345ce00).

This issue doesn&apos;t occur with the 7.2 kernel, so it looks like it may have been fixed in this version.

To reproduce it, set PREFERRED_VERSION_linux-yocto = &quot;6.18%&quot; in local.conf.

Note: wrynose is still affected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106852</commentid>
    <comment_count>7</comment_count>
    <who name="Harish Sadineni">Harish.Sadineni</who>
    <bug_when>2026-09-16 12:18:50 +0000</bug_when>
    <thetext>I have sent a workaround patch to use fw_dynamic.elf for oe-core/wrynose branch.
https://lists.openembedded.org/g/openembedded-core/message/245965</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106854</commentid>
    <comment_count>8</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2026-09-16 15:19:58 +0000</bug_when>
    <thetext>We should probably look at the kernel history to see what might&apos;ve changed it before just going with a workaround. I&apos;ll spend some time doing that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106878</commentid>
    <comment_count>9</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2026-09-17 18:54:57 +0000</bug_when>
    <thetext>It seems that when I compare local builds between 6.18 and 7.2, the kernel build for the latter is reporting CONFIG_PAHOLE_VERSION=0 in the .config file. Still digging...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>