FORUMS

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week’s feature has been written by forum … more

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

Modem kernel panic help

85 posts
Thanks Meter: 15
 
By enigma99a, Member on 1st March 2014, 11:44 PM
Post Reply Subscribe to Thread Email Thread
Hi, I am trying to get the latest version of CM KitKat to allow modem resets, but instead I get rebooting. Can anyone make heads or tails from the following crash? Also, it works fine in older roms, and the second output shows that it handles the reset fine without rebooting.


[ 436.254661] SMSM: Modem SMSM state changed to SMSM_RESET.
[ 436.260521] Notify: start reset
[ 436.260552] Probable fatal error on the modem.
[ 436.260552] modem subsystem failure reason: (unknown, smem_get_entry failed).
[ 436.260552] subsys-restart: subsystem_restart_dev(): Restart sequence requested for modem, restart_level = 1.
[ 436.260582] Kernel panic - not syncing: subsys-restart: Resetting the SoC - modem crashed.
[ 436.260613] [<c0013d84>] (unwind_backtrace+0x0/0xe0) from [<c0741084>] (panic+0x88/0x1f8)
[ 436.260613] [<c0741084>] (panic+0x88/0x1f8) from [<c0050844>] (subsystem_restart_dev+0xf8/0x124)
[ 436.260643] [<c0050844>] (subsystem_restart_dev+0xf8/0x124) from [<c0051928>] (restart_modem+0xa0/0xd4)
[ 436.260674] [<c0051928>] (restart_modem+0xa0/0xd4) from [<c002ff28>] (notify_smsm_cb_clients_worker+0xa4/0x1c4)
[ 436.260674] [<c002ff28>] (notify_smsm_cb_clients_worker+0xa4/0x1c4) from [<c0086314>] (process_one_work+0x22c/0x428)
[ 436.260704] [<c0086314>] (process_one_work+0x22c/0x428) from [<c00866d8>] (worker_thread+0x19c/0x2bc)
[ 436.260704] [<c00866d8>] (worker_thread+0x19c/0x2bc) from [<c008ad08>] (kthread+0x84/0x94)
[ 436.260735] [<c008ad08>] (kthread+0x84/0x94) from [<c000e9e4>] (kernel_thread_exit+0x0/0x8)
[ 436.366030] CPU0: stopping
[ 436.368777] [<c0013d84>] (unwind_backtrace+0x0/0xe0) from [<c0012e0c>] (handle_IPI+0x100/0x1cc)
[ 436.377414] [<c0012e0c>] (handle_IPI+0x100/0x1cc) from [<c0008670>] (gic_handle_irq+0xa8/0xb4)
[ 436.386052] [<c0008670>] (gic_handle_irq+0xa8/0xb4) from [<c000db00>] (__irq_svc+0x40/0x70)
[ 436.394384] Exception stack(0xec939e48 to 0xec939e90)
[ 436.399359] 9e40: c0c7ff38 373cff38 00205b3e 00000000 00000001 0000000f
[ 436.407569] 9e60: 00000029 00000003 c0c7ff54 00000003 c0b61970 60000113 00000000 ec939e90
[ 436.415717] 9e80: c006ec50 c006f128 60000113 ffffffff
[ 436.420723] [<c000db00>] (__irq_svc+0x40/0x70) from [<c006f128>] (vprintk+0x3a8/0x420)
[ 436.428658] [<c006f128>] (vprintk+0x3a8/0x420) from [<c074120c>] (printk+0x18/0x24)
[ 436.436319] [<c074120c>] (printk+0x18/0x24) from [<c0020e24>] (modem_notifier_test_call+0x3c/0x54)
[ 436.445200] [<c0020e24>] (modem_notifier_test_call+0x3c/0x54) from [<c0090270>] (notifier_call_chain+0x38/0x68)
[ 436.455333] [<c0090270>] (notifier_call_chain+0x38/0x68) from [<c0090304>] (__srcu_notifier_call_chain+0x40/0x58)
[ 436.465557] [<c0090304>] (__srcu_notifier_call_chain+0x40/0x58) from [<c0090330>] (srcu_notifier_call_chain+0x14/0x18)
[ 436.476239] [<c0090330>] (srcu_notifier_call_chain+0x14/0x18) from [<c0086314>] (process_one_work+0x22c/0x428)
[ 436.486220] [<c0086314>] (process_one_work+0x22c/0x428) from [<c00866d8>] (worker_thread+0x19c/0x2bc)
[ 436.495406] [<c00866d8>] (worker_thread+0x19c/0x2bc) from [<c008ad08>] (kthread+0x84/0x94)
[ 436.503677] [<c008ad08>] (kthread+0x84/0x94) from [<c000e9e4>] (kernel_thread_exit+0x0/0x8)
[ 436.612147] Rebooting in 5 seconds..
[ 441.616511] Going down for restart now
[ 441.619471] msm_restart : clear reset flag


Here is the same thing in a working rom.

