[ehl] Shutdown hangs on board

Bug #1938413 reported by Doug Jacobs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intel
Fix Committed
Undecided
Unassigned
Lookout-canyon-series
Fix Released
Undecided
Unassigned
linux-intel (Ubuntu)
Fix Committed
Undecided
Hsuan-Yu Lin

Bug Description

[Summary]Go to Power -> Shutdown and the screen goes blank, but the system does not shut down. You cannot recover and have to perform a hard reboot.

[Steps to reproduce]
1. Boot up Ubuntu
2. Power -> Shutdown (click ok)

[Expected result]
System should cleanly shut down.

[Actual result]
Screen blanks with a blinking cursor, the system does not shut down, the fan is still on. System is unresponsive, forcing you to do a hard reset.

[Failure rate]100%

[Additional information]
CID: 20215-29063
SKU:
system-manufacturer: Intel Corporation
system-product-name: Elkhart Lake Embedded Platform
bios-version: EHLSFWI1.R00.2091.A00.2002250754
CPU: Genuine Intel(R) CPU 0000 @ 1.90GHz (4x)
GPU: 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:4571]
kernel-version: 5.11.0-1009-intel

[Stage]
Device froze, issue reported and logs collected right after a reboot

Revision history for this message
Doug Jacobs (djacobs98) wrote :

Automatically attached

Revision history for this message
Doug Jacobs (djacobs98) wrote :

Automatically attached

Revision history for this message
Doug Jacobs (djacobs98) wrote :

Automatically attached

Revision history for this message
Doug Jacobs (djacobs98) wrote :

Automatically attached

Revision history for this message
Anthony Wong (anthonywong) wrote :

needs to revert "pinctrl: intel: Add Intel Elkhart Lake pin controller support" until there is BIOS fix.

Changed in linux-intel (Ubuntu):
assignee: nobody → Hsuan-Yu Lin (shanelin)
Hsuan-Yu Lin (shanelin)
Changed in linux-intel (Ubuntu):
status: New → In Progress
Revision history for this message
Sachin Mokashi (sachinmokashi) wrote :

This is a known issue on EHL, please track the solution here:
https://github.com/thesofproject/linux/issues/2828

As mentioned in the link, Please disable CONFIG_PINCTRL_ELKHARTLAKE=y for EHL until MR2 BIOS is released.

No need to revert the patch in this case

Revision history for this message
Hsuan-Yu Lin (shanelin) wrote :

Test passed [1] after reverting "pinctrl: intel: Add Intel Elkhart Lake pin controller support"

CID: 202105-29064
BIOS: EHLSFWI1.R00.2091.A00.2002250754

---
[1] The CPU fan stops. But some LEDs are on.

Revision history for this message
Hsuan-Yu Lin (shanelin) wrote :

Hi @Doug,

Please use this test kernel to verify this issue.

version: 5.11.0-1011-intel #12+lp1938408~lp1938413

[Installation steps]
1. tar -zxvf revert.tgz
2. cd revert
3. sudo dpkg -i *.deb

Revision history for this message
Doug Jacobs (djacobs98) wrote :

System shuts down properly after this workaround. Fan stops, board LEDs remain on (system has no LED power indicator.) System boots properly upon unplugging/plugging back in.

Revision history for this message
Doug Jacobs (djacobs98) wrote :

I spoke too soon.

If you continually shutdown/boot the system, it will hang, about 20% of the time, at the splash screen.

Revision history for this message
Hsuan-Yu Lin (shanelin) wrote :

Hi @Doug,

Regarding this issue and bug 1938408, could you try to use the old kernel to see if this patch caused the system hang issue?

Revision history for this message
Doug Jacobs (djacobs98) wrote :

Which is the Old Kernel you want me to try?

All these bugs were filed using
iotg-focal-core-20210722.img (5.11.0-1011-intel)
I then used the patch you gave me on this kernel and retested.

I have managed to have the system hang on booting after a shutdown twice, but after another 10 shutdowns, it hasn't had any problems.

I will repeat this with the older releases:
iotg-focal-core-20210629.img
iotg-focal-core-20210714.img

Revision history for this message
Doug Jacobs (djacobs98) wrote :

Actually I made a mistake. I filed these with iotg-focal-desktop-20210706.img

This is the only image I've used on the EHL board. I got confused with the TGL-H board which I've used both Desktop and Core.

So, What is the old kernel you want me to use?

Revision history for this message
Hsuan-Yu Lin (shanelin) wrote :

Regarding comment #7, No need to revert the patch in this case

Test passed (5/5) by disabling CONFIG_PINCTRL_ELKHARTLAKE and remove the kernel module.

I will upload a new kernel for testing later.

Revision history for this message
Hsuan-Yu Lin (shanelin) wrote :

Patches are ready and under review.

Revision history for this message
Hsuan-Yu Lin (shanelin) wrote :

Hi @Doug,

I have uploaded a new test kernel on my ppa, please refer to [1] or follow the steps below to verify:

[Installation steps]
$ sudo add-apt-repository ppa:shanelin/linux-intel
$ sudo apt-get update
$ sudo apt-get install linux-image-unsigned-5.11.0-1011-intel=5.11.0-1011.13+lp1938408~lp1938413~0805 linux-modules-5.11.0-1011-intel=5.11.0-1011.13+lp1938408~lp1938413~0805 linux-modules-extra-5.11.0-1011-intel=5.11.0-1011.13+lp1938408~lp1938413~0805

---
[1] https://launchpad.net/~shanelin/+archive/ubuntu/linux-intel
[2] Test passed (5/5) for:
CID: 202105-29064
BIOS: EHLSFWI1.R00.2091.A00.2002250754

Jesse Sung (wenchien)
Changed in linux-intel (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Brad Figg (brad-figg)
Changed in intel:
status: New → Fix Committed
tags: added: lookout-canyon
Revision history for this message
Hsuan-Yu Lin (shanelin) wrote :

Test passed (5/5) for:
CID: 202105-29104
BIOS: EHLSFWI1.R00.3044.A01.2101210945
Kernel: $ uname -a
Linux u-Elkhart-Lake-Embedded-Platform 5.11.0-1012-intel #14-Ubuntu SMP Wed Aug 11 08:52:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

tags: added: verification-done-focal
removed: verification-needed-focal
Brad Figg (brad-figg)
summary: - Shutdown hangs on EHL board
+ [ehl] Shutdown hangs on board
Revision history for this message
Doug Jacobs (djacobs98) wrote :

Verified fixed with 5.13.0-1007.

tags: added: cqa-verified
Revision history for this message
Alex Henrie (alexhenrie24) wrote (last edit ):

I am having the same poweroff/reboot problem with linux-image-5.15.0-1016-intel-iotg, but I am able to work around it with initcall_blacklist=ehl_pinctrl_driver_init.

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.