Android random phone crash.

75 views
Skip to first unread message

Markus Moeller

unread,
Jan 30, 2015, 4:15:20 PM1/30/15
to android...@googlegroups.com, android-...@googlegroups.com
Hi

I have a Sony Xperia Tip ST1i2 with the following code
http://dl-developer.sonymobile.com/code/copylefts/11.0.A.6.8.tar.bz2 . My
phone crashes randomly with the following kmsg:

last_kmsg:[19684.169744] MODEM/AMSS has CRASHED
last_kmsg:[19684.171346] smem: CRASH LOG
last_kmsg_20141020_203910:[ 3975.740889] MODEM/AMSS has CRASHED
last_kmsg_20141020_203910:[ 3975.743296] smem: CRASH LOG
last_kmsg_20141020_204652:[ 457.308564] MODEM/AMSS has CRASHED
last_kmsg_20141020_204652:[ 457.310906] smem: CRASH LOG
last_kmsg_20141022_200959:[ 175.245271] MODEM/AMSS has CRASHED
last_kmsg_20141022_200959:[ 175.246874] smem: CRASH LOG
last_kmsg_20141022_210403:[ 3240.274854] MODEM/AMSS has CRASHED
last_kmsg_20141022_210403:[ 3240.277208] smem: CRASH LOG
last_kmsg_20141023_000910:[ 8689.648700] MODEM/AMSS has CRASHED
last_kmsg_20141023_000910:[ 8689.648700] smem: CRASH LOG
last_kmsg_20141024_213831:[ 4787.512319] MODEM/AMSS has CRASHED
last_kmsg_20141024_213831:[ 4787.514711] smem: CRASH LOG
..

This is in kernel/arch/arm/mach-msm/smd.c but I can not figure what creates
this problem ? Is it a misbehaving app or a HW issue.

Has anybody an idea what to look for ?

Thank you
Markus



Abdul Haseeb

unread,
Jan 30, 2015, 5:38:58 PM1/30/15
to android...@googlegroups.com, android-...@googlegroups.com

This is a Modem crash.
Check smemlog

--
--
unsubscribe: android-kernel+unsubscribe@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-kernel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Markus Moeller

unread,
Jan 31, 2015, 9:15:01 AM1/31/15
to android...@googlegroups.com, android-...@googlegroups.com
Ok I see the following files:
 
ls -ltr
total 112
-rw-r--r-- 1 markus users     8 Jan 28 07:25 smem_log_static_index_01.bin
-rw-r--r-- 1 markus users  3000 Jan 28 07:25 smem_log_static_events_01.bin
-rw-r--r-- 1 markus users     8 Jan 28 07:25 smem_log_power_index_01.bin
-rw-r--r-- 1 markus users 40000 Jan 28 07:25 smem_log_power_events_01.bin
-rw-r--r-- 1 markus users     8 Jan 28 07:25 smem_log_index_01.bin
-rw-r--r-- 1 markus users 40000 Jan 28 07:25 smem_log_events_01.bin
-rw-r--r-- 1 markus users    37 Jan 28 07:25 modem_oemdbg_0_log.txt
-rw-r--r-- 1 markus users 11173 Jan 28 07:25 modem_err_data_index01_log00.txt
 
I can only read  modem_err_data_index01_log00.txt which contains:
 
ERR crash log report.  Version 2.
 
Error in file COMP:PFault , line 0
Time of crash (m-d-y h:m:s): 01-28-2015 7:25:12
Uptime (h:m:s): 6:03:01
Build ID: 76XXU-USNSKOLYM-2045
 
REX_TCB ptr: 0x2f13fd38
tcb.task_name: COMP
Register values from rex_core:
  ARM_SVC_R0 : 0x00000000
  ARM_SVC_R1 : 0xe0105400
  ARM_SVC_R2 : 0x00000003
  ARM_SVC_R3 : 0x00000000
  ARM_SVC_R4 : 0x2ecd695c
  ARM_SVC_R5 : 0x2ecd3348
  ARM_SVC_R6 : 0x00000000
  ARM_SVC_R7 : 0x2ecd695c
  ARM_SVC_R8 : 0x00000000
  ARM_SVC_R9 : 0x00000000
ARM_SVC_R10 : 0x00000000
ARM_SVC_R11 : 0x00000000
ARM_SVC_R12 : 0xa0000000
  ARM_SVC_SP : 0x00000000
  ARM_SVC_LR : 0x00000000
ARM_SVC_SPSR : 0x00000000
  ARM_SVC_PC : 0x2dab0f1a
  ARM_SYS_SP : 0x2f143eb0
  ARM_SYS_LR : 0x2dab0ef5
  ARM_IRQ_SP : 0x00000000
  ARM_IRQ_LR : 0x00000000
ARM_IRQ_SPSR : 0x00000000
  ARM_ABT_SP : 0x00000000
  ARM_ABT_LR : 0x00000000
ARM_ABT_SPSR : 0x00000000
  ARM_UDF_SP : 0x00000000
  ARM_UDF_LR : 0x00000000
ARM_UDF_SPSR : 0x00000000
  ARM_FIQ_R8 : 0x00000000
  ARM_FIQ_R9 : 0x00000000
ARM_FIQ_R10 : 0x00000000
ARM_FIQ_R11 : 0x00000000
ARM_FIQ_R12 : 0x00000000
  ARM_FIQ_SP : 0x00000000
  ARM_FIQ_LR : 0x00000000
ARM_FIQ_SPSR : 0x00000000
  ARM_JVA_SP : 0x00000000
  ARM_JVA_LR : 0x00000000
ARM_JVA_SPSR : 0x00000000
    ARM_CPSR : 0x20000030
 
How can I analyse the binary files ?
 
Thank you
Markus
 
 
"Abdul Haseeb" <abdulvt...@gmail.com> wrote in message news:CAFn-_-=Nc-u0N7coJcsdSsCXVbHT...@mail.gmail.com...

website: http://groups.google.com/group/android-kernel
---
You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-kerne...@googlegroups.com.

Abdul Haseeb

unread,
Feb 1, 2015, 12:44:18 PM2/1/15
to android...@googlegroups.com, android-...@googlegroups.com

You need to have an extractor or parsar to read smem.
Try to check if you can load dump in Trace32 Simulator.

Markus Moeller

unread,
Feb 1, 2015, 6:29:42 PM2/1/15
to android...@googlegroups.com, android-...@googlegroups.com
Hi Abdul,
 
   I installed the trace32 arm simulator from http://www.lauterbach.com which I assume you meant ( Sorry I am new to this).  I can load the binary as dump file and see the hex/ascii content. But what can I do with this.
 
Thank you
Markus
 
 
"Abdul Haseeb" <abdulvt...@gmail.com> wrote in message news:CAFn-_-=rAVCDyHT3=r=qPFgPBqd57xQiyN...@mail.gmail.com...

website: http://groups.google.com/group/android-kernel
---
You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-kerne...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

website: http://groups.google.com/group/android-kernel
---
You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-kerne...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages