I have a Dell 15-7537 laptop install fedora 20 with kernel 3.14.8. But I can't power off my laptop using systemctl poweroff, I have tried openrc in gentoo, it couldn't either. Once I let systemctl power off my laptop, it will, but it actually do the reboot, I have to press power button on laptop or type halt in grub2, but it will cause the other reboot, after the second reboot, I could power off my laptop this time. But in the Windows 8.1, I don't need to do that, just click power off it would power off my laptop properly.
Could you try the following command to power off machine? echo "o" > /proc/sysrq-trigger
(In reply to Lan Tianyu from comment #1) > Could you try the following command to power off machine? > > echo "o" > /proc/sysrq-trigger it would works, it would shutdown the laptop at once. It won't reboot.
Reboot, you need to run echo "b" > /proc/sysrq-triiger.
(In reply to Lan Tianyu from comment #3) > Reboot, you need to run echo "b" > /proc/sysrq-triiger. yes I know. But this is not the point, if I use systemctl or openrc it won't be able to shutdown the computer it will cause a stranger reboot.
I am not sure why these commands can't work. But from kernel side, power off works normally. Is this bug a regression?
How about "reboot -p"
(In reply to Lan Tianyu from comment #6) > How about "reboot -p" It will reboot the my laptop but not power off, it should switch off the power. like echo "o" > /proc/sysrq-trigger, it will only turn off the power but not doing umount the rootfs or shutdown the services. Maybe the bug caused by the other part, what shall I do to make sure which part has bug?
(In reply to ayaka from comment #7) > (In reply to Lan Tianyu from comment #6) > > How about "reboot -p" > > It will reboot the my laptop but not power off, it should switch off the > power. > like echo "o" > /proc/sysrq-trigger, it will only turn off the power but not > doing umount the rootfs or shutdown the services. > Maybe the bug caused by the other part, what shall I do to make sure which > part has bug? Not familiar with the power off code in the user space. Could you try to apply a bug to user space?
(In reply to Lan Tianyu from comment #8) > (In reply to ayaka from comment #7) > > (In reply to Lan Tianyu from comment #6) > > > How about "reboot -p" > > > > It will reboot the my laptop but not power off, it should switch off the > > power. > > like echo "o" > /proc/sysrq-trigger, it will only turn off the power but > not > > doing umount the rootfs or shutdown the services. > > Maybe the bug caused by the other part, what shall I do to make sure which > > part has bug? > > Not familiar with the power off code in the user space. Could you try to > apply a bug to user space? I see thank you, I will issue it to systemd and openrc.
Close this bug since no further steps can be done in the kernel side.