ubports / ubuntu-touch

A simple and beautiful mobile OS for everyone! This repository is for Ubuntu Touch issue tracking. It does not contain any code used to create Ubuntu Touch.
https://ubports.com
1.28k stars 109 forks source link

Unwanted daily reboot on XIAOMI POCO X3 NFC (surya) #2133

Open eheintzmann opened 1 year ago

eheintzmann commented 1 year ago

Steps to reproduce

With Ubuntu Touch OTA 25 installed on a XIOMI POCO X3 NFC, wait one day.

Expected behavior

Reboot or shutdown only when asked

Actual behavior

Reboot daily in an unwanted way

Logfiles and additional information

Bug confirmed by others X NFC users, on development, candidate, and stable channels (on #ut_surya and UBports Forum) https://forums.ubports.com/topic/8855/pin-code-needed-after-a-few-hours https://gitlab.com/ubports/porting/community-ports/android10/xiaomi-poco-x3/xiaomi-surya/-/issues/2

eheintzmann commented 11 months ago

Bug reported at https://gitlab.com/ubports/porting/community-ports/android10/xiaomi-poco-x3/xiaomi-surya/-/issues/2

eheintzmann commented 11 months ago

Check /proc/last_kmsg or /sys/fs/pstore/* files after the reboot to see if it's a kernel panic

/proc/last_kmsg /sys/fs/pstore/console-ramoops-0 /sys/fs/pstore/dmesg-ramoops-0 /sys/fs/pstore/pmsg-ramoops-0

In last_kmsg, console-ramoops-0 and dmesg-ramoops-0, there are these lines:

icnss: Received early crash indication from FW
Fatal error on modem!
modem subsystem failure reason: EX:kernel:0x0:ims:0xe0:PC=0xd8c08564.
Ramdump(ramdump_microdump_modem): No consumers. Aborting..
Kernel panic - not syncing: subsys-restart: Resetting the SoC - modem crashed.