<?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>2761</bug_id>
          
          <creation_ts>2012-07-13 10:33:18 +0000</creation_ts>
          <short_desc>qemu target can not startup with &quot;bitbake meta-ide-support&quot;</short_desc>
          <delta_ts>2012-07-27 06:54:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>System Startup</product>
          <component>system-startup</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liang li">liang.li2</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>hongnax.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23095</commentid>
    <comment_count>0</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-07-13 10:33:18 +0000</bug_when>
    <thetext>in 1.3M2 RC1 , when run &quot;bitbake meta-ide-support&quot; and using following steps:

1.Run command &quot;runqemu-extract-sdk *rootfs.tar.bz2 &lt;rootfs-dir&gt;&quot; in &quot;bitbake meta-ide-support&quot; build dir.

2.Run command &quot;runqemu nfs &lt;kernel&gt; &lt;rootfs-dir&gt;&quot; in &quot;bitbake meta-ide-support&quot; build dir.

error found below for example :
yocto@yocto-OptiPlex-990:/buildarea/tester/build_13&gt; runqemu nfs /buildarea/tester/download_7_13/zImage-3.4.4+git3+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_4+9aca8fec49787efbe44d0f137f31ee59edd94c49-r4.0-qemuarm-20120710201835.bin /buildarea/tester/arm_fs_test_1/
Assuming /buildarea/tester/arm_fs_test_1/ is an nfs rootfs
Set MACHINE to [qemuarm] based on kernel [/buildarea/tester/download_7_13/zImage-3.4.4+git3+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_4+9aca8fec49787efbe44d0f137f31ee59edd94c49-r4.0-qemuarm-20120710201835.bin]

Continuing with the following parameters:
KERNEL: [/buildarea/tester/download_7_13/zImage-3.4.4+git3+a8cf77018b0faa0d29f1483ff4e5a2034dc8edd5_4+9aca8fec49787efbe44d0f137f31ee59edd94c49-r4.0-qemuarm-20120710201835.bin]
ROOTFS: [/buildarea/tester/arm_fs_test_1/]
FSTYPE: [nfs]
Setting up tap interface under sudo
root&apos;s password:
Acquiring lockfile for tap0...
runqemu-export-rootfs restart /buildarea/tester/arm_fs_test_1/
No PID file, not stopping rpc.mountd
No PID file, not stopping rpc.nfsd
Creating exports file...
Starting User Mode rpc.mountd
  /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/bin/pseudo -P /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/sbin/rpc.mountd --allow-non-root --mount-pid /home/yocto/.runqemu-sdk/mount0.pid -f /home/yocto/.runqemu-sdk/exports0 --rmtab /home/yocto/.runqemu-sdk/rmtab0 --prog 21111 -r -P 3048
Cannot register service: RPC: Unable to receive; errno = Connection refused
Cannot register service: RPC: Unable to receive; errno = Connection refused
Cannot register service: RPC: Unable to receive; errno = Connection refused
Cannot register service: RPC: Unable to receive; errno = Connection refused
Starting User Mode nfsd
  /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/bin/pseudo -P /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/sbin/rpc.nfsd --allow-non-root --nfs-pid /home/yocto/.runqemu-sdk/nfs0.pid -f /home/yocto/.runqemu-sdk/exports0 --prog 11111 -P 3049 -r
Cannot register service: RPC: Unable to receive; errno = Connection refused
Cannot register service: RPC: Unable to receive; errno = Connection refused
 
On your target please remember to add the following options for NFS
nfsroot=IP_ADDRESS:/buildarea/tester/arm_fs_test_1,nfsvers=2,mountprog=21111,nfsprog=11111,udp
Error: No QEMU binary &apos;qemu-system-arm&apos; could be found.
Set &apos;tap0&apos; nonpersistent
Releasing lockfile of preconfigured tap device &apos;tap0&apos;
Shutting down the userspace NFS server...
runqemu-export-rootfs stop /buildarea/tester/arm_fs_test_1/
Stopping rpc.mountd
Stopping rpc.nfsd
Removing exports file

-------------------
qemu target can boot up (includ qemuppc,qemuarm,qemumips,qemux86,qemux86_64).

git info : eb0cb7e8234f5d2e5623406e9660be91cf52f65e
git branch: poky/master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23096</commentid>
    <comment_count>1</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-07-13 10:38:16 +0000</bug_when>
    <thetext>test env:
hosts:ubuntu 12.04 x86_64,fedora 17 i686,opensuse 12.1 x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23097</commentid>
    <comment_count>2</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-07-13 10:43:37 +0000</bug_when>
    <thetext>(In reply to comment #0)

&gt; qemu target can boot up (includ qemuppc,qemuarm,qemumips,qemux86,qemux86_64).
qemu target can *not* boot up (including qemuppc,qemuarm,qemumips,qemux86,qemux86_64).
&gt; git info : eb0cb7e8234f5d2e5623406e9660be91cf52f65e
&gt; git branch: poky/master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23136</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-07-16 22:35:24 +0000</bug_when>
    <thetext>patch at: http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=jzhang/2761&amp;id=13df770952a07e59363bd0e5206a87b0e1d2fa99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23492</commentid>
    <comment_count>4</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-07-25 16:37:33 +0000</bug_when>
    <thetext>patch have been merged into master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23555</commentid>
    <comment_count>5</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-07-27 06:54:06 +0000</bug_when>
    <thetext>no such error on:
git info :  0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c
git branch :poky/master

all qemu target boot up normally (qemuppc,qemuarm,qemumips,qemux86,qemux86_64).

test env:
hosts: ubuntu 12.04 x86_64,fedora 17 i686,opensuse 12.1 x86_64</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>