Random shutdown

Hello,
I have been working with a jetson agx xavier, but I am having some issues with the xavier triggering shutdowns and I dont know the reason why. The system is powered with an external battery.
Usually the first thing that happens when booting is :

kernel: [ 0.000000] Booting Linux on physical CPU 0x0

but here I can see the xavier is doing stuff before that in the logs, here are the relevant log files :

Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopping PackageKit Daemon…
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopped target Timers.
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopped Daily apt upgrade and clean activities.
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopping Manage, Install and Generate Color Profiles…
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopped Trigger anacron every hour.
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopping crash report submission daemon…
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopping Thunderbolt system service…
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopping Save/Restore Sound Card State…
Jan 22 10:18:11 tpsh-agx-1 bluetoothd[7948]: Terminating
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopping Session 1 of user tpsh.
Jan 22 10:18:11 tpsh-agx-1 bluetoothd[7948]: src/adapter.c:adapter_shutdown()
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopped target Sound Card.
Jan 22 10:18:11 tpsh-agx-1 bluetoothd[7948]: src/plugin.c:plugin_cleanup() Cleanup plugins
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Unmounting /data…
Jan 22 10:18:11 tpsh-agx-1 bluetoothd[7948]: profiles/input/suspend-none.c:suspend_exit()
Jan 22 10:18:11 tpsh-agx-1 systemd[1]: Stopping Bluetooth service…
Jan 22 10:19:04 tpsh-agx-1 systemd-modules-load[2326]: Inserted module ‘bluedroid_pm’
Jan 22 10:19:04 tpsh-agx-1 systemd-modules-load[2326]: Module ‘nvhost_vi’ is builtin
Jan 22 10:19:04 tpsh-agx-1 systemd-modules-load[2326]: Inserted module ‘nvgpu’
Jan 22 10:19:04 tpsh-agx-1 systemd-udevd[2509]: Network interface NamePolicy= disabled on kernel command line, ignoring.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Set console font and keymap.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Tell Plymouth To Write Out Runtime Data.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Preprocess NFS configuration.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Mounted Kernel Configuration File System.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 3152 (update-binfmts)
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Mounting Arbitrary Executable File Formats File System…
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Reached target NFS client services.
Jan 22 10:19:04 tpsh-agx-1 systemd-sysctl[3206]: Couldn’t write ‘1’ to ‘net/ipv4/tcp_syncookies’, ignoring: No such file or directory
Jan 22 10:19:04 tpsh-agx-1 systemd-sysctl[3206]: Couldn’t write ‘1’ to ‘kernel/yama/ptrace_scope’, ignoring: No such file or directory
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Starting Flush Journal to Persistent Storage…
Jan 22 10:19:04 tpsh-agx-1 systemd-sysctl[3206]: Couldn’t write ‘fq_codel’ to ‘net/core/default_qdisc’, ignoring: No such file or directory
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Apply Kernel Variables.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Clean up any mess left by 0dns-up.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Mounted Arbitrary Executable File Formats File System.
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] Booting Linux on physical CPU 0x0
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] Linux version 4.9.140-tegra (buildbrain@mobile-u64-3357) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Thu Jun 25 21:22:12 PDT 2020
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Starting Nameserver information manager…
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] Boot CPU: AArch64 Processor [4e0f0040]
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] OF: fdt:memory scan node memory, reg size 48,
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] OF: fdt: - 80000000 , 2c000000
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started udev Kernel Device Manager.
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] OF: fdt: - ac200000 , 44600000
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] OF: fdt: - 100000000 , 780000000
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] earlycon: tegra_comb_uart0 at MMIO32 0x000000000c168000 (options ‘’)
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] bootconsole [tegra_comb_uart0] enabled
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Enable support for additional executable binary formats.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Flush Journal to Persistent Storage.
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] Found tegra_fbmem: 00140000@a069c000
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] Found lut_mem: 00002008@a0696000
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Nameserver information manager.
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] OF: fdt:Reserved memory: failed to reserve memory for node ‘fb1_carveout’: base 0x0000000000000000, size 0 MiB
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] OF: fdt:Reserved memory: failed to reserve memory for node ‘fb1_carveout’: base 0x0000000000000000, size 0 MiB
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] OF: fdt:Reserved memory: failed to reserve memory for node ‘fb2_carveout’: base 0x0000000000000000, size 0 MiB
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] OF: fdt:Reserved memory: failed to reserve memory for node ‘fb2_carveout’: base 0x0000000000000000, size 0 MiB
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Reached target Network (Pre).
Jan 22 10:19:04 tpsh-agx-1 kernel: [ 0.000000] OF: fdt:Reserved memory: failed to reserve memory for node ‘fb3_carveout’: base 0x0000000000000000, size 0 MiB
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Starting Raise network interfaces…
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Starting Create Volatile Files and Directories…
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Create Volatile Files and Directories.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Starting Network Name Resolution…
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Starting Network Time Synchronization…
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Starting Update UTMP about System Boot/Shutdown…
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Entropy daemon using the HAVEGE algorithm.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Starting RPC bind portmap service…
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Update UTMP about System Boot/Shutdown.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started RPC bind portmap service.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Started Raise network interfaces.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Reached target Remote File Systems (Pre).
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Reached target Remote File Systems.
Jan 22 10:19:04 tpsh-agx-1 systemd[1]: Reached target RPC Port Mapper.

Is this shutdown triggered by software ? Why does this happen ?

Thanks for help.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

hello Lebasith,

may I know what’s your actual use-case,
are you able to narrow down the issue by switching the power-supply, AC?
thanks