Tool/software:
Information:
Platform: J784S4XG01EVM
SDK: ti-processor-sdk-linux-adas-j784s4-evm-11_00_00_08
Boot Mode: SD Card
Image: Prebuilt image generated with "create-sdcard.sh" script. No customization performed inside image.
Problem:
Hi,
When i use reboot command inside terminal, shutdown services of Linux takes approximately ~2 minutes and then system reboots without problem.
Is it normal behavior?
If i comment the line "name_overlays=ti/k3-j784s4-evm-ethfw.dtbo ti/k3-j784s4-vision-apps.dtbo" inside uEnv.txt, i do NOT experience this behavior.
Also, i do NOT experience this behavior with ti-processor-sdk-linux-adas-j784s4-evm-10_01_00_05 whether i comment above line or not.
I attached the kernel logs below when i initiate "reboot" command and blocked by ~2 minutes.
root@j784s4-evm:~# reboot root@j784s4-evm:~# Sto Stopping Session c2 of User root... [ OK ] Removed slice Slice /system/modprobe. [ OK ] Stopped target Graphical Interface. [ OK ] Stopped target Multi-User System. [ OK ] Stopped target Login Prompts. [ OK ] Stopped target Host and Network Name Lookups. [ OK ] Stopped target RPC Port Mapper. [ OK ] Stopped target Sound Card. [ OK ] Stopped target Timer Units. [ OK ] Stopped Daily rotation of log files. [ OK ] Stopped Daily Cleanup of Temporary Directories. [ OK ] Stopped target System Time Set. [ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch. Stopping Save/Restore Sound Card State... Stopping Job spooling tools... Stopping Avahi mDNS/DNS-SD Stack... Stopping containerd container runtime... Stopping Periodic Command Scheduler... Stopping emptty display manager... Stopping Getty on tty1... Stopping irqbalance daemon... Stopping Reboot and dump vmcore via kexec... Stopping LLDP daemon... Stopping Netperf Benchmark Server... Stopping Telephony service... [ OK ] Stopped Expand the rootfs partition to full size of the boot device.. Stopping Serial Getty on ttyS2... Stopping Simple Network Management Protocol (SNMP) Daemon.... Stopping strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf... Stopping Load/Save OS Random Seed... Stopping TEE Supplicant on teepriv0... Stopping Telnet Server... [ OK ] Stopped Job spooling tools. [ OK ] Stopped Avahi mDNS/DNS-SD Stack. [ OK ] Stopped Periodic Command Scheduler. [ OK ] Stopped irqbalance daemon. [ OK ] Stopped Telephony service. [ OK ] Stopped TEE Supplicant on teepriv0. [ OK ] Stopped LLDP daemon. [ OK ] Stopped strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf. [ OK ] Stopped Netperf Benchmark Server. [ OK ] Stopped containerd container runtime. [ OK ] Stopped Getty on tty1. [ OK ] Stopped Simple Network Management Protocol (SNMP) Daemon.. [ OK ] Stopped Serial Getty on ttyS2. [ OK ] Stopped Save/Restore Sound Card State. [ OK ] Stopped Reboot and dump vmcore via kexec. [ OK ] Stopped Load/Save OS Random Seed. [ OK ] Stopped Telnet Server. [ OK ] Stopped Session c2 of User root. [ OK ] Removed slice Slice /system/getty. [ OK ] Removed slice Slice /system/serial-getty. [ OK ] Removed slice Slice /system/tee-supplicant. Stopping User Manager for UID 0... [ OK ] Stopped User Manager for UID 0. Stopping User Runtime Directory /run/user/0... [ OK ] Unmounted /run/user/0. [ OK ] Stopped User Runtime Directory /run/user/0. [ OK ] Removed slice User Slice of UID 0. [ OK ] Stopped emptty display manager. [ OK ] Stopped Session c1 of User weston. Stopping User Login Management... Stopping User Manager for UID 1000... [ OK ] Stopped User Login Management. [ OK ] Stopped User Manager for UID 1000. [ 120.947397] kauditd_printk_skb: 8 callbacks suppressed [ 120.947409] audit: type=1334 audit(1741191398.968:20): prog-id=14 op=UNLOAD Stopping Permit User Sessions... Stopping User Runtime Directory /run/user/1000... [ OK ] Stopped Permit User Sessions. [ OK ] Unmounted /run/user/1000. [ OK ] Stopped User Runtime Directory /run/user/1000. [ OK ] Removed slice User Slice of UID 1000. # Blocks here for 2 minutes [ *** ] (1 of 2) A stop job is running for …c1 of User weston [ *** ] (2 of 2) A stop job is running for …ty display manager # Then continues [ OK ] Stopped target Network. [ OK ] Stopped target Remote File Systems. Stopping Network Configuration... [ OK ] Stopped Network Configuration. [ OK ] Stopped target Preparation for Network. [ OK ] Stopped IPv6 Packet Filtering Framework. [ 121.167228] audit: type=1334 audit(1741191399.188:21): prog-id=17 op=UNLOAD [ OK ] Stopped IPv4 Packet Filtering Framework. Stopping Multiple Spanning Tree Protocol Daemon... [ OK ] Stopped Generate network units from Kernel command line. [ OK ] Stopped Multiple Spanning Tree Protocol Daemon. [ OK ] Stopped target Basic System. [ OK ] Stopped target Path Units. [ OK ] Stopped Dispatch Password Requests to Console Directory Watch. [ OK ] Stopped Forward Password Requests to Wall Directory Watch. [ OK ] Stopped target Slice Units. [ OK ] Removed slice User and Session Slice. [ OK ] Stopped target Socket Units. [ OK ] Closed Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Closed Docker Socket for the API. [ OK ] Closed dropbear.socket. [ OK ] Closed PC/SC Smart Card Daemon Activation Socket. [ OK ] Closed Network Service Netlink Socket. Stopping D-Bus System Message Bus... [ OK ] Stopped D-Bus System Message Bus. [ OK ] Closed D-Bus System Message Bus Socket. [ 121.467235] audit: type=1334 audit(1741191399.488:22): prog-id=13 op=UNLOAD [ OK ] Stopped target System Initialization. Stopping Network Name Resolution... Stopping Network Time Synchronization... [ OK ] Stopped Network Name Resolution. [ OK ] Stopped Network Time Synchronization. [ OK ] Stopped Apply Kernel Variables. [ 121.547387] audit: type=1334 audit(1741191399.568:23): prog-id=8 op=UNLOAD [ 121.554277] audit: type=1334 audit(1741191399.568:24): prog-id=9 op=UNLOAD [ OK ] Closed Process Core Dump Socket. [ OK ] Stopped Load Kernel Modules. [ OK ] Stopped Create System Files and Directories. [ OK ] Stopped target Local File Systems. Unmounting /run/media/boot-mmcblk0p1... Unmounting /run/media/boot-mmcblk1p1... Unmounting /run/media/root-mmcblk0p2... Unmounting Temporary Directory /tmp... Unmounting /var/volatile... [ 121.680565] EXT4-fs (mmcblk0p2): unmounting filesystem da798368-e834-4d4a-9068-288fba32a707. [ OK ] Unmounted /run/media/boot-mmcblk0p1. [ OK ] Unmounted /run/media/boot-mmcblk1p1. [ OK ] Unmounted /run/media/root-mmcblk0p2. [ OK ] Unmounted Temporary Directory /tmp. [ OK ] Unmounted /var/volatile. [ OK ] Stopped target Swaps. [ OK ] Reached target Unmount All Filesystems. [ OK ] Stopped File System Check on /dev/mmcblk0p1. [ OK ] Stopped File System Check on /dev/mmcblk0p2. [ OK ] Stopped File System Check on /dev/mmcblk1p1. [ OK ] Removed slice Slice /system/systemd-fsck. [ OK ] Stopped target Preparation for Local File Systems. [ OK ] Stopped Remount Root and Kernel File Systems. [ OK ] Stopped Create Static Device Nodes in /dev. [ OK ] Stopped Create Static Device Nodes in /dev gracefully. [ OK ] Reached target System Shutdown. [ OK ] Reached target Late Shutdown Services. [ OK ] Finished System Reboot. [ OK ] Reached target System Reboot. [ 121.968722] audit: type=1334 audit(1741191399.988:25): prog-id=5 op=UNLOAD [ 121.975613] audit: type=1334 audit(1741191399.988:26): prog-id=4 op=UNLOAD [ 121.982488] audit: type=1334 audit(1741191399.988:27): prog-id=3 op=UNLOAD [ 121.989367] audit: type=1334 audit(1741191399.992:28): prog-id=16 op=UNLOAD [ 121.996335] audit: type=1334 audit(1741191399.992:29): prog-id=15 op=UNLOAD [ 122.063716] watchdog: watchdog0: nowayout prevents watchdog being stopped! [ 122.070593] watchdog: watchdog0: watchdog did not stop! [ 122.089104] systemd-shutdown[1]: Using hardware watchdog 'K3 RTI Watchdog', version 0, device /dev/watchdog0 [ 122.098945] systemd-shutdown[1]: Modifying watchdog hardware timeout is not supported, reusing the programmed timeout. [ 122.109641] systemd-shutdown[1]: Watchdog running with a hardware timeout of 1min. [ 122.145258] systemd-shutdown[1]: Syncing filesystems and block devices. [ 122.157426] systemd-shutdown[1]: Sending SIGTERM to remaining processes... [ 122.181919] systemd-journald[170]: Received SIGTERM from PID 1 (systemd-shutdow). [ 122.191794] systemd-shutdown[1]: Sending SIGKILL to remaining processes... [ 122.212038] systemd-shutdown[1]: Unmounting file systems. [ 122.219274] (sd-remount)[1324]: Remounting '/' read-only with options ''. [ 122.279130] EXT4-fs (mmcblk1p2): re-mounted 1d3599dc-6864-41e8-b7e9-7a91aa7a5400 ro. Quota mode: none. [ 122.292030] systemd-shutdown[1]: All filesystems unmounted. [ 122.297645] systemd-shutdown[1]: Deactivating swaps. [ 122.302766] systemd-shutdown[1]: All swaps deactivated. [ 122.308185] systemd-shutdown[1]: Detaching loop devices. [ 122.316507] systemd-shutdown[1]: All loop devices detached. [ 122.322090] systemd-shutdown[1]: Stopping MD devices. [ 122.327285] systemd-shutdown[1]: All MD devices stopped. [ 122.332590] systemd-shutdown[1]: Detaching DM devices. [ 122.337837] systemd-shutdown[1]: All DM devices detached. [ 122.343230] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached. [ 122.352872] watchdog: watchdog0: nowayout prevents watchdog being stopped! [ 122.359743] systemd-shutdown[1]: Failed to disable hardware watchdog, ignoring: Device or resource busy [ 122.369123] watchdog: watchdog0: nowayout prevents watchdog being stopped! [ 122.375983] watchdog: watchdog0: watchdog did not stop! [ 122.389682] systemd-shutdown[1]: Syncing filesystems and block devices. [ 122.396369] systemd-shutdown[1]: Rebooting. [ 122.446114] reboot: Restarting system