This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TMDX654GPEVM: Kernel panic - CryptoDev/OpenSSL

Part Number: TMDX654GPEVM

Tool/software: Linux

Hello,

I am facing an issue where the board is resetting after a few minutes and I am also seeing a prompt for Kernel Panic.

root@am65xx-evm:~# journalctl -f
-- Logs begin at Thu 2019-06-13 19:58:51 UTC. --
Jun 18 17:44:56 am65xx-evm systemd-logind[403]: New session c1 of user root.
Jun 18 17:44:56 am65xx-evm systemd[1]: Started Session c1 of user root.
Jun 18 17:44:56 am65xx-evm systemd[872]: Reached target Timers.
Jun 18 17:44:56 am65xx-evm systemd[872]: Reached target Sockets.
Jun 18 17:44:56 am65xx-evm systemd[872]: Reached target Paths.
Jun 18 17:44:56 am65xx-evm systemd[872]: Reached target Basic System.
Jun 18 17:44:56 am65xx-evm systemd[872]: Reached target Default.
Jun 18 17:44:56 am65xx-evm systemd[872]: Startup finished in 95ms.
Jun 18 17:44:56 am65xx-evm systemd[1]: Started User Manager for UID 0.
Jun 18 17:44:56 am65xx-evm login[877]: ROOT LOGIN  on '/dev/ttyS2'
Jun 18 17:45:06 am65xx-evm systemd-networkd[232]: eth6: Configured
Jun 18 17:45:06 am65xx-evm systemd-timesyncd[185]: Network configuration changed, trying to establish .
Jun 18 17:50:01 am65xx-evm systemd-timesyncd[185]: Synchronized to time server 216.239.35.8:123 (time3.
[   97.370971] Unable to handle kernel paging request at virtual address 1473cee744
[   97.378390] Mem abort info:
[   97.381185]   Exception class = DABT (current EL), IL = 32 bits
[   97.387097]   SET = 0, FnV = 0
[   97.390148]   EA = 0, S1PTW = 0
[   97.393285] Data abort info:
[   97.396162]   ISV = 0, ISS = 0x00000046
[   97.399994]   CM = 0, WnR = 1
[   97.402962] user pgtable: 64k pages, 48-bit VAs, pgd = ffff800841519a00
[   97.409588] [0000001473cee744] *pgd=00000008c5070003, *pud=00000008c5070003, *pmd=0000000000000000
[   97.418544] Internal error: Oops: 96000046 [#1] PREEMPT SMP
[   97.424104] Modules linked in: xhci_plat_hcd rpmsg_proto xhci_hcd sha512_arm64 usbcore virtio_rpmsg6
[   97.472438] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           O    4.14.79-ge669d52447 #1
[   97.480682] Hardware name: Texas Instruments AM654 Base Board (DT)
[   97.486847] task: ffff000008b3b280 task.stack: ffff000008b00000
[   97.492780] PC is at emac_napi_rx_poll+0x160/0x2b0 [icssg_prueth]
[   97.498875] LR is at emac_napi_rx_poll+0x160/0x2b0 [icssg_prueth]
[   97.504954] pc : [<ffff000001012b00>] lr : [<ffff000001012b00>] pstate: 60000145
[   97.512330] sp : ffff00000800fdb0
[   97.515634] x29: ffff00000800fdb0 x28: ffff0000087e0110 
[   97.520938] x27: ffff80084171b9c0 x26: 0000001473cee734 
[   97.526239] x25: ffff800841001810 x24: ffff80084171baf0 
[   97.531541] x23: 0000000000000040 x22: 0000000040000255 
[   97.536842] x21: ffff80084171b900 x20: ffff80084171b000 
[   97.542143] x19: 0000000000000020 x18: 0000000000000000 
[   97.547444] x17: 0000000000000000 x16: 0000000000000000 
[   97.552747] x15: 000000000a640b63 x14: 0000000000000000 
[   97.558047] x13: 0000000000000000 x12: ffff800843a7f580 
[   97.563349] x11: 0000000000000001 x10: 00000000ffffffe9 
[   97.568649] x9 : 0000000000000000 x8 : 0000000000000000 
[   97.573950] x7 : 0000010000000000 x6 : ffff80087ff30000 
[   97.579251] x5 : 0000000000000000 x4 : ffff800843a7f5b8 
[   97.584554] x3 : ffff800843a7f590 x2 : 0000000000000000 
[   97.589855] x1 : 0000000000000040 x0 : 0000000000000000 
[   97.595158] Process swapper/0 (pid: 0, stack limit = 0xffff000008b00000)
[   97.601843] Call trace:
[   97.604282] Exception stack(0xffff00000800fc70 to 0xffff00000800fdb0)
[   97.610709] fc60:                                   0000000000000000 0000000000000040
[   97.618522] fc80: 0000000000000000 ffff800843a7f590 ffff800843a7f5b8 0000000000000000
[   97.626335] fca0: ffff80087ff30000 0000010000000000 0000000000000000 0000000000000000
[   97.634149] fcc0: 00000000ffffffe9 0000000000000001 ffff800843a7f580 0000000000000000
[   97.641962] fce0: 0000000000000000 000000000a640b63 0000000000000000 0000000000000000
[   97.649775] fd00: 0000000000000000 0000000000000020 ffff80084171b000 ffff80084171b900
[   97.657589] fd20: 0000000040000255 0000000000000040 ffff80084171baf0 ffff800841001810
[   97.665402] fd40: 0000001473cee734 ffff80084171b9c0 ffff0000087e0110 ffff00000800fdb0
[   97.673216] fd60: ffff000001012b00 ffff00000800fdb0 ffff000001012b00 0000000060000145
[   97.681029] fd80: ffff80084171b900 0000000040000255 0000ffffffffffff ffff000008449a60
[   97.688842] fda0: ffff00000800fdb0 ffff000001012b00
[   97.693724] [<ffff000001012b00>] emac_napi_rx_poll+0x160/0x2b0 [icssg_prueth]
[   97.700854] [<ffff00000869df54>] net_rx_action+0xf4/0x2b0
[   97.706246] [<ffff0000080811ec>] __do_softirq+0x12c/0x228
[   97.711634] [<ffff0000080acd10>] irq_exit+0xc8/0xf8
[   97.716504] [<ffff0000080fd8c0>] __handle_domain_irq+0x60/0xb0
[   97.722323] [<ffff000008080fc4>] gic_handle_irq+0x7c/0x178
[   97.727795] Exception stack(0xffff000008b0fdf0 to 0xffff000008b0ff30)
[   97.734221] fde0:                                   0000000000000000 00008008773c0000
[   97.742034] fe00: 0000000000000000 ffff000008af3930 ffff000008af3908 ffff000008b0ff20
[   97.749847] fe20: 00008008773c0000 0000000000000000 0000000000000002 ffff000008b0feb0
[   97.757660] fe40: 0000000000000920 0000000000000000 0000000000000001 0000000000000000
[   97.765474] fe60: 000000000000002b 0000000000000000 ffff0000087e18d8 0000ffffa4f5d2d0
[   97.773287] fe80: 0000000000000014 ffff000008b33ac4 ffff000008b33a30 ffff000008af0018
[   97.781101] fea0: ffff000008b3b280 ffff80087ffff480 ffff000008ae0028 0000000000000000
[   97.788914] fec0: 00000000ffef3ce0 0000000000000400 0000000080a90018 ffff000008b0ff30
[   97.796728] fee0: ffff000008084e2c ffff000008b0ff30 ffff000008084e30 0000000060000145
[   97.804542] ff00: 0000000000000000 00000000ffef3ce0 ffffffffffffffff ffff000008123f84
[   97.812354] ff20: ffff000008b0ff30 ffff000008084e30
[   97.817220] [<ffff000008082a30>] el1_irq+0xb0/0x124
[   97.822088] [<ffff000008084e30>] arch_cpu_idle+0x10/0x18
[   97.827389] [<ffff0000080e5ee0>] do_idle+0xd8/0x118
[   97.832255] [<ffff0000080e60b4>] cpu_startup_entry+0x24/0x28
[   97.837905] [<ffff00000879621c>] rest_init+0xcc/0xd8
[   97.842863] [<ffff000008a90b50>] start_kernel+0x378/0x38c
[   97.848253] Code: f94037a5 f9400300 aa0503e1 95d0e719 (f9000b54) 
[   97.854339] ---[ end trace a0caa21cf2697537 ]---
[   97.858946] Kernel panic - not syncing: Fatal exception in interrupt
[   97.865286] SMP: stopping secondary CPUs
[   97.869201] Kernel Offset: disabled
[   97.872680] CPU features: 0x080200c
[   97.876157] Memory Limit: none
[   97.879205] ---[ end Kernel panic - not syncing: Fatal exception in interrupt

How do I go about figuring out what is causing this Kernel Panic? What one of our vendor is mentioning is that it is the Cryptodev module provided with the SDK.

Please advise.