So I think this issue may be Android kernel related, because we seem
to be the only ones hitting it. This seems to imply that there's a
kernel change we don't have or the kernel has changed in our newer
versions. The symptom is:
W/SchedPolicy( 1193): add_tid_to_cgroup failed to write '1263'
(Permission denied); policy=1
W/ActivityManager( 1193): Failed setting process group of 1263 to -1
W/System.err( 1193): java.lang.SecurityException: No permission to set
to given group
W/System.err( 1193): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:13516)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:13636)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.updateLruProcessLocked(ActivityManagerService.java:1903)
W/System.err( 1193): at
com.android.server.am.ActiveServices.realStartServiceLocked(ActiveServices.java:1089)
W/System.err( 1193): at
com.android.server.am.ActiveServices.attachApplicationLocked(ActiveServices.java:1472)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.attachApplicationLocked(ActivityManagerService.java:4269)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.attachApplication(ActivityManagerService.java:4317)
W/System.err( 1193): at
android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:386)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1675)
W/System.err( 1193): at android.os.Binder.execTransact(Binder.java:351)
W/System.err( 1193): at dalvik.system.NativeStart.run(Native Method)
Looking back at top:
I have:
1193 0 0% S 70 548684K 42168K fg system system_server
1263 0 0% S 13 476904K 36216K fg u0_a27 com.android.systemui
so system_server is attempting to write com.android.systemui and its
getting an error. The relevant native function seems to be:
/workspace/androids/4_juice-aosp/system/core/libcutils/sched_policy.c
I saw that Tixy also hit this,
https://bugs.launchpad.net/linaro-landing-team-arm/+bug/1037611
..but that the bug never got assigned, etc...
I tried setting:
chmod 0660 /dev/cpuctl/tasks
to
chmod 0666 /dev/cpuctl/tasks
but didn't see any difference.
This change from the Android automerger, seems to be related:
https://android.googlesource.com/platform/system/core/+/d7562ee3d61504ba5d2…
I also found what appears to be a workaround:
https://android.googlesource.com/platform/frameworks/native/+/f30fd01497a53…
Looking at additional logs I see what looks like an attempt to put the
process that needs to get changed into the right group:
W/System.err( 1192): java.lang.SecurityException: No permission to set
to given group
W/System.err( 1192): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:13516)
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:13636)
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.updateLruProcessLocked(ActivityManagerService.java:1903)
W/System.err( 1192): at
com.android.server.am.ActiveServices.realStartServiceLocked(ActiveServices.java:1089)
W/System.err( 1192): at
com.android.server.am.ActiveServices.attachApplicationLocked(ActiveServices.java:1472)
W/SchedPolicy( 1192): add_tid_to_cgroup failed to write '1268'
(Permission denied); policy=1
W/ActivityManager( 1192): Failed setting process group of 1268 to -1
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.attachApplicationLocked(ActivityManagerService.java:4269)
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.attachApplication(ActivityManagerService.java:4317)
W/System.err( 1192): at
android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:386)
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1675)
W/System.err( 1192): at android.os.Binder.execTransact(Binder.java:351)
W/System.err( 1192): at dalvik.system.NativeStart.run(Native Method)
1192 0 0% S 71 549636K 42460K fg system system_server
1268 0 0% S 14 477920K 36224K fg u0_a27 com.android.systemui
>From these logs I think system_server is trying to put
com.android.systemui into the bg because its using a lot of CPU, but
it can't because it either doesn't have access or something else is
going on.
Anyhow, attached some logs from a first boot scenario.
Any help or insight would be great.
--
Zach Pfeffer
Android Platform Team Lead, Linaro Platform Teams
Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linarohttp://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
Hi,
The agenda has been posted for tomorrow's meeting:
https://wiki.linaro.org/Platform/Android/Meetings/2013-01-23
Please update your weekly status and also go through the agenda and feel
free to update agenda items.
Can all volunteers go through the Howtos and update them for the builds.
Please update the BPs for the 13.01 cycle.
Regards,
Vishal
Hi.
I followed the documentation on
https://android-build.linaro.org/builds/~linaro-android/imx53-ics-gcc47-fre…
on Ubuntu 10.04 x86_64 LTS. I of course had to install gcc-4.7 first, but
that was easy to find on the Internet.
My problem it seems is some lines like the following (for libgcc_s.so and
libgcc.a too):
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so when searching for -lstdc++
It ends in:
make: ***
[out/host/linux-x86/obj/EXECUTABLES/fs_get_stats_intermediates/fs_get_stats]
Error 1
make: *** Waiting for unfinished jobs....
make: ***
[out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs] Error 1
The last line before the /usr/bin/ld lines and the make -lines is:
target StaticLib: liblog
(out/target/product/iMX53/obj/STATIC_LIBRARIES/liblog_intermediates/liblog.a)
Btw. I also tried the binaries from
http://releases.linaro.org/images/12.03/android/imx53-ics-gcc46-freescalelt…,
but I didn't get it to boot with the LCD screen. I tried to do manually
from uboot the same as the boot.scr script does, but I didn't get the
screen anyway.
Sp1
Hi all,
We have been working on unifying the tracking-origen and tracking-vexpress
android manifests into one. The last bits and pieces went in last week and
I was finally able to update the official builds this weekend.
There are some changes you should be aware of:
- tracking.xml introduced which supports both devices
- kernel and u-boot are now located under kernel/linaro/<device> and
u-boot/linaro/device
- tracking.xml uses repo groups to enable synching of only those gits
needed for either device (more on this below)
I will push a patch to remove the old manifests today. We hope to move more
devices to this format going forward.
To use the repo groups support use the -g flag when you do repo init.
$ repo init -u ... -b ... -m tracking.xml -g "group1, group2,..."
There are currently 3 groups you need to be aware of:
1. common, all gits which are common
2. origen, all gits which are specific for origen
3. vexpress, all gits which are specific for vexpress
Getting the vexpress code (for instance):
$ repo init -u ... -b ... -m tracking.xml -g "common,vexpress"
A REPO_GROUPS build config parameter has been introduced to
android-build.linaro, both the official builds are using it.
Regards,
Axel
Hi Guys
I was told the only way Android ADB can connect to the RTSM is using the ADB that is built/paired with the same build running on RTSM.
I am trying to run Linaro ICS 12.12 on different versions of the RTSM but all of them give me "device offline".
It is proving a bit difficult so I am wondering if anyone has been able to do this, and I like to know which versions of ADB
or SDK works?
I have tried the few methods that are described on Linaro web pages including ADBHOST=<...> but they are not working.
Thanks
Ramin
------------------------------
Ramin Zaghi
Software Engineer
Processor Division / PDCS
------------------------------
ARM Ltd.
110 Fulbourn Road
Cambridge
CB1 9NJ, UK
------------------------------
Tel: +44 1223 406347
[Extn 22347]
------------------------------
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Hi,
I am about to integrate the hwpack support into our android builds.
Currently the configs are hosted at :
https://github.com/MiloCasagrande/android-hwpacks
There are 2 ways to integrate them:
1. Include the git in all the manifest and specify the right hwpack in
device.mk and copy it to boot directory from common code.
2. Commit individual configs to each of the board specific repository like
device/linaro/origen, specify the same in device.mk and copy it to boot
directory from common code.
The advantage of second approach is that we don't need to maintain one more
repository and the config will be maintained closely to the device.
Regards,
Vishal
Calendar Week 3, 2013: Here is test result summary for Linaro android
Linaro android on following board:
[1] TI Panda board 4430
[2] TI Panda board 4460
[3] Samsung origen board.
[4]ARM v-express A9.
synopsis: after board bootup on panda4460 the primary display on HDMI
colour and graphics is inverted (refer to the bug:) ont the other hand
panda 4430 boot test is fail ( ) Samsung origen Linaro android no major
difference is observed compare to the last build test.
[1] TI Panda 4460 Linaro android [column :AA]
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadGVWd…
After board bootup Primary-vid out on HDMI colour and graphics is distorted
in this build,[refer to the bug: 1082124]
audio test PASS, glmark2 test fail,powertop-test fail, suspend-resume test
fail, BT enable failed from UI, speech recorder crashes, wifi failed to
connect, powertop failed on panda 4460.
[2] TI Panda 4430 Linaro android [column :Y]
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadGVWd…
Boot test failed for this image, please refer to the spreadsheet and bug
for detais.
[3] Samsung Origen Linaro Android [column: Q]
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadDRDV…
no major difference or no new bug raise as compare to the last builds.
youtube and audio bug fixed. please refer to the spreadsheet for details.
[4] ARM vexpress A9 Linaro android [column: v]
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadExQd…
no major difference or no new bug raise compare to the last build test.
suspend-resume failed, playback of youtube video is failed. adb-over usb
doesnt work. please refer to the spreadsheet.
Thanks & Regards
Soumya Basak