[Lenovo IdeaCentre A540] Doesn't poweroff on shutdown

Bug #1651294 reported by Nicolas K
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

My computer (model Lenovo A540 Haswell) hangs indefinitely at shutdown and doesn't react to most keyboard combinations. I have to press the power button for a few (~5) seconds in order to shut it down.

This started happening after switching from Lubuntu 15.10 to Lubuntu 16.04.

I don't have this problem with Windows 10 (dual boot).

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-53-generic 4.4.0-53.74
ProcVersionSignature: Ubuntu 4.4.0-53.74-generic 4.4.30
Uname: Linux 4.4.0-53-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: nico 2096 F.... pulseaudio
 /dev/snd/controlC1: nico 2096 F.... pulseaudio
CurrentDesktop: LXDE
Date: Mon Dec 19 20:54:01 2016
HibernationDevice: RESUME=UUID=ef8c9700-bfb5-44a4-8d49-f82e03fd6e68
InstallationDate: Installed on 2016-02-13 (310 days ago)
InstallationMedia: Lubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
MachineType: LENOVO F0AN
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-53-generic root=UUID=4d7d95e5-cfce-4e21-84fb-2dd965595f63 ro acpi=noirq net.ifnames=0 biosdevname=0 quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-53-generic N/A
 linux-backports-modules-4.4.0-53-generic N/A
 linux-firmware 1.157.6
SourcePackage: linux
StagingDrivers: r8723au
UpgradeStatus: Upgraded to xenial on 2016-12-17 (2 days ago)
dmi.bios.date: 09/30/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: O00KT19AUS
dmi.board.name: INVALID
dmi.board.vendor: LENOVO
dmi.board.version: 31900058 STD
dmi.chassis.type: 13
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnLENOVO:bvrO00KT19AUS:bd09/30/2014:svnLENOVO:pnF0AN:pvrLenovoA540:rvnLENOVO:rnINVALID:rvr31900058STD:cvnLENOVO:ct13:cvrChassisVersion:
dmi.product.name: F0AN
dmi.product.version: Lenovo A540
dmi.sys.vendor: LENOVO

Revision history for this message
Nicolas K (nielks) wrote :
description: updated
penalvch (penalvch)
tags: added: bios-outdated-o14kt19aus
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
Revision history for this message
penalvch (penalvch) wrote :

Nicolas K, thank you for reporting this and helping make Ubuntu better.

In order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following:
1) The one to test is at the very top line at the top of the page (not the daily folder).
2) The release names are irrelevant.
3) The folder time stamps aren't indicative of when the kernel actually was released upstream.
4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds .

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Also, you don't need to apport-collect further unless specifically requested to do so.

It is most helpful that after testing of the latest upstream kernel is complete, you mark this report Status Confirmed.

Lastly, to keep this issue relevant to upstream, please continue to test the latest mainline kernel as it becomes available.

Thank you for your help.

description: updated
tags: added: regression-release
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Nicolas K (nielks) wrote :

I observe the same behavior with mainline kernel (4.9, commit 69973b830859bc6529a7a0468ba0d80ee5117826).

tags: added: kernel-bug-exists-upstream
Nicolas K (nielks)
tags: added: kernel-bug-exists-upstream-4.9
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-bisect
Revision history for this message
Nicolas K (nielks) wrote :
Download full text (3.3 KiB)

Christopher, that issue already existed in kernel 4.2 ; sorry for my previous misleading comment.

I did install and boot several older kernels (namely, mainlines 4.3, 4.2, 4.0, 3.19 and 3.13) , but had the same problem with all of them.
On older kernels, though, I get an error message similar to this at shutdown:
32.250495] usb 3-1: device not accepting address 3, error -110
42.823143] usb 3-1: device not accepting address 4, error -110
53.395791] usb 3-1: device not accepting address 5, error -110
53.552058] usb usb3-port1: unable to enumerate USB device
53.552058] reboot: System halted

Back to kernel 4.9, looking at dmesg in detail (see attachment), I noticed the following

(1)
[ 0.000000] DMI: LENOVO F0AN/INVALID, BIOS O00KT19AUS 09/30/2014

(2)
[ 0.002774] ACPI Error: [_SB_.PCI0.XHC_.RHUB.SSP3] Namespace lookup failure, AE_NOT_FOUND (20160831/dswload-210)
[ 0.002782] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20160831/psobject-227)
[ 0.002927] ACPI Exception: AE_NOT_FOUND, [DSDT] table load failed (20160831/tbxfload-198)
[ 0.003270] ACPI Error: [\_PR_.CPU0] Namespace lookup failure, AE_NOT_FOUND (20160831/dswload-210)
(several similar errors follow)

(3)
[ 0.069971] DMAR-IR: [Firmware Bug]: ioapic 0 has no mapping iommu, interrupt remapping will be disabled

(4)
[ 0.404344] ACPI Error: [PCHS] Namespace lookup failure, AE_NOT_FOUND (20160831/psargs-359)
[ 0.404354] ACPI Error: Method parse/execution failed [\] (Node ffffffffa0415920), AE_NOT_FOUND (20160831/psparse-543)
(several similar errors follow)
[ 0.405105] ACPI: Using PIC for interrupt routing
[ 0.405114] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[ 0.405146] [Firmware Info]: PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] not reserved in ACPI motherboard resources
[ 0.405147] PCI: not using MMCONFIG
[ 0.405148] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug

(5)
[ 0.963786] DMAR: Failed to find handle for ACPI object \_SB.PCI0.I2C0
[ 0.963792] DMAR: Failed to find handle for ACPI object \_SB.PCI0.I2C1
[ 0.963795] DMAR: Failed to find handle for ACPI object \_SB.PCI0.UA01
[ 0.963798] DMAR: Failed to find handle for ACPI object \_SB.PCI0.SDHC
[ 0.963810] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)

(6)
[ 1.263487] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 1.263489] ACPI: Power Button [PWRF]
[ 1.263545] GHES: HEST is not enabled!

(1) and (3) let me think that this might be a firmware problem (but then, how come the same hardware and BIOS work properly with Windows? could it related to enabling/disabling UEFI, e.g., "csm mode" in Lenovo verbiage ?)

(2), (4) and (5) are symptoms of ACPI failure; I found several old tickets where the same error appears, such as:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/668148
https://bugs.launchpad.net/ubuntu/+source/acpi/+bug/551654
http://askubuntu.com/questions/624447/cannot-boot-14-04-ubuntu
https://bugzilla.kernel.org/show_bug.cgi?id=43229

(6) I don't know what GHES and HEST mean, some other tickets have been opened and it lo...

Read more...

tags: removed: needs-bisect
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Nicolas K (nielks) wrote :

Christopher, the BIOS update you mention is for the Broadwell system (BIOS 014KT19AUS), while my computer is Haswell-based (BIOS 0OOKT19AUS).

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
tags: added: latest-bios-o00kt19aus
removed: bios-outdated-o14kt19aus
Revision history for this message
penalvch (penalvch) wrote :

Nicolas K, it wouldn't hurt to contact Lenovo requesting a version for your hardware (or confirm yours is the latest).

Could you please advise?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Nicolas K (nielks)
description: updated
Nicolas K (nielks)
description: updated
penalvch (penalvch)
description: updated
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.