<?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>12806</bug_id>
          
          <creation_ts>2018-06-21 09:17:06 +0000</creation_ts>
          <short_desc>[2.6 M1 rc1 ][BSP][Test Run 9708]: Qemuppc image was not booting with graphic even though runtime/xorg.py test passed</short_desc>
          <delta_ts>2018-08-10 13:45:56 +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>BSPs</product>
          <component>bsps-configuration</component>
          <version>2.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>ppc</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="pravin">pravin.shankarx.patil</reporter>
          <assigned_to name="Randy MacLeod">randy.macleod</assigned_to>
          <cc>ee.peng.yeoh</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.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>80870</commentid>
    <comment_count>0</comment_count>
      <attachid>4334</attachid>
    <who name="pravin">pravin.shankarx.patil</who>
    <bug_when>2018-06-21 09:17:06 +0000</bug_when>
    <thetext>Created attachment 4334
Booting log file

Following are the steps to arm64 on qemu

following is the link form there I downloaded images of arm64 and ppc700.

https://autobuilder.yocto.io/pub/releases/yocto-2.6_M1.rc1/machines/qemu/qemuppc/

1)downloaded core-image-sato-sdk-qemuppc.tar.bz2 from above link
2)downloaded core-image-sato-sdk-qemuppc.qemuboot.conf from above link
3)downloaded vmlinux-qemuppc.bin from above link
4)downloaded toolchain from following link

https://autobuilder.yocto.io/pub/releases/yocto-2.6_M1.rc1/toolchain/x86_64/poky-glibc-x86_64-core-image-sato-ppc7400-toolchain-2.5%2Bsnapshot.sh
   
5) install the toolchain in host system
6) source  toolchain-path/environment-setup-ppc7400-poky-linux
7) extract the tar.bz rootfs file. used following command
   runqemu-extract-sdk core-image-sato-sdk-qemuppc.tar.bz2 rootfs
8) after that we tried runqemu command 
   runqemu nfs vmlinux-qemuppc.bin rootfs core-image-sato-sdk-qemuppc.qemuboot.conf

after this command booting process is completed but qemu screen comming blank for long time,  
I have attached logs.

if I run following command with nographics option then it is booting successfully.

runqemu nfs vmlinux-qemuppc.bin rootfs core-image-sato-sdk-qemuppc.qemuboot.conf slrip nographic</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80879</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2018-06-21 14:26:37 +0000</bug_when>
    <thetext>This works fine for me in my builds.

I need source/build based reproducers, since I can&apos;t debug these images.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80925</commentid>
    <comment_count>2</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2018-06-26 02:00:53 +0000</bug_when>
    <thetext>With the help from Anuj: 
Following the steps give, able to reproduce the issue, boot hang and graphic display not showing. 

Login with serial, capture dmesg error related matchbox. 
[ 75.163957] connman-applet[471]: unhandled signal 11 at 0048503c nip 0048503c lr 007bfab4 code 2
[ 76.038291] matchbox-panel[496]: unhandled signal 11 at 0048503c nip 0048503c lr 007bfab4 code 2
[ 76.045562] matchbox-deskto[495]: unhandled signal 11 at 0048503c nip 0048503c lr 007bfab4 code 2
[ 77.684595] settings-daemon[462]: unhandled signal 11 at 00088340 nip 00088340 lr 000b1fe8 code 1

After login with serial:
root@qemuppc:~# export LD_USE_LOAD_BIAS=0; export DISPLAY=:0; matchbox-desktop

Successfully bring up the graphic. 

Also Anuj found the similar bug 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9131</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80951</commentid>
    <comment_count>3</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2018-06-28 08:30:38 +0000</bug_when>
    <thetext>Verified that the although runtime/xorg.py test passed with assert that ps -ef contain xinit, but the display was not loading. Since runtime/xorg.py was not able to identify every display issue, need to perform manual testing on coming QA release. 

NOTE:  ... ok
NOTE: test_xorg_running (xorg.XorgTest)
DEBUG: Checking if x11-base is in DISTRO_FEATURES or IMAGE_FEATURES
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.4 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; ps -ef | grep -v xinit | grep [X]org
DEBUG: time: 1530146898.5619707, endtime: 1530147198.556345
DEBUG: Partial data from SSH call: root       398   392  4 00:47 ?        00:00:01 /usr/bin/Xorg :0 -br -pn</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80955</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-06-28 09:52:11 +0000</bug_when>
    <thetext>Reassigning to Mark, the prelink guy, for his take.  Certainly looks like prelink on arm64 is breaking.

