Hi Vivek,
Finally we agreed to add wdt driver to 99kdumpbase for the time being,
so how do you think about this patch, is it OK to you?
Baoquan
Thanks
On 01/23/14 at 02:09pm, Baoquan He wrote:
When watchdog is enabled in 1st kernel, then crash dump in kdump
kernel will be interrupted if watchdog is timeout. Since some
wdt drivers can stop the watchdog when its driver is loaded,
e.g iTCO_wdt, this can benefit crash dump.
Add watchdog driver which is active in system to initramfs, its
loading can stop watchdog.
For now, put this adding in 99kdumpbase.
Signed-off-by: Baoquan He <bhe(a)redhat.com>
---
dracut-module-setup.sh | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh
index c013430..d1ba83e 100755
--- a/dracut-module-setup.sh
+++ b/dracut-module-setup.sh
@@ -418,3 +418,11 @@ install() {
# at some point of time.
kdump_check_iscsi_targets
}
+
+installkernel() {
+ wdt=$(lsmod|cut -f1 -d' '|grep "wdt$")
+ if [ -n "$wdt" ]; then
+ instmods $wdt
+ [ "$wdt" = "iTCO_wdt" ] && instmods lpc_ich
+ fi
+}
--
1.8.3.1
_______________________________________________
kexec mailing list
kexec(a)lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/kexec