Backlog issueshttps://gitlab.e.foundation/e/backlog/-/issues2020-08-14T09:53:40Zhttps://gitlab.e.foundation/e/backlog/-/issues/1286Kernel panic shortly after boot2020-08-14T09:53:40ZBen BipodKernel panic shortly after boot- /e/ version: e-0.8-n-2020041549770-dev-i9305.zip
- Device model: Samsung S3 international/LTE, codename i9305
- When it started to occur: after completion of first-time setup
- Reproducible with the last /e/ version: yes
- Reproducible...- /e/ version: e-0.8-n-2020041549770-dev-i9305.zip
- Device model: Samsung S3 international/LTE, codename i9305
- When it started to occur: after completion of first-time setup
- Reproducible with the last /e/ version: yes
- Reproducible with LineageOS: not tried
## Summary
After few minutes of idling after a fresh boot, the device reboots, or shuts down without reboot. last_kmsg shows a kernel panic, e.g.
```
Kernel panic - not syncing: mdm_silent_reset[eb04f5e0]: Failed to powerup!
```
or
```
Kernel panic - not syncing: subsystem_restart_wq_func[eb340000]: Failed to powerup external_modem!
```
Theres is no SIM card in the device, but WIFI was active, yet setting flight mode seems not to make a difference.
- [X] The device is unusable
- [ ] The bug is the source of a data loss or a big waste of time
- [ ] The bug concerns a third-party application
- [ ] The bug concerns security
- [ ] The bug concerns privacy
## The problem
**Steps to reproduce**
Just complete first-time setup, then re-boot and do not touch the device.
**What is the current behavior?**
Kernel panic.
**What is the expected correct behavior?**
No kernel panic.
## Technical informations
**Relevant logs (`adb logcat`)**
cat /proc/last_kmsg
```
<7>[ 106.150127] c0 s5p-ehci s5p-ehci: port 2 high speed
<7>[ 106.150232] c0 s5p-ehci s5p-ehci: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT
<6>[ 106.205126] c0 usb 1-2: new high speed USB device number 2 using s5p-ehci
<7>[ 107.020137] c0 s5p-ohci s5p-ohci: auto-stop root hub
<7>[ 108.525283] c0 hub 2-0:1.0: hub_suspend
<7>[ 108.525459] c0 usb usb2: bus auto-suspend
<7>[ 108.525574] c0 s5p-ohci s5p-ohci: suspend root hub
<6>[ 108.720150] c0 mdm_silent_reset: mdm modem restart timed out.
<0>[ 108.720309] c0 Kernel panic - not syncing: mdm_silent_reset[eb04f5e0]: Failed to powerup!
<4>[ 108.720483] c0 Backtrace:
<4>[ 108.720668] c0 [<c005322c>] (dump_backtrace+0x0/0x120) from [<c0777ee4>] (dump_stack+0x20/0x24)
<4>[ 108.720854] c0 r7:c0c050a4 r6:c02d3e18 r5:c07785f4 r4:c0c094a8
<4>[ 108.721072] c0 [<c0777ec4>] (dump_stack+0x0/0x24) from [<c077849c>] (panic+0xac/0x204)
<4>[ 108.721296] c0 [<c07783f0>] (panic+0x0/0x204) from [<c007465c>] (mdm_silent_reset+0x110/0x114)
<4>[ 108.721477] c0 r3:c07783f0 r2:eb04f5e0 r1:c0788f40 r0:c09a944c
<4>[ 108.721654] c0 r7:c0c050a4
<4>[ 108.721772] c0 [<c007454c>] (mdm_silent_reset+0x0/0x114) from [<c0074ee4>] (mdm_reconnect_fn+0x6c/0x74)
<4>[ 108.721968] c0 r6:e9963200 r5:c0c0b060 r4:eb042040 r3:00000000
<4>[ 108.722190] c0 [<c0074e78>] (mdm_reconnect_fn+0x0/0x74) from [<c00bf73c>] (process_one_work+0x168/0x558)
<4>[ 108.722419] c0 [<c00bf5d4>] (process_one_work+0x0/0x558) from [<c00bff20>] (worker_thread+0x178/0x410)
<4>[ 108.722650] c0 [<c00bfda8>] (worker_thread+0x0/0x410) from [<c00c4e14>] (kthread+0xb0/0xb4)
<4>[ 108.722871] c0 [<c00c4d64>] (kthread+0x0/0xb4) from [<c00a3d18>] (do_exit+0x0/0x92c)
<4>[ 108.723037] c0 r6:c00a3d18 r5:c00c4d64 r4:eb061e88
<6>[ 108.824100] c0 notifier_call_chain : NOTIFY BAD sec_debug_panic_handler
<0>[ 108.824267] c0 Rebooting in 1 seconds..
<0>[ 109.830761] c0 sec_reboot (104, emergency)
PMIC rev = PASS2(4)
BUCK1OUT(vdd_mif) = 0x03
BUCK3DVS1(vdd_int) = 0x28
[MMC] there are pending interrupts 0x00010000
cardtype: 0x00000007
SB_MMC_HS_52MHZ_1_8V_3V_IO
mmc->card_caps: 0x00000311
mmc->host_caps: 0x00000311
mmc_initialize: mmc->capacity = 30777344
Samsung S-Boot 4.0-2051278 for GT-I9305 (Aug 11 2014 - 23:44:48)
EXYNOS4412(EVT 1.1) / 2044MB / 15028MB / Rev 2 / I9305XXUENH1 /(PKG_ID 0x704d018)
```
## Solutions
**Workaround**
not yet found
**Possible fixes**
no ideaParisManoj NairManoj Nair