<?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>364</bug_id>
          
          <creation_ts>2010-09-29 20:04:43 +0000</creation_ts>
          <short_desc>network shutdown by connman caused the NFS hang during qemu poweroff/reboot</short_desc>
          <delta_ts>2010-12-21 06:07:13 +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>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>0.9 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lianhao Lu">lianhao.lu</reporter>
          <assigned_to name="Dongxiao Xu">dongxiao.xu</assigned_to>
          <cc>dongxiao.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>10058</commentid>
    <comment_count>0</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-09-29 20:04:43 +0000</bug_when>
    <thetext>During the poweroff/restart of a nfs rootfs based qemu runtime, th network is shutdown by connman, which cause the poweroff/restart process hang with the output &quot;nfs: server 192.168.7.1 not responding, still trying&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10063</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2010-09-29 21:10:09 +0000</bug_when>
    <thetext>Lianhao,

Couple things to clarify for the bug:
1. nfs rootfs, you mean unfs right since there&apos;s old nfs support in poky-qemu
2. poweroff/restart of qemu you mean select the &quot;shutdown&quot; icon in qemu?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10064</commentid>
    <comment_count>2</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-09-29 21:14:00 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Lianhao,
&gt; 
&gt; Couple things to clarify for the bug:
&gt; 1. nfs rootfs, you mean unfs right since there&apos;s old nfs support in poky-qemu

yes, it&apos;s should be unfs.

&gt; 2. poweroff/restart of qemu you mean select the &quot;shutdown&quot; icon in qemu?
I booted the qemu into run level 3 instead of 5, and typed poweroff/restart. The run level 5 Sato should have the same issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10067</commentid>
    <comment_count>3</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-09-29 22:46:01 +0000</bug_when>
    <thetext>Currently when quit connmand, it will disconnect the network interfaces that are under its control. When shutdown or reboot, system will kill all the processes including connmand, which caused this bug.

Just have a talk with the MeeGo Connman owner, he said this was a design flaw that connman may not cover currently.

A workaround is to detect if system is using nfs. If so, connman should NOT take over the interface ownership.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10326</commentid>
    <comment_count>4</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2010-10-11 12:24:47 +0000</bug_when>
    <thetext>fix by commit: 
http://git.pokylinux.org/cgit.cgi/poky/commit/?id=771fb55d6b13a92e1b30fbc95fdb1c34ddec7ebe</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10630</commentid>
    <comment_count>5</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2010-10-17 20:03:50 +0000</bug_when>
    <thetext>Verified in M4 RC2.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>