<?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>12916</bug_id>
          
          <creation_ts>2018-09-05 14:54:47 +0000</creation_ts>
          <short_desc>Warnings for MACHINE=genericx86 in do_rootfs</short_desc>
          <delta_ts>2018-09-20 22:18:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.6 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Anuj Mittal">anuj.mittal</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>81503</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-09-05 14:54:47 +0000</bug_when>
    <thetext>For genericx86 builds during do_rootfs, we see WARNINGS from qemu about mismatched CPU options:

NOTE: recipe core-image-lsb-1.0-r0: task do_rootfs: Started
WARNING: core-image-lsb-1.0-r0 do_rootfs: [log_check] core-image-lsb: found 8 warning messages in the logfile:
[log_check] warning: TCG doesn&apos;t support requested feature: CPUID.80000001H:EDX.syscall [bit 11]
[log_check] warning: TCG doesn&apos;t support requested feature: CPUID.80000001H:EDX.lm [bit 29]
[log_check] warning: TCG doesn&apos;t support requested feature: CPUID.80000001H:EDX.syscall [bit 11]
[log_check] warning: TCG doesn&apos;t support requested feature: CPUID.80000001H:EDX.lm [bit 29]
[log_check] warning: TCG doesn&apos;t support requested feature: CPUID.80000001H:EDX.syscall [bit 11]
[log_check] warning: TCG doesn&apos;t support requested feature: CPUID.80000001H:EDX.lm [bit 29]
[log_check] warning: TCG doesn&apos;t support requested feature: CPUID.80000001H:EDX.syscall [bit 11]
[log_check] warning: TCG doesn&apos;t support requested feature: CPUID.80000001H:EDX.lm [bit 29]

This shows up in the nightly-x86-lsb builds and nightly-x86.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81519</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-09-06 14:50:46 +0000</bug_when>
    <thetext>Anuj, can you take this?

If you don&apos;t know, the problem is that the BSP needs to tell qemu what machine it is emulating.  eg intel-corei7-64 sets QEMU_EXTRAOPTIONS_corei7-64 = &quot; -cpu Nehalem,check=false&quot;.  We&apos;ll need to identify what hardware the genericx86 (and -64) machines and tell that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81528</commentid>
    <comment_count>2</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2018-09-07 07:36:22 +0000</bug_when>
    <thetext>Looks like it&apos;s specific to 32 bit. 

qemu-i386 doesn&apos;t support these features [1] while core2duo that we use for core2-32 does [2]. n270 looks like a good choice, supports SSSE3 and doesn&apos;t have these bits enabled [3]

[1] https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L739
[2] https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L1439
[3] https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L1603</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81593</commentid>
    <comment_count>3</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2018-09-20 22:18:00 +0000</bug_when>
    <thetext>Merged: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5e9c1b23f4ecbe2d5dce2fa11db028c239c91af3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>