[Galaxy S III Q&A, Help & Troubleshooting] FreD_BzH:
+1

Hi, I have the same problem with my i9305, random reboot / restart with Lineage OS 14.1 official.

I installed the last update, but no correction.

palle-p, how and where do you have the log content of the error below on the phone ?

Edit : I see on another forum , that it is in the /proc/last_kmsg file

reddit.com/r/LineageOS/comments/5yluns/lineage_os_random_restarts_how_to_see_logs_and/

Is there an extract from my last_kmsg file :

<6>[25559.981740] c0 mdm_fatal_fn: Reseting the mdm due to an errfatal
<6>[25559.981779] c0 notify_modem_fatal or shutdown
<6>[25559.981808] c0 ap2mdm_status is high
<6>[25559.981829] c0 ap2mdm_errfatal is low
<6>[25559.981851] c0 mdm2ap_status is high
<6>[25559.981872] c0 mdm2ap_errfatal is high
<6>[25559.981899] c0 subsys-restart: subsystem_restart(): Restart sequence requested for external_modem, restart_level = 1.
<6>[25559.987312] c0 done
<6>[25559.987344] c0 subsys-restart: subsystem_restart_wq_func(): subsys[c0b779f8], powerup lock[c0b77a44], shutdown_lock[c0b77a18]
<6>[25559.987406] c0 subsys-restart: subsystem_restart_wq_func(): [c1810520]: Attempting to get shutdown lock!
<6>[25559.987457] c0 subsys-restart: subsystem_restart_wq_func(): [c1810520]: Attempting to get powerup lock!
<6>[25559.987509] c0 subsys-restart: subsystem_restart_wq_func(): [c1810520]: Starting restart sequence for external_modem
<6>[25559.987568] c0 subsys-restart: subsystem_restart_wq_func(): [c1810520]: Shutting down external_modem
<6>[25559.987614] c0 mdm_subsys_shutdown
<7>[25560.000080] c0 usb usb1: usb resume
<7>[25560.000108] c0 s5p-ehci s5p-ehci: resume root hub after power loss
<7>[25560.030063] c0 hub 1-0:1.0: hub_reset_resume
<7>[25560.030092] c0 hub 1-0:1.0: enabling power on all ports
...
<6>[25623.810412] c0 mdm_subsys_powerup: mdm modem restart timed out.
<0>[25623.810581] c0 Kernel panic - not syncing: subsystem_restart_wq_func[c1810520]: Failed to powerup external_modem!
<4>[25623.810794] c0 Backtrace:
<4>[25623.810983] c0 [<c005322c>] (dump_backtrace+0x0/0x120) from [<c0778364>] (dump_stack+0x20/0x24)
<4>[25623.811177] c0 r7:c6d40000 r6:c02d3e18 r5:c0778a74 r4:c0c094a8
<4>[25623.811416] c0 [<c0778344>] (dump_stack+0x0/0x24) from [<c077891c>] (panic+0xac/0x204)
<4>[25623.811659] c0 [<c0778870>] (panic+0x0/0x204) from [<c0075f60>] (subsystem_restart_wq_func+0x2dc/0x2e0)
<4>[25623.811868] c0 r3:c09a9768 r2:c1810520 r1:c07894b4 r0:c09aa2b4
<4>[25623.812068] c0 r7:c6d40000
<4>[25623.812208] c0 [<c0075c84>] (subsystem_restart_wq_func+0x0/0x2e0) from [<c00bf73c>] (process_one_work+0x168/0x558)
<4>[25623.812453] c0 [<c00bf5d4>] (process_one_work+0x0/0x558) from [<c00bff20>] (worker_thread+0x178/0x410)
<4>[25623.812728] c0 [<c00bfda8>] (worker_thread+0x0/0x410) from [<c00c4e14>] (kthread+0xb0/0xb4)
<4>[25623.812952] c0 [<c00c4d64>] (kthread+0x0/0xb4) from [<c00a3d18>] (do_exit+0x0/0x92c)
<4>[25623.813136] c0 r6:c00a3d18 r5:c00c4d64 r4:cd29fe88
<6>[25623.914255] c0 notifier_call_chain : NOTIFY BAD sec_debug_panic_handler
<0>[25623.914430] c0 Rebooting in 1 seconds..
<0>[25624.921546] c0 sec_reboot (104, emergency)

Samsung S-Boot 4.0 for GT-I9305 (Apr 6 2017 - 16:19:04)

EXYNOS4412(EVT 1.1) / 2044MB / 0MB / Rev 2 / I9305XXSFQD1 /(PKG_ID 0x804f018)

BOOTLOADER VERSION : I9305XXSFQD1

PMIC rev = PASS2(4)
BUCK1OUT(vdd_mif) = 0x03
BUCK3DVS1(vdd_int) = 0x28
cardtype: 0x00000007
SB_MMC_HS_52MHZ_1_8V_3V_IO
mmc->card_caps: 0x00000311
mmc->host_caps: 0x00000311
[mmc] capacity = 30777344

MODEL_NAME:{{GT-I9305}}
eMMC_SERIAL_NUMBER:{{1501004D4147344642F7111813B0BF47}}

- read_bl1
pit_check_signature (PIT) valid.
initialize_ddi_data: usable! (2:0xe)
[RPMB] emmc_rpmb_open:
Get DATA success.

