Backport of Patch "ata: ahci: Add shutdown to freeze hardware resources of ahci"

Bug #1877620 reported by Prabhakar Kushwaha
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Eoan
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
Groovy
Fix Released
Undecided
Unassigned

Bug Description

Issue
--------------
During our internal testing, we found an issue for kexec -e.

Using kexec to reboot works mostly, but ~1 of 5 times the system fails to reboot. SATA failures in new kernel resulting in drop to initramfs as rootfs isn't loadable.

Error log for 1)
[ 47.384805] ata1: failed to reset engine (errno=-5)
[ 47.384805] ata1: failed to reset engine (errno=-5)
[ 51.529054] ata1: softreset failed (1st FIS failed)
[ 51.529054] ata1: softreset failed (1st FIS failed)
[ 57.888800] ata1: failed to reset engine (errno=-5)
[ 57.888800] ata1: failed to reset engine (errno=-5)
[ 62.037258] ata1: softreset failed (1st FIS failed)
[ 62.037258] ata1: softreset failed (1st FIS failed)
[ 68.396807] ata1: failed to reset engine (errno=-5)
[ 68.396807] ata1: failed to reset engine (errno=-5)

Solution
--------
https://patchwork.ozlabs.org/patch/1229154/ i.e. ata: ahci: Add shutdown to freeze hardware resources of ahci needs to applied to all applicable Linux version.

Please note this patch is already applied to main-line and back-ported to 4.9, 4.14, 4.19, 5.4 and 5.5

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1877620

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
dann frazier (dannf) wrote :

Patch was included in focal/groovy in Ubuntu-5.4.0-18.22

Changed in linux (Ubuntu Groovy):
status: Confirmed → Fix Released
Changed in linux (Ubuntu Focal):
status: New → Fix Released
Revision history for this message
dann frazier (dannf) wrote :

Path was included in eoan in Ubuntu-5.3.0-47.39

Changed in linux (Ubuntu Eoan):
status: New → Fix Released
Revision history for this message
dann frazier (dannf) wrote :

Patch was included in bionic in Ubuntu-4.15.0-97.98

Changed in linux (Ubuntu Bionic):
status: New → Fix Released
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.