Hello,
I’ve got a Jetson Nano 2GB Developer kit and a 4inch resistive waveshare touchscreen, I followed this Tutorial. And everything was working very nicely then I had to update to a newer version of Jetpack for another part of the project and I followed the tutorial again. With some changes I finally got the touchscreen to work but then after a few touches it stopped working. A restart fixes it but after a couple touches it stops working again. dmesg --follow
shows this when the problem occurs:
[ 77.112793] Unable to handle kernel read from unreadable memory at virtual address 00000000
[ 77.121177] Mem abort info:
[ 77.123961] ESR = 0x96000005
[ 77.127006] Exception class = DABT (current EL), IL = 32 bits
[ 77.132910] SET = 0, FnV = 0
[ 77.135955] EA = 0, S1PTW = 0
[ 77.139084] Data abort info:
[ 77.141955] ISV = 0, ISS = 0x00000005
[ 77.145777] CM = 0, WnR = 0
[ 77.148736] user pgtable: 4k pages, 39-bit VAs, pgd = ffffffc0d1282000
[ 77.155247] [0000000000000000] *pgd=0000000000000000, *pud=0000000000000000
[ 77.162210] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[ 77.167768] Modules linked in: bnep fuse xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack br_netfilter zram r8188eu(C) overlay cfg80211 cdc_acm userspace_alert nvgpu ip_tables x_tables
[ 77.196256] CPU: 0 PID: 1334 Comm: irq/66-7000d400 Tainted: G C 4.9.253-tegra #1
[ 77.204761] Hardware name: NVIDIA Jetson Nano Developer Kit (DT)
[ 77.210753] task: ffffffc0f96b5400 task.stack: ffffffc0f7b9c000
[ 77.216663] PC is at tegra_spi_start_cpu_based_transfer+0x1d0/0x220
[ 77.222917] LR is at tegra_spi_start_cpu_based_transfer+0x24/0x220
[ 77.229083] pc : [<ffffff800886a068>] lr : [<ffffff8008869ebc>] pstate: 204000c5
[ 77.236459] sp : ffffffc0f7b9fd10
[ 77.239762] x29: ffffffc0f7b9fd10 x28: 0000000000000000
[ 77.245076] x27: 0000000000000000 x26: 0000000000000000
[ 77.250387] x25: ffffff800a0fb0af x24: ffffff8008122000
[ 77.255699] x23: ffffff8008122d78 x22: 0000000000000040
[ 77.261012] x21: ffffffc0f4c52318 x20: ffffffc0f4c52318
[ 77.266325] x19: ffffffc0f7b12de8 x18: 0000000000000000
[ 77.271638] x17: 0000000000000000 x16: 0000000000000000
[ 77.276950] x15: 000000000000006a x14: 0000000000080791
[ 77.282261] x13: 0000000000000043 x12: 071c71c71c71c71c
[ 77.287575] x11: 00000000000009df x10: 0000000000000000
[ 77.292887] x9 : 0000000000000001 x8 : 0000000000000001
[ 77.298199] x7 : 0000000000000000 x6 : 0000000000000000
[ 77.303511] x5 : 0000000000000000 x4 : 0000000000000001
[ 77.308823] x3 : 0000000000000000 x2 : 0000000000000001
[ 77.314135] x1 : 0000000000000000 x0 : 0000000000000000
[ 77.320933] Process irq/66-7000d400 (pid: 1334, stack limit = 0xffffffc0f7b9c000)
[ 77.328396] Call trace:
[ 77.330838] [<ffffff800886a068>] tegra_spi_start_cpu_based_transfer+0x1d0/0x220
[ 77.338131] [<ffffff800886a130>] handle_cpu_based_xfer+0x78/0x268
[ 77.344210] [<ffffff800886ac44>] tegra_spi_isr_thread+0x3c/0x48
[ 77.350118] [<ffffff8008122da8>] irq_thread_fn+0x30/0x80
[ 77.355416] [<ffffff8008123134>] irq_thread+0x11c/0x1a8
[ 77.360627] [<ffffff80080db0c4>] kthread+0xec/0xf0
[ 77.365407] [<ffffff80080838a0>] ret_from_fork+0x10/0x30
[ 77.370706] ---[ end trace aa5f35a3df4cbfeb ]---
[ 77.383538] note: irq/66-7000d400[1334] exited with preempt_count 1
[ 77.390034] Unable to handle kernel paging request at virtual address ffffffffffffffd8
[ 77.398068] Mem abort info:
[ 77.400913] ESR = 0x96000005
[ 77.404019] Exception class = DABT (current EL), IL = 32 bits
[ 77.409998] SET = 0, FnV = 0
[ 77.413108] EA = 0, S1PTW = 0
[ 77.416301] Data abort info:
[ 77.419219] ISV = 0, ISS = 0x00000005
[ 77.423067] CM = 0, WnR = 0
[ 77.426108] swapper pgtable: 4k pages, 39-bit VAs, pgd = ffffff800a240000
[ 77.433032] [ffffffffffffffd8] *pgd=0000000000000000, *pud=0000000000000000
[ 77.440127] Internal error: Oops: 96000005 [#2] PREEMPT SMP
[ 77.445686] Modules linked in: bnep fuse xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack br_netfilter zram r8188eu(C) overlay cfg80211 cdc_acm userspace_alert nvgpu ip_tables x_tables
[ 77.474158] CPU: 0 PID: 1334 Comm: irq/66-7000d400 Tainted: G D C 4.9.253-tegra #1
[ 77.482662] Hardware name: NVIDIA Jetson Nano Developer Kit (DT)
[ 77.488653] task: ffffffc0f96b5400 task.stack: ffffffc0f7b9c000
[ 77.494563] PC is at kthread_data+0x24/0x30
[ 77.498736] LR is at irq_thread_dtor+0x2c/0xd8
[ 77.503167] pc : [<ffffff80080dbcbc>] lr : [<ffffff8008122f6c>] pstate: 60400045
[ 77.510544] sp : ffffffc0f7b9f960
[ 77.513847] x29: ffffffc0f7b9f960 x28: ffffffc0f96b5400
[ 77.519158] x27: 0000000000000000 x26: 0000000000000000
[ 77.524469] x25: ffffff800a0fb0af x24: ffffff8009ec5000
[ 77.529780] x23: 00000000000001c0 x22: ffffff800a1aa0a0
[ 77.535092] x21: 0000000000000000 x20: ffffffc0f96b5400
[ 77.540402] x19: ffffffc0f96b5400 x18: 0000000000000010
[ 77.545712] x17: 0000000000000000 x16: ffffffc0f7b9fe10
[ 77.551022] x15: ffffffffffffffff x14: ffffff808a1ae5b7
[ 77.556333] x13: ffffff800a1ae5c5 x12: 0000000000000000
[ 77.561646] x11: 0000000005f5e0ff x10: 00000000000003a2
[ 77.566955] x9 : 00000000ffffffd0 x8 : ffffffc0f96b5898
[ 77.572265] x7 : ffffffc0f96b58a8 x6 : ffffffc0fefbe5e0
[ 77.577575] x5 : 000000000000000f x4 : ffffffc0f96b5c24
[ 77.582887] x3 : ffffffc0f7b9fe10 x2 : 0000000000000000
[ 77.588197] x1 : ffffff8008122f40 x0 : 0000000000000000
[ 77.594993] Process irq/66-7000d400 (pid: 1334, stack limit = 0xffffffc0f7b9c000)
[ 77.602457] Call trace:
[ 77.604896] [<ffffff80080dbcbc>] kthread_data+0x24/0x30
[ 77.610108] [<ffffff80080d8ddc>] task_work_run+0xbc/0xd8
[ 77.615407] [<ffffff80080b8438>] do_exit+0x2e0/0xa88
[ 77.620359] [<ffffff800808c1a4>] die+0x194/0x198
[ 77.624964] [<ffffff80080a207c>] __do_kernel_fault+0x144/0x218
[ 77.630781] [<ffffff80080a2288>] do_page_fault+0x60/0x480
[ 77.636165] [<ffffff80080a2714>] do_translation_fault+0x6c/0x80
[ 77.642070] [<ffffff8008080954>] do_mem_abort+0x54/0xb0
[ 77.647281] [<ffffff8008082904>] el1_da+0x24/0xbc
[ 77.651974] [<ffffff800886a130>] handle_cpu_based_xfer+0x78/0x268
[ 77.658052] [<ffffff800886ac44>] tegra_spi_isr_thread+0x3c/0x48
[ 77.663955] [<ffffff8008122da8>] irq_thread_fn+0x30/0x80
[ 77.669252] [<ffffff8008123134>] irq_thread+0x11c/0x1a8
[ 77.674462] [<ffffff80080db0c4>] kthread+0xec/0xf0
[ 77.679240] [<ffffff80080838a0>] ret_from_fork+0x10/0x30
[ 77.684540] ---[ end trace aa5f35a3df4cbfec ]---
[ 77.696575] Fixing recursive fault but reboot is needed!
[ 87.162711] spi-tegra114 7000d400.spi: spi transfer timeout
[ 87.168349] spi-tegra114 7000d400.spi: SPI_ERR: CMD_0: 0x47e00807, FIFO_STS: 0x00400005
[ 87.176398] spi-tegra114 7000d400.spi: SPI_ERR: DMA_CTL: 0x00000000, TRANS_STS: 0x40ff0001
[ 87.184743] spi_master spi0: failed to transfer one message from queue
[ 87.191286] ads7846 spi0.1: spi_sync --> -5
What could this be? I found 2 similar topics, the first one was solved by buying a new touchscreen and the other one had a solution where they removed fwupd
. The latter did not solve my issue and buying a new touchscreen is not really an option either.