<?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>1081</bug_id>
          
          <creation_ts>2011-05-18 08:38:13 +0000</creation_ts>
          <short_desc>[jasperforest] network fails to start on jasperforest sato image</short_desc>
          <delta_ts>2011-09-07 18:40:39 +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>BSPs</product>
          <component>bsps-configuration</component>
          <version>unspecified</version>
          <rep_platform>JasperForest</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Lin Tong is helping on that (8/4)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Tong Lin">tong.lin</assigned_to>
          <cc>dongxiao.xu</cc>
    
    <cc>dvhart</cc>
    
    <cc>ke.yu</cc>
    
    <cc>sgw</cc>
    
    <cc>shane.wang</cc>
    
    <cc>yp.bsp.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>13868</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-05-18 08:38:13 +0000</bug_when>
    <thetext>Target: Jasperforest Sato image
Image location: http://autobuilder.pokylinux.org/downloads/yocto-1.0/machines/jasperforest/jasperforest-bernard-5.0.0.tar.bz2

With the repackaging 1.0 sato image for jasperforest, when system start up, network fails to start up. Then network interface(eth0) will get a 169.254.xxx.xxx IP address after a while. I have to run &quot;ifup eth0&quot; by manual to make eth0 get IP address.

I have asked Dongxiao to have a first look but not gotten any clue yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13908</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-05-19 13:32:25 +0000</bug_when>
    <thetext>Does the same thing happen with minimal? If not, I&apos;m guessing you&apos;re running into a connmon issues similar to what we saw for the 1.0 demo. What is the contents of /etc/network/interfaces? I believe this to be a generic issue and not meta-intel specific.

Juijun or Dongxio, can one of you assign this to yourself and mark as Accepted?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13917</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-05-19 19:23:17 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Does the same thing happen with minimal? If not, I&apos;m guessing you&apos;re running
&gt; into a connmon issues similar to what we saw for the 1.0 demo. What is the
&gt; contents of /etc/network/interfaces? I believe this to be a generic issue and
&gt; not meta-intel specific.
&gt; Juijun or Dongxio, can one of you assign this to yourself and mark as Accepted?

Hi Darren,
Minimal image has no connman so we always need to manually start up the network. I never met such issue on other BSPs. Assign the bug to Dongxiao.

The /etc/network/interfaces contents as below:

########
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# Wireless interfaces
iface wlan0 inet dhcp
        wireless_mode managed
        wireless_essid any
        wpa-driver wext
        wpa-conf /etc/wpa_supplicant.conf

iface atml0 inet dhcp

# Wired or wireless interfaces
iface eth0 inet dhcp
iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
iface usb0 inet static
        address 192.168.7.2
        netmask 255.255.255.0
        network 192.168.7.0
        gateway 192.168.7.1

# Bluetooth networking
iface bnep0 inet dhcp
########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13932</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-05-20 10:55:58 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Does the same thing happen with minimal? If not, I&apos;m guessing you&apos;re running
&gt; &gt; into a connmon issues similar to what we saw for the 1.0 demo. What is the
&gt; &gt; contents of /etc/network/interfaces? I believe this to be a generic issue and
&gt; &gt; not meta-intel specific.
&gt; &gt; Juijun or Dongxio, can one of you assign this to yourself and mark as Accepted?
&gt; 
&gt; Hi Darren,
&gt; Minimal image has no connman so we always need to manually start up the
&gt; network.

Adding &quot;auto eth0&quot; to /etc/network/interfaces will make it automatically bring up eth0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15352</commentid>
    <comment_count>4</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2011-08-09 17:21:02 +0000</bug_when>
    <thetext>Assign this bug to Lin, Tong</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15461</commentid>
    <comment_count>5</comment_count>
    <who name="Tong Lin">tong.lin</who>
    <bug_when>2011-08-15 02:12:39 +0000</bug_when>
    <thetext>I build the core-image-sato-jasperforest.hddimg with the latest  packages and then run it. The bug disappears and the network works well. The ip address is 192.168.106.133.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15462</commentid>
    <comment_count>6</comment_count>
    <who name="Tong Lin">tong.lin</who>
    <bug_when>2011-08-15 02:13:39 +0000</bug_when>
    <thetext>I build the core-image-sato-jasperforest.hddimg with the latest  packages and then run it. The bug disappears and the network works well. The ip address is 192.168.106.133.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16091</commentid>
    <comment_count>7</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2011-09-07 18:40:39 +0000</bug_when>
    <thetext>Close this bug since jasperforest can get the correct IP address with the latest build.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>