However, I&apos;m confused as to why we&apos;ve a number of bugs recently that involve a convoluted way of booting images.  How I&apos;d test this:

1) download core-image-sato-sdk.ext4, vmlinux, and core-image-sato-sdk.qemuboot.conf
2) source oe-init-build-env
3) runqemu core-image-sato-sdk.qemuboot.conf

I don&apos;t understand why the rootfs tarball and toolchain are downloaded, and extract-sdk used.  Can this bug be replicated by QA with the straightforward runqemu call?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81005</commentid>
    <comment_count>5</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2018-07-03 08:00:17 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Reassigning to Mark, the prelink guy, for his take.  Certainly looks like
&gt; prelink on arm64 is breaking.
&gt; 
&gt; However, I&apos;m confused as to why we&apos;ve a number of bugs recently that involve
&gt; a convoluted way of booting images.  How I&apos;d test this:
&gt; 
&gt; 1) download core-image-sato-sdk.ext4, vmlinux, and
&gt; core-image-sato-sdk.qemuboot.conf
&gt; 2) source oe-init-build-env
&gt; 3) runqemu core-image-sato-sdk.qemuboot.conf
&gt; 
&gt; I don&apos;t understand why the rootfs tarball and toolchain are downloaded, and
&gt; extract-sdk used.  Can this bug be replicated by QA with the straightforward
&gt; runqemu call?

Hi Ross, 

Sorry for confusion. The qemupcc graphic failed on both boot up with core-image-sato-sdk-qemuppc.ext4 as well as boot up from core-image-sato-sdk-qemuppc.tar.bz2 after extract rootfs with toolchain. 

As my understanding, some QA team member prefer download the core-image-sato-sdk tarball and toolchain to extract rootfs and runqemu for nfs because downloading core-image-sato-sdk.ext4 take 10x longer time. 

Hope this clear some confusion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81143</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2018-07-19 15:00:00 +0000</bug_when>
    <thetext>I don&apos;t have anything to do with qemu or BSP work.  However, if you think this is prelink, have you disabled it and checked that things now work?

If so, I don&apos;t see that anywhere in the comments or subject or this item.  I don&apos;t typically pay any attention to BSP related defects in the bug system, but I do care about prelink.

I suggest the subject be updated if someone believes this is a prelink issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81296</commentid>
    <comment_count>7</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2018-08-09 18:57:25 +0000</bug_when>
    <thetext>Pravin, I didn&apos;t notice this defect in the YP-2.6-M2 test report.
Was it tested and if so was it reproduced?

Can you also re-test as Mark Hatle requested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81303</commentid>
    <comment_count>8</comment_count>
    <who name="pravin">pravin.shankarx.patil</who>
    <bug_when>2018-08-10 09:48:21 +0000</bug_when>
    <thetext>I have tested.
this bug is not reproducible in YP-2.6-M2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81304</commentid>
    <comment_count>9</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2018-08-10 13:45:56 +0000</bug_when>
    <thetext>Works as reported by Pravin.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4334</attachid>
            <date>2018-06-21 09:17:06 +0000</date>
            <delta_ts>2018-06-21 09:17:06 +0000</delta_ts>
            <desc>Booting log file</desc>
            <filename>bsp_qemu_ppc.txt</filename>
            <type>text/plain</type>
            <size>2713</size>
            <attacher name="pravin">pravin.shankarx.patil</attacher>
            
              <data encoding="base64">cnVucWVtdSB2bWxpbnV4LXFlbXVwcGMuYmluIHJvb3QgY29yZS1pbWFnZS1zYXRvLXNkay1xZW11
cHBjLnFlbXVib290LmNvbmYNCnJ1bnFlbXUgLSBJTkZPIC0gU2V0dGluZyBTVEFHSU5HX0RJUl9O
QVRJVkUgdG8gT0VDT1JFX05BVElWRV9TWVNST09UICgvaG9tZS9zaGFzaHdhdC9wcmF2aW4vYnNw
X3FlbXUvMi42L3BwYy9zZGsvc3lzcm9vdHMveDg2XzY0LXBva3lzZGstbGludXgpDQpydW5xZW11
IC0gSU5GTyAtIFNldHRpbmcgU1RBR0lOR19CSU5ESVJfTkFUSVZFIHRvIC9ob21lL3NoYXNod2F0
L3ByYXZpbi9ic3BfcWVtdS8yLjYvcHBjL3Nkay9zeXNyb290cy94ODZfNjQtcG9reXNkay1saW51
eC91c3IvYmluDQpydW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