Shutdown restarts the laptop - HP EliteBook 840 G2

Bug #1470723 reported by Christoffer Holmstedt
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Shutdown restarts the laptop - HP EliteBook 840 G2

### Expected behaviour
When I turn off the laptop through Unity GUI or terminal by running "shutdown -h 0" the laptop turns off and should stay off.

### Current behaviour
When I turn off the laptop through Unity GUI or terminal by running "shutdown -h 0" the laptop turns off but within a few seconds it boots up again.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-21-generic 3.19.0-21.21
ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
Uname: Linux 3.19.0-21-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: chol 2001 F.... pulseaudio
 /dev/snd/controlC0: chol 2001 F.... pulseaudio
 /dev/snd/controlC1: chol 2001 F.... pulseaudio
CurrentDesktop: Unity
Date: Thu Jul 2 07:54:18 2015
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=d6abc876-84da-44f2-bb0e-73160d66a5ad
InstallationDate: Installed on 2015-06-05 (26 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: Hewlett-Packard HP EliteBook 840 G2
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-21-generic.efi.signed root=UUID=c74eaae8-925d-41a3-8568-981ec3ef9948 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-21-generic N/A
 linux-backports-modules-3.19.0-21-generic N/A
 linux-firmware 1.143.1
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/24/2015
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: M71 Ver. 01.04
dmi.board.name: 2216
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 96.54
dmi.chassis.asset.tag: 5CG5093YZ7
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrM71Ver.01.04:bd02/24/2015:svnHewlett-Packard:pnHPEliteBook840G2:pvrA3009D410303:rvnHewlett-Packard:rn2216:rvrKBCVersion96.54:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 840 G2
dmi.product.version: A3009D410303
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Christoffer Holmstedt (christoffer-holmstedt) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → High
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.1 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-unstable/

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Christoffer Holmstedt (christoffer-holmstedt) wrote :

This is a completely new laptop so haven't tested any previous kernel versions. I need at least kernel 3.17 for MST support for my docking station so therefore Ubuntu 15.04 was the only option for me with kernel 3.19 as default.

I just tried both 4.1.0 and 4.1.1 and the bug is still there. The last message I see when I turn off the laptop is "Reboot: Power down" or something like that, and then it reboots.

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
tags: added: bios-outdated-1.05
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Christoffer Holmstedt (christoffer-holmstedt) wrote :

No change after BIOS upgrade.

"If it doesn't, could you please both specify what happened, and provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date"

@Christopher M. Penalver What do you mean with "[...] could you please both specify what happened [...]"?

$ sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
M71 Ver. 01.05
03/26/2015

tags: removed: bios-outdated-1.05
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
tags: added: latest-bios-1.05
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Christoffer Holmstedt (christoffer-holmstedt) wrote :

No luck with kernel 4.1.1 in combination with the BIOS 1.05.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Christoffer Holmstedt (christoffer-holmstedt) wrote :

Here is a short video with the shutdown/reboot messages https://www.youtube.com/watch?v=gE8vgwNH22Y

At the 16 seconds mark the full log is shown before it restarts.

Revision history for this message
penalvch (penalvch) wrote :

Christoffer Holmstedt, could you please test the latest mainline kernel (4.2-rc1) and advise to the results?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Christoffer Holmstedt (christoffer-holmstedt) wrote :

I'm now back in front of the failing computer and have tried 4.2rc1 - rc4 and they all fail in kernel panic during boot up. "BUG: unable to handle kernel paging request at fffffffffffffd8". Due to this I'm unable to verify if the new kernel versions solves this problem at the moment. Any suggestions on how to proceed are appreciated (or just wait for 4.2 final?).

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Ricardo Ferreira (stealthymarine) wrote :

Also affects my HP 840G1. Started happening after the 15.04 upgrade.

Revision history for this message
FatTony (fattony4) wrote :

Has anyone tried this workaraound: Disable "Wake On LAN" or "Wake On WLAN" in the BIOS.
I think it solved my problem although I'm not certain yet.

If this works, it may expose the original flaw or at least point the debuggers in the general direction.
Credits to the Debian people: https://lists.debian.org/debian-kernel/2015/05/msg00256.html

Revision history for this message
Christoffer Holmstedt (christoffer-holmstedt) wrote :

@FatTony Thank you. Wake on LAN was actually enabled by default on my laptop as well. I have now turned it off as I don't need it and the system turns off properly.

Related Debian Bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775812

PS. Strange that that a BIOS setting can affect Ubuntu in this manner and Windows is unaffected.

no longer affects: linux
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.