<?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>743</bug_id>
          
          <creation_ts>2011-02-20 20:55:57 +0000</creation_ts>
          <short_desc>[UNFS] rootfs parse incorrectly if *-image-* is given</short_desc>
          <delta_ts>2011-03-16 08:21:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>kernel analysis</component>
          <version>1.0</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>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Scott Garman">scott.a.garman</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>kunwei.tian</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>liping.ke</cc>
    
    <cc>scott.a.garman</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.sdk.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11881</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-02-20 20:55:57 +0000</bug_when>
    <thetext>Testing Env:    
Host: Ubuntu 10.04 LTS
Kernel: 2.6.32-21-generic-pae
commit information: 0a8f4f45b66ad5d51dea91a406a17555252dfe42

If I use a folder name including &quot;-image-&quot; for UNFS rootfs, poky-qemu will be confused and generate a wrong name for rootfs. It causes poky-export-rootfs failure.

Check following log, the rootfs folder I use is &quot;/home/jxu49/osel/poky-weekly/build/tmp/work/qemux86-64-poky-linux/poky-image-sato-sdk-1.0-r0/qemuimagetest/tmp/rootfs/&quot;, but poky-qemu change it to &quot;/home/jxu49/osel/poky-weekly/build/tmp/deploy/images//home/jxu49/osel/poky-weekly/build/tmp/work/qemux86-64-poky-linux/poky-image-sato-sdk-1.0-r0/qemuimagetest/tmp/rootfs/-qemux86-64.nfs&quot;.
############
jxu49@vt-nhm4:~/osel/poky-weekly/build$ poky-qemu nfs /home/jxu49/osel/poky-weekly/build/tmp/deploy/images/bzImage-2.6.37+git1+5a32d7fe3b817868ebb697d2d883d743903685ae_1+343c06b25b221aa7f7019aee83b2d976041fddce-r15-qemux86-64-20110213053156.bin /home/jxu49/osel/poky-weekly/build/tmp/work/qemux86-64-poky-linux/poky-image-sato-sdk-1.0-r0/qemuimagetest/tmp/rootfs/
Set MACHINE to [qemux86-64] based on kernel [/home/jxu49/osel/poky-weekly/build/tmp/deploy/images/bzImage-2.6.37+git1+5a32d7fe3b817868ebb697d2d883d743903685ae_1+343c06b25b221aa7f7019aee83b2d976041fddce-r15-qemux86-64-20110213053156.bin]
Assuming /home/jxu49/osel/poky-weekly/build/tmp/work/qemux86-64-poky-linux/poky-image-sato-sdk-1.0-r0/qemuimagetest/tmp/rootfs/ really means /home/jxu49/osel/poky-weekly/build/tmp/deploy/images//home/jxu49/osel/poky-weekly/build/tmp/work/qemux86-64-poky-linux/poky-image-sato-sdk-1.0-r0/qemuimagetest/tmp/rootfs/-qemux86-64.nfs

Continuing with the following parameters:
KERNEL: [/home/jxu49/osel/poky-weekly/build/tmp/deploy/images/bzImage-2.6.37+git1+5a32d7fe3b817868ebb697d2d883d743903685ae_1+343c06b25b221aa7f7019aee83b2d976041fddce-r15-qemux86-64-20110213053156.bin]
ROOTFS: [/home/jxu49/osel/poky-weekly/build/tmp/deploy/images//home/jxu49/osel/poky-weekly/build/tmp/work/qemux86-64-poky-linux/poky-image-sato-sdk-1.0-r0/qemuimagetest/tmp/rootfs/-qemux86-64.nfs]
FSTYPE: [nfs]
Acquiring lockfile for tap0...
Using preconfigured tap device &apos;tap0&apos;
poky-export-rootfs restart /home/jxu49/osel/poky-weekly/build/tmp/deploy/images//home/jxu49/osel/poky-weekly/build/tmp/work/qemux86-64-poky-linux/poky-image-sato-sdk-1.0-r0/qemuimagetest/tmp/rootfs/-qemux86-64.nfs
Error: &apos;/home/jxu49/osel/poky-weekly/build/tmp/deploy/images//home/jxu49/osel/poky-weekly/build/tmp/work/qemux86-64-poky-linux/poky-image-sato-sdk-1.0-r0/qemuimagetest/tmp/rootfs/-qemux86-64.nfs&apos; does not exist
Usage: /home/jxu49/osel/poky-weekly/scripts/poky-export-rootfs {start|stop|restart} &lt;nfs-export-dir&gt;
Releasing lockfile of preconfigured tap device &apos;tap0&apos;
############</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12128</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-02-25 09:16:29 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=0897b00452c991edb8e2f5ca5669277e136df3b2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12630</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-03-15 08:52:36 +0000</bug_when>
    <thetext>Verify the bug with commit information a33a2cc024f9c9147c92c5da70d8fbb631b968f9, which is RC3 build. The bug is fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>