{"action":"created","issue":{"url":"https://api.github.com/repos/zwliew/android_device_xiaomi_hm2014811/issues/124","labels_url":"https://api.github.com/repos/zwliew/android_device_xiaomi_hm2014811/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/zwliew/android_device_xiaomi_hm2014811/issues/124/comments","events_url":"https://api.github.com/repos/zwliew/android_device_xiaomi_hm2014811/issues/124/events","html_url":"https://github.com/zwliew/android_device_xiaomi_hm2014811/issues/124","id":109988047,"number":124,"title":"random reboots","user":{"login":"dariko","id":6145906,"avatar_url":"https://avatars.githubusercontent.com/u/6145906?v=3","gravatar_id":"","url":"https://api.github.com/users/dariko","html_url":"https://github.com/dariko","followers_url":"https://api.github.com/users/dariko/followers","following_url":"https://api.github.com/users/dariko/following{/other_user}","gists_url":"https://api.github.com/users/dariko/gists{/gist_id}","starred_url":"https://api.github.com/users/dariko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariko/subscriptions","organizations_url":"https://api.github.com/users/dariko/orgs","repos_url":"https://api.github.com/users/dariko/repos","events_url":"https://api.github.com/users/dariko/events{/privacy}","received_events_url":"https://api.github.com/users/dariko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-06T11:28:13Z","updated_at":"2015-10-22T11:11:16Z","closed_at":null,"body":"sometimes i get random reboots, nearly everytime while the phone is on battery and in standby\r\n\r\nthis is what i found in /sys/fs/pstore/dmesg-ramoops-0\r\n\r\n```\r\n<6>[ 2427.850513] CPU0:msm_cpu_pm_enter_sleep mode:3 during suspend\r\n<3>[ 2427.851284] \r\n<3>[ 2427.851284] SMSM: Modem SMSM state changed to SMSM_RESET.\r\n<6>[ 2427.851285] Enabling non-boot CPUs ...\r\n<6>[ 2427.852212] CPU1 is up\r\n<6>[ 2427.852892] CPU2 is up\r\n<6>[ 2427.853609] CPU3 is up\r\n<6>[ 2427.854150] PM: noirq resume of devices complete after 0.526 msecs\r\n<3>[ 2427.854654] Fatal error on the modem.\r\n<3>[ 2427.854666] modem subsystem failure reason: rrcllc.c:4524:.\r\n<6>[ 2427.854672] subsys-restart: subsystem_restart_dev(): Restart sequence requested for modem, restart_level = SYSTEM.\r\n<3>[ 2427.854711] M-Notify: General: 8\r\n<0>[ 2427.854720] Kernel panic - not syncing: subsys-restart: Resetting the SoC - modem crashed.\r\n<2>[ 2427.854729] CPU3: stopping\r\n<6>[ 2427.854738] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W    3.10.49-cyanogenmod-g581c55b #2\r\n<6>[ 2427.854771] [<c010bb50>] (unwind_backtrace+0x0/0xf4) from [<c0109dc4>] (show_stack+0x10/0x14)\r\n<6>[ 2427.854785] [<c0109dc4>] (show_stack+0x10/0x14) from [<c010b014>] (handle_IPI+0x1ac/0x1c8)\r\n<6>[ 2427.854796] [<c010b014>] (handle_IPI+0x1ac/0x1c8) from [<c01004b8>] (gic_handle_irq+0x58/0x5c)\r\n<6>[ 2427.854808] [<c01004b8>] (gic_handle_irq+0x58/0x5c) from [<c0105bc0>] (__irq_svc+0x40/0x70)\r\n<6>[ 2427.854812] Exception stack(0xee9eff70 to 0xee9effb8)\r\n<6>[ 2427.854819] ff60:                                     00000000 00033f30 c56743ec 00000000\r\n<6>[ 2427.854828] ff80: 00000000 00000000 c120c3b0 04468000 60000013 c56743b0 ee9ee000 00000000\r\n<6>[ 2427.854835] ffa0: ee9efee0 ee9effb8 c016db18 c016e6b4 60000013 ffffffff\r\n<6>[ 2427.854848] [<c0105bc0>] (__irq_svc+0x40/0x70) from [<c016e6b4>] (rcu_idle_exit+0x60/0xa8)\r\n<6>[ 2427.854861] [<c016e6b4>] (rcu_idle_exit+0x60/0xa8) from [<c0165c90>] (cpu_startup_entry+0xbc/0x260)\r\n<6>[ 2427.854871] [<c0165c90>] (cpu_startup_entry+0xbc/0x260) from [<80bc23e4>] (0x80bc23e4)\r\n<2>[ 2427.854875] CPU1: stopping\r\n<6>[ 2427.854899] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W    3.10.49-cyanogenmod-g581c55b #2\r\n<6>[ 2427.854958] [<c010bb50>] (unwind_backtrace+0x0/0xf4) from [<c0109dc4>] (show_stack+0x10/0x14)\r\n<6>[ 2427.854990] [<c0109dc4>] (show_stack+0x10/0x14) from [<c010b014>] (handle_IPI+0x1ac/0x1c8)\r\n<6>[ 2427.855020] [<c010b014>] (handle_IPI+0x1ac/0x1c8) from [<c01004b8>] (gic_handle_irq+0x58/0x5c)\r\n<6>[ 2427.855048] [<c01004b8>] (gic_handle_irq+0x58/0x5c) from [<c0105bc0>] (__irq_svc+0x40/0x70)\r\n<6>[ 2427.855058] Exception stack(0xee9e3f70 to 0xee9e3fb8)\r\n<6>[ 2427.855080] 3f60:                                     ffffffed 04450000 c121c404 a0000013\r\n<6>[ 2427.855089] 3f80: ee9e2000 ee9e2018 c121a51c ee9e2000 c12fc3c8 ee9e2018 ee9e2000 00000000\r\n<6>[ 2427.855097] 3fa0: 00000000 ee9e3fb8 c0165c90 c016e658 60000013 ffffffff\r\n<6>[ 2427.855136] [<c0105bc0>] (__irq_svc+0x40/0x70) from [<c016e658>] (rcu_idle_exit+0x4/0xa8)\r\n<6>[ 2427.855153] [<c016e658>] (rcu_idle_exit+0x4/0xa8) from [<c0165c90>] (cpu_startup_entry+0xbc/0x260)\r\n<6>[ 2427.855163] [<c0165c90>] (cpu_startup_entry+0xbc/0x260) from [<80bc23e4>] (0x80bc23e4)\r\n<2>[ 2427.855168] CPU2: stopping\r\n<6>[ 2427.855178] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G        W    3.10.49-cyanogenmod-g581c55b #2\r\n<6>[ 2427.855196] [<c010bb50>] (unwind_backtrace+0x0/0xf4) from [<c0109dc4>] (show_stack+0x10/0x14)\r\n<6>[ 2427.855209] [<c0109dc4>] (show_stack+0x10/0x14) from [<c010b014>] (handle_IPI+0x1ac/0x1c8)\r\n<6>[ 2427.855221] [<c010b014>] (handle_IPI+0x1ac/0x1c8) from [<c01004b8>] (gic_handle_irq+0x58/0x5c)\r\n<6>[ 2427.855244] [<c01004b8>] (gic_handle_irq+0x58/0x5c) from [<c0105bc0>] (__irq_svc+0x40/0x70)\r\n<6>[ 2427.855254] Exception stack(0xee9edeb0 to 0xee9edef8)\r\n<6>[ 2427.855261] dea0:                                     c566ac00 ee863c80 00000000 00007a8f\r\n<6>[ 2427.855270] dec0: c122e970 c566ac00 ee866300 00000001 c566ac00 ee9ec010 c121b298 ee9edf0c\r\n<6>[ 2427.855277] dee0: 00000000 ee9edef8 c0147c24 c0bd1a64 60000013 ffffffff\r\n<6>[ 2427.855297] [<c0105bc0>] (__irq_svc+0x40/0x70) from [<c0bd1a64>] (_raw_spin_unlock_irq+0x1c/0x50)\r\n<6>[ 2427.855313] [<c0bd1a64>] (_raw_spin_unlock_irq+0x1c/0x50) from [<c0147c24>] (finish_task_switch+0x48/0xd0)\r\n<6>[ 2427.855326] [<c0147c24>] (finish_task_switch+0x48/0xd0) from [<c0bcfd38>] (__schedule+0x3a8/0x89c)\r\n<6>[ 2427.855337] [<c0bcfd38>] (__schedule+0x3a8/0x89c) from [<c0bd02c8>] (schedule_preempt_disabled+0x24/0x34)\r\n<6>[ 2427.855350] [<c0bd02c8>] (schedule_preempt_disabled+0x24/0x34) from [<c0165cac>] (cpu_startup_entry+0xd8/0x260)\r\n<6>[ 2427.855360] [<c0165cac>] (cpu_startup_entry+0xd8/0x260) from [<80bc23e4>] (0x80bc23e4)\r\n```\r\n\r\n/sys/fs/pstore/console-ramoops:\r\n\r\n```\r\n[ 2412.214821] migrate_irqs: 3774 callbacks suppressed\r\n[ 2412.214824] IRQ32 no longer affine to CPU1\r\n[ 2412.214829] IRQ33 no longer affine to CPU1\r\n[ 2412.214834] IRQ34 no longer affine to CPU1\r\n[ 2412.214838] IRQ35 no longer affine to CPU1\r\n[ 2412.214843] IRQ36 no longer affine to CPU1\r\n[ 2412.214847] IRQ37 no longer affine to CPU1\r\n[ 2412.214852] IRQ38 no longer affine to CPU1\r\n[ 2412.214856] IRQ40 no longer affine to CPU1\r\n[ 2412.214861] IRQ41 no longer affine to CPU1\r\n[ 2412.214865] IRQ42 no longer affine to CPU1\r\n[ 2412.455768] Error: returning -512 value\r\n[ 2413.838573] Error: returning -512 value\r\n[ 2414.240594] Error: returning -512 value\r\n[ 2414.370423] PM: Some devices failed to suspend\r\n[ 2415.606909] Error: returning -512 value\r\n[ 2416.006810] Error: returning -512 value\r\n[ 2416.386897] Error: returning -512 value\r\n[ 2418.665852] Error: returning -512 value\r\n[ 2418.807059] migrate_irqs: 4531 callbacks suppressed\r\n[ 2418.807063] IRQ32 no longer affine to CPU1\r\n[ 2418.807069] IRQ33 no longer affine to CPU1\r\n[ 2418.807075] IRQ34 no longer affine to CPU1\r\n[ 2418.807081] IRQ35 no longer affine to CPU1\r\n[ 2418.807087] IRQ36 no longer affine to CPU1\r\n[ 2418.807093] IRQ37 no longer affine to CPU1\r\n[ 2418.807099] IRQ38 no longer affine to CPU1\r\n[ 2418.807105] IRQ40 no longer affine to CPU1\r\n[ 2418.807111] IRQ41 no longer affine to CPU1\r\n[ 2418.807118] IRQ42 no longer affine to CPU1\r\n[ 2420.103312] Error: returning -512 value\r\n[ 2420.504689] Error: returning -512 value\r\n[ 2425.480370] Error: returning -512 value\r\n[ 2425.612836] migrate_irqs: 2272 callbacks suppressed\r\n[ 2425.612839] IRQ32 no longer affine to CPU1\r\n[ 2425.612844] IRQ33 no longer affine to CPU1\r\n[ 2425.612849] IRQ34 no longer affine to CPU1\r\n[ 2425.612855] IRQ35 no longer affine to CPU1\r\n[ 2425.612860] IRQ36 no longer affine to CPU1\r\n[ 2425.612865] IRQ37 no longer affine to CPU1\r\n[ 2425.612869] IRQ38 no longer affine to CPU1\r\n[ 2425.612875] IRQ40 no longer affine to CPU1\r\n[ 2425.612880] IRQ41 no longer affine to CPU1\r\n[ 2425.612885] IRQ42 no longer affine to CPU1\r\n[ 2426.895889] Error: returning -512 value\r\n[ 2427.310322] Error: returning -512 value\r\n[ 2427.702644] Error: returning -512 value\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/zwliew/android_device_xiaomi_hm2014811/issues/comments/150182072","html_url":"https://github.com/zwliew/android_device_xiaomi_hm2014811/issues/124#issuecomment-150182072","issue_url":"https://api.github.com/repos/zwliew/android_device_xiaomi_hm2014811/issues/124","id":150182072,"user":{"login":"tonipenya","id":191486,"avatar_url":"https://avatars.githubusercontent.com/u/191486?v=3","gravatar_id":"","url":"https://api.github.com/users/tonipenya","html_url":"https://github.com/tonipenya","followers_url":"https://api.github.com/users/tonipenya/followers","following_url":"https://api.github.com/users/tonipenya/following{/other_user}","gists_url":"https://api.github.com/users/tonipenya/gists{/gist_id}","starred_url":"https://api.github.com/users/tonipenya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonipenya/subscriptions","organizations_url":"https://api.github.com/users/tonipenya/orgs","repos_url":"https://api.github.com/users/tonipenya/repos","events_url":"https://api.github.com/users/tonipenya/events{/privacy}","received_events_url":"https://api.github.com/users/tonipenya/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T11:11:16Z","updated_at":"2015-10-22T11:11:16Z","body":"Yes, keeping the phone in 2g prevents the issue. But living in a 2g world sucks ;)\r\n\r\nRecently I have requested a duplicate of my SIM and the issue has not appeared with this new sim in the last 24h or so. I don't know if it is because the old SIM was damaged in some way or because I now have both slots with a SIM card. Will do more testing when I have some free time."}}