Hi all,
There seems to be some issue with the SPI on my jetson nano, where it would stops working after {x} amount of time. The weird thing with this error is that it also seems to power cycle the Jetson Nano without doing a safe shutdown
Any help with this error will be helpful
Error logs here
Oct 21 01:53:09 BPU kernel: [ 29.454835] CPU: 1 PID: 1352 Comm: irq/66-7000d400 Tainted: G D 4.9.140-tegra #1
Oct 21 01:53:09 BPU kernel: [ 29.454837] Hardware name: NVIDIA Jetson Nano Developer Kit (DT)
Oct 21 01:53:09 BPU kernel: [ 29.454839] task: ffffffc0f90af000 task.stack: ffffffc0f7ff4000
Oct 21 01:53:09 BPU kernel: [ 29.454847] PC is at kthread_data+0x24/0x30
Oct 21 01:53:09 BPU kernel: [ 29.454852] LR is at irq_thread_dtor+0x2c/0xd8
Oct 21 01:53:09 BPU kernel: [ 29.454855] pc : [] lr : [] pstate: 60400045
Oct 21 01:53:09 BPU kernel: [ 29.454856] sp : ffffffc0f7ff7960
Oct 21 01:53:09 BPU kernel: [ 29.454861] x29: ffffffc0f7ff7960 x28: ffffffc0f90af000
Oct 21 01:53:09 BPU kernel: [ 29.454865] x27: 0000000000000000 x26: 0000000000000000
Oct 21 01:53:09 BPU kernel: [ 29.454869] x25: ffffff800a09a267 x24: ffffff8009e65000
Oct 21 01:53:09 BPU kernel: [ 29.454872] x23: 00000000000001c0 x22: ffffff800a144090
Oct 21 01:53:09 BPU kernel: [ 29.454875] x21: 0000000000000000 x20: ffffffc0f90af000
Oct 21 01:53:09 BPU kernel: [ 29.454879] x19: ffffffc0f90af000 x18: 0000000000000001
Oct 21 01:53:09 BPU kernel: [ 29.454882] x17: 0000000000000000 x16: ffffffc0f7ff7e10
Oct 21 01:53:09 BPU kernel: [ 29.454885] x15: ffffffffffffffff x14: ffffff800a1491e0
Oct 21 01:53:09 BPU kernel: [ 29.454888] x13: ffffff800a148e39 x12: ffffff8009e84000
Oct 21 01:53:09 BPU kernel: [ 29.454892] x11: 0000000000000000 x10: ffffff800a148000
Oct 21 01:53:09 BPU kernel: [ 29.454895] x9 : 0000000000000000 x8 : ffffffc0f90af498
Oct 21 01:53:09 BPU kernel: [ 29.454898] x7 : ffffffc0f90af4a8 x6 : ffffffc0fefd75a0
Oct 21 01:53:09 BPU kernel: [ 29.454902] x5 : 0000000000000004 x4 : ffffffc0f90af81c
Oct 21 01:53:09 BPU kernel: [ 29.454905] x3 : ffffffc0f7ff7e10 x2 : 0000000000000000
Oct 21 01:53:09 BPU kernel: [ 29.454908] x1 : ffffff8008123a70 x0 : 0000000000000000
Oct 21 01:53:09 BPU kernel: [ 29.454909]
Oct 21 01:53:09 BPU kernel: [ 29.454912] Process irq/66-7000d400 (pid: 1352, stack limit = 0xffffffc0f7ff4000)
Oct 21 01:53:09 BPU kernel: [ 29.454914] Call trace:
Oct 21 01:53:09 BPU kernel: [ 29.454918] [] kthread_data+0x24/0x30
Oct 21 01:53:09 BPU kernel: [ 29.454923] [] task_work_run+0xbc/0xd8
Oct 21 01:53:09 BPU kernel: [ 29.454928] [] do_exit+0x2c4/0xa08
Oct 21 01:53:09 BPU kernel: [ 29.454934] [] bug_handler.part.2+0x0/0x88
Oct 21 01:53:09 BPU kernel: [ 29.454940] [] __do_kernel_fault.isra.1+0x144/0x218
Oct 21 01:53:09 BPU kernel: [ 29.454943] [] do_page_fault+0x60/0x518
Oct 21 01:53:09 BPU kernel: [ 29.454947] [] do_translation_fault+0x6c/0x80
Oct 21 01:53:09 BPU kernel: [ 29.454949] [] do_mem_abort+0x54/0xb0
Oct 21 01:53:09 BPU kernel: [ 29.454952] [] el1_da+0x24/0xbc
Oct 21 01:53:09 BPU kernel: [ 29.454958] [] handle_cpu_based_xfer+0x78/0x240
Oct 21 01:53:09 BPU kernel: [ 29.454961] [] tegra_spi_isr_thread+0x3c/0x48
Oct 21 01:53:09 BPU kernel: [ 29.454964] [] irq_thread_fn+0x30/0x80
Oct 21 01:53:09 BPU kernel: [ 29.454967] [] irq_thread+0x11c/0x1a8
Oct 21 01:53:09 BPU kernel: [ 29.454970] [] kthread+0xec/0xf0
Oct 21 01:53:09 BPU kernel: [ 29.454973] [] ret_from_fork+0x10/0x30
Oct 21 01:53:09 BPU kernel: [ 29.454976] —[ end trace da5c6fc0d70bffba ]—
Oct 21 01:53:09 BPU kernel: [ 29.462590] Fixing recursive fault but reboot is needed!
Oct 21 01:53:19 BPU kernel: [ 39.282547] spi-tegra114 7000d400.spi: spi transfer timeout
Oct 21 01:53:19 BPU kernel: [ 39.288312] spi-tegra114 7000d400.spi: SPI_ERR: CMD_0: 0x43e01027, FIFO_STS: 0x02c00004
Oct 21 01:53:19 BPU kernel: [ 39.296350] spi-tegra114 7000d400.spi: SPI_ERR: DMA_CTL: 0x00000000, TRANS_STS: 0x40ff0014
Oct 21 01:53:19 BPU kernel: [ 39.304828] spi_master spi0: failed to transfer one message from queue
Oct 21 01:53:23 BPU kernel: [ 43.142486] usb 1-2.2: usb_suspend_both: status 0
Oct 21 01:53:23 BPU kernel: [ 43.147305] usb 1-2.4: usb_suspend_both: status 0