[Moto G Android Development] wskelly:
Bootloops w/ September builds

Hi Quarx,

I just wanted to mention, I think I saw one other person posted here the same issue, that I get bootloops with your most recent builds, pretty much anything in September. I built your ROM myself and also, I get bootloops around the "bootloader unlocked" screen.

I went back to this commit for the kernel:

wskellenger@marquette ~/cm11/kernel/motorola/kernel-moto-g $ git rev-parse HEAD
8d8a246a22f25aea323700d26f92e1e8dac7c68c

...and it boots. Later today I might try to figure out where things went wrong.

A kernel log from a non-booting kernel (I took several, they were all similar w/ a watchdog timeout):

[ 6.032571,1] asoc: snd-soc-dummy-dai <-> HDMI_HOSTLESS mapping ok
[ 6.033250,1] asoc: msm-stub-rx <-> msm-dai-q6-auxpcm.1 mapping ok
[ 6.033911,1] asoc: msm-stub-tx <-> msm-dai-q6-auxpcm.1 mapping ok
[ 6.034460,1] asoc: msm-stub-tx <-> msm-dai-q6-dev.32772 mapping ok
[ 6.035063,1] asoc: msm-stub-tx <-> msm-dai-q6-dev.32771 mapping ok
[ 6.035424,2] warning: `batt_health' uses 32-bit capabilities (legacy support in use)
[ 6.035615,1] asoc: msm-stub-rx <-> msm-dai-q6-dev.32773 mapping ok
[ 6.036267,1] asoc: msm-stub-rx <-> msm-dai-q6-dev.32770 mapping ok
[ 6.040170,0] msm_audrx_init:tpa6165 hs det mechanism is used
[ 6.040546,0] asoc: tapan9302_rx1 <-> msm-dai-q6-dev.16384 mapping ok
[ 6.044912,0] asoc: tapan9302_tx1 <-> msm-dai-q6-dev.16385 mapping ok
[ 6.045623,0] asoc: tapan9302_rx1 <-> msm-dai-q6-dev.16386 mapping ok
[ 6.046130,0] asoc: tapan9302_tx1 <-> msm-dai-q6-dev.16387 mapping ok
[ 6.046682,0] asoc: tapan9302_rx1 <-> msm-dai-q6-dev.16390 mapping ok
[ 6.047197,0] asoc: tapan9302_tx1 <-> msm-dai-q6-dev.16391 mapping ok
[ 6.047731,0] asoc: tapan9302_rx1 <-> msm-dai-q6-dev.16392 mapping ok
[ 6.048157,0] asoc: tapan9302_tx1 <-> msm-dai-q6-dev.16393 mapping ok
[ 6.048519,0] asoc: tapan9302_tx1 <-> msm-dai-q6-dev.16395 mapping ok
[ 6.050199,0] input: msm8226-tapan9302-snd-card Button Jack as /devices/sound-9302.43/sound/card0/input6
[ 6.052059,2] input: msm8226-tapan9302-snd-card Headset Jack as /devices/sound-9302.43/sound/card0/input7
[ 6.064520,3] init: Detected MSM SOC ID=158 SOC VER=0 BOARD TYPE=Unknown
[ 6.069025,0] EXT4-fs (mmcblk0p34): re-mounted. Opts: (null)
[ 6.073006,0] msm8226-asoc-tapan sound-9302.43: Looking up qcom, cdc-lineout-spkr-gpios property in node /soc/sound-9302 failed -22
[ 6.073228,0] msm8226-asoc-tapan sound-9302.43: Looking up fih, cdc-lineout-topspkr-gpios property in node /soc/sound-9302 failed -22
[ 6.073445,0] msm8226-asoc-tapan sound-9302.43: Looking up fih, cdc-lineout-botspkr-gpios property in node /soc/sound-9302 failed -22
[ 6.073652,0] msm8226-asoc-tapan sound-9302.43: Looking up fih,cdc-spk-rcv-sel-gpios property in node /soc/sound-9302 failed -22
[ 6.073871,0] msm8226-asoc-tapan sound-9302.43: msm8226_setup_hs_jack: Failed to request tapan us-euro gpio -22
[ 6.074982,0] msm8226-asoc-tapan sound.42: msm8226_prepare_codec_mclk: Failed to request tapan mclk gpio 440
[ 6.075248,0] msm8226-asoc-tapan: probe of sound.42 failed with error -16
[ 6.086355,0] EXT4-fs (mmcblk0p34): re-mounted. Opts: (null)
[ 6.086416,1] init: failed to open '/sys/class/graphics/fb1/msm_fb_type'
[ 6.086449,1] init: failed to open '/sys/class/graphics/fb2/msm_fb_type'
[ 6.086730,1] init: property 'persist.sys.ssr.enable_debug' doesn't exist while expanding '${persist.sys.ssr.enable_debug}'
[ 6.086753,1] init: cannot expand '${persist.sys.ssr.enable_debug}' while writing to '/sys/module/subsystem_restart/parameters/enable_debug'
[ 6.370999,1] SELinux: Context u:object_r:modem_file:s0 is not valid (left unmapped).
[ 7.694391,1] healthd: wakealarm_init: timerfd_create failed
[ 7.779751,0] 'opened /dev/adsprpc-smd c 246 0'
[ 7.814846,1] pil-q6v5-mss fc880000.qcom,mss: mba: loading from 0x0c300000 to 0x0c33a000
[ 7.815528,3] init: service 'console' requires console
[ 7.816361,3] fs_mgr: Unable to open zram conf device /sys/block/zram0/disksize
[ 7.924668,1] pil-q6v5-mss fc880000.qcom,mss: mba: Brought out of reset
[ 7.956004,3] init: cannot find '/system/bin/ssr_diag', disabling 'ssr_diag'
[ 7.957653,3] init: cannot find '/system/bin/gsiff_daemon', disabling 'gsiff_daemon'
[ 7.960759,1] pil-q6v5-mss fc880000.qcom,mss: modem: loading from 0x08400000 to 0x0c300000
[ 7.961343,2] pil_pronto fb21b000.qcom,pronto: wcnss: loading from 0x0d200000 to 0x0d801000
[ 7.962355,2] init: cannot find '/system/bin/dropboxd', disabling 'dropboxd'
[ 7.963929,2] init: cannot find '/system/bin/subsystem_ramdump', disabling 'ss_rdump'
[ 7.964377,2] init: service 'console' requires console
[ 7.978169,0] wcnss_wlan triggered by userspace
[ 8.224697,0] pil_pronto fb21b000.qcom,pronto: wcnss: Brought out of reset
[ 8.440618,1] pil_pronto fb21b000.qcom,pronto: wcnss: Power/Clock ready interrupt received
[ 8.540364,0] pil_pronto fb21b000.qcom,pronto: Subsystem error monitoring/handling services are up
[ 8.544204,3] diag: In diag_send_msg_mask_update, invalid status 0
[ 8.544389,3] diag: In diag_send_log_mask_update, invalid status 0
[ 8.563578,0] wcnss: user cal written
[ 8.650508,3] refuse: /data/media already refused
[ 8.650711,3] refuse: conversion completed successfully
[ 8.656771,0] wcnss_wlan_ctrl_probe: SMD ctrl channel up
[ 8.657283,0] wcnss: version 01050102
[ 8.657423,0] wcnss: schedule dnld work for pronto
[ 8.657619,0] wcnss: cal download, using user cal
[ 8.657798,0] wcnss: no space available for smd frame
[ 8.658968,3] enable_store: android_usb: trying to disable
[ 8.659135,3] enable_store: android_usb: already disabled
[ 8.681843,0] wcnss: no space available for smd frame
[ 8.711864,0] wcnss: NV download
[ 8.764665,2] QSEECOM: qseecom_load_app: App (keymaster) does'nt exist, loading apps for first time
[ 8.798841,0] wcnss: NV bin size: 29812, total_fragments: 10
[ 8.799083,0] wcnss: no space available for smd frame
[ 8.812866,2] QSEECOM: qseecom_load_app: App with id 2 (keymaster) now loaded
[ 8.824732,0] wcnss: no space available for smd frame
[ 8.851791,0] wcnss: no space available for smd frame
[ 8.881770,0] wcnss: no space available for smd frame
[ 9.176383,0] APR: Wrong parameters
[ 9.176487,0] adm_get_params: Failed to Get Params on port 16385
[ 9.179444,0] msm_routing_get_rms_value_control: get parameters failed
[ 9.267306,0] voice_get_idx_for_session: Invalid session_id : 0
[ 9.281941,0] voice_get_idx_for_session: Invalid session_id : 0
[ 24.159171,0] Watchdog bark! Now = 24.159165
[ 24.159334,0] Watchdog last pet at 0.119822
[ 24.159418,0] cpu alive mask from last pet
[ 24.159566,0] Causing a watchdog bite!sc_status: 0x5 0x5 0x5 0x3
CPU0: was in non-secure world.
CPU0: some other core experienced a watchdog timeout.
CPU1: was in non-secure world.
CPU1: some other core experienced a watchdog timeout.
CPU2: was in non-secure world.
CPU2: some other core experienced a watchdog timeout.
CPU3: was in non-secure world.
CPU3: experienced a watchdog timeout.
wdt_sts: 0x00000003 0x00000003 0x00000003 0x00000001
CPU0 nsec
r12: 1f688148 r11: 3b9aca00 r10: 00000000 r9 : 000003e8 r8 : f4e13800
r7 : 00000000 r6 : 072459a7 r5 : 00004aff r4 : f2521984
r3 : 00000000 r2 : 1f688148 r1 : 00000000 r0 : 00000000
MON:	lr : c010afd0 spsr: a0000193
SVC:	lr : c010b110 sp : f2521968 spsr : 20000013
IRQ:	lr : c0105700 sp : c0fda840 spsr : 20000193
ABT:	lr : c0105880 sp : c0fda84c spsr : 20070193
UND:	lr : c0105920 sp : c0fda858 spsr : 600f0093
FIQ:	lr : 401479fd sp : 0ff7d000 spsr : 4d05909b
r12: 0000597e r11: dd8fd57b r10: 753a0040 r9 : d3dd5fbc r8 : 08005ffc
USR:	lr : b6d4acdd sp : becb8680
CPU1 nsec
r12: 00000004 r11: c10ec7c8 r10: 00000188 r9 : c10ec9d0 r8 : c10ec7c8
r7 : c1072a04 r6 : c019a9fc r5 : 00000000 r4 : 00000001
r3 : 00000001 r2 : fa002000 r1 : 00000000 r0 : c1b80bc0
MON:	lr : c01c03a0 spsr: 20000013
SVC:	lr : c01c0d28 sp : f26afde8 spsr : 20000013
IRQ:	lr : c0105700 sp : c0fda880 spsr : 20000193
ABT:	lr : c0105880 sp : c0fda88c spsr : a0070193
UND:	lr : c0105920 sp : c0fda898 spsr : 600d0093
FIQ:	lr : 00000000 sp : 00000000 spsr : 69023459
r12: 00000000 r11: 00000000 r10: 00000000 r9 : 00000000 r8 : 00000000
USR:	lr : b6facf37 sp : beb8a950
CPU2 nsec
r12: 00000004 r11: 00000004 r10: 00000004 r9 : c10adbc0 r8 : 00000001
r7 : 00000002 r6 : c10a9210 r5 : 00000000 r4 : c0201010
r3 : 00000001 r2 : fa002000 r1 : 00000000 r0 : c1b88bc0
MON:	lr : c01c03a0 spsr: 20000013
SVC:	lr : c01c0e30 sp : f2555ca8 spsr : 20000013
IRQ:	lr : c0105700 sp : c0fda8c0 spsr : 20000193
ABT:	lr : c0105880 sp : c0fda8cc spsr : 800f0193
UND:	lr : c0105920 sp : c0fda8d8 spsr : 200e0093
FIQ:	lr : 00000000 sp : 00000000 spsr : 050521d3
r12: 00000000 r11: 00000000 r10: 00000000 r9 : 00000000 r8 : 00000000
USR:	lr : b6f55f37 sp : bee138d8
CPU3 nsec
r12: f42d9681 r11: 0003895c r10: f4301208 r9 : c0a40fc8 r8 : f4d27f88
r7 : 00000001 r6 : c0f72cd0 r5 : 60030013 r4 : c0f72cd0
r3 : 00000000 r2 : 00000001 r1 : 00009680 r0 : f42d9681
MON:	lr : c09bf48c spsr: 80000093
SVC:	lr : c01a48f4 sp : f4d27ee0 spsr : 20030010
IRQ:	lr : c01058c0 sp : c0fda900 spsr : 80000193
ABT:	lr : c0105aa0 sp : c0fda90c spsr : 600d0193
UND:	lr : c0105920 sp : c0fda918 spsr : 600d0093
FIQ:	lr : 00000000 sp : 00000000 spsr : 610a59c2
r12: 00000000 r11: 00000000 r10: 00000000 r9 : 00000000 r8 : 00000000
USR:	lr : 000081dd sp : be843d50
sec
r12: 00000000 r11: 00000000 r10: 00000000 r9 : 00000000 r8 : 00000000
r7 : 00000000 r6 : 00000000 r5 : 00000000 r4 : 00000000
r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : 00000000
MON:	lr : 00000000 spsr: 00000000
SVC:	lr : 00000000 sp : 00000000 spsr : 00000000
IRQ:	lr : 00000000 sp : 00000000 spsr : 00000000
ABT:	lr : 00000000 sp : 00000000 spsr : 00000000
UND:	lr : 00000000 sp : 00000000 spsr : 00000000
FIQ:	lr : 00000000 sp : 00000000 spsr : 00000000
r12: 00000000 r11: 00000000 r10: 00000000 r9 : 00000000 r8 : 00000000
USR:	lr : 00000000 sp : 00000000
msm_wdt_ctx: linux dump buffer mismatch.
Expected: sig 0x77647473, ver 0x00010003 size 0x0000b000
Found: sig 0x77647473, ver 0x00010003 size 0x0000a000

PREV
Linux version 3.4.42-AeroKernel-g71c7fa9 (wskellenger@marquette) (gcc version 4.7 (GCC) ) #2 SMP PREEMPT Sat Sep 6 13:08:58 EDT 2014

THIS
ABOOT.GIT = MBM-NG-V41.05-0-gf4ab363
TZ.GIT = MBM-NG-V41.05-0-g11658be
RPM.GIT = MBM-NG-V41.05-0-g4018bbe
SBL1.GIT = MBM-NG-V41.05-0-g6863770
SDI.GIT = MBM-NG-V41.05-0-gac19e15
Linux version 3.4.81-g8998c82-08734-g3a4ef34 (dhacker29@loki) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Mon Mar 3 01:37:23 CET 2014
RAM: Hynix, S4 SDRAM, 1024 MB, MR5:0x06, MR6:0x02, MR7:0x00, MR8:0x18
socinfo: id=158, ver=2.0, raw_id=2048, raw_ver=1, hw_plat=0, hw_plat_ver=0, hw_plat_subtype=0

No errors detected

#############
Current Boot info:
POWERUPREASON: 0x00008000
console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 vmalloc=400M utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags androidboot.write_protect=0 zcache androidboot.selinux=permissive androidboot.emmc=true androidboot.serialno=TA91900OPB androidboot.baseband=msm androidboot.mode=normal androidboot.device=falcon androidboot.hwrev=0x83C0 androidboot.radio=0x6 androidboot.powerup_reason=0x00008000 bootreason=watchdog androidboot.write_protect=0 restart.download_mode=0 androidboot.fsg-id= androidboot.secure_hardware=1 androidboot.cid=0x9

Boot info:
Last boot reason: watchdog
wskellenger@marquette ~ $