Dear friends,

I try port android 2.2 to imx233 platform, my kernel is 2.6.31
now I can run init of android, but it just stay display char
"android",
and keystore reboot all time as follow info:
//////////////////////////////////////////////////////////////////////////////////////////////
init: waitpid returned pid 743, status = 00000100
init: process 'keystore', pid 743 exited
init: process 'keystore' killing any children in process group
init: starting 'keystore'
init: Created socket '/dev/socket/keystore' with mode '666', user '0',
group '0'
init: waitpid returned pid 744, status = 00000100
init: process 'keystore', pid 744 exited
init: process 'keystore' killing any children in process group
/////////////////////////////////////////////////////////////////////////////////////////////

and when I use logcat,it get the follow info:
//////////////////////////////////////////////////////////////////////////////////////////////
I/DEBUG   (  711): debuggerd: Jul 28 2011 19:39:04
I/Netd    (  710): Netd 1.0 starting
E/keystore(  717): chdir: /data/misc/keystore: Permission denied
I/Vold    (  709): Vold 2.1 (the revenge) firing up
D/Vold    (  709): Volume sdcard state changing -1 (Initializing) -> 0
(No-Media)
W/Vold    (  709): No UMS switch available
E/keystore(  722): chdir: /data/misc/keystore: Permission denied
E/keystore(  741): chdir: /data/misc/keystore: Permission denied
init: waitpid returned pid 743, status = 00000100
init: process 'keystore', pid 743 exited
init: process 'keystore' killing any children in process group
E/keystore(  743): chdir: /data/misc/keystore: Permission denied
init: starting 'keystore'
init: Created socket '/dev/socket/keystore' with mode '666', user '0',
group '0'
init: waitpid returned pid 744, status = 00000100
init: process 'keystore', pid 744 exited
init: process 'keystore' killing any children in process group
E/keystore(  744): chdir: /data/misc/keystore: Permission denied
D/AndroidRuntime(  713):
D/AndroidRuntime(  713): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime(  713): CheckJNI is ON
init: starting 'keystore'
init: Created socket '/dev/socket/keystore' with mode '666', user '0',
group '0'
init: waitpid returned pid 745, status = 00000100
init: process 'keystore', pid 745 exited
init: process 'keystore' killing any children in process group
E/keystore(  745): chdir: /data/misc/keystore: Permission denied
D/dalvikvm(  713): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm(  713): Stale deps in cache file; removing and retrying
init: starting 'keystore'
init: Created socket '/dev/socket/keystore' with mode '666', user '0',
group '0'
init: waitpid returned pid 746, status = 00000100
E/keystore(  746init: process 'keystore', pid 746 exited
): chdir: /data/init: process 'keystore' killing any children in
process group
misc/keystore: Permission denied
init: starting 'keystore'
init: Created socket '/dev/socket/keystore' with mode '666', user '0',
group '0'
init: waitpid returned pid 747, status = 00000100
init: process 'keystore', pid 747 exited
init: process 'keystore' killing any children in process group
E/keystore(  747): chdir: /data/misc/keystore: Permission denied
init: starting 'keystore'
init: Created socket '/dev/socket/keystore' with mode '666', user '0',
group '0'
I/        (  714): ServiceManager: 0xacd0
W/AudioHardwareInterface(  714): Using stubbed audio hardware. No
sound will be produced.
D/AudioHardwareInterface(  714): setMode(NORMAL)
I/CameraService(  714): CameraService started: pid=714
I/AudioFlinger(  714): AudioFlinger's thread 0xb390 ready to run
init: waitpid returned pid 748, status = 00000100
E/keystore(  748init: process 'keystore', pid 748 exited
): chdir: /data/init: process 'keystore' killing any children in
process group
misc/keystore: Permission deniedinit: starting 'keystore'
 
//////////////////////////////////////////////////////////////////////////////////////////////


I checked init.rc, some of it have the follow:
mkdir /data/misc/keystore 0777 keystore keystore

service keystore /system/bin/keystore /data/misc/keystore
    user keystore
    group keystore
    socket keystore stream 666

I'm puzzled why keystore have no priviage to chdir /data/misc/keystore
by the way, in command line, I can use command : chdir /data/misc/
keystore to enter the directory.


anyone can help me?

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to