Bug 80881 - systemd poweroff become reboot in dell 15-7537
Summary: systemd poweroff become reboot in dell 15-7537
Status: RESOLVED NOTOURBUG
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-04 01:54 UTC by ayaka
Modified: 2014-09-14 22:57 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
the journalctl -b-1 (451.68 KB, text/plain)
2014-09-14 22:56 UTC, ayaka
Details

Description ayaka 2014-07-04 01:54:11 UTC
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, 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. I also have tried openrc in gentoo, it couldn't either. The kernel staff told me that kernel work well but it is the userspace's problem.
Comment 1 Zbigniew Jedrzejewski-Szmek 2014-07-16 03:08:30 UTC
This is unlikely to be a systemd problem, since at some point systemd asks the kernel to actually do the deed.

To test, can you do 'poweroff -f'? This talks directly to the kernel, bypassing the normal shutdown sequence.
Comment 2 Zbigniew Jedrzejewski-Szmek 2014-07-16 03:28:53 UTC
I looked at the kernel bug and see that 'echo o > /proc/sysrq-trigger' works for you. To narrow it down, please still do the 'poweroff -f' test, and if it works, turn on systemd debugging with 'systemd-analyze set-log-level debug', and try to poweroff as usual, and after the reboot, post logs from previous boot: 'journalctl -b-1' output.
Comment 3 ayaka 2014-07-18 18:58:49 UTC
(In reply to comment #2)
> I looked at the kernel bug and see that 'echo o > /proc/sysrq-trigger' works
> for you. To narrow it down, please still do the 'poweroff -f' test, and if
> it works, turn on systemd debugging with 'systemd-analyze set-log-level
> debug', and try to poweroff as usual, and after the reboot, post logs from
> previous boot: 'journalctl -b-1' output.

Yes, poweroff -f would poweroff the laptop.
But systemctl poweroff will reboot, the log is too long, I paste it there
http://paste.fedoraproject.org/119116/05709502/
Comment 4 Lennart Poettering 2014-08-18 21:27:15 UTC
Can you paste the relevant bits again? the fpaste is not available anymore.
Comment 5 ayaka 2014-08-20 13:02:25 UTC
I find my problem fix in new kernel, here is 3.15.8, when I report it the kernel is still 3.14. But I still have problem of poweroff after I reboot from windows, it is more likely the audio card problem in this laptop, the driver doesn't close the audio card in windows. Maybe the poweroff problem is caused by a windows driver.
Comment 6 Lennart Poettering 2014-08-20 13:15:15 UTC
OK, if the problem is gone with a newer kernel I figure we can close this bug.
Comment 7 ayaka 2014-09-14 22:56:33 UTC
Created attachment 106290 [details]
the journalctl -b-1
Comment 8 ayaka 2014-09-14 22:57:16 UTC
I am very sorry, that problem doesn't been solved. Please re-open it.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.