<3>[ 166.851182] SMSM: Modem SMSM state changed to SMSM_RESET.
<3>[ 166.851396] Notify: start reset
<3>[ 166.851518] Modem SMSM state changed to SMSM_RESET.
<3>[ 166.851518] Probable err_fatal on the modem. Calling subsystem restart...
<6>[ 166.851670] subsys-restart: subsystem_restart(): Restart sequence requested for modem, restart_level = 3.
<6>[ 166.851762] subsys-restart: subsystem_restart_thread(): [d9091b00]: Shutting down modem
<3>[ 166.882038] unvote_dfab: dfab is already off
<4>[ 166.882038] [<c010eb68>] (unwind_backtrace+0x0/0x108) from [<c0122658>] (unvote_dfab+0xa4/0xcc)
<4>[ 166.882069] [<c0122658>] (unvote_dfab+0xa4/0xcc) from [<c0123318>] (bam_dmux_smsm_cb+0x134/0x748)
<4>[ 166.882069] [<c0123318>] (bam_dmux_smsm_cb+0x134/0x748) from [<c0129900>] (notify_smsm_cb_clients_worker+0x10c/0x254)
<4>[ 166.882099] [<c0129900>] (notify_smsm_cb_clients_worker+0x10c/0x254) from [<c018ed7c>] (process_one_work+0x14c/0x444)
<4>[ 166.882099] [<c018ed7c>] (process_one_work+0x14c/0x444) from [<c018f3ac>] (worker_thread+0x174/0x37c)
<4>[ 166.882130] [<c018f3ac>] (worker_thread+0x174/0x37c) from [<c0193dcc>] (kthread+0x88/0x90)
<4>[ 166.882130] [<c0193dcc>] (kthread+0x88/0x90) from [<c0108f70>] (kernel_thread_exit+0x0/0x8)
<3>[ 166.882221] release_wakelock: bam_dmux wakelock not locked
<4>[ 166.882252] [<c010eb68>] (unwind_backtrace+0x0/0x108) from [<c012090c>] (release_wakelock+0xc0/0xec)
<4>[ 166.882252] [<c012090c>] (release_wakelock+0xc0/0xec) from [<c0129900>] (notify_smsm_cb_clients_worker+0x10c/0x254)
<4>[ 166.882282] [<c0129900>] (notify_smsm_cb_clients_worker+0x10c/0x254) from [<c018ed7c>] (process_one_work+0x14c/0x444)
<4>[ 166.882282] [<c018ed7c>] (process_one_work+0x14c/0x444) from [<c018f3ac>] (worker_thread+0x174/0x37c)
<4>[ 166.882282] [<c018f3ac>] (worker_thread+0x174/0x37c) from [<c0193dcc>] (kthread+0x88/0x90)
<4>[ 166.882313] [<c0193dcc>] (kthread+0x88/0x90) from [<c0108f70>] (kernel_thread_exit+0x0/0x8)
<3>[ 166.882588] ch_notify: smd closed
<3>[ 166.882588] ch_notify: smd closed
<3>[ 166.882618] ch_notify: smd closed
<3>[ 166.882618] ch_notify: smd closed
<3>[ 166.882618] ch_notify: smd closed
<3>[ 166.882618] ch_notify: smd closed
<3>[ 166.882649] ch_notify: smd closed
<3>[ 166.882649] ch_notify: smd closed
<6>[ 166.882649] diag: clean modem registration
<6>[ 166.886311] subsys-restart: subsystem_restart_thread(): [d9091b00]: Powering up modem
<7>[ 166.886311] load_image: load modem_fw.mdt image
<6>[ 167.219807] pil_qdsp6v4 pil_qdsp6v4.1: brought out of reset
<7>[ 167.220479] load_image: load modem.mdt image
<6>[ 168.853898] bl_level:40,cd:2:Candela:40 aid_change:1
<6>[ 169.392156] pil_qdsp6v4 pil_qdsp6v4.2: brought out of reset
<6>[ 169.393224] subsys-restart: subsystem_restart_thread(): [d9091b00]: Restart sequence for modem completed.
<3>[ 170.125438] Notify: smsm init
<6>[ 171.607202] diag: incomplete pkt on Modem CNTL ch
<6>[ 171.632565] diag: event mask not set yet, so no update
<6>[ 172.412513] sps:REVISION of BAM 0xe5b14000 is 0x5.
<3>[ 175.133770] handle_bam_mux_cmd: dropping invalid LCID 10 reserved 0 cmd 4 pad 0 ch 10 len 0
<3>[ 175.133862] handle_bam_mux_cmd: dropping invalid LCID 11 reserved 0 cmd 4 pad 0 ch 11 len 0
<6>[ 175.473401] pm8921_enable_batt_therm: [pm8921] enable Vref_batt_therm
<6>[ 175.983122] pm8921_enable_batt_therm: [pm8921] disable Vref_batt_therm
<6>[ 175.983122] sec_bat_monitor_work: battery check is present (1 time )
<6>[ 175.984800] [battery] level(99), vcell(4346250), therm(248)
<6>[ 175.984800] [battery] cable_type(1), chg_status(1), health(1)
<6>[ 175.984800] [battery] timeout_chgstp(0), chg_enabled(1), rechg_status(0)
 
 
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes