Backport of Patch "ata: ahci: Add shutdown to freeze hardware resources of ahci"
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:/
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
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
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.