<?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>414</bug_id>
          
          <creation_ts>2010-10-07 23:14:57 +0000</creation_ts>
          <short_desc>[PPC] kernel panic when booting poky-image-sdk-qemuppc through UNFS</short_desc>
          <delta_ts>2011-09-09 01:58:47 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>ppc</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>post 1.1, but need work around script for now.</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.2</target_milestone>
          <dependson>1204</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lianhao Lu">lianhao.lu</reporter>
          <assigned_to name="Liming Wang">liming.wang</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>dvhart</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>julie.n.fleischer</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liming.wang</cc>
    
    <cc>liping.ke</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>qing.he</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
    
    <cc>wenhuax.fan</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>10234</commentid>
    <comment_count>0</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-07 23:14:57 +0000</bug_when>
    <thetext>Using the nightly build 20101007-1 from auto builder, when booting the poky-image-sdk image of the PPC architecture through UNFS, a kernel panic happened displaying:

... ...
&lt;omit&gt;
... ...
IP-Config: Complete:
     device=eth0, addr=192.168.7.2, mask=255.255.255.0, gw=192.168.7.1,
     host=192.168.7.2, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=192.168.7.1, rootpath=
md: Waiting for all devices to be available before autodetect
md: If you don&apos;t use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
Looking up port of RPC 11111/2 on 192.168.7.1
Looking up port of RPC 21111/1 on 192.168.7.1
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing unused kernel memory: 180k init
udev: starting version 158
nfs: server 192.168.7.1 not responding, still trying
nfs: server 192.168.7.1 not responding, still trying
nfs: server 192.168.7.1 not responding, still trying
nfs: server 192.168.7.1 not responding, still trying
nfs: server 192.168.7.1 not responding, still trying
nfs: server 192.168.7.1 not responding, still trying
nfs: server 192.168.7.1 not responding, still trying
nfs: server 192.168.7.1 not responding, still trying
nfs: server 192.168.7.1 not responding, still trying
nfs: server 192.168.7.1 not responding, still trying
INFO: task dropbearkey:583 blocked for more than 120 seconds.
&quot;echo 0 &gt; /proc/sys/kernel/hung_task_timeout_secs&quot; disables this message.
dropbearkey   D 10002168     0   583    581 0x00000000
Call Trace:
[c7981b60] [c034d434] rpc_sleep_on+0x1a4/0x2dc (unreliable)
[c7981c20] [c0008d74] __switch_to+0x48/0x90
[c7981c40] [c0369dc0] schedule+0x338/0x564
[c7981c90] [c036a02c] io_schedule+0x40/0x74
[c7981ca0] [c0095e54] sync_page+0x50/0x70
[c7981cb0] [c036a9e8] __wait_on_bit_lock+0x94/0x120
[c7981ce0] [c0095dd0] __lock_page+0x8c/0x9c
[c7981d10] [c0096050] find_lock_page+0x70/0x88
[c7981d30] [c009699c] filemap_fault+0x16c/0x430
[c7981d70] [c00af290] __do_fault+0x64/0x4cc
[c7981dc0] [c0018e00] do_page_fault+0x1e4/0x6fc
[c7981f40] [c0012e28] handle_page_fault+0xc/0x80
--- Exception: 301 at 0x10002168
    LR = (null)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10235</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2010-10-07 23:52:47 +0000</bug_when>
    <thetext>Lianhao,

This is similar to the tap issue that I mentioned in our meeting, can you run ifconfig and make sure all tap device are gone and re-try?  I ran into this for ARM this afternoon and when I do ifconfig, I didn&apos;t see tap0, tap1, but tap2 and tap3 are there.  I used tunctl -d to remove taps, also delete ~/.poky-sdk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10237</commentid>
    <comment_count>2</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-08 00:27:15 +0000</bug_when>
    <thetext>I&apos;m pretty sure when I launch the qemu, there is no such tap0, tap1, ... Besides, the qemumips &amp; qemux86 is ok.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10240</commentid>
    <comment_count>3</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-10-08 01:21:26 +0000</bug_when>
    <thetext>I meet the same problem in ARM architectures... 
So please fix the bug both in PPC and ARM</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10241</commentid>
    <comment_count>4</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2010-10-08 01:35:13 +0000</bug_when>
    <thetext>Lianhao and Liping,

Can you clearly specify how you try bring up unfs qemu, from command line, what exactly is your command and options.  Also, is it under poky-tree or installed SDK and I&apos;m assuming you&apos;ve done source the environment setup script before running poky-qemu, right?  If under poky-tree, did you do bitbake meta-ide-support?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10243</commentid>
    <comment_count>5</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-08 01:49:26 +0000</bug_when>
    <thetext>To reproduce the ppc bug:

1. download the ppc kernel and image from autobuilder
http://autobuilder.pokylinux.org/nightly/20101007-1/qemu/qemuppc/zImage-2.6.34+git0+71cc215e36b87302af8e619d87d6b76ada5ebae4_0+9ac0daee43dd19d8bea828cf79450c9748ae0daa-r6-qemuppc-20101007051748.bin

http://autobuilder.pokylinux.org/nightly/20101007-1/qemu/qemuppc/poky-image-sdk-qemuppc-20101007065703.rootfs.tar.bz2

2. bitbake meta-ide-support

3. poky-extract-sdk poky-image-sdk-qemuppc-20101007065703.rootfs.tar.bz2 &lt;rootfs dir&gt;

4. poky-qemu qemuppc &lt;kernel&gt; &lt;rootfs dir&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10244</commentid>
    <comment_count>6</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-08 01:52:11 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; To reproduce the ppc bug:
&gt; 
&gt; 1. download the ppc kernel and image from autobuilder
&gt; http://autobuilder.pokylinux.org/nightly/20101007-1/qemu/qemuppc/zImage-2.6.34+git0+71cc215e36b87302af8e619d87d6b76ada5ebae4_0+9ac0daee43dd19d8bea828cf79450c9748ae0daa-r6-qemuppc-20101007051748.bin
&gt; 
&gt; http://autobuilder.pokylinux.org/nightly/20101007-1/qemu/qemuppc/poky-image-sdk-qemuppc-20101007065703.rootfs.tar.bz2
&gt; 
&gt; 2. bitbake meta-ide-support
&gt; 
&gt; 3. poky-extract-sdk poky-image-sdk-qemuppc-20101007065703.rootfs.tar.bz2
&gt; &lt;rootfs dir&gt;

&gt; 4. poky-qemu qemuppc &lt;kernel&gt; &lt;rootfs dir&gt;

One step is missing before poky-qemu. User should &quot;source&quot; the environment file built by step 2 (bitbake meta-ide-support)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10246</commentid>
    <comment_count>7</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-10-08 02:12:13 +0000</bug_when>
    <thetext>For arm side, I just build the meta-toolchain-sdk by myself, and get the same result...


Thanks&amp; Regards,
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10255</commentid>
    <comment_count>8</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2010-10-08 12:37:16 +0000</bug_when>
    <thetext>I have tested the kernel and unfs rootfs referenced in this bug above and it boots fine for me. My guess is there is still cruft left over from one of the previous poky-qemu implementations I shared with the SDK team.

This should be a fail-safe way of starting from a clean slate:

1. Reboot your computer (this will ensure the tap devices are all gone)
2. rm -rf ~/.poky-sdk
3. rm -rf on your extracted nfs rootfs areas

Then start from scratch extracting the rootfs using poky-extract-sdk and try booting to it again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10256</commentid>
    <comment_count>9</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2010-10-08 16:13:14 +0000</bug_when>
    <thetext>Lianhao, one additional step could be necessary for you to start with a clean state. After the reboot, also be sure to delete all files in /tmp/qemu-tap-locks/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10261</commentid>
    <comment_count>10</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-08 19:14:13 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; I have tested the kernel and unfs rootfs referenced in this bug above and it
&gt; boots fine for me. My guess is there is still cruft left over from one of the
&gt; previous poky-qemu implementations I shared with the SDK team.
&gt; 
&gt; This should be a fail-safe way of starting from a clean slate:
&gt; 
&gt; 1. Reboot your computer (this will ensure the tap devices are all gone)
&gt; 2. rm -rf ~/.poky-sdk
&gt; 3. rm -rf on your extracted nfs rootfs areas
&gt; 
&gt; Then start from scratch extracting the rootfs using poky-extract-sdk and try
&gt; booting to it again.

Following the above steps (and that in comment #9), it seems the PPC is OK now.

Liping, could you please try the above steps with ARM?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10263</commentid>
    <comment_count>11</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2010-10-08 19:33:53 +0000</bug_when>
    <thetext>Lianhao and Liping,

There&apos;s still problem that discovered by Scott and me when played more with unfs qemu boot up.  Lianhao, if you try to boot up an ARM qemu, they try ppc again, likely you&apos;ll run into nfs server not responding again, that&apos;s what happened to me, can you play more with shutdown qume and bring up again, etc and see whether it performs well?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10265</commentid>
    <comment_count>12</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-10-08 20:29:14 +0000</bug_when>
    <thetext>When I am trying x86 qemu, I continuously meet MOUNTD ERROR when I delete all tmp folder and delete all tapX.
After reboot, I finally successfully boot. Not knowing what&apos;s the reason...


Anyway, it works now.

Thanks a lot!
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10271</commentid>
    <comment_count>13</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-08 23:08:10 +0000</bug_when>
    <thetext>(In reply to comment #11)
&gt; Lianhao and Liping,
&gt; 
&gt; There&apos;s still problem that discovered by Scott and me when played more with
&gt; unfs qemu boot up.  Lianhao, if you try to boot up an ARM qemu, they try ppc
&gt; again, likely you&apos;ll run into nfs server not responding again, that&apos;s what
&gt; happened to me, can you play more with shutdown qume and bring up again, etc
&gt; and see whether it performs well?

I don&apos;t have ARM image aside, so I played with PPC and x86. I tried bringing up both ppc &amp; x86 and had them running at the same time, it seemed fine to me.

There is NFS server not responding during the shutdown for every qemu architecture. It is caused by the connman(I reported a separate bug #364 several days ago). To workaround the problem without sabotaging tap environment, you may directly kill the qemu process before the bug#364 get fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10273</commentid>
    <comment_count>14</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-08 23:28:26 +0000</bug_when>
    <thetext>Oops, now I run into the same problem as described in my the very first original description.

Here is what I did:
1. after successfully playing with the ppc/x86 nfs booting several times without any problems.
2. have a single x86 qemu running for some time.
3. stop the x86 qemu. 
4. rm -rf ~/.poky-sdk and rm -rf /tmp/qemu-tap-locks/
5. boot the ppc qemu, and run into the problem:

Looking up port of RPC 11111/2 on 192.168.7.1
Looking up port of RPC 21111/1 on 192.168.7.1
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing unused kernel memory: 180k init
nfs: server 192.168.7.1 not responding, still trying

6. while leaving the problematic ppc qemu hanging, boot another x86 qemu and it boots fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10276</commentid>
    <comment_count>15</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-09 01:02:36 +0000</bug_when>
    <thetext>It seems the PPC UNFS is not very stable. I tried the following steps for 3 times:

1. reboot machine
2. rm -rf ~/.poky-sdk/
3. rm -rf /tmp/qemu-tap-locks/
4. boot ppc qemu

The first 2 times fails with the &quot;nfs: server 192.168.7.1 not responding, still trying&quot; and the 3 time it succeeds.

I googled and found a patch at http://patchwork.ozlabs.org/patch/36846/.
I&apos;m not sure if it&apos;s related to our problem. I searched the qemu git and found that this patch is not committed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10287</commentid>
    <comment_count>16</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2010-10-09 11:10:14 +0000</bug_when>
    <thetext>Down grade the bug to minor+low but keep it open till we don&apos;t see the problem anymore.  I&apos;ve played a little bit more and seems it behaves much better after rebooting the machine...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10355</commentid>
    <comment_count>17</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-11 21:46:34 +0000</bug_when>
    <thetext>I rebuilt all using the latest builds/milestone branch, and the problem is still there and easy to reproduce. 2 out of 3 booting would fail and the remaining 1 would succeed.

Tcpdump showed that during failed the PPC UNFS booting, the unfs server suddenly stopped sending the udp packet back to the qemu target.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10357</commentid>
    <comment_count>18</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2010-10-11 21:54:18 +0000</bug_when>
    <thetext>Lianhao &amp; Liping

Can you try other arches, e.g. arm and mips to see whether similar symptom.  If so, I&apos;ll bump the priority back to normal+medium, but given the timing, it probably will move to 1.0 M1...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10358</commentid>
    <comment_count>19</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-11 21:56:25 +0000</bug_when>
    <thetext>we rarely see the problem on arm/x86 now. I&apos;ll play more with mips to see if it exists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10359</commentid>
    <comment_count>20</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-10-11 21:58:20 +0000</bug_when>
    <thetext>Lianhao&apos;s machine is x86_64. And seems meet more problems recently. And jessica, your machine is 64 or 32?

Thanks&amp; Regards,
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10360</commentid>
    <comment_count>21</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-11 22:02:05 +0000</bug_when>
    <thetext>I tried the ppc on liping&apos;(In reply to comment #20)
&gt; Lianhao&apos;s machine is x86_64. And seems meet more problems recently. And
&gt; jessica, your machine is 64 or 32?
&gt; 
It seems not related to x86_64 host. I tried PPC on liping&apos;s 32 bit host, still met the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10361</commentid>
    <comment_count>22</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-11 22:08:11 +0000</bug_when>
    <thetext>(In reply to comment #19)
&gt; we rarely see the problem on arm/x86 now. I&apos;ll play more with mips to see if it
&gt; exists.

Mips seems fine. The problem seems only reproducible on PPC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10397</commentid>
    <comment_count>23</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-12 19:11:41 +0000</bug_when>
    <thetext>Now I met the &quot;nfs: server 192.168.7.1 not responding, still trying&quot; hang error after a successful boot, during the normal OS running.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10400</commentid>
    <comment_count>24</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2010-10-12 20:12:51 +0000</bug_when>
    <thetext>Seem nfs for ppc is really unstable and barely usable...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10443</commentid>
    <comment_count>25</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2010-10-13 09:53:05 +0000</bug_when>
    <thetext>I am going to see if I can apply the patch Lianhao found in comment #15 when I have a free moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10445</commentid>
    <comment_count>26</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2010-10-13 11:16:13 +0000</bug_when>
    <thetext>Unfortunately the patch referenced in Comment 15 is already in qemu 0.12.4 which we are using. I do not have any other ideas at this time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10887</commentid>
    <comment_count>27</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2010-11-12 10:52:08 +0000</bug_when>
    <thetext>Tried on F14 against arm and x86, the problem seems apply to all unfs qemu, the error all are triggered by rpcbind: 192.168.7.1 not responding then it failed to do mount of rootfs...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11749</commentid>
    <comment_count>28</comment_count>
    <who name="Julie Fleischer">julie.n.fleischer</who>
    <bug_when>2011-02-14 17:20:54 +0000</bug_when>
    <thetext>Scott hasn&apos;t been able to reproduce.  Scott will to do a final verification just in case.  If he cannot reproduce this, it will be closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11768</commentid>
    <comment_count>29</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-02-14 22:56:56 +0000</bug_when>
    <thetext>I&apos;ve retested both the 0.9 release and poky master branch(latest commid id 92a9d59fccdfb6587fbd12f686899a8ace5e1d2f), using the image of poky-image-sato-sdk for qemuppc, the problem seems still existing.

way to reproduce it:
1. bitbake meta-ide-support
2. open a new bash console
3. source &lt;tmpdir&gt;/environment-setup-ppc603e-poky-linux
4. poky-extract-sdk poky-image-sato-sdk-qemuppc.tar.bz2 rootfs
5. poky-qemu zImage-qemuppc.bin rootfs/

I might need to try out several times to reproduce this bug in 0.9 release, but the latest master branch seems always ending up in the &quot;nfs: server 192.168.7.1 not responding, still trying&quot; issue. I tested both on Liping&apos;s 32bit and my 64bit machine, both are Ubuntu10.04.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11987</commentid>
    <comment_count>30</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-02-23 03:04:03 +0000</bug_when>
    <thetext>Qing had some interesting findings about this problem when he debugged another zypper related bug. He changed the unfs to Ubuntu&apos;s kernel nfs server and enabled the NFS logging. He found that the hang during the boot happened when some gtk applications trying to access some rootfs files. (He might have more details)

Besides, I remembered this kind of &quot;nfs: server 192.168.7.1 not responding, still trying&quot; thing used to occur even after a successful booting on qemuppc, when I did some disk IO intensive work such as &quot;ls -R&quot; in the target.

So we guess it might be possible that somehow qemuppc/ppc kernel causes the loss of UDP packet on network for NFS. 

I tried to modify the poky-qemu-internal to boot it with tcp unfs instead of udp unfs. It seems the problem has gone. Though there was still a strange ethenet frame error during the booting process(see the following screen shot), I can get into the login terminal. 

We still need more investigation to root cause this problem.

The screen snapshot is as the followings:

... ...
... ...
VFS: Mounted root (nfs filesystem) on device 0:12
Freeing unused kernel memory: 256k init
udev[50]: starting version 164
eth0: next frame inconsistency, 0x82

Yocto (Built by Poky 4.0) 0.9+snapshot-20100203 qemuppc ttyS0

qemuppc login:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11990</commentid>
    <comment_count>31</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2011-02-23 03:18:20 +0000</bug_when>
    <thetext>*** Bug 759 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11992</commentid>
    <comment_count>32</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2011-02-23 03:22:54 +0000</bug_when>
    <thetext>(In reply to comment #30)
&gt; Qing had some interesting findings about this problem when he debugged another
&gt; zypper related bug. He changed the unfs to Ubuntu&apos;s kernel nfs server and
&gt; enabled the NFS logging. He found that the hang during the boot happened when
&gt; some gtk applications trying to access some rootfs files. (He might have more
&gt; details)

When I was trying kernel servers, I found that three postinst scripts causing the block:
matchbox-keyboard-im.sh
sato-icon-theme.sh
tasks.sh

One of the similarities is that they all call some gtk command: gtk-update-icon-cache and gtk-query-immodules.

After skipping them, the login prompt can be seen, although it later hangs again if I run some heavy command like zypper.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11993</commentid>
    <comment_count>33</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2011-02-23 03:26:33 +0000</bug_when>
    <thetext>(In reply to comment #30)
 
&gt; So we guess it might be possible that somehow qemuppc/ppc kernel causes the
&gt; loss of UDP packet on network for NFS. 
&gt; 
&gt; I tried to modify the poky-qemu-internal to boot it with tcp unfs instead of
&gt; udp unfs. It seems the problem has gone. Though there was still a strange
&gt; ethenet frame error during the booting process(see the following screen shot),
&gt; I can get into the login terminal. 

So this probably means that ppc kernel is dropping frames in tun/tap...

I think NFS doesn&apos;t do ack/reconnect itself, does it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12075</commentid>
    <comment_count>34</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-02-24 10:48:04 +0000</bug_when>
    <thetext>Bruce,

This problem seems to be occurring independent of whether the userspace NFS server or kernel NFS is used to boot the image. Symptoms are pointing to this being a bug in the qemuppc kernel we&apos;re booting with. Can you offer any advice?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12076</commentid>
    <comment_count>35</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-02-24 10:53:49 +0000</bug_when>
    <thetext>This seems related to the &quot;ppc boots slowly&quot; defect that
was reported after the update to 2.6.37. That issue was also
related to X being on the image and accesses being made 
that couldn&apos;t be completed by qemu. The solution to that
issue were to boot the minimal images that boot quickly and
fine with both NFS and disk boot.

Is this being seen with the minimal image ? I can&apos;t quite tell
from the bug history.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12079</commentid>
    <comment_count>36</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-02-24 11:35:22 +0000</bug_when>
    <thetext>I&apos;ll do some testing with ppc minimal this afternoon and report what I find.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12087</commentid>
    <comment_count>37</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-02-24 14:32:03 +0000</bug_when>
    <thetext>Bruce,

I was able to run into this error on my fifth boot of a minimal ppc image. It occurred right at the start of when init loaded.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12258</commentid>
    <comment_count>38</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-03-03 17:52:13 +0000</bug_when>
    <thetext>Haven&apos;t been able to get to this yet this week. It is very unlikely for
M4. 

We have confirmed that this only happens in NFS booting, correct ? If
so, the PCI emulation on qemppc isn&apos;t PCI, it&apos;s a hacked up ISA bus. Chances
are that this is part of the cause.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12332</commentid>
    <comment_count>39</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-03-07 11:51:58 +0000</bug_when>
    <thetext>Agree with Bruce -- I can boot from the disk image, but not UNFS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12388</commentid>
    <comment_count>40</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-03-08 19:43:07 +0000</bug_when>
    <thetext>This should go into the release notes, since it can&apos;t be fixed
for 1.0.

The issue stems from the non-standard emulated ISA bus on
qemu ppc (since it isn&apos;t emulation of any &apos;real&apos; board). The
bus plus the interrupt handling in ppc prep emulation can&apos;t
handle the traffic/load generated by a NFS boot. In particular
any X based application increase the load to the point where
this is seen much sooner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12669</commentid>
    <comment_count>41</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-03-15 20:08:32 +0000</bug_when>
    <thetext>Not met on nightly build toolchain images 20110313-2:
http://autobuilder.pokylinux.org/nightly/20110313-2/toolchain/x86_64/poky-lsb-eglibc-x86_64-powerpc-toolchain-gmae-0.9+snapshot-20110315.tar.bz2

boot info below :

poky-qemu nfs  /home/liangli/test_dir2/zImage-2.6.37+git1+212cae404e57ff9dc58c808035770d51325c3512_1+6f21e2e83dc93e108183256f3efebb63a6a11b6d-r16-qemuppc-20110314080355.bin /opt/poky-lsb/temp
Assuming /opt/poky-lsb/temp is an nfs rootfs
Set MACHINE to [qemuppc] based on kernel [/home/liangli/test_dir2/zImage-2.6.37+git1+212cae404e57ff9dc58c808035770d51325c3512_1+6f21e2e83dc93e108183256f3efebb63a6a11b6d-r16-qemuppc-20110314080355.bin]

Continuing with the following parameters:
KERNEL: [/home/liangli/test_dir2/zImage-2.6.37+git1+212cae404e57ff9dc58c808035770d51325c3512_1+6f21e2e83dc93e108183256f3efebb63a6a11b6d-r16-qemuppc-20110314080355.bin]
ROOTFS: [/opt/poky-lsb/temp]
FSTYPE: [nfs]
Acquiring lockfile for tap0...
Acquiring lockfile for tap1...
Setting up tap interface under sudo
Acquiring lockfile for tap2...
poky-export-rootfs restart /opt/poky-lsb/temp
No PID file, not stopping rpc.mountd
No PID file, not stopping rpc.nfsd
Creating exports file...
Starting User Mode rpc.mountd
  /opt/poky-lsb/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/pseudo -P /opt/poky-lsb/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr /opt/poky-lsb/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr/sbin/rpc.mountd --allow-non-root --mount-pid /home/liangli/.poky-sdk/mount2.pid -f /home/liangli/.poky-sdk/exports2 --rmtab /home/liangli/.poky-sdk/rmtab2 --prog 21113 -r
Starting User Mode nfsd
  /opt/poky-lsb/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/pseudo -P /opt/poky-lsb/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr /opt/poky-lsb/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr/sbin/rpc.nfsd --allow-non-root --nfs-pid /home/liangli/.poky-sdk/nfs2.pid -f /home/liangli/.poky-sdk/exports2 --prog 11113 -P 3051 -r
 
On your target please remember to add the following options for NFS
nfsroot=IP_ADDRESS:/opt/poky-lsb/temp,nfsvers=2,mountprog=21113,nfsprog=11113,udp
Warning: distccd not present, no distcc support loaded.
Running qemu-system-ppc...
/opt/poky-lsb/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-system-ppc -kernel /home/liangli/test_dir2/zImage-2.6.37+git1+212cae404e57ff9dc58c808035770d51325c3512_1+6f21e2e83dc93e108183256f3efebb63a6a11b6d-r16-qemuppc-20110314080355.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap2,script=no,downscript=no -cpu 603e -M prep -bios powerpc_rom.bin -no-reboot -show-cursor -usb -usbdevice wacom-tablet -nographic -no-reboot --append &quot;root=/dev/nfs console=ttyS0 console=tty0 nfsroot=192.168.7.1:/opt/poky-lsb/temp,nfsvers=2,mountprog=21113,nfsprog=11113,udp rw ip=192.168.7.6::192.168.7.5:255.255.255.0 mem=128M &quot;
Using QEMU machine description
Linux version 2.6.37.3-yocto-standard+ (pokybuild@autobuilder) (gcc version 4.5.1 (GCC) ) #1 PREEMPT Mon Mar 14 01:40:11 PDT 2011
......
NE*000 ethercard probe at 0x300:52:54:00:12:34:56
eth0: NE2000 found at 0x300, using IRQ 9.
console [netcon0] enabled
netconsole: network logging started
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.com
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
Registering the dns_resolver key type
IP-Config: Complete:
     device=eth0, addr=192.168.7.6, mask=255.255.255.0, gw=192.168.7.5,
     host=192.168.7.6, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=192.168.7.1, rootpath=
md: Waiting for all devices to be available before autodetect
md: If you don&apos;t use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing unused kernel memory: 256k init

Yocto (Built by Poky 4.0) 0.9+snapshot-20110314 qemuppc ttyS0

qemuppc login: root
root@qemuppc:~# df 
Filesystem           1K-blocks      Used Available Use% Mounted on
192.168.7.1:/opt/poky-lsb/temp
                     120075472 100720208  13255760  88% /
tmpfs                       40         0        40   0% /mnt/.psplash
none                     62152        72     62080   0% /dev
tmpfs                    62152        32     62120   0% /var/volatile
tmpfs                    62152         0     62152   0% /media/ram</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12670</commentid>
    <comment_count>42</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-03-15 20:14:53 +0000</bug_when>
    <thetext>nightly build 20110313-2 git info:
a33a2cc024f9c9147c92c5da70d8fbb631b968f9
test env:
Host: Ubuntu 10.10 X86_64
Kernel: 2.6.35-27-generic #48-Ubuntu SMP</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12745</commentid>
    <comment_count>43</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-03-16 22:46:21 +0000</bug_when>
    <thetext>be reminded by jiajun and yi, I have tried this several times on qemuppc sato-sdk based on nightly build  20110313-2 ,3 times boot success and 2 times boot failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12746</commentid>
    <comment_count>44</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-03-16 22:57:58 +0000</bug_when>
    <thetext>yes, actually I have never succeed boot up in my machine. Always fail with latest cs.

criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12875</commentid>
    <comment_count>45</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-03-21 13:12:11 +0000</bug_when>
    <thetext>bumping to 1.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13739</commentid>
    <comment_count>46</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-05-12 14:58:01 +0000</bug_when>
    <thetext>Does this bug need a new owner?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13772</commentid>
    <comment_count>47</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-05-12 21:02:12 +0000</bug_when>
    <thetext>I&apos;m still the placeholder for this one. We need hold on this until we get the 1.1  kernel
version locked. At a minimum, trying this with our newer dev kernel would be a good
first step.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13844</commentid>
    <comment_count>48</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-05-16 15:39:08 +0000</bug_when>
    <thetext>Bruce, can you update the target milestone to a specific milestone? Probably M2?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14454</commentid>
    <comment_count>49</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-06-28 13:36:04 +0000</bug_when>
    <thetext>This bug will be used to disable usermode NFS for qemu ppc. Which is
targeted at the M3 milestone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15069</commentid>
    <comment_count>50</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-07-28 09:20:41 +0000</bug_when>
    <thetext>update: this boots stably on core-image-minimal, but the X based images still have problems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15552</commentid>
    <comment_count>51</comment_count>
    <who name="Liming Wang">liming.wang</who>
    <bug_when>2011-08-18 02:32:19 +0000</bug_when>
    <thetext>Using 3.0 kernel, I can boot nfs with sato rootfs successfully. I tried 10 times, every time is OK.  It&apos;s more stable than 2.6.37. 

IP-Config: Complete:
     device=eth0, addr=192.168.7.2, mask=255.255.255.0, gw=192.168.7.1,
     host=192.168.7.2, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=192.168.7.1, rootpath=
md: Waiting for all devices to be available before autodetect
md: If you don&apos;t use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
VFS: Mounted root (nfs filesystem) on device 0:13.
devtmpfs: mounted
Freeing unused kernel memory: 248k init
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
Starting Bootlog daemon: bootlogd.
mount: invalid number &apos;sys&apos;
Configuring network interfaces... done.
Starting portmap daemon...
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
hwclock: can&apos;t open &apos;/dev/misc/rtc&apos;: No such file or directory
Sun Aug 14 01:31:00 UTC 2011
hwclock: can&apos;t open &apos;/dev/misc/rtc&apos;: No such file or directory
Running postinst /etc/rpm-postinsts/avahi-daemon.sh...
 Adding system startup for /etc/init.d/avahi-daemon.
Running postinst /etc/rpm-postinsts/connman-gnome.sh...
Running postinst /etc/rpm-postinsts/dates.sh...
Running postinst /etc/rpm-postinsts/dbus-1.sh...
 Adding system startup for /etc/init.d/dbus-1.
Running postinst /etc/rpm-postinsts/distcc.sh...
 Adding system startup for /etc/init.d/distcc.
Running postinst /etc/rpm-postinsts/gdk-pixbuf-loader-gif.sh...
Running postinst /etc/rpm-postinsts/gdk-pixbuf-loader-jpeg.sh...
Running postinst /etc/rpm-postinsts/gdk-pixbuf-loader-png.sh...
Running postinst /etc/rpm-postinsts/gdk-pixbuf-loader-xpm.sh...
Running postinst /etc/rpm-postinsts/gthumb.sh...
Running postinst /etc/rpm-postinsts/liberation-fonts.sh...
Running postinst /etc/rpm-postinsts/libnss-mdns.sh...
Running postinst /etc/rpm-postinsts/matchbox-keyboard-im.sh...
Running postinst /etc/rpm-postinsts/matchbox-session-sato.sh...
Resolved address &quot;xml::/etc/gconf/gconf.xml.defaults&quot; to a writable configuration source at position 0
Resolved address &quot;xml::/etc/gconf/gconf.xml.defaults&quot; to a writable configuration source at position 0
Resolved address &quot;xml::/etc/gconf/gconf.xml.defaults&quot; to a writable configuration source at position 0
Resolved address &quot;xml::/etc/gconf/gconf.xml.defaults&quot; to a writable configuration source at position 0
Running postinst /etc/rpm-postinsts/pango-module-basic-fc.sh...
Running postinst /etc/rpm-postinsts/pango-module-basic-x.sh...
Running postinst /etc/rpm-postinsts/sato-icon-theme.sh...
Running postinst /etc/rpm-postinsts/settings-daemon.sh...
Running postinst /etc/rpm-postinsts/sudo.sh...
Running postinst /etc/rpm-postinsts/tasks.sh...
Running postinst /etc/rpm-postinsts/update-modules.sh...
Configuration for powerpc.generic not found, trying powerpc
WARNING: -e needs -E or -F
WARNING: Couldn&apos;t open directory /lib/modules/3.0.0-rc7-yocto-standard+: No such file or directory
FATAL: Could not open /lib/modules/3.0.0-rc7-yocto-standard+/modules.dep.temp for writing: No such file or directory
Running postinst /etc/rpm-postinsts/wpa-supplicant.sh...
Running postinst /etc/rpm-postinsts/xserver-nodm-init.sh...
 Adding system startup for /etc/init.d/xserver-nodm.
INIT: Entering runlevel: 3
Starting system message bus: Unknown username &quot;xuser&quot; in message bus configuration file
dbus.
Starting Connection Manager
modprobe: FATAL: Could not load /lib/modules/3.0.0-rc7-yocto-standard+/modules.dep: No such file or directory

modprobe: FATAL: Could not load /lib/modules/3.0.0-rc7-yocto-standard+/modules.dep: No such file or directory

Starting Dropbear SSH server: Will output 1024 bit rsa secret key to &apos;/etc/dropbear/dropbear_rsa_host_key&apos;
Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgmRrsp7tJSXMYG1ol12XMF3g4Kqlb2PVwy7Yah2kyP2NnCX//Z1jbe1jXmipNgPVplUvfek0vqU87nQzYwCRDMhcqCOiLJyyO6MlAH15/+r9cC38+6dQVNNFLSzMVWM7qVV2614tIS0q5nOtWu66Qr345HQB2KBo1g2W60l+XSMczWk= root@qemuppc
Fingerprint: md5 85:d4:13:90:4c:3f:9c:f2:e2:48:a2:9b:50:bd:bc:a2
modprobe: FATAL: Could not load /lib/modules/3.0.0-rc7-yocto-standard+/modules.dep: No such file or directory

modprobe: FATAL: Could not load /lib/modules/3.0.0-rc7-yocto-standard+/modules.dep: No such file or directory

dropbear.
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting Distributed Compiler Daemon: distcc.
creating NFS state directory: done
starting 8 nfsd kernel threads: modprobe: FATAL: Could not load /lib/modules/3.0.0-rc7-yocto-standard+/modules.dep: No such file or directory

rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, &apos;mount -t nfsd nfsd /proc/fs/nfsd&apos; and then restart rpc.nfsd to correct the problem
done
starting mountd: done
starting statd: done
exportfs: /etc/exports [1]: Neither &apos;subtree_check&apos; or &apos;no_subtree_check&apos; specified for export &quot;*:/&quot;.
  Assuming default behaviour (&apos;no_subtree_check&apos;).
  NOTE: this default has changed since nfs-utils version 1.0.x

Starting syslogd/klogd: done
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
   ...done.
Starting Telephony daemon
Stopping Bootlog daemon: bootlogd.

Yocto (Built by Poky 5.0) 1.0+snapshot-20110813 qemuppc ttyS0

qemuppc login: root
root@qemuppc:~# uname -a
Linux qemuppc 3.0.0-rc7-yocto-standard+ #2 PREEMPT Tue Aug 16 17:56:06 CST 2011 ppc GNU/Linux
root@qemuppc:~#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15639</commentid>
    <comment_count>52</comment_count>
    <who name="Song Liu">song.liu</who>
    <bug_when>2011-08-22 13:32:14 +0000</bug_when>
    <thetext>Liming, is this bug already fixed with the 3.0 kernel or are you still working on it? Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15643</commentid>
    <comment_count>53</comment_count>
    <who name="Liming Wang">liming.wang</who>
    <bug_when>2011-08-22 19:29:40 +0000</bug_when>
    <thetext>no, this bug should be postponed to 1.1. We will provide a script to disable unfs
boot mode for qemuppc now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16009</commentid>
    <comment_count>54</comment_count>
    <who name="Liming Wang">liming.wang</who>
    <bug_when>2011-09-04 20:36:19 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8a8a3b3905b81f09e42ba02fc3c3b3f189a0f484</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16017</commentid>
    <comment_count>55</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-09-05 02:36:21 +0000</bug_when>
    <thetext>boot sato image of qemuppc throught UNFS, now get the following output:
liangli@liangli-OptiPlex-745:~$ runqemu nfs /home/liangli/test_dir_5/zImage-3.0.3+git1+5b535279e61197cb194bb2dfceb8b7a04128387c_1+c0da1d35dee9fb63ba6bfc7907a77b0feb89766e-r1-qemuppc-20110901052849.bin /opt/poky/temp
Assuming /opt/poky/temp is an nfs rootfs
Set MACHINE to [qemuppc] based on kernel [/home/liangli/test_dir_5/zImage-3.0.3+git1+5b535279e61197cb194bb2dfceb8b7a04128387c_1+c0da1d35dee9fb63ba6bfc7907a77b0feb89766e-r1-qemuppc-20110901052849.bin]
Error: usermode NFS boot is not available for qemuppc.

git info:  705ec50edda7f7fb8c132238fe3f1477384a470e
git branch: poky/master

test env :
host : ubuntu 10.10 x86_64
kernel :2.6.35-30-generic #56-Ubuntu SMP

test steps : 
1.create toolchain using &quot;bitbake meta-toolchain&quot; command,get toolchain tarball
from &quot;tmp/deploy/sdk&quot; subdir of build dir  ,extract to /opt dir of the host
machine.
2.set toolchain env and run &quot;runqemu-extract-sdk&quot; command.
3.run &quot;runqemu nfs&quot; command.

since usermode NFS boot now not supported for qemuppc, so next weekly test will check again and change the bug status to verified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16115</commentid>
    <comment_count>56</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-09-09 01:58:47 +0000</bug_when>
    <thetext>(In reply to comment #55)
&gt; boot sato image of qemuppc throught UNFS, now get the following output:
&gt; liangli@liangli-OptiPlex-745:~$ runqemu nfs
&gt; /home/liangli/test_dir_5/zImage-3.0.3+git1+5b535279e61197cb194bb2dfceb8b7a04128387c_1+c0da1d35dee9fb63ba6bfc7907a77b0feb89766e-r1-qemuppc-20110901052849.bin
&gt; /opt/poky/temp
&gt; Assuming /opt/poky/temp is an nfs rootfs
&gt; Set MACHINE to [qemuppc] based on kernel
&gt; [/home/liangli/test_dir_5/zImage-3.0.3+git1+5b535279e61197cb194bb2dfceb8b7a04128387c_1+c0da1d35dee9fb63ba6bfc7907a77b0feb89766e-r1-qemuppc-20110901052849.bin]
&gt; Error: usermode NFS boot is not available for qemuppc.
&gt; 
&gt; git info:  705ec50edda7f7fb8c132238fe3f1477384a470e
&gt; git branch: poky/master
&gt; 
&gt; test env :
&gt; host : ubuntu 10.10 x86_64
&gt; kernel :2.6.35-30-generic #56-Ubuntu SMP
&gt; 
&gt; test steps : 
&gt; 1.create toolchain using &quot;bitbake meta-toolchain&quot; command,get toolchain tarball
&gt; from &quot;tmp/deploy/sdk&quot; subdir of build dir  ,extract to /opt dir of the host
&gt; machine.
&gt; 2.set toolchain env and run &quot;runqemu-extract-sdk&quot; command.
&gt; 3.run &quot;runqemu nfs&quot; command.
&gt; 
&gt; since usermode NFS boot now not supported for qemuppc, so next weekly test will
&gt; check again and change the bug status to verified.

verified using M4 RC1 images(nightly build 20110908-5) from:
http://autobuilder.pokylinux.org/nightly/20110908-5/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>