Project

General

Profile

Issue #1834

I9305 suddenly reboots (modem related)

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

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

0%

Estimated time:
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.


Files

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

Related issues

Blocked by Replicant - Feature #1813: Modem support for i9305New06/18/2017

Actions

History

#1

Updated by Wolfgang Wiedmeyer about 2 years 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 about 2 years ago

#3

Updated by Denis 'GNUtoo' Carikli 6 months ago

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

Also available in: Atom PDF