Re: Droid 4: poweroff does not work? calls
From: Sebastian Reichel
Date: Mon Dec 10 2018 - 20:15:55 EST
Hi,
On Sun, Dec 09, 2018 at 01:13:18PM +0100, Pavel Machek wrote:
> Poweroff does not seem to work on Motorola droid 4 -- it reboots. It
> seems to be problem "forever", 4.18 and 4.20-rc5 seem to be
> affected. It is bad, because when your battery is low, you get into
> reboot loop and discharge it furher, which batteries do not like.
>
> Any ideas, or at least idea how to debug this?
I cannot reproduce (using 8214bdf7d3e6 + a lot of omapdrm patches,
that I'm currently testing):
droid4# poweroff
[ 1097.557434] printk: systemd-shutdow: 32 output lines suppressed due to ratelimiting
[ 1097.862670] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 1097.920715] systemd-journald[158]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 1097.973022] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 1098.027008] systemd-shutdown[1]: Unmounting file systems.
[ 1098.034057] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro'.
[ 1098.136413] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ 1098.170623] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro'.
[ 1098.190673] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ 1098.201324] systemd-shutdown[1]: All filesystems unmounted.
[ 1098.202148] systemd-shutdown[1]: Deactivating swaps.
[ 1098.213226] systemd-shutdown[1]: All swaps deactivated.
[ 1098.213958] systemd-shutdown[1]: Detaching loop devices.
[ 1098.240692] systemd-shutdown[1]: All loop devices detached.
[ 1098.370880] reboot: Power down
^ phone is off at this point
-- Sebastian
Attachment:
signature.asc
Description: PGP signature