Project

General

Profile

Issue #1834

I9305 suddenly reboots (modem related)

Added by Joonas Kylmälä almost 2 years ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Telephony and mobile data
Target version:
Start date:
09/13/2017
Due date:
% Done:

0%

Resolution:
Device:
Galaxy S 3 4G (I9305)

Description

The I9305 suddenly reboots every now and then, looks like it is modem related. See attached /proc/last_kmesg.

i9305-dmesg.txt View (128 KB) Joonas Kylmälä, 09/13/2017 03:02 PM


Related issues

Blocked by Feature #1813: Modem support for i9305 New 06/18/2017

History

#1 Updated by Wolfgang Wiedmeyer over 1 year ago

  • Category set to Telephony and mobile data

Yes, it's related to the modem. It took me quite some time to get rid of the reboots. There are multiple causes. The modem is able to request a reboot. This happens for example when something went wrong during the firmware upload or when there is an error during EFS sync. As the modem boot code is not yet part of the Replicant images, the reason here is a different one. The kernel creates a list of power management devices that should include the modem interfaces. But those aren't created because the modem is never booted and stays in Download Mode. After a timeout, the kernel triggers a reboot.

The fix for this issue would be to make the modem boot program described in QMI-RIL part of QMI-RIL as a separate thread and get QMI-RIL ready for inclusion in Replicant. A shortcut would be to make the modem-boot program run as a daemon, much like its proprietary counterpart, but I'd like to mirror the design of Samsung-RIL which gives us more control and cleaner and less buggy code in the long run.
The kernel patches from my qmi branch are needed as well.

#2 Updated by Wolfgang Wiedmeyer over 1 year ago

#3 Updated by Denis 'GNUtoo' Carikli 2 months ago

  • Device set to Galaxy S 3 4G (I9305)

Also available in: Atom PDF