------- Comment From [email protected] 2016-02-17 13:30 EDT-------
verify_sha256_digest() function call is returning 1 in the below snippet
on ubuntu 16.04, which is leading to hang
---
printf("I'm in purgatory\n");
setup_arch();
if (verify_sha256_digest()) {
for(;;) {
/* loop forever */
}
}
---

The problem seems to be with the compiler. kexec binary in ubuntu 16.04 is 
compiled
with gcc v5.2.1 [GCC: (Ubuntu 5.2.1-27ubuntu1) 5.2.1 20151129 to be precise].
On using a kexec binary compiled with gcc v4.9.2, we don't hit the problem.
Not sure what changed between v4.9.2 and v5..1 which makes the purgatory 
unhappy.

While someone from compiler team looks at this, you could use a kexec binary 
build with
gcc v4.9.2 as a workaround for this problem

Thanks
Hari

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

Title:
  kexec/kdump not working in ubuntu 16.04

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to