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 <[email protected]>
Date:   Sun Oct 20 15:56:22 2019 -0400

    Linux 5.4-rc4




_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to