Could not stat dex cache directory '/data/dalvik-cache': No such file or directory

2,897 views
Skip to first unread message

Mamatha K

unread,
Apr 25, 2012, 3:42:51 AM4/25/12
to android-porting

Dear All,
Kindly help me in the below issue.

I use sdcard to boot android on blaze.
When I boot android the below issue is seen.



logcat
D/AndroidRuntime( 114): >>>>>> AndroidRuntime START
com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 114): CheckJNI is OFF
I/SurfaceFlinger( 113): SurfaceFlinger is starting
I/SurfaceFlinger( 113): SurfaceFlinger's main thread ready to run.
Initializing graphics H/W...
E/dalvikvm( 114): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm( 114): Unable to open or create cache for /system/
framework/core.jar (/data/dalvik-cache/
system@framework@core...@classes.dex)
D/dalvikvm( 114): Unable to pr[ 23.368774] init: untracked pid 209
exited
ocess classpath element '/system/framework/core.jar'
I/ ( 116): ServiceManager: 0x913958
I/AudioFlinger( 116): Loaded primary audio interface from Default
audio HW HAL (audio)
I/AudioFlinger( 116): Using 'Default audio HW HAL' (audio.primary) as
the primary audio interface
E/dalvikvm( 114): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm( 114): Unable to open or create cache for /system/
framework/core-junit.jar (/data/dalvik-cache/system@framework@core-
juni...@classes.dex)
D/dalvikvm( 114): Unable to process classpath element '/system/
framework/core-junit.jar'
I/AudioFlinger( 116): Loaded a2dp audio interface from A2DP Audio HW
HAL (audio)
I/CameraService( 116): CameraService started (pid=116)
E/FramebufferNativeWindow( 113): couldn't open framebuffer HAL (Not a
typewriter)
E/FramebufferNativeWindow( 113): couldn't open gralloc HAL (Not a
typewriter)
E/SurfaceFlinger( 113): Display subsystem failed to initialize. check
logs. exiting...
E/dalvikvm( 114): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm( 114): Unable to open or create cache for /system/
framework/bouncycastle.jar (/data/dalvik-cache/
system@framework@bouncyca...@classes.dex)
D/DOMX ( 116): hardware/ti/domx/omx_core/src/OMX_Core.c:250
OMX_GetHandle()
D/DOMX ( 116): ERROR: Can't open misc driver device 0xd
D/DOMX ( 116):
D/DOMX ( 116): hardware/ti/domx/domx/omx_rpc/src/omx_rpc.c:
140 RPC_InstanceInit()
D/DOMX ( 116): ERROR: Can't open device, errorno from open = 13
D/DOMX ( 116): hardware/ti/domx/domx/omx_rpc/src/omx_rpc_stub.c:
200 RPC_GetHandle()
D/DOMX ( 116): ERROR: DOMX Write failed 0xffffffff -1
D/DOMX ( 116): hardware/ti/domx/domx/omx_rpc/src/omx_rpc_stub.c:
200 RPC_GetHandle()
D/DOMX ( 116): ERROR: failed check:status >= 0 && errno != ENXIO -
returning error: 0x81009 - Write failed due ducati in faulty state
D/DOMX ( 116): hardware/ti/domx/domx/omx_proxy_common/src/
omx_proxy_common.c:1993 OMX_ProxyCommonInit()
D/DOMX ( 116): ERROR: RPC function returned error 0x81009
D/DOMX ( 116): hardware/ti/domx/domx/omx_proxy_common/src/
omx_proxy_common.c:1993 OMX_ProxyCommonInit()
D/DOMX ( 116): ERROR: failed check:(eError == OMX_ErrorNone) -
returning error: 0x80001009 - Error returned from OMX API in ducati
D/DOMX ( 116): hardware/ti/domx/domx/omx_rpc/src/omx_rpc.c:
261 RPC_InstanceDeInit()
D/DOMX ( 116): ERROR: Close failed on omx fd
D/DOMX ( 116): hardware/ti/domx/omx_proxy_component/omx_camera/src/
omx_proxy_camera.c:451 OMX_ComponentInit()
D/DOMX ( 116): ERROR: ror in Initializing Proxy
E/CameraHal( 116): (400ea488) hardware/ti/omap4xxx/camera/
OMXCameraAdapter/OMXCameraAdapter.cpp:3632 OMXCameraGetHandle -
OMX_GetHandle() failed, error: 9
D/AndroidRuntime( 146):
D/AndroidRuntime( 146): >>>>>> AndroidRuntime START
com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 146): CheckJNI is OFF
E/dalvikvm( 146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm( 146): Unable to open or create cache for /system/
framework/core.jar (/data/dalvik-cache/
system@framework@core...@classes.dex)
D/dalvikvm( 146): Unable to process classpath element '/system/
framework/core.jar'
E/dalvikvm( 146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm( 146): Unable to open or create cache for /system/
framework/core-junit.jar (/data/dalvik-cache/system@framework@core-
juni...@classes.dex)
D/dalvikvm( 146): Unable to process classpath element '/system/
framework/core-junit.jar'
E/dalvikvm( 146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm( 146): Unable to open or create cache for /system/
framework/bouncycastle.jar (/data/dalvik-cache/
system@framework@bouncyca...@classes.dex)
D/dalvikvm( 146): Unable to process classpath element '/system/
framework/bouncycastle.jar'
E/dalvikvm( 146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm( 146): Unable to open or create cache for /system/
framework/ext.jar (/data/dalvik-cache/
system@framework@ext...@classes.dex)
D/dalvikvm( 146): Unable to process classpath element '/system/
framework/ext.jar'
E/dalvikvm( 146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm( 146): U[ 23.868103] request_suspend_state: wakeup (0-
>0) at 23863922121 (2000-01-01 00:00:18.161346436 UTC)
nable to open or create cache for /system/framew[ 23.883422] init:
untracked pid 185 exited
ork/framework.ja[ 23.889068] init: untracked pid 184 exited
r (/data/dalvik-cache/system@framework@framew...@classes.dex)
D/dalvikvm( 146): Unable to process classpath element '/system/
framework/framework.jar'
E/dalvikvm( 146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm( 146): Unable to open or create cache for /system/
framework/android.policy.jar (/data/dalvik-cache/
system@framework@android.policy.jar@classes.d)
D/dalvikvm( 146): Unable to process classpath element '/system/
framework/android.policy.jar'
E/dalvikvm( 146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm( 146): Unable to open or create cache for /system/
framework/services.jar (/data/dalvik-cache/
system@framework@servic...@classes.dex)
D/dalvikvm( 146): Unable to process classpath element '/system/
framework/services.jar'
E/dalvikvm( 146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm( 146): Unable to open or create cache for /system/
framework/apache-xml.jar (/data/dalvik-cache/system@framework@apache-
xml...@classes.dex)
D/dalvikvm( 146): Unable to process classpath element '/system/
framework/apache-xml.jar'

Thanks and Regards,
Mamatha K

aulty

unread,
May 22, 2012, 5:57:26 AM5/22/12
to android...@googlegroups.com
Is /data mounted?


On Wednesday, April 25, 2012 8:42:51 AM UTC+1, Mamatha K wrote:

Dear All,
   Kindly help me in the below issue.

I use sdcard to boot android on blaze.
When I boot android the below issue is seen.



logcat
D/AndroidRuntime(  114): >>>>>> AndroidRuntime START
com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime(  114): CheckJNI is OFF
I/SurfaceFlinger(  113): SurfaceFlinger is starting
I/SurfaceFlinger(  113): SurfaceFlinger's main thread ready to run.
Initializing graphics H/W...
E/dalvikvm(  114): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm(  114): Unable to open or create cache for /system/
framework/core.jar (/data/dalvik-cache/
system@framework@core.jar@classes.dex)
system@framework@bouncycastle.j...@classes.dex)
system@framework@core.jar@classes.dex)
D/dalvikvm(  146): Unable to process classpath element '/system/
framework/core.jar'
E/dalvikvm(  146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm(  146): Unable to open or create cache for /system/
framework/core-junit.jar (/data/dalvik-cache/system@framework@core-
juni...@classes.dex)
D/dalvikvm(  146): Unable to process classpath element '/system/
framework/core-junit.jar'
E/dalvikvm(  146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm(  146): Unable to open or create cache for /system/
framework/bouncycastle.jar (/data/dalvik-cache/
system@framework@bouncycastle.j...@classes.dex)
D/dalvikvm(  146): Unable to process classpath element '/system/
framework/bouncycastle.jar'
E/dalvikvm(  146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm(  146): Unable to open or create cache for /system/
framework/ext.jar (/data/dalvik-cache/
system@framework@ext.jar@classes.dex)
D/dalvikvm(  146): Unable to process classpath element '/system/
framework/ext.jar'
E/dalvikvm(  146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm(  146): U[   23.868103] request_suspend_state: wakeup (0-
>0) at 23863922121 (2000-01-01 00:00:18.161346436 UTC)
nable to open or create cache for /system/framew[   23.883422] init:
untracked pid 185 exited
ork/framework.ja[   23.889068] init: untracked pid 184 exited
r (/data/dalvik-cache/system@fram...@framework.jar@classes.dex)
D/dalvikvm(  146): Unable to process classpath element '/system/
framework/framework.jar'
E/dalvikvm(  146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm(  146): Unable to open or create cache for /system/
framework/android.policy.jar (/data/dalvik-cache/
system@framework@android.policy.jar@classes.d)
D/dalvikvm(  146): Unable to process classpath element '/system/
framework/android.policy.jar'
E/dalvikvm(  146): Could not stat dex cache directory '/data/dalvik-
cache': No such file or directory
I/dalvikvm(  146): Unable to open or create cache for /system/
framework/services.jar (/data/dalvik-cache/
system@framework@services.jar@classes.dex)

Hyukmin Kwon

unread,
Jun 22, 2012, 5:04:04 AM6/22/12
to holger...@googlemail.com, android...@googlegroups.com

Q

On Jun 22, 2012 3:10 PM, "Holger Schurig" <holger...@googlemail.com> wrote:
Is there  a best way to mount /data ?

Sure. Mount it writable :-)

/data needs to be writable. So in case of ARM android, it needs to one some writable MTD partition. Or in case of Android-X86, it needs to be a normal hard disk partition. It could also be on some other media, SD-Card, CF-Card, usb-stick, whatever.

The Android-XL "generic_x86" targets for example creates an ISO image of a bootable CD. There /data is a tmpfs.

Once /data is writable, the code in /init.rc (and some android programs by themselfes) create the needed directories with the right permissions.

--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting
Reply all
Reply to author
Forward
0 new messages