[Bug 964562] New: Laptop reboots instead of shutting down
http://bugzilla.opensuse.org/show_bug.cgi?id=964562 Bug ID: 964562 Summary: Laptop reboots instead of shutting down Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: hotmusicfan@mail.bg QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello! I saw another bug with this case here: https://bugzilla.opensuse.org/show_bug.cgi?id=955096 but decided to file a new one because I am using the 4.4.x kernel. My laptop is HP ProBook 4540s with UEFI and disabled secure boot. I am using encrypted LVM (LUKS+XFS) and I have tried everything to shutdown my laptop (disabling wake on LAN, trying shutdown commands from terminal) but the problem does not goes away. It is interesting that the problem exists when the laptop runs on battery power and has to be powered off. The only way is the 'hard' shutdown with the power button. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c3
--- Comment #3 from Hot MusicFan
The symptom sounds different from boo#955096. That bug was about the blockage of shutdown/reboot while yours is spurious wakeup after shutdown. This is mostly due to either ACPI or XHCI wakeup.
Check /proc/acpi/wakeup. For each "enabled" item, echo the device name, e.g. if "USB1" shows "enabled", run like echo -n USB1 > /proc/acpi/wakeup Then this item will be disabled. After disabling all, try to shutdown and check whether the reboot happens.
Disabling the ACPI wakeup would also disable the wake up after suspend, of course. It's just for figuring out the cause.
Another possible spurious wakeup source is USB. XHCI driver has various workarounds for such firmware problems. You can pass quirks option to xhci-hcd module, e.g. try to pass "xhci_hcd.quirks=0x42000" boot option.
I have disabled all enabled processes in /proc/acpi/wakeup as you suggested but there is just no result. The laptop reboots everytime independently if it is running on battery or on power supply; Also I have entirely disabled Wake on USB from UEFI. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c4
--- Comment #4 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c5
--- Comment #5 from Hot MusicFan
Did you try to boot with xhci_hcd.quirk option I suggested?
Like this? (attachment below) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c6
--- Comment #6 from Hot MusicFan
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c7
--- Comment #7 from Hot MusicFan
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c8
--- Comment #8 from Takashi Iwai
(In reply to Takashi Iwai from comment #4)
Did you try to boot with xhci_hcd.quirk option I suggested?
Like this? (attachment below)
Note that you can edit the boot option directory in GRUB by pressing 'e' key. And do I understand correctly that your machine *reboots* after shutdown automagically? For a spurious reboot, another possible source is Wake-on-LAN. This can be disabled via ethtool command on the fly. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c9
--- Comment #9 from Hot MusicFan
(In reply to Hot MusicFan from comment #5)
(In reply to Takashi Iwai from comment #4)
Did you try to boot with xhci_hcd.quirk option I suggested?
Like this? (attachment below)
Note that you can edit the boot option directory in GRUB by pressing 'e' key.
And do I understand correctly that your machine *reboots* after shutdown automagically?
For a spurious reboot, another possible source is Wake-on-LAN. This can be disabled via ethtool command on the fly.
Yes, it reboots automatically. I have disabled Wake On LAN from UEFI too - there was no effect. I will try this parameter in GRUB directly and will report later. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c10
--- Comment #10 from Hot MusicFan
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c11
--- Comment #11 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c12
--- Comment #12 from Hot MusicFan
Then I have out of idea. We have HP 4540s here, and they were fine, AFAIK.
Just to be sure, check the current value of xhci_hcd.quirks % cat /sys/module/xhci_hcd/parameters/quirks
The output is: 270336 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c13
Hot MusicFan
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
http://bugzilla.opensuse.org/show_bug.cgi?id=964562#c14
--- Comment #14 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=964562
David MacNeil
participants (1)
-
bugzilla_noreply@novell.com