[Nexus 5 Original Android Development] big_adventure:
JNewms likely beat me to this, but your phone is setting max CPU to 3ghz just after boot. It's not too surprising that you are locking up at some point. My phone does not do this. I rebooted and exported the kernel log just to compare line-by-line with yours. Yours sets to 1.5, then 3, then 1.5, then 3 again. Maybe a thermal problem?

Here are the relavent messages:

[ 30.340862] msm_thermal: Setting cpu0 max frequency to 1497600

[ 30.341137] msm_thermal: Setting cpu1 max frequency to 1497600

[ 30.341320] msm_thermal: Setting cpu2 max frequency to 1497600

[ 30.341390] msm_thermal: Setting cpu3 max frequency to 1497600

[ 30.589845] msm_thermal: Setting cpu0 max frequency to 3014400

[ 30.589928] msm_thermal: Setting cpu1 max frequency to 3014400

[ 30.590052] msm_thermal: Setting cpu2 max frequency to 3014400

[ 30.590126] msm_thermal: Setting cpu3 max frequency to 3014400

[ 32.839894] msm_thermal: Setting cpu0 max frequency to 1497600

[ 32.839953] msm_thermal: Setting cpu1 max frequency to 1497600

[ 32.840036] msm_thermal: Setting cpu2 max frequency to 1497600

[ 32.841067] msm_thermal: Setting cpu3 max frequency to 1497600

[ 33.089803] msm_thermal: Setting cpu0 max frequency to 3014400

[ 33.089877] msm_thermal: Setting cpu1 max frequency to 3014400

[ 33.089985] msm_thermal: Setting cpu2 max frequency to 3014400

[ 33.090063] msm_thermal: Setting cpu3 max frequency to 3014400

[ 35.490285] NOHZ: local_softirq_pending 200

[ 35.490613] NOHZ: local_softirq_pending 200

[ 35.491204] NOHZ: local_softirq_pending 200

[ 57.720575] init: untracked pid 1546 exited

[ 57.839965] msm_thermal: Setting cpu0 max frequency to 1497600

[ 57.840160] msm_thermal: Setting cpu1 max frequency to 1497600

[ 57.840309] msm_thermal: Setting cpu2 max frequency to 1497600

[ 57.841296] msm_thermal: Setting cpu3 max frequency to 1497600

[ 58.089984] msm_thermal: Setting cpu0 max frequency to 3014400

[ 58.090164] msm_thermal: Setting cpu1 max frequency to 3014400

[ 58.090270] msm_thermal: Setting cpu2 max frequency to 3014400

[ 58.090442] msm_thermal: Setting cpu3 max frequency to 3014400

[ 58.499806] EXT4-fs (mmcblk0p25): re-mounted. Opts: (null)

[ 58.503823] EXT4-fs (mmcblk0p25): re-mounted. Opts: (null)

[ 58.508110] EXT4-fs (mmcblk0p25): re-mounted. Opts: (null)

[ 58.546825] EXT4-fs (mmcblk0p25): re-mounted. Opts: (null)

[ 58.553531] EXT4-fs (mmcblk0p25): re-mounted. Opts: (null)

[ 58.556859] EXT4-fs (mmcblk0p25): re-mounted. Opts: (null)

[ 58.590008] msm_thermal: Setting cpu0 max frequency to 1497600

[ 58.590228] msm_thermal: Setting cpu1 max frequency to 1497600

[ 58.590356] msm_thermal: Setting cpu2 max frequency to 1497600

[ 58.590803] msm_thermal: Setting cpu3 max frequency to 1497600

[ 59.589894] msm_thermal: Setting cpu0 max frequency to 3014400

[ 59.590015] msm_thermal: Setting cpu1 max frequency to 3014400

[ 59.590081] msm_thermal: Setting cpu2 max frequency to 3014400

[ 59.590197] msm_thermal: Setting cpu3 max frequency to 3014400

[ 59.840088] msm_thermal: Setting cpu0 max frequency to 1497600

[ 59.840286] msm_thermal: Setting cpu1 max frequency to 1497600

[ 59.840499] msm_thermal: Setting cpu2 max frequency to 1497600

[ 59.841047] msm_thermal: Setting cpu3 max frequency to 1497600

[ 60.589819] msm_thermal: Setting cpu0 max frequency to 3014400

[ 60.589897] msm_thermal: Setting cpu1 max frequency to 3014400

[ 60.590007] msm_thermal: Setting cpu2 max frequency to 3014400

[ 60.590070] msm_thermal: Setting cpu3 max frequency to 3014400

For info, I run with load_thresh 0 and 1.574ghz max clock.

---------- Post added at 12:39 PM ---------- Previous post was at 12:35 PM ----------

I've only checked Matoesc's so far, I'll look at the other one as well.

---------- Post added at 12:41 PM ---------- Previous post was at 12:39 PM ----------

Yup, very clear in the other log:

[18787.424217] cpu-boost: cpu-boost:Invalid load: 130

There are a number of errors like this.

Hang on a second - this log is from r39, and looking at Franco's commits for r40, he specifically put in some code to address this error.

From Git :

return NOTIFY_OK;

if (load_based_syncs && ((mnd->load < 0) || (mnd->load > 100))) {

-	pr_err("cpu-boost:Invalid load: %d\n", mnd->load);

+	pr_debug("cpu-boost:Invalid load: %d\n", mnd->load);

return NOTIFY_OK;

}