For various reasons I had to boot up ICS on gem5 today. I ran into a problem where service manager among others exiting during the boot process, causing the kernel to crash. The console didn't come up because that service also exited. Also, if you add a logcat service to init.rc, logcat also exits. If this sounds like your problem, I figured out what the cause is. Note, the same kernel worked fine for Jellybean. I'm not sure why, but ICS depends on a 1GB/3GB kernel/user virtual memory space split. The fix below adjusts the kernel/user split and the page offset accordingly.
I just thought I'd let everyone know since the question has been posed several times on the mailing list. Small caveat, I tested the fix in a different (faster) environment, it translates to gem5 well in my experience. Cheers, Chander Fix to kernel .config: -# CONFIG_VMSPLIT_3G is not set -CONFIG_VMSPLIT_2G=y +CONFIG_VMSPLIT_3G=y +# CONFIG_VMSPLIT_2G is not set # CONFIG_VMSPLIT_1G is not set -CONFIG_PAGE_OFFSET=0x80000000 +CONFIG_PAGE_OFFSET=0xC0000000 Source: https://bugs.launchpad.net/linaro-landing-team-freescale/+bug/878764 http://irclogs.linaro.org/2011/10/22/%23linaro-android.txt Error: [ 2.435786] init: untracked pid 1757 exited [ 2.436825] init: untracked pid 1759 exited [ 2.438773] init: untracked pid 1766 exited [ 2.439022] init: untracked pid 1767 exited [ 2.445471] init: untracked pid 1753 exited [ 7.453276] init: untracked pid 1780 exited [ 7.456292] init: untracked pid 1787 exited [ 12.465260] init: untracked pid 1800 exited [ 12.468267] init: untracked pid 1807 exited [ 17.477230] init: untracked pid 1820 exited [ 17.480242] init: untracked pid 1827 exited [ 22.489193] init: untracked pid 1840 exited [ 22.491469] init: critical process 'servicemanager' exited 4 times in 4 minutes; rebooting into recovery mode ... Other posts: http://article.gmane.org/gmane.comp.emulators.m5.users/13480/match=servicemanager http://article.gmane.org/gmane.comp.emulators.m5.users/13319/match=servicemanager http://article.gmane.org/gmane.comp.emulators.m5.users/10461/match=servicemanager -- 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. _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users