<?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>2452</bug_id>
          
          <creation_ts>2012-05-14 03:41:04 +0000</creation_ts>
          <short_desc>qemu Unable to find pseudo binary in /usr/bin/</short_desc>
          <delta_ts>2012-06-18 22:07:35 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(P2)(Scheduled)(No QA needed)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="yilong, sun">yilongx.y.sun</reporter>
          <assigned_to name="Scott Garman">scott.a.garman</assigned_to>
          <cc>hongnax.xu</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ningx.ma</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>song.liu</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>21325</commentid>
    <comment_count>0</comment_count>
    <who name="yilong, sun">yilongx.y.sun</who>
    <bug_when>2012-05-14 03:41:04 +0000</bug_when>
    <thetext>when i close qemu(using unfs style) with command &quot;poweroff&quot;, There will be the following error.

reproduce steps:
1, download kernel and rootfs tar ball
2, unpack tar ball
3, start qemu: runqemu kernel rootfs(directory)
4, shutdown system with command poweroff

&quot;bitbake meta-ide-support&quot; build info:
poky/branch: poky-contrib / stage/master_under_test
commit id: 0ad72a18b5077c3c73ee9ee76ffcd700b14772cf

images location :
http://autobuilder.pokylinux.org/pub/nightly/20120510-2/machines/qemu/qemux86/bzImage-qemux86.bin 
http://autobuilder.pokylinux.org/pub/nightly/20120510-2/machines/qemu/qemux86/core-image-sato-qemux86.tar.bz2

detailed error info:
build-sunyl@buildsunyl:~/work-dir/poky-contrib/test$ runqemu /home/build-sunyl/Downloads/bzImage-qemux86.bin qemux86/Assuming qemux86/ is an nfs rootfs
Set MACHINE to [qemux86] based on kernel [/home/build-sunyl/Downloads/bzImage-qemux86.bin]

Continuing with the following parameters:
KERNEL: [/home/build-sunyl/Downloads/bzImage-qemux86.bin]
ROOTFS: [qemux86/]
FSTYPE: [nfs]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
runqemu-export-rootfs restart qemux86/
Stopping rpc.mountd
Stopping rpc.nfsd
Removing exports file
Creating exports file...
Starting User Mode rpc.mountd
  /home/build-sunyl/work-dir/poky-contrib/test/tmp/sysroots/x86_64-linux/usr/bin/pseudo -P /home/build-sunyl/work-dir/poky-contrib/test/tmp/sysroots/x86_64-linux/usr /home/build-sunyl/work-dir/poky-contrib/test/tmp/sysroots/x86_64-linux/usr/sbin/rpc.mountd --allow-non-root --mount-pid /home/build-sunyl/.runqemu-sdk/mount0.pid -f /home/build-sunyl/.runqemu-sdk/exports0 --rmtab /home/build-sunyl/.runqemu-sdk/rmtab0 --prog 21111 -r -P 3048
Starting User Mode nfsd
  /home/build-sunyl/work-dir/poky-contrib/test/tmp/sysroots/x86_64-linux/usr/bin/pseudo -P /home/build-sunyl/work-dir/poky-contrib/test/tmp/sysroots/x86_64-linux/usr /home/build-sunyl/work-dir/poky-contrib/test/tmp/sysroots/x86_64-linux/usr/sbin/rpc.nfsd --allow-non-root --nfs-pid /home/build-sunyl/.runqemu-sdk/nfs0.pid -f /home/build-sunyl/.runqemu-sdk/exports0 --prog 11111 -P 3049 -r
 
On your target please remember to add the following options for NFS
nfsroot=IP_ADDRESS:/home/build-sunyl/work-dir/poky-contrib/test/qemux86,nfsvers=2,mountprog=21111,nfsprog=11111,udp
Starting distccd...
WARNING: nVidia proprietary OpenGL libraries detected.
nVidia&apos;s OpenGL libraries are known to have compatibility issues with qemu,
resulting in a segfault. Please uninstall these drivers or ensure the mesa libGL
libraries precede nvidia&apos;s via LD_PRELOAD(Already do it on Ubuntu 10).
Running qemu...
/home/build-sunyl/work-dir/poky-contrib/test/tmp/sysroots/x86_64-linux/usr/bin/qemu -kernel /home/build-sunyl/Downloads/bzImage-qemux86.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -show-cursor -usb -usbdevice wacom-tablet -vga vmware -enable-gl -no-reboot -m 128 --append &quot;root=/dev/nfs nfsroot=192.168.7.1:qemux86/,nfsvers=2,mountprog=21111,nfsprog=11111,udp,port=3049,mountport=3048 rw ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M oprofile.timer=1 &quot;
Enabling opengl
vmsvga_value_write: guest runs Linux.
Set &apos;tap0&apos; nonpersistent
Releasing lockfile of preconfigured tap device &apos;tap0&apos;
Shutting down the userspace NFS server...
runqemu-export-rootfs stop qemux86/
Error: Unable to find pseudo binary in /usr/bin/
Have you run &apos;bitbake meta-ide-support&apos;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21599</commentid>
    <comment_count>1</comment_count>
    <who name="MaNing">ningx.ma</who>
    <bug_when>2012-05-25 02:35:50 +0000</bug_when>
    <thetext>This issue still exist in Yocto1.2.1 20120523-2 build

Commit information:

Tree/Branch: Poky/Master
Poky Commit id: 094742bed2fc01d55f572da946fcfa7a48521401

Image location:
http://autobuilder.yoctoproject.org/pub/nightly/20120523-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21801</commentid>
    <comment_count>2</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-06-04 04:19:18 +0000</bug_when>
    <thetext>The issue not happend in 20120530-2 nightly build:
autobuilder.pokylinux.org/nightly/20120530-2

git info :348da93e283b2b8454fd9cde80d4b17378e2a168
git branch: poky/master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22090</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2012-06-13 04:25:30 +0000</bug_when>
    <thetext>Hi Sun,

The only way I could see this occurring is if the runqemu scripts (specifically oe-find-native-sysroot) is unable to run bitbake. The directory you invoked this in when you ran into the problem, ~/work-dir/poky-contrib/test, was this your build directory?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22296</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-06-18 22:07:35 +0000</bug_when>
    <thetext>Please provide more information and reopen if this hasn&apos;t been fixed...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>