Hi TI
I created this ticket to separate it from an existing thread.
The question is that the "poweroff" command does not work properly as below.
root@j7200-evm:~# poweroff
Stopping Session c1 of user root.
[ OK ] Stopped target Multi-User System.
[ OK ] Stopped target Login Prompts.
[ OK ] Stopped target RPC Port Mapper.
[ OK ] Stopped target Timers.
[ OK ] Stopped Daily rotation of log files.
[ OK ] Stopped Daily Cleanup of Temporary Directories.
[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Stopping Job spooling tools...
Stopping Avahi mDNS/DNS-SD Stack...
Stopping Periodic Command Scheduler...
Stopping Docker Application Container Engine...
Stopping Ethernet Bridge Filtering Tables...
Stopping Getty on tty1...
Stopping irqbalance daemon...
Stopping Reboot and dump vmcore via kexec...
Stopping NFS status monitor for NFSv2/3 locking....
Stopping Telephony service...
Stopping Serial Getty on ttyS2...
Stopping Serial Getty on ttyS3...
Stopping Simple Network Ma…ent Protocol (SNMP) Daemon....
Stopping strongSwan IPsec …Ev2 daemon using ipsec.conf...
Stopping System Logger Daemon "default" instance...
Stopping Load/Save Random Seed...
Stopping TEE Supplicant...
Stopping thermal-zone-init.service...
Stopping Vsftpd ftp daemon...
[ OK ] Stopped Job spooling tools.
[ OK ] Stopped Periodic Command Scheduler.
[ OK ] Stopped irqbalance daemon.
[ OK ] Stopped Telephony service.
[ OK ] Stopped System Logger Daemon "default" instance.
[ OK ] Stopped TEE Supplicant.
[ OK ] Stopped Avahi mDNS/DNS-SD Stack.
[ OK ] Stopped NFS status monitor for NFSv2/3 locking..
[ OK ] Stopped Simple Network Man…ement Protocol (SNMP) Daemon..
[ OK ] Stopped Vsftpd ftp daemon.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS2.
[ OK ] Stopped Serial Getty on ttyS3.
[ OK ] Stopped strongSwan IPsec I…IKEv2 daemon using ipsec.conf.
[ OK ] Stopped Ethernet Bridge Filtering Tables.
[ OK ] Stopped Reboot and dump vmcore via kexec.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped thermal-zone-init.service.
[ OK ] Stopped Session c1 of user root.
[ OK ] Removed slice system-getty.slice.
[ OK ] Removed slice system-serial\x2dgetty.slice.
[ OK ] Removed slice system-syslog\x2dng.slice.
Stopping LSB: start and stop docker...
Stopping LSB: network benchmark...
Stopping syslog.service...
Stopping Login Service...
Stopping User Manager for UID 0...
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped LSB: start and stop docker.
[ OK ] Stopped LSB: network benchmark.
[ OK ] Stopped syslog.service.
[ OK ] Stopped target Host and Network Name Lookups.
[ OK ] Stopped target System Time Synchronized.
[ OK ] Stopped target System Time Set.
Stopping telnetd.service...
Stopping User Runtime Directory /run/user/0...
[ OK ] Unmounted /run/user/0.
[ OK ] Stopped telnetd.service.
[ OK ] Stopped User Runtime Directory /run/user/0.
[ OK ] Removed slice User Slice of UID 0.
Stopping D-Bus System Message Bus...
Stopping Permit User Sessions...
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Login Service.
[ OK ] Stopped Docker Application Container Engine.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Network is Online.
[ OK ] Stopped target Network.
[ OK ] Stopped target Remote File Systems.
Stopping Network Name Resolution...
[ OK ] Stopped Network Name Resolution.
Stopping Network Service...
[ OK ] Stopped Network Service.
[ OK ] Stopped target Network (Pre).
[ OK ] Stopped IPv6 Packet Filtering Framework.
[ OK ] Stopped IPv4 Packet Filtering Framework.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Paths.
[ OK ] Stopped Dispatch Password …ts to Console Directory Watch.
[ OK ] Stopped Forward Password R…uests to Wall Directory Watch.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Sockets.
[ OK ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed Docker Socket for the API.
[ OK ] Closed dropbear.socket.
[ OK ] Stopped target System Initialization.
Stopping Hardware RNG Entropy Gatherer Daemon...
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped Load Kernel Modules.
Stopping Network Time Synchronization...
Stopping Update UTMP about System Boot/Shutdown...
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Hardware RNG Entropy Gatherer Daemon.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /media/ram...
Unmounting /run/media/mmcblk0p1...
Unmounting /run/media/mmcblk0p2...
Unmounting /run/media/mmcblk1p1...
Unmounting Temporary Directory (/tmp)...
Unmounting /var/volatile...
[ OK ] Unmounted /media/ram.
[ OK ] Unmounted /run/media/mmcblk0p1.
[ OK ] Unmounted /run/media/mmcblk0p2.
[ OK ] Unmounted /run/media/mmcblk1p1.
[ OK ] Unmounted Temporary Directory (/tmp).
[ OK ] Unmounted /var/volatile.
[ OK ] Stopped target Swap.
[ 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 system-systemd\x2dfsck.slice.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Reached target Shutdown.
[ OK ] Reached target Final Step.
[ OK ] Started Power-Off.
[ OK ] Reached target Power-Off.
[ 1117.228251] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 1117.268982] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 1117.282975] systemd-journald[164]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 1117.304244] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 1117.316026] systemd-shutdown[1]: Unmounting file systems.
[ 1117.322937] [1429]: Remounting '/' read-only in with options '(null)'.
[ 1117.343359] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 1117.353509] systemd-shutdown[1]: All filesystems unmounted.
[ 1117.359125] systemd-shutdown[1]: Deactivating swaps.
[ 1117.364223] systemd-shutdown[1]: All swaps deactivated.
[ 1117.369489] systemd-shutdown[1]: Detaching loop devices.
[ 1117.376665] systemd-shutdown[1]: All loop devices detached.
[ 1117.382297] systemd-shutdown[1]: Detaching DM devices.
[ 1117.387652] systemd-shutdown[1]: All DM devices detached.
[ 1117.393086] systemd-shutdown[1]: All filesystems, swaps, loop devices and DM devices detached.
[ 1117.410690] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 1117.417409] systemd-shutdown[1]: Powering off.
[ 1117.445027] reboot: Power down
ERROR: System Off: operation not handled.
Can you please check this problem if it's abnormal behaviour.
Thanks.
Regards,
Jack