------- Comment From <email address hidden> 2019-10-25 06:29 EDT-------
(In reply to comment #49)
> New version on ppa:cascardo/ppa for bionic. That should handle fadump and
> lock in the case of try-reload/condreload.
>
> Hari, can you give it a try?
Thanks, Cascardo. That works well for FADump case.
But is failing for KDump case though. With the below change
on top of the kdump-tools package you shared, things work
as expected for KDump case too:
---
diff --git a/usr/sbin/kdump-config.orig b/usr/sbin/kdump-config
index 08fe301..fd5e469 100755
--- a/usr/sbin/kdump-config.orig
+++ b/usr/sbin/kdump-config
@@ -923,7 +923,7 @@ reload()
condreload()
{
- local $sys_loaded="$sys_kexec_crash"
+ local sys_loaded="$sys_kexec_crash"
if [ "$DUMP_MODE" == "fadump" ] ; then
check_fadump_support
sys_loaded="$sys_fadump_registered"
---
------- Comment From <email address hidden> 2019-10-25 06:29 EDT------- condreload.
(In reply to comment #49)
> New version on ppa:cascardo/ppa for bionic. That should handle fadump and
> lock in the case of try-reload/
>
> Hari, can you give it a try?
Thanks, Cascardo. That works well for FADump case.
But is failing for KDump case though. With the below change
on top of the kdump-tools package you shared, things work
as expected for KDump case too:
--- kdump-config. orig b/usr/sbin/ kdump-config kdump-config. orig kdump-config "$sys_kexec_ crash" "$sys_kexec_ crash" support "$sys_fadump_ registered"
diff --git a/usr/sbin/
index 08fe301..fd5e469 100755
--- a/usr/sbin/
+++ b/usr/sbin/
@@ -923,7 +923,7 @@ reload()
condreload()
{
- local $sys_loaded=
+ local sys_loaded=
if [ "$DUMP_MODE" == "fadump" ] ; then
check_fadump_
sys_loaded=
---
Thanks
Hari