From: Prabhakar Kushwaha <prabhakar.pkin@gmail.com>
To: kexec@lists.infradead.org
Subject: Ubuntu 18.04: Second kernel launch vai "kexec -e "gives ata1: failed to reset engine error
Date: Thu, 24 Oct 2019 21:34:41 +0530 [thread overview]
Message-ID: <d9c0d63f-36db-c109-c22d-2108d4dca2ec@gmail.com> (raw)
Hi All,
I am testing "kexec -e" option with Ubuntu 18.04 having Linux-5.4-RC4. I
am using below commands
$ kexec -l /boot/vmlinuz-`uname -r` --initrd=/boot/initrd.img-`uname -r`
--reuse-cmdline
$ kexec -e
When second kernel launches, it gives below error followed by mount of
busy-box.
[ 279.690575] ata1: softreset failed (1st FIS failed)
[ 279.695446] ata1: limiting SATA link speed to 3.0 Gbps
[ 280.910020] ata1: SATA link down (SStatus 0 SControl 320)
[ 282.626018] ata1: SATA link down (SStatus 0 SControl 300)
[ 282.631409] ata1: link online but 1 devices misclassified, retrying
[ 282.637665] ata1: reset failed (errno=-11), retrying in 9 secs
[ 298.294546] ata1: failed to reset engine (errno=-5)
[ 302.042967] ata1: softreset failed (1st FIS failed)
[ 308.798609] ata1: failed to reset engine (errno=-5)
[ 337.546605] ata1: softreset failed (1st FIS failed)
[ 337.551475] ata1: limiting SATA link speed to 3.0 Gbps
[ 338.766022] ata1: SATA link down (SStatus 0 SControl 320)
[ 339.270943] ata1: EH pending after 5 tries, giving up
(initramfs)
(initramfs)
(initramfs) ls
dev usr var etc scripts bin sys tmp
root sbin conf run init lib proc
This ata error goes away and root file system gets mounted if I compile
kernel with CONFIG_SATA_AHCI=y option.
I googled and find out that “CONFIG_SATA_AHCI=m” change was done as part
of below bug fixed in upstream for Ubuntu.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1056563
https://patchwork.ozlabs.org/patch/218728/
I am trying to understand why CONFIG_SATA_AHCI=m causing issue for
second kernel. Also has anyone also faced similar type of error.
--pk
Kexec tool version: kexec-tools 2.0.16
Linux boot arguments: root=UUID=798a858c-4f20-4b99-aa40-99bff9394093 ro
crashkernel=auto console=ttyAMA0
Linux top commit:
commit 7d194c2100ad2a6dded545887d02754948ca5241 (tag: v5.4-rc4,
origin/master, origin/HEAD)
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sun Oct 20 15:56:22 2019 -0400
Linux 5.4-rc4
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
reply other threads:[~2019-10-24 16:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d9c0d63f-36db-c109-c22d-2108d4dca2ec@gmail.com \
--to=prabhakar.pkin@gmail.com \
--cc=kexec@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox