<?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>962</bug_id>
          
          <creation_ts>2011-04-07 00:40:26 +0000</creation_ts>
          <short_desc>qemuarm cannot shutdown entirely through UNFS</short_desc>
          <delta_ts>2011-07-20 23:12:58 +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.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>arm</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.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>dvhart</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liangliang.wang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</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>13168</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-04-07 00:40:26 +0000</bug_when>
    <thetext>Testing Env:    
Host: Ubuntu 10.10 x86_64
Kernel: 2.6.35-28-generic

Image location:
http://autobuilder.yoctoproject.org/nightly/20110404-1/machines/qemu/qemuarm/
Commit information: f897723207b00b4c9dcdb43107891b7b82ce22f3

Boot up qemuarm through UNFS
###############
$ poky-extract-sdk poky-image-sato-qemuarm-20110405024447.rootfs.tar.bz2 rootfs
$ poky-qemu nfs zImage-2.6.37+git1+727fc4769aa920fc5bb3eb9a81bf92d0e6340903_1+e5ca41def834db9d18b28393a45d53a8d18f3d05-r16-qemuarm-20110405234815.bin rootfs
###############

when I click the shutdown icon on the desktop, system goes into shutdown process. But qemu window and qemu process doesn&apos;t disappear after that. When I run command &apos;reboot&apos;, the issue still happens. 

When I boot up qemuarm image directly,
#############
$ poky-qemu qemuarm zImage-2.6.37+git1+727fc4769aa920fc5bb3eb9a81bf92d0e6340903_1+e5ca41def834db9d18b28393a45d53a8d18f3d05-r16-qemuarm-20110405234815.bin poky-image-sato-qemuarm-20110405024447.rootfs.ext3 ext3
#############
This issue doesn&apos;t happen.

You can refer to bug 100 for more information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13169</commentid>
    <comment_count>1</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-04-07 00:51:37 +0000</bug_when>
    <thetext>Hi Yi,
Is the bug a regression or a new one?


(In reply to comment #0)
&gt; Testing Env:    
&gt; Host: Ubuntu 10.10 x86_64
&gt; Kernel: 2.6.35-28-generic
&gt; Image location:
&gt; http://autobuilder.yoctoproject.org/nightly/20110404-1/machines/qemu/qemuarm/
&gt; Commit information: f897723207b00b4c9dcdb43107891b7b82ce22f3
&gt; Boot up qemuarm through UNFS
&gt; ###############
&gt; $ poky-extract-sdk poky-image-sato-qemuarm-20110405024447.rootfs.tar.bz2 rootfs
&gt; $ poky-qemu nfs
&gt; zImage-2.6.37+git1+727fc4769aa920fc5bb3eb9a81bf92d0e6340903_1+e5ca41def834db9d18b28393a45d53a8d18f3d05-r16-qemuarm-20110405234815.bin
&gt; rootfs
&gt; ###############
&gt; when I click the shutdown icon on the desktop, system goes into shutdown
&gt; process. But qemu window and qemu process doesn&apos;t disappear after that. When I
&gt; run command &apos;reboot&apos;, the issue still happens. 
&gt; When I boot up qemuarm image directly,
&gt; #############
&gt; $ poky-qemu qemuarm
&gt; zImage-2.6.37+git1+727fc4769aa920fc5bb3eb9a81bf92d0e6340903_1+e5ca41def834db9d18b28393a45d53a8d18f3d05-r16-qemuarm-20110405234815.bin
&gt; poky-image-sato-qemuarm-20110405024447.rootfs.ext3 ext3
&gt; #############
&gt; This issue doesn&apos;t happen.
&gt; You can refer to bug 100 for more information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13170</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-04-07 01:06:36 +0000</bug_when>
    <thetext>It is a new bug. But this issue also happens on 1.0 release build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13272</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-04-14 08:09:01 +0000</bug_when>
    <thetext>Suggested next step: try with linux-yocto-stable and see if this is due to the switch to linux-yocto. Bruce, will the same folks that worked on Bug 100 be able to have a look at this as they seem to have experience and context here?

I presume we are still agreed that &quot;reboot&quot; shutting down qemu is an acceptable solution?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13284</commentid>
    <comment_count>4</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-04-14 17:46:13 +0000</bug_when>
    <thetext>reboot is still the right option. the actual hardware shows the same
behaviour as qemuarm, it&apos;s a property of the bootloader, so we&apos;ll live
with it.

As for why it hangs through nfs, it&apos;s likely not a kernel issue. I&apos;ve seen
this plenty of times. check to see if the ethernet / networking is being
shut down too early in the process. If it shuts down, NFS hangs and you
can&apos;t reboot no matter what you do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13402</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-04-25 11:08:15 +0000</bug_when>
    <thetext>Saul, can we move this to &quot;Runtime Distribution&quot; to check on the shutdown scripts and the networking shutdown order? Also needs an assignee.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13433</commentid>
    <comment_count>6</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-04-26 12:09:54 +0000</bug_when>
    <thetext>changing the product designation, since this really isn&apos;t kernel. please update it again if I&apos;ve got the wrong item.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13848</commentid>
    <comment_count>7</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-05-17 00:00:44 +0000</bug_when>
    <thetext>With 1.0.1 build 20110513, this issue does *not* happened.
Branch: Bernard
git commit: 1b159ff35d9f484e72afb8b19a9e69a2770d8379</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14330</commentid>
    <comment_count>8</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-06-16 20:15:55 +0000</bug_when>
    <thetext>With 1.1 20110613 build, this issue does *not* happened.

Image location:
http://autobuilder.yoctoproject.org/nightly/20110613-1/
Tree/Branch: Poky/master
Commit: e5f3cc34df74c08c8cab3e1cf9207fafaec6cb9a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14568</commentid>
    <comment_count>9</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-07-06 10:34:55 +0000</bug_when>
    <thetext>I can confirm, self-built image running over nfs (with unfs) shuts down fine here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14569</commentid>
    <comment_count>10</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-07-06 10:35:23 +0000</bug_when>
    <thetext>(Of master, that is)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14787</commentid>
    <comment_count>11</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-07-19 09:28:47 +0000</bug_when>
    <thetext>This is apparently now fixed, marking as resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14842</commentid>
    <comment_count>12</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-07-20 23:12:58 +0000</bug_when>
    <thetext>Verified it with 20110715 build


Image location:
http://autobuilder.pokylinux.org/nightly/20110715-1/
Tree/Branch: Poky/1.1_M2
Poky Commit: 93a2ca70482f09e93469481936302e7b6847156e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>