What RAM are you talking about the VRAM the normal RAM what ? On Monday, June 27, 2011 6:42:19 AM UTC+3, Footballer wrote: > > It's really a RAM issue. It is caused by the wrong configuration of > the RAM size. > > Thank very much for your help, > Ka Leung > > > > On Jun 22, 4:03 pm, extrapedestrian <extra.pedestr...@gmail.com> > wrote: > > doesn't seem like SurfaceFlinger problem.. you have > > > > System server: starting Android runtime. > > > > and after that all is shutting down. > > > > Do you have enough RAM and disk space? > > is android fs mounted to /system ? > > > > On Jun 22, 6:35 am, Liu Xin <navy.x...@gmail.com> wrote: > > > > > i don't know your platform. So just suggest you to try bootanimation > first. > > > it's a flashing text of "androd". > > > further, you may "logcat SurfaceFlinger:V *:E" to filter out > irrelevant > > > logs. > > > > > --lx > > > > > On Tue, Jun 21, 2011 at 4:26 PM, Footballer <kaleung1...@gmail.com> > wrote: > > > > Hello everyone, > > > > > > I am newbie of Android and have some experience in Linux porting. I > am > > > > now trying to port the android to a proprietary processor which is > > > > running Linux on top of it. After I ported all the driver from the > > > > kernel I used to use to the kernel from Android 2.3.2 gingerbread > and > > > > compiled the Android file system, I booted up the Android with NFS > > > > root file system. The logcat showed that the "service > 'sensorservice' > > > > died" and "service 'SurfaceFlinger' died". But I don't know where I > > > > can start trace the code. Anyone has similar experience could help > me. > > > > Thank you very much. Following is the logcat after the Android is > up: > > > > > > # logcat > > > > accessing /acct/uid/0/tasks > > > > cpuacct_add successfull > > > > --------- beginning of /dev/log/system > > > > I/Vold ( 33): Vold 2.1 (the revenge) firing up > > > > D/Vold ( 33): USB mass storage support is not enabled in the > > > > kernel > > > > D/Vold ( 33): usb_configuration switch is not enabled in the > > > > kernel > > > > --------- beginning of /dev/log/main > > > > I/Netd ( 34): Netd 1.0 starting > > > > D/AndroidRuntime( 36): > > > > D/AndroidRuntime( 36): >>>>>> AndroidRuntime START > > > > com.android.internal.os.ZygoteInit <<<<<< > > > > D/AndroidRuntime( 36): CheckJNI is ON > > > > I/ ( 37): ServiceManager: 0xcd50 > > > > W/AudioHardwareALSA( 37): Unable to attach mixer to device > > > > AndroidOut: Invalid argument > > > > E/AudioHardwareALSA( 37): Unable to attach mixer to device > default: > > > > No such file or directory > > > > W/AudioHardwareALSA( 37): Unable to attach mixer to device > > > > AndroidIn: Invalid argument > > > > E/AudioHardwareALSA( 37): Unable to attach mixer to device > default: > > > > No such file or directory > > > > W/AudioHardwareALSA( 37): ALSA Mixer is not valid. AudioFlinger > will > > > > do software volume control. > > > > W/AudioHardwareALSA( 37): ALSA Mixer is not valid. AudioFlinger > will > > > > do software volume control. > > > > I/CameraService( 37): CameraService started (pid=37) > > > > D/AudioHardwareALSA( 37): openOutputStream called for devices: > > > > 0x00000002 > > > > D/ALSAModule( 37): open called for devices 00000002 in mode 0... > > > > E/ALSALib ( 37): external/alsa-lib/src/pcm/pcm.c:2210: > > > > (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker_normal > > > > E/ALSALib ( 37): external/alsa-lib/src/pcm/pcm.c:2210: > > > > (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker > > > > E/ALSALib ( 37): external/alsa-lib/src/confmisc.c:136: > > > > (snd_config_get_bool) Invalid type for nonblock > > > > E/ALSALib ( 37): external/alsa-lib/src/pcm/pcm_hw.c:1395: > > > > (_snd_pcm_hw_open) Invalid type for card > > > > E/ALSALib ( 37): external/alsa-lib/src/confmisc.c:768:(parse_card) > > > > cannot find card '0' > > > > E/ALSALib ( 37): external/alsa-lib/src/conf.c:4154: > > > > (_snd_config_evaluate) function snd_func_card_driver returned error: > > > > No such file or directory > > > > E/ALSALib ( 37): external/alsa-lib/src/confmisc.c:392: > > > > (snd_func_concat) error evaluating strings > > > > E/ALSALib ( 37): external/alsa-lib/src/conf.c:4154: > > > > (_snd_config_evaluate) function snd_func_concat returned error: No > > > > such file or directory > > > > E/ALSALib ( 37): external/alsa-lib/src/confmisc.c:1251: > > > > (snd_func_refer) error evaluating name > > > > E/ALSALib ( 37): external/alsa-lib/src/conf.c:4154: > > > > (_snd_config_evaluate) function snd_func_refer returned error: No > such > > > > file or directory > > > > E/ALSALib ( 37): external/alsa-lib/src/conf.c:4633: > > > > (snd_config_expand) Evaluate error: No such file or directory > > > > E/ALSALib ( 37): external/alsa-lib/src/pcm/pcm.c:2210: > > > > (snd_pcm_open_noupdate) Unknown PCM default > > > > E/ALSAModule( 37): Failed to Initialize any ALSA PLAYBACK device: > > > > Unknown error: -2 > > > > E/AudioPolicyManagerBase( 37): Failed to initialize hardware > output > > > > stream, samplingRate: 0, format 0, channels 0 > > > > D/dalvikvm( 36): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) --- > > > > D/dalvikvm( 51): Ignoring duplicate verify attempt on Ljava/lang/ > > > > Object; > > > > D/dalvikvm( 51): Ignoring duplicate verify attempt on Ljava/lang/ > > > > Class; > > > > I/dalvikvm( 51): DexOpt: illegal method access (call Ljava/net/ > > > > InetSocketAddress;.getAddress ()Ljava/net/InetAddress; from > Ljava/net/ > > > > DatagramSocket;) > > > > I/dalvikvm( 51): DexOpt: illegal method access (call Ljava/net/ > > > > InetSocketAddress;.getAddress ()Ljava/net/InetAddress; from > Ljava/net/ > > > > ServerSocket;) > > > > I/dalvikvm( 51): DexOpt: illegal method access (call Ljava/net/ > > > > InetSocketAddress;.getAddress ()Ljava/net/InetAddress; from > Ljava/net/ > > > > ServerSocket;) > > > > D/dalvikvm( 51): DexOpt: unable to optimize virt call 0x110e at > 0x3c > > > > in Ljava/net/ServerSocket;.bind > > > > I/dalvikvm( 51): DexOpt: illegal method access (call Ljava/io/ > > > > FilePermission;.<init> (Ljava/lang/String;Ljava/lang/String;)V from > > > > Ljava/net/URLClassLoader;) > > > > I/dalvikvm( 51): DexOpt: illegal method access (call Ljava/io/ > > > > FilePermission;.<init> (Ljava/lang/String;Ljava/lang/String;)V from > > > > Lorg/apache/harmony/luni/internal/net/www/protocol/file/ > > > > FileURLConnection;) > > > > I/dalvikvm( 51): DexOpt: illegal method access (call Ljava/net/ > > > > InetSocketAddress;.getAddress ()Ljava/net/InetAddress; from Lorg/ > > > > apache/harmony/nio/internal/DatagramChannelImpl > > > > $DatagramSocketAdapter;) > > > > I/dalvikvm( 51): DexOpt: illegal method access (call Ljava/net/ > > > > InetSocketAddress;.getAddress ()Ljava/net/InetAddress; from Lorg/ > > > > apache/harmony/nio/internal/DatagramChannelImpl;) > > > > I/dalvikvm( 51): DexOpt: illegal method access (call > Ljava/security/ > > > > KeyStoreException;.<init> (Ljava/lang/Throwable;)V from Lorg/apache/ > > > > harmony/xnet/provider/jsse/KeyManagerFactoryImpl;) > > > > I/dalvikvm( 51): DexOpt: illegal method access (call > Ljava/security/ > > > > KeyStoreException;.<init> (Ljava/lang/Throwable;)V from Lorg/apache/ > > > > harmony/xnet/provider/jsse/TrustManagerFactoryImpl;) > > > > I/dalvikvm( 51): DexOpt: illegal method access (call Lorg/apache/ > > > > xalan/transformer/TransformerImpl;.executeChildTemplates > (Lorg/apache/ > > > > xalan/templates/ElemTemplateElement;Z)V from Lorg/apache/xalan/ > > > > templates/ElemFallback;) > > > > D/dalvikvm( 51): DexOpt: load 3370ms, verify+opt 45480ms > > > > D/dalvikvm( 36): DexOpt: --- END 'core.jar' (success) --- > > > > D/dalvikvm( 36): DEX prep '/system/framework/core.jar': unzip in > > > > 9360ms, rewrite 63080ms > > > > D/dalvikvm( 36): DexOpt: --- BEGIN 'bouncycastle.jar' > (bootstrap=1) > > > > --- > > > > I/dalvikvm( 53): DexOpt: illegal method access (call Lorg/ > > > > bouncycastle/jce/provider/JCEDigestUtil;.getOID (Ljava/lang/ > > > > String;)Lorg/bouncycastle/asn1/DERObjectIdentifier; from Lorg/ > > > > bouncycastle/jce/provider/JDKAlgorithmParameters$OAEP;) > > > > D/dalvikvm( 53): DexOpt: load 1910ms, verify+opt 8740ms > > > > D/dalvikvm( 36): DexOpt: --- END 'bouncycastle.jar' (success) --- > > > > D/dalvikvm( 36): DEX prep '/system/framework/bouncycastle.jar': > > > > unzip in 690ms, rewrite 14430ms > > > > D/dalvikvm( 36): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) --- > > > > D/dalvikvm( 54): DexOpt: load 3340ms, verify+opt 16390ms > > > > D/dalvikvm( 36): DexOpt: --- END 'ext.jar' (success) --- > > > > D/dalvikvm( 36): DEX prep '/system/framework/ext.jar': unzip in > > > > 1260ms, rewrite 25440ms > > > > D/dalvikvm( 36): DexOpt: --- BEGIN 'framework.jar' (bootstrap=1) > --- > > > > D/dalvikvm( 55): Note: class Landroid/opengl/GLWrapperBase; has > 211 > > > > unimplemented (abstract) methods > > > > I/dalvikvm( 55): DexOpt: illegal method access (call Landroid/ > > > > accounts/AccountManagerService$Session;.toDebugString (J)Ljava/lang/ > > > > String; from Landroid/accounts/AccountManagerService;) > > > > I/dalvikvm( 55): DexOpt: illegal method access (call > Landroid/widget/ > > > > TextView;.setMaxLines (I)V from Landroid/widget/TextView;) > > > > I/dalvikvm( 55): DexOpt: illegal method access (call > Landroid/widget/ > > > > TextView;.setMaxLines (I)V from Landroid/app/SuggestionsAdapter;) > > > > D/dalvikvm( 55): DexOpt: load 9660ms, verify+opt 76950ms > > > > D/dalvikvm( 36): DexOpt: --- END 'framework.jar' (success) --- > > > > D/dalvikvm( 36): DEX prep '/system/framework/framework.jar': unzip > > > > in 13500ms, rewrite 109370ms > > > > D/dalvikvm( 36): DexOpt: --- BEGIN > > > > 'android.policy.jar' (bootstrap=1) --- > > > > I/dalvikvm( 56): DexOpt: illegal method access (call Landroid/ > > > > graphics/Paint;.<init> ()V from Lcom/android/internal/policy/impl/ > > > > IconUtilities;) > > > > I/dalvikvm( 56): DexOpt: illegal method access (call Landroid/ > > > > graphics/Paint;.<init> ()V from Lcom/android/internal/policy/impl/ > > > > IconUtilities;) > > > > D/dalvikvm( 56): DexOpt: unable to opt direct call 0x008b at 0x11 > in > > > > Lcom/android/internal/policy/impl/IconUtilities;.<init> > > > > I/dalvikvm( 56): DexOpt: illegal method access (call Landroid/ > > > > graphics/Paint;.<init> ()V from Lcom/android/internal/policy/impl/ > > > > IconUtilities;) > > > > I/dalvikvm( 56): DexOpt: illegal method access (call Landroid/ > > > > graphics/Paint;.<init> ()V from Lcom/android/internal/policy/impl/ > > > > IconUtilities;) > > > > D/dalvikvm( 56): DexOpt: unable to opt direct call 0x008b at 0x18 > in > > > > ... > > > > read more ยป
-- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting