No Ethernet Communication Manager on ICS

Bug #894502 reported by Mathieu Poirier
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
IglooCommunity
Fix Released
High
Unassigned
Linaro Android
Fix Released
Medium
Kejun ZHOU

Bug Description

ECM hasn't been ported to ICS (4.0.1) yet. It won't be present on any of the supported boards.

Zach Pfeffer (pfefferz)
Changed in linaro-android:
importance: Undecided → High
assignee: nobody → Kejun ZHOU (kejun-zhou)
milestone: none → 12.01
milestone: 12.01 → 11.12
Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :

The ARM landing team don't plan on doing specific work to fix this bug, just await for Ethernet Communication Manager to be ported. Without this there is no network connectivity for Android on Versatile Express

Changed in linaro-landing-team-arm:
importance: Undecided → High
status: New → Won't Fix
Revision history for this message
Alexander Sack (asac) wrote :

blocks lava and we want to make lava requirement for anything.

Changed in linaro-android:
importance: High → Critical
Revision history for this message
Anmar Oueja (anmar) wrote :

Alexander: It is not clear to me if you are saying that the ARM LT should port ECM or not. I see the bug is assigned already so I assume the port will happen for 2011.12?

Revision history for this message
Alexander Sack (asac) wrote :

my understanding is that we dont need to port the connection manager to get the ethernet working for ADB (which is what lava needs).

what needs to work and what landing team kernel needs to be capable off is ethernet.

basically netcfg DEVICE dhcp

should get an IP etc.

Revision history for this message
Alexander Sack (asac) wrote :

subscribed Yongqin Liu and paul to check what the lava dispatcher code for android does to bring up the network.

Revision history for this message
Alexander Sack (asac) wrote :

ok. seems like the networking issue for lava is resolved ... ignore my talk.

/me changes importance back and removes linaro-release.

Changed in linaro-android:
importance: Critical → High
Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :

Until we have ECM, I plan to add the hack below to my init script for vexpress. Are there are better suggestions?

#hack to start networking until ICS has Ethernet Communication Manager
#this will enable use of ADB and gator without further manual intervention
service netcfghack /system/bin/netcfg eth0 dhcp
    class main
    user root
    oneshot

Kejun ZHOU (kejun-zhou)
Changed in linaro-android:
status: New → Incomplete
Revision history for this message
Kejun ZHOU (kejun-zhou) wrote :

Status report at 15-Dec-2011:
I ported the ECM from gingerbread to ICS.
And I have debugged the ECM for two days.

The UI of ECM crashes at some stages.
There are still some bugs need to be fixed. Because some APIs of ICS are changed.
I will continue debugging the ECM at the coming days.

Kejun ZHOU

Kejun ZHOU (kejun-zhou)
Changed in linaro-android:
status: Incomplete → Confirmed
Revision history for this message
Kejun ZHOU (kejun-zhou) wrote :
Revision history for this message
Botao (botao-sun) wrote :

There is still no "Ethernet Communication Manager" on the 11.12 Origen Android final RC:

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

However, the Apple Ethernet adapter works well in the console and the browser can also show the web page well.

Here are the steps:

1. netcfg eth0 dhcp

2. setprop net.dns1 192.168.1.1

Then, "ping www.google.com" should work (192.168.1.1 is my network router).

Refer to attachment to get the screen shot.

Zach Pfeffer (pfefferz)
Changed in linaro-android:
milestone: 11.12 → 12.01
importance: High → Medium
Revision history for this message
Kejun ZHOU (kejun-zhou) wrote :

The ECM for 4.0.3 can be found at:
http://review.android.git.linaro.org/#change,1371
http://review.android.git.linaro.org/#change,1372
http://review.android.git.linaro.org/#change,1373

DHCP and static IP work well.
The ECM is in the "Setting" menu.
Only one DNS can be supported.

Changed in linaro-android:
status: Confirmed → Fix Committed
Kejun ZHOU (kejun-zhou)
Changed in linaro-android:
status: Fix Committed → Fix Released
Revision history for this message
Anmar Oueja (anmar) wrote :

Mathieu is validating the fix.

Changed in igloocommunity:
assignee: nobody → Mathieu Poirier (mathieu.poirier)
milestone: none → 2012.01
importance: Undecided → Medium
importance: Medium → High
Revision history for this message
Mathieu Poirier (mathieu.poirier-deactivatedaccount) wrote :

It works on my side with build 133, let's see what happens when Abhishek tests it.

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

Observation on build : https://android-build.linaro.org/builds/~linaro-android/landing-snowball/#build=133:
After bootup with ethernet cable connected following are the observations:
1. ECM integrated - can be found under settings menu.

2. Ethernet interface is DOWN(cheked via netcfg command) and device do not get IP - randomly observed (~1/10 times)

3. Ethernet interface is UP (cheked via netcfg command) but device gets IP in different range than expected ,
Expected is 192.168.1.xx but device gets ip 192.168.0.xx - Now browsing does not work
Tried to reassign the ip via command - "netcfg eth0 dhcp" - now device gets ip in range 192.168.1.xx - Still browsing does not work
Now manually setting for dns is done via " setprop net.dns1 8.8.4.4" - Now browsing works.(can open google.com)

https://bugs.launchpad.net/linaro-android/+bug/915434 is issue which is more relevant to track for browsing issue.

Changed in linaro-landing-team-arm:
milestone: none → 2012.01
status: Won't Fix → Fix Released
Revision history for this message
Lee Jones (lag) wrote :

Mathieu, is this now fixed for us? If so, would you mind marking at such please?

Changed in igloocommunity:
status: New → Fix Released
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.