[Bug 1877620] Re: Backport of Patch "ata: ahci: Add shutdown to freeze hardware resources of ahci"

2020-05-08 Thread Prabhakar Kushwaha
** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877620

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1877620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1877620] [NEW] Backport of Patch "ata: ahci: Add shutdown to freeze hardware resources of ahci"

2020-05-08 Thread Prabhakar Kushwaha
Public bug reported:

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.00] ata1: failed to reset engine (errno=-5)
[   57.00] 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

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877620

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1877620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1851190] Re: Ubuntu 18.04: kexec-tool shows "kexec: elfcorehdr doesn't fit cells-size" if crashkernel reserved beyond 4GB

2020-04-13 Thread Prabhakar Kushwaha
Please ignore my above comments. it was for different place/purpose. is
it possible to remove it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1851190

Title:
  Ubuntu 18.04: kexec-tool shows "kexec: elfcorehdr doesn't fit cells-
  size" if crashkernel reserved beyond 4GB

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1851190/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1851190] Re: Ubuntu 18.04: kexec-tool shows "kexec: elfcorehdr doesn't fit cells-size" if crashkernel reserved beyond 4GB

2020-04-13 Thread Prabhakar Kushwaha
I verified using SLE-15-SP2-RC1. I can see it has updated grub version i.e. GNU 
GRUB  version 2.04. 
With this i am not seeing any error. Please see below, crash kernel has been 
allocated beyond 4G system memory and I am not seeing any error during kexec -p 

localhost:~ # dmesg | grep crash
[0.00] crashkernel reserved: 0x000b8120 - 0x000c8120 
(4096 MB)
[0.00] Kernel command line: BOOT_IMAGE=/boot/Image-5.3.18-10-default 
root=UUID=577239a9-5a1b-49a6-b3c1-67fc1ce83368 console=ttyAMA0 ip=dhcp 
isofrom_device=nfs:10.112.36.118:/opt/shared/isos/suse/SLE-15-SP2 
isofrom_system=/SLE-15-SP2-Full-aarch64-RC1-Media1.iso mitigations=auto 
crashkernel=4G@0xb8120 nowatchdog


localhost:~ # kexec -v
kexec-tools 2.0.20
localhost:~ # 
localhost:~ # kexec -p -i /boot/Image-`uname -r` --initrd=/boot/initrd-`uname 
-r`
localhost:~ #

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1851190

Title:
  Ubuntu 18.04: kexec-tool shows "kexec: elfcorehdr doesn't fit cells-
  size" if crashkernel reserved beyond 4GB

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1851190/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1851190] [NEW] Ubuntu 18.04: kexec-tool shows "kexec: elfcorehdr doesn't fit cells-size" if crashkernel reserved beyond 4GB

2019-11-03 Thread Prabhakar Kushwaha
Public bug reported:

Kexec tool throws following errors if crashkernel is reserved beyond 4GB
of system memory.

bootargs:  crashkernel=1G@4G

Ubuntu
$ kexec -p /boot/vmlinuz-`uname -r` --initrd=/boot/initrd.img-`uname
-r` --reuse-cmdline
$ kexec: elfcorehdr doesn't fit cells-size.
$ kexec: setup_2nd_dtb failed.
$ kexec: load failed.
$ Cannot load /boot/vmlinuz-5.4.0-rc4+

It looks to be grub issue. Refer discussion:
https://edk2.groups.io/g/devel/topic/39480086#49583

** Affects: grub2 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1851190

Title:
  Ubuntu 18.04: kexec-tool shows "kexec: elfcorehdr doesn't fit cells-
  size" if crashkernel reserved beyond 4GB

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1851190/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs