ECM doesn't work on Android Jelly Bean when Hotpluged

Bug #1042239 reported by Zach Pfeffer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Low
Unassigned

Bug Description

Looks like ECM is in, but I'm getting an error on Origen (https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=41)

Here's the error I see:

I/EthernetManager( 2919): Init Ethernet Manager, service:
android.net.ethernet.IEthernetManager$Stub$Proxy@a69527c0
D/dalvikvm( 2919): GC_CONCURRENT freed 135K, 9% free 5872K/6407K,
paused 14ms+22ms, total 75ms
W/ResourceType( 2919): getEntry failing because entryIndex 129 is
beyond type entryCount 3
I/EthenetEnabler( 2919): Show configuration dialog true1
D/AndroidRuntime( 2919): Shutting down VM
W/dalvikvm( 2919): threadid=1: thread exiting with uncaught exception
(group=0xa632d300)
E/AndroidRuntime( 2919): FATAL EXCEPTION: main
E/AndroidRuntime( 2919): java.lang.NullPointerException
E/AndroidRuntime( 2919): at
com.android.settings.ethernet.EthernetConfigDialog.handle_saveconf(EthernetConfigDialog.java:152)
E/AndroidRuntime( 2919): at
com.android.settings.ethernet.EthernetConfigDialog.onClick(EthernetConfigDialog.java:180)
E/AndroidRuntime( 2919): at
com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
E/AndroidRuntime( 2919): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2919): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2919): at
android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 2919): at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2919): at
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2919): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 2919): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 2919): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 2534): Force finishing activity
com.android.settings/.Settings
W/ActivityManager( 2534): Activity pause timeout for
ActivityRecord{a6b78858 com.android.settings/.Settings}
I/Process ( 2919): Sending signal. PID: 2919 SIG: 9
W/InputDispatcher( 2534): channel 'a6aea190
com.android.settings/com.android.settings.Settings (server)' ~
Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 2534): channel 'a6aea190
com.android.settings/com.android.settings.Settings (server)' ~ Channel
is unrecoverably broken and will be disposed!
W/InputDispatcher( 2534): Attempted to unregister already unregistered
input channel 'a6aea190
com.android.settings/com.android.settings.Settings (server)'
I/WindowManager( 2534): WINDOW DIED Window{a6aea190
com.android.settings/com.android.settings.Settings paused=false}
I/ActivityManager( 2534): Process com.android.settings (pid 2919) has died.
W/InputDispatcher( 2534): channel 'a6b180b8 Configure Ethernet device
(server)' ~ Consumer closed input channel or an error occurred.
events=0xd
E/InputDispatcher( 2534): channel 'a6b180b8 Configure Ethernet device
(server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 2534): Attempted to unregister already unregistered
input channel 'a6b180b8 Configure Ethernet device (server)'
I/WindowManager( 2534): WINDOW DIED Window{a6b180b8 Configure Ethernet
device paused=false}
W/WindowManager( 2534): Failed looking up window
W/WindowManager( 2534): java.lang.IllegalArgumentException: Requested
window android.os.BinderProxy@a6a521d0 does not exist
W/WindowManager( 2534): at
com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7640)
W/WindowManager( 2534): at
com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7631)
W/WindowManager( 2534): at
com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:854)
W/WindowManager( 2534): at
android.os.BinderProxy.sendDeathNotice(Binder.java:449)
W/WindowManager( 2534): at dalvik.system.NativeStart.run(Native Method)
I/WindowState( 2534): WIN DEATH: null
W/WindowManager( 2534): Failed looking up window
W/WindowManager( 2534): java.lang.IllegalArgumentException: Requested
window android.os.BinderProxy@a68a2b98 does not exist
W/WindowManager( 2534): at
com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7640)
W/WindowManager( 2534): at
com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7631)
W/WindowManager( 2534): at
com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:854)
W/WindowManager( 2534): at
android.os.BinderProxy.sendDeathNotice(Binder.java:449)
W/WindowManager( 2534): at
com.android.server.SystemServer.init1(Native Method)
W/WindowManager( 2534): at
com.android.server.SystemServer.main(SystemServer.java:951)
W/WindowManager( 2534): at
java.lang.reflect.Method.invokeNative(Native Method)
W/WindowManager( 2534): at
java.lang.reflect.Method.invoke(Method.java:511)
W/WindowManager( 2534): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
W/WindowManager( 2534): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
W/WindowManager( 2534): at dalvik.system.NativeStart.main(Native Method)
I/WindowState( 2534): WIN DEATH: null
W/ActivityManager( 2534): Activity destroy timeout for
ActivityRecord{a6b78858 com.android.settings/.Settings}

Revision history for this message
Zach Pfeffer (pfefferz) wrote :

From Tixy

On Thu, 2012-08-23 at 20:45 -0500, Zach Pfeffer wrote:
> Looks like ECM is in, but I'm getting an error on Origen when I try
> and use it, would you see if you get a similar error?

I don't see this error on vexpress (pfefferz: need exact build?).

Note, a factor might be that I had previously set the kernel config to
disable some IPV6 features as a workaround to prevent ECM from selecting
the IPV6 network tunnel devices by default. (I wanted to give it no
choice but to default to eth0).

Changed in linaro-android:
assignee: nobody → Kejun ZHOU (kejun-zhou)
milestone: none → 12.09
importance: Undecided → High
Kejun ZHOU (kejun-zhou)
Changed in linaro-android:
status: New → In Progress
Revision history for this message
Kejun ZHOU (kejun-zhou) wrote :
Changed in linaro-android:
status: In Progress → Fix Released
Revision history for this message
Zach Pfeffer (pfefferz) wrote :
Zach Pfeffer (pfefferz)
Changed in linaro-android:
status: Fix Released → In Progress
Zach Pfeffer (pfefferz)
Changed in linaro-android:
milestone: 12.09 → 12.10
assignee: Kejun ZHOU (kejun-zhou) → Amit Pundir (pundiramit)
Revision history for this message
Amit Pundir (pundiramit) wrote :

Not able to reproduce this issue anymore on linaro_android_4.1.2 branch on stable Panda local build and https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob/#build=100 and stable Origen https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=94. Yet to verify it on stable Snowball build.

Revision history for this message
Zach Pfeffer (pfefferz) wrote :

Is it on vexpress?

Zach Pfeffer (pfefferz)
Changed in linaro-android:
milestone: 12.10 → 12.11
vishal (vishalbhoj)
Changed in linaro-android:
milestone: 12.11 → 12.12
Revision history for this message
Amit Pundir (pundiramit) wrote :

Now that AOSP has Ethernet support in AOSP, plan is to characterize Ethernet support in 4.2 and see to what extent it can be used.

vishal (vishalbhoj)
summary: - ECM doesn't work on Android Jelly Bean
+ ECM doesn't work on Android Jelly Bean when Hotpluged
Changed in linaro-android:
importance: High → Low
Zach Pfeffer (pfefferz)
Changed in linaro-android:
milestone: 12.12 → backlog
Fathi Boudra (fboudra)
Changed in linaro-android:
milestone: backlog → none
assignee: Amit Pundir (pundiramit) → nobody
status: In Progress → Triaged
Revision history for this message
vishal (vishalbhoj) wrote :

origen is no more supported.

Changed in linaro-android:
status: Triaged → 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.