[VA][TX1] How to dump Linux kernel panic call stack.

BSP r24.1.0 + dtb of Local build R24.2.1 + Customed carriy board.

Boot the system and meet the kernel panic.

The panic log have just two lines, there is no call stack in the Uart log.

How to enable the function for dumping call stack.


[    3.091492] TCP: reno registered
[    3.094591] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    3.100626] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    3.107371] NET: Registered protocol family 1
[    3.111782] RPC: Registered named UNIX socket transport module.
[    3.117207] RPC: Registered udp transport module.
[    3.121905] RPC: Registered tcp transport module.
[    3.126563] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.133497] tegra-fuse tegra-fuse: Fuse driver initialized succesfully
[    3.145786] host1x host1x: initialized
11:13:24.241 [    3.153062] NTFS driver 2.1.30 [Flags: R/O].
[    3.155450] fuse init (API version 7.22)
[    3.159484] msgmni has been set to 7704
[    3.164601] io scheduler noop registered (default)
[    3.168049] Tegra cpuquiet initialized: disabled
[    3.175139] tegra-pcie 1003000.pcie-controller: PCIE: Enable power rails
11:13:25.275 [    4.210622] Internal error: : 8a000000 [#1] PREEMPT SMP
[    3.181683] Unable to handle kernel paging request at virtual address c998ffffffc0ff82

Normally there would be a stack trace…it looks like it locked up before being able to do so. If you were using a serial console you might see more…no disk write is involved, it may survive and dump. For serial console see:

This could be quite far from what’s actually happening, but might also be the same issue:

Is any of this compiled as 32-bit armhf instead of arm64/aarch64?

hi Linuxdev:

This problem I don’t meet, just right now.
I had used the BSP r24.1.0 and rootfs , they don’t match the r24.2.1 dtbs.

If the stack trace will be shown Normally, it is ok for me.
Still very grateful,Thanks.

Qiang zuo.