[RPMB] emmc_rpmb_close:
initialize_rpmb_data: usable! (GT-I9305:VERSION_-+A3)
PARAM ENV VERSION: v1.0..
set_charger_current: chg curr(bf), in curr(17)
set_charger_state: buck(1), chg(1), reg(0x05)
microusb_get_attached_device: STATUS1:0x3f, 2:0x00
set_auto_current: ta_state(0), curr(700)
init_fuelgauge: fuelgauge power ok
init_fuelgauge: not POR status
init_fuelgauge: is reset case, skip soc-cal.
get_table_soc: vcell(3993) is caculated to t-soc(77.225)
init_fuelgauge: start: vcell(3993), vfocv(4070), soc(78), table soc(77)
init_fuelgauge: finish: vcell(3993), vfocv(4070), soc(78), table soc(77)
init_microusb_ic: before MUIC: CDETCTRL:0x2d
init_microusb_ic: after MUIC: CDETCTRL:0x2d
init_microusb_ic: MUIC: CONTROL1:0x00
init_microusb_ic: MUIC: CONTROL1:0x00
init_microusb_ic: MUIC: CONTROL2:0x3b
init_microusb_ic: MUIC: CONTROL2:0x3b
PMIC_ID = 0x02
PMIC_IRQSRC = 0x00
PMIC_IRQ1 = 0x00
PMIC_IRQ2 = 0x00
PMIC_IRQ1M = 0xff
PMIC_IRQ2M = 0xff
PMIC_STATUS1 = 0x12
PMIC_STATUS2 = 0x00
PMIC_PWRON = 0x01
PMIC_RTCINT = 0x11
PMIC_RTCINTM = 0x3d
s5p_check_keypad: 0x0
s5p_check_reboot_mode: INFORM3 = 0 ... skip
s5p_check_upload: MAGIC(0x66262564), RST_STAT(0x20000000)
s5p_check_upload: debug level is 4f4c!
s5p_check_upload: level low or unknown: skip 0
s5p_check_download: 0
microusb_get_attached_device: STATUS1:0x3f, 2:0x00
check_pm_status: normal reset, do not enter LPM mode.
cmu_div:1, div:7, src_clk:800000000, pixel_clk:38102400
s5p_dsim_display_config: VIDEO MODE
a2, 60, 90,
<start_checksum:481>CHECKSUM_HEADER_SECTOR :4096
<start_checksum:483>offset:50, size:6296
<start_checksum:485>CHECKSUM_HEADER_INFO : NeedChecksum:0 PartNo:20
Not Need Movinand Checksum
Movinand Checksum Confirmation Pass
[mobi_drv] add: 0x43e52500, size: 3933
MobiCore INIT response = 0
MobiCore RTM has initialized!
MobiCore IDLE flag = 0
MobiCore driver address 43e52500, size = 3933
MobiCore RTM Notified back!
MobiCore Driver loaded and RTM IDLE!
MobiCore RTM has been uninitialized!
load_kernel: loading boot image from 106496..
Verify_Binary_Signature: failed.
pit_check_signature (BOOT) invalid.
[TIMA trusted boot]: SEAndroid MAGIC failure (boot.img)
Set invalid sign flag
No need to update kernel type.

SMC Num = 0x83000001

mobismc success!!! [ret = 0]
[s5p_check_sboot_version_rpmb]cur_version:VERSION_-+A3, rpmb_version:VERSION_-+A3
rpmb_version:51, cur_version:51
ATAG_CORE: 5 54410001 0 0 0
ATAG_MEM: 4 54410002 20000000 40000000
ATAG_MEM: 4 54410002 20000000 60000000
ATAG_MEM: 4 54410002 20000000 80000000
ATAG_MEM: 4 54410002 1FC00000 A0000000
ATAG_SERIAL: 4 54410006 42f71118 13b0bf47
ATAG_INITRD2: 4 54420005 42000000 14f7a9
ATAG_REVISION: 3 54410007 2
check_rustproof [0]
ATAG_CMDLINE: b1 54410009 'console=ram loglevel=4 androidboot.baseband=mdm sec_debug.level=0 sec_watchdog.sec_pet=5 androidboot.debug_level=0x4f4c sec_log=0x200000@0x46000000 sec_tima_log=0x200000@0x46202000 sec_avc_log=0x40000@0x46404000 s3cfb.bootloaderfb=0x5ec00000 lcdtype=96 consoleblank=0 lpj=3981312 vmalloc=176m oops=panic pmic_info=67 cordon=36fb895f7c9cb3d16becccced1f30d26 connie=GT-I9305_OPEN_EUR_022110d0a22817507236e2ca0c8ec045 androidboot.emmc_checksum=3 androidboot.boot_salescode= androidboot.odin_download=1 androidboot.bootloader=I9305XXSFQD1 androidboot.selinux=enforcing androidboot.warranty_bit=1 androidboot.sec_atd.tty=/dev/ttySAC2 androidboot.serialno=42f7111813b0bf47 snd_soc_core.pmdown_time=1000'
ATAG_NONE: 0 0

Starting kernel at 0x40008000...

SWITCH_SEL(3)

Where is the problem ?

<6>[25559.981740] c0 mdm_fatal_fn: Reseting the mdm due to an errfatal ?
<0>[25623.810581] c0 Kernel panic - not syncing: subsystem_restart_wq_func[c1810520]: Failed to powerup external_modem! ?