Ethernet interface down after bootup.

Bug #902029 reported by Abhishek Paliwal
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Undecided
Unassigned

Bug Description

Observed on Staging panda: https://android-build.linaro.org/builds/~linaro-android/staging-panda/#build=129

Bootup device, and check the IP obtained .
root@android:/ # netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
eth0 DOWN 0.0.0.0/0 0x00001002 2a:40:8e:cc:3b:0a
root@android:/ #

Issue: eth0 interface show IP as 0.0.0.0

Note: Device get ip after Issuing command "inetcfg eth0 dhcp " (but unable to browse webpages over ethernet)
root@android:/ # netcfg eth0 dhcp
[ 110.503295] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
root@android:/ # netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
eth0 UP 192.168.1.34/24 0x00001043 2a:40:8e:cc:3b:0a

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Botao (botao-sun) wrote :

It works well for iMX53 11.12 final RC, except the DNS settings need to be done manually.

https://android-build.linaro.org/builds/~linaro-android/staging-imx53-11.12-release/#build=7

root@android:/ # netcfg eth0 dhcp
[ 64.548962] eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:p)
[ 64.685261] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 66.555841] PHY: 1:00 - Link is Up - 100/Full
[ 66.615726] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@android:/ # netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:000
eth0 UP 192.168.1.18/24 0x00001043 00:04:9fa
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:000
root@android:/ # ping www.google.com
ping: unknown host www.google.com
2|root@android:/ # setprop net.dns1 192.168.1.1
root@android:/ # ping www.google.com
PING www.l.google.com (74.125.71.104) 56(84) bytes of data.
64 bytes from hx-in-f104.1e100.net (74.125.71.104): icmp_seq=1 ttl=43 time=537 s
[ 119.449377] er.ServerThread (1151): /proc/1138/oom_adj is deprecated, please.
64 bytes from hx-in-f104.1e100.net (74.125.71.104): icmp_seq=2 ttl=43 time=539 s
64 bytes from hx-in-f104.1e100.net (74.125.71.104): icmp_seq=3 ttl=43 time=537 s
^C
--- www.l.google.com ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3000ms
rtt min/avg/max/mdev = 537.634/538.205/539.040/0.850 ms

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

Is the ethernet interface meant to come up automatically? With Linaro 12.03 on Pandaboard it initially doesn't come up, but is okay after being enabled in the Android Settings gui (enabled ethernet, select eth0 and specify network settings)

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Zach Pfeffer (pfefferz) wrote :

I had to set up the network manually on iMX53 for build:

https://android-build.linaro.org/builds/~linaro-android/imx53-ics-gcc47-freescalelt-stable-open-12.05-release/#build=2

I did this to get things working:

ifconfig eth0 192.168.0.8 netmask 255.255.255.0 up route add default gw 192.168.0.1 dev eth0
setprop net.dns1 192.168.0.1
setprop net.dns2 8.8.8.8
ifconfig eth0

Revision history for this message
Botao (botao-sun) wrote :

For iMX53, on build:

https://android-build.linaro.org/builds/~linaro-android/imx53-ics-gcc47-freescalelt-stable-open-12.05-release/#build=2

It works well and what I need to do is only to select the eth0 from the interface list then I'm online.

Revision history for this message
Milosz Wasilewski (mwasilew) wrote :

Doesn't happen on panda JB. ICS is no longer supported. Closing.

Changed in linaro-android:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.