Hi,
I am trying to port android to MSM7225. I start the framework manually
by running the init program once kernel boots. The service manager
process seem to die repeatedly. Anyone observed this behavior before?
Here are the init logs with log level set to 6:
# ./init
init: cannot open '/initlogo.rle'
init: command 'loglevel' r=0
init: command 'export' r=0
init: command 'export' r=0
init: command 'export' r=0
init: command 'export' r=0
init: command 'export' r=0
init: command 'export' r=0
init: command 'export' r=0
init: command 'export' r=0
init: command 'symlink' r=-1
init: command 'mkdir' r=0
init: command 'mkdir' r=0
init: command 'mkdir' r=0
init: command 'mount' r=0
init: command 'write' r=0
init: command 'write' r=0
init: command 'write' r=0
init: command 'write' r=0
init: command 'write' r=0
init: command 'symlink' r=-1
init: command 'chown' r=0
init: command 'chmod' r=0
init: command 'mkdir' r=0
init: command 'chmod' r=0
init: command 'chown' r=0
init: command 'chmod' r=0
init: command 'chown' r=-2
init: command 'chmod' r=-2
init: command 'mkdir' r=-17
init: command 'mkdir' r=-17
init: command 'mkdir' r=-17
init: command 'mkdir' r=-17
init: command 'mkdir' r=0
init: command 'mkdir' r=-17
init: command 'mkdir' r=-17
init: command 'mkdir' r=-17
init: command 'mkdir' r=-17
init: command 'chown' r=0
init: command 'chmod' r=0
init: command 'mkdir' r=-17
init: command 'mkdir' r=0
init: command 'chown' r=0
init: command 'chmod' r=0
init: command 'chown' r=0
init: command 'chmod' r=0
init: Created socket '/dev/socket/property_service' with mode '666',
user '0', g
roup '0'
init: processing action 0x249a8 (boot)
init: command 'ifup' r=0
init: command 'hostname' r=0
init: command 'domainname' r=0
init: command 'setrlimit' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'write' r=-1
init: command 'write' r=0
init: command 'write' r=-1
init: command 'write' r=0
init: command 'chown' r=0
init: command 'chown' r=0
init: command 'chown' r=0
init: command 'chown' r=0
init: command 'chown' r=0
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=-2
init: command 'chown' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: starting 'console'
init: starting 'servicemanager'
init: starting 'mountd'
init: starting 'debuggerd'
init: Created socket '/dev/socket/mountd' with mode '660', user '0',
group '1009
'
init: starting 'ril-daemon'
init: Created socket '/dev/socket/rild-debug' with mode '660', user
'1001', grou
p '1000'
init: starting 'zygote'
init: Created socket '/dev/socket/zygote' with mode '666', user '0',
group '0'
init: Created socket '/dev/socket/rild' with mode '660', user '0',
group '1001'
init: starting 'media'
init: starting 'dbus'
init: Created socket '/dev/socket/dbus' with mode '660', user '1002',
group '100
2'
init: starting 'installd'
init: Created socket '/dev/socket/installd' with mode '600', user
'1000', group
'1000'
init: starting 'flash_recovery'
init: command 'class_start' r=0
init: waitpid returned pid 901, status = 00007f00
init: process 'servicemanager', pid 901 exited
init: process 'servicemanager' killing any children in process group
init: service 'zygote' is being killed
init: starting 'zygote'
init: Created socket '/dev/socket/zygote' with mode '666', user '0',
group '0'
init: service 'media' is being killed
init: starting 'media'
init: waitpid returned pid 909, status = 0000000f
init: untracked pid 909 exited
init: waitpid returned pid 911, status = 00007f00
init: untracked pid 911 exited
init: waitpid returned pid 913, status = 00007f00
init: process 'dbus', pid 913 exited
init: process 'dbus' killing any children in process group
init: waitpid returned pid 923, status = 00007f00
init: process 'media', pid 923 exited
init: process 'media' killing any children in process group
init: event { 'add', '/devices/virtual/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'add', '/devices/virtual/vc/vcsa1', 'vc', '', 7, 129 }
init: event { 'remove', '/devices/virtual/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'remove', '/devices/virtual/vc/vcsa1', 'vc', '', 7,
129 }
init: event { 'add', '/devices/virtual/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'add', '/devices/virtual/vc/vcsa1', 'vc', '', 7, 129 }
init: event { 'remove', '/devices/virtual/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'remove', '/devices/virtual/vc/vcsa1', 'vc', '', 7,
129 }
init: event { 'add', '/devices/virtual/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'add', '/devices/virtual/vc/vcsa1', 'vc', '', 7, 129 }
init: event { 'remove', '/devices/virtual/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'remove', '/devices/virtual/vc/vcsa1', 'vc', '', 7,
129 }
init: event { 'add', '/kernel/uids/1000', 'uids', '', -1, -1 }
init: event { 'add', '/kernel/uids/1013', 'uids', '', -1, -1 }
init: event { 'add', '/kernel/uids/1002', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1000', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1002', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1013', 'uids', '', -1, -1 }
sh: can't access tty; job control turned off
# init: waitpid returned pid 917, status = 00000000
init: process 'flash_recovery', pid 917 exited
init: starting 'servicemanager'
init: starting 'media'
init: starting 'dbus'
init: Created socket '/dev/socket/dbus' with mode '660', user '1002',
group '100
2'
init: waitpid returned pid 1069, status = 00007f00
init: process 'servicemanager', pid 1069 exited
init: process 'servicemanager' killing any children in process group
init: service 'zygote' is being killed
init: starting 'zygote'
init: Created socket '/dev/socket/zygote' with mode '666', user '0',
group '0'
init: service 'media' is being killed
init: starting 'media'
init: waitpid returned pid 921, status = 0000000f
init: untracked pid 921 exited
init: waitpid returned pid 1071, status = 00007f00
init: untracked pid 1071 exited
init: waitpid returned pid 1072, status = 00007f00
init: process 'dbus', pid 1072 exited
init: process 'dbus' killing any children in process group
app_process used greatest stack depth: 4896 bytes left
init: waitpid returned pid 1077, status = 00007f00
init: process 'media', pid 1077 exited
init: process 'media' killing any children in process group
init: event { 'add', '/kernel/uids/1000', 'uids', '', -1, -1 }
init: event { 'add', '/kernel/uids/1013', 'uids', '', -1, -1 }
init: event { 'add', '/kernel/uids/1002', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1000', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1002', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1013', 'uids', '', -1, -1 }
init: starting 'servicemanager'
init: starting 'media'
init: starting 'dbus'
init: Created socket '/dev/socket/dbus' with mode '660', user '1002',
group '100
2'
init: waitpid returned pid 1082, status = 00007f00
init: process 'servicemanager', pid 1082 exited
init: process 'servicemanager' killing any children in process group
init: service 'zygote' is being killed
init: starting 'zygote'
init: Created socket '/dev/socket/zygote' with mode '666', user '0',
group '0'
init: service 'media' is being killed
init: starting 'media'
init: waitpid returned pid 1076, status = 0000000f
init: untracked pid 1076 exited
app_process used greatest stack depth: 4812 bytes left
init: waitpid returned pid 1084, status = 00007f00
init: untracked pid 1084 exited
init: waitpid returned pid 1086, status = 00007f00
init: process 'dbus', pid 1086 exited
init: process 'dbus' killing any children in process group
init: waitpid returned pid 1090, status = 00007f00
init: process 'media', pid 1090 exited
init: process 'media' killing any children in process group
init: event { 'add', '/kernel/uids/1000', 'uids', '', -1, -1 }
init: event { 'add', '/kernel/uids/1013', 'uids', '', -1, -1 }
init: event { 'add', '/kernel/uids/1002', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1000', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1002', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1013', 'uids', '', -1, -1 }
init: starting 'servicemanager'
init: starting 'media'
init: starting 'dbus'
init: Created socket '/dev/socket/dbus' with mode '660', user '1002',
group '100
2'
init: waitpid returned pid 1095, status = 00007f00
init: process 'servicemanager', pid 1095 exited
init: process 'servicemanager' killing any children in process group
init: service 'zygote' is being killed
init: starting 'zygote'
init: Created socket '/dev/socket/zygote' with mode '666', user '0',
group '0'
init: service 'media' is being killed
init: starting 'media'
init: waitpid returned pid 1089, status = 0000000f
init: untracked pid 1089 exited
init: waitpid returned pid 1097, status = 00007f00
init: untracked pid 1097 exited
init: waitpid returned pid 1099, status = 00007f00
init: process 'dbus', pid 1099 exited
init: process 'dbus' killing any children in process group
init: waitpid returned pid 1103, status = 00007f00
init: process 'media', pid 1103 exited
init: process 'media' killing any children in process group
init: event { 'add', '/kernel/uids/1000', 'uids', '', -1, -1 }
init: event { 'add', '/kernel/uids/1013', 'uids', '', -1, -1 }
init: event { 'add', '/kernel/uids/1002', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1000', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1002', 'uids', '', -1, -1 }
init: event { 'remove', '/kernel/uids/1013', 'uids', '', -1, -1 }
init: starting 'servicemanager'
init: starting 'media'
init: starting 'dbus'
init: Created socket '/dev/socket/dbus' with mode '660', user '1002',
group '100
2'
init: waitpid returned pid 1108, status = 00007f00
init: process 'servicemanager', pid 1108 exited
init: process 'servicemanager' killing any children in process group
init: critical process 'servicemanager' exited 4 times in 4 minutes;
rebooting into recovery mode
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---