Hi Lokesh, thanks for the reply. -<| Quoting Lokesh Vutla <lokeshvutla@xxxxxx>, on Tuesday, 2016-08-09 09:42:38 |>- > On Thursday 04 August 2016 09:18 PM, Philipp Gesang wrote: > > [ 6.434276] note: swapper/0[1] exited with preempt_count 1 > > [ 6.440339] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b > > Looks like the crash here is because of the RTC module and not because > of crypto. Can you try removing RTC from hwmod and see if it boots. If > it boots then we should see why RTC is failing. With CONFIG_RTC_DRV_OMAP unset and Tero’s patches on top of 694d0d0bb203 the device boots indeed. Logins over serial console are possible, however, SSH logins seem to make the device panic in a different fashion: [ 35.336516] ------------[ cut here ]------------ [ 35.341413] WARNING: CPU: 0 PID: 71 at drivers/mmc/core/core.c:264 mmc_start_request+0x108/0x118 [ 35.350734] Modules linked in: [ 35.353956] CPU: 0 PID: 71 Comm: mmcqd/0 Not tainted 4.8.0-rc2-phg-00012-g8555690 #2 [ 35.362069] Hardware name: Generic AM33XX (Flattened Device Tree) [ 35.368475] [<c0110114>] (unwind_backtrace) from [<c010c2cc>] (show_stack+0x10/0x14) [ 35.376599] [<c010c2cc>] (show_stack) from [<c048ab50>] (dump_stack+0xb0/0xe4) [ 35.384184] [<c048ab50>] (dump_stack) from [<c0137ac4>] (__warn+0xd4/0x100) [ 35.391484] [<c0137ac4>] (__warn) from [<c0137b9c>] (warn_slowpath_null+0x20/0x28) [ 35.399419] [<c0137b9c>] (warn_slowpath_null) from [<c06157f0>] (mmc_start_request+0x108/0x118) [ 35.408538] [<c06157f0>] (mmc_start_request) from [<c0616ae0>] (mmc_start_req+0x284/0x3d0) [ 35.417207] [<c0616ae0>] (mmc_start_req) from [<c06249ac>] (mmc_blk_issue_rw_rq+0x98/0xa80) [ 35.425962] [<c06249ac>] (mmc_blk_issue_rw_rq) from [<c06254f8>] (mmc_blk_issue_rq+0x164/0x54c) [ 35.435080] [<c06254f8>] (mmc_blk_issue_rq) from [<c0627518>] (mmc_queue_thread+0xa4/0x184) [ 35.443838] [<c0627518>] (mmc_queue_thread) from [<c015b44c>] (kthread+0xd4/0xf0) [ 35.451689] [<c015b44c>] (kthread) from [<c0107910>] (ret_from_fork+0x14/0x24) [ 35.459449] ---[ end trace 78b431214d36c9fa ]--- [ 35.467516] omap_hwmod: mmc1: _wait_target_disable failed [ 35.473215] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa060230 [ 35.481238] pgd = c0004000 [ 35.484072] [fa060230] *pgd=48011452(bad) [ 35.488292] Internal error: : 1028 [#1] SMP ARM [ 35.493041] Modules linked in: [ 35.496248] CPU: 0 PID: 65 Comm: kworker/0:2 Tainted: G W 4.8.0-rc2-phg-00012-g8555690 #2 [ 35.505998] Hardware name: Generic AM33XX (Flattened Device Tree) [ 35.512402] Workqueue: pm pm_runtime_work [ 35.516607] task: dbce4140 task.stack: dbd10000 [ 35.521354] PC is at omap_hsmmc_irq+0x38/0x350 [ 35.526018] LR is at _raw_spin_unlock_irqrestore+0x40/0x44 [ 35.531766] pc : [<c062c7bc>] lr : [<c07c40e8>] psr: 40030193 [ 35.531766] sp : dbd11cf8 ip : 00000000 fp : dbd11d54 [ 35.543791] r10: 00000000 r9 : dbd57d50 r8 : 00000000 [ 35.549263] r7 : 00000001 r6 : 00000000 r5 : 00000002 r4 : dbcee480 [ 35.556100] r3 : 0cc20001 r2 : fa060100 r1 : 00000000 r0 : dbd57c70 [ 35.562939] Flags: nZcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none [ 35.570504] Control: 10c5387d Table: 9be18019 DAC: 00000051 [ 35.576523] Process kworker/0:2 (pid: 65, stack limit = 0xdbd10218) [ 35.583087] Stack: (0xdbd11cf8 to 0xdbd12000) [ 35.587652] 1ce0: dbcec500 de16d100 [ 35.596223] 1d00: de16d110 00000000 000000a1 c0c029c4 00000000 c01a1f18 00000001 de008a64 [ 35.604794] 1d20: de008ad0 de16d100 60030193 de16d100 de16d100 de16d110 00000000 00000001 [ 35.613365] 1d40: de014000 00000000 c0c02100 c01a22cc de014000 00000000 de16d160 de16d100 [ 35.621935] 1d60: de16d160 c01a2340 de16d100 de16d160 de16d110 c01a56b8 c0b731b4 000000a1 [ 35.630506] 1d80: c0c035f0 c01a152c c0b731b4 c01a1840 c07c40dc 20030113 ffffffff dbd11de4 [ 35.639076] 1da0: 00000008 dbd10000 00000000 c07c47f0 00000001 00000110 00000000 dbce4140 [ 35.647647] 1dc0: a0030113 c0c21544 a0030113 00000000 00000008 c0c02100 00000000 c0c02100 [ 35.656218] 1de0: 00000002 dbd11e00 c0193018 c07c40dc 20030113 ffffffff 00000051 00000000 [ 35.664789] 1e00: 00000000 c0c21544 a0030113 c0121d10 00000000 00000000 de171ec0 c0122e38 [ 35.673360] 1e20: de16e010 de16e0a0 c0122e8c c053c5e0 de16e010 04208060 0000000a c053c664 [ 35.681931] 1e40: de16e010 c0122e8c 0000000a c053cbec dbd10000 c0c029c4 c053e864 df9199c0 [ 35.690502] 1e60: df920800 dbd11ec8 c0c029c4 c0cbe500 c0cbd743 de16e140 de16e0a0 df9199c0 [ 35.699072] 1e80: df920800 dbd11ec8 c0c029c4 c0cbe500 c0cbd743 c053e8c4 de16e140 dbcf3e80 [ 35.707642] 1ea0: df9199c0 c0154da8 00000001 00000000 c0154cf0 00000008 00000000 00000000 [ 35.716213] 1ec0: c01553c8 00000008 c1494da0 c0e004bc 00000000 c09e04d0 dbcf3e80 df9199c0 [ 35.724784] 1ee0: dbcf3e98 00000008 df9199f4 c0c02100 dbd10000 df9199c0 dbcf3e80 c0155354 [ 35.733355] 1f00: dbcf2b80 dbcf3e80 c015531c 00000000 dbcf2b80 dbcf3e80 c015531c 00000000 [ 35.741926] 1f20: 00000000 00000000 00000000 c015b44c ffff0000 00000000 00000000 dbcf3e80 [ 35.750497] 1f40: 00000000 00000000 dead4ead ffffffff ffffffff c0cc3e34 00000000 00000000 [ 35.759067] 1f60: c099eb3c dbd11f64 dbd11f64 00000000 00000000 dead4ead ffffffff ffffffff [ 35.767639] 1f80: c0cc3e34 00000000 00000000 c099eb3c dbd11f90 dbd11f90 dbcf2b80 dbcf2b80 [ 35.776209] 1fa0: c015b378 00000000 00000000 c0107910 00000000 00000000 00000000 00000000 [ 35.784780] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 35.793350] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffff0000 ffff0000 [ 35.801937] [<c062c7bc>] (omap_hsmmc_irq) from [<c01a1f18>] (__handle_irq_event_percpu+0x3c/0x3d4) [ 35.811332] [<c01a1f18>] (__handle_irq_event_percpu) from [<c01a22cc>] (handle_irq_event_percpu+0x1c/0x58) [ 35.821454] [<c01a22cc>] (handle_irq_event_percpu) from [<c01a2340>] (handle_irq_event+0x38/0x5c) [ 35.830754] [<c01a2340>] (handle_irq_event) from [<c01a56b8>] (handle_level_irq+0xc0/0x154) [ 35.839508] [<c01a56b8>] (handle_level_irq) from [<c01a152c>] (generic_handle_irq+0x20/0x34) [ 35.848353] [<c01a152c>] (generic_handle_irq) from [<c01a1840>] (__handle_domain_irq+0x64/0xe0) [ 35.857475] [<c01a1840>] (__handle_domain_irq) from [<c07c47f0>] (__irq_svc+0x70/0x98) [ 35.865776] [<c07c47f0>] (__irq_svc) from [<c07c40dc>] (_raw_spin_unlock_irqrestore+0x34/0x44) [ 35.874814] [<c07c40dc>] (_raw_spin_unlock_irqrestore) from [<c0121d10>] (omap_hwmod_idle+0x38/0x48) [ 35.884390] [<c0121d10>] (omap_hwmod_idle) from [<c0122e38>] (omap_device_idle+0x3c/0x90) [ 35.892964] [<c0122e38>] (omap_device_idle) from [<c053c5e0>] (__rpm_callback+0x2c/0x60) [ 35.901448] [<c053c5e0>] (__rpm_callback) from [<c053c664>] (rpm_callback+0x50/0x80) [ 35.909564] [<c053c664>] (rpm_callback) from [<c053cbec>] (rpm_suspend+0x134/0x7c8) [ 35.917591] [<c053cbec>] (rpm_suspend) from [<c053e8c4>] (pm_runtime_work+0x74/0xa8) [ 35.925717] [<c053e8c4>] (pm_runtime_work) from [<c0154da8>] (process_one_work+0x1fc/0x770) [ 35.934473] [<c0154da8>] (process_one_work) from [<c0155354>] (worker_thread+0x38/0x550) [ 35.942957] [<c0155354>] (worker_thread) from [<c015b44c>] (kthread+0xd4/0xf0) [ 35.950530] [<c015b44c>] (kthread) from [<c0107910>] (ret_from_fork+0x14/0x24) [ 35.958104] Code: ea000007 e3150c01 1a000069 e5942024 (e5925130) [ 35.964504] ---[ end trace 78b431214d36c9fb ]--- [ 35.969343] Kernel panic - not syncing: Fatal exception in interrupt [ 35.976014] ---[ end Kernel panic - not syncing: Fatal exception in interrupt However, on top of v4.7 with omap2plus_defconfig I get no such panic, I can modprobe omap-aes and rtc-omap just fine. Philipp
Attachment:
signature.asc
Description: PGP signature