<?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>258</bug_id>
          
          <creation_ts>2010-09-02 05:44:06 +0000</creation_ts>
          <short_desc>[Qemu] All qemu targets fail to get network access</short_desc>
          <delta_ts>2010-12-21 06:07:08 +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>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>0.9 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Kevin Tian">kevin.tian</assigned_to>
          <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>9545</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-09-02 05:44:06 +0000</bug_when>
    <thetext>Testing Env:    
Host: Ubuntu 10.04 LTS
Kernel: 2.6.32-21-generic-pae
Poky gitinfo(used to build qemu-native):
e300aa048531a5a11c4c87848551e5541b5b3022 (git.pokylinux.org:poky-wr
+yocto-kernel-clean)
All images file from http://autobuilder.pokylinux.org/nightly/20100831-1/.


There is no network for all qemu targets after booting up. After booting, in qemu, we can see eth0 get IP address &quot;192.168.7.2&quot;, but we can not connect to host address &quot;192.168.7.1&quot;.

The tap0, tap1 seems setup correctly:
############
tap0      Link encap:Ethernet  HWaddr 06:56:5e:b9:7f:5b
          inet addr:192.168.7.1  Bcast:192.168.7.255  Mask:255.255.255.0
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:2510 errors:0 dropped:0 overruns:0 frame:0
          TX packets:165 errors:0 dropped:340 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:419120 (419.1 KB)  TX bytes:32718 (32.7 KB)

tap1      Link encap:Ethernet  HWaddr 56:81:d2:d9:cd:16
          inet addr:192.168.7.2  Bcast:192.168.7.255  Mask:255.255.255.0
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:20 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 B)  TX bytes:3566 (3.5 KB)
###########

Reproduce Steps:
1. Download qemu images from above URL
2. git clone poky tree and checkout the commit stated above
3. build qemu-native and related staffs
4. start qemu and check the network information by &quot;ifconfig&quot;, ping &quot;192.168.7.1&quot;, which is host&apos;s tap0 ip address, in qemu.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9567</commentid>
    <comment_count>1</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-09-02 20:18:46 +0000</bug_when>
    <thetext>I just built an incremental arm image with latest poky master. The network just works fine. I can ssh into the target image.

I took a quick look at git log. No fortune to find related commits.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9580</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-09-03 06:41:50 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I just built an incremental arm image with latest poky master. The network just
&gt; works fine. I can ssh into the target image.
&gt; I took a quick look at git log. No fortune to find related commits.

After I reboot my system, the issue disappear. I will try to find a reproducible way for the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9625</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-09-07 08:37:25 +0000</bug_when>
    <thetext>Since I can not reproduce the bug now, I mark the bug as INVALID here.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>