------- Comment From kuldip.na...@ibm.com 2019-11-01 10:07 EDT------- Hi, The crash memory is reserved: root@pok1-qz1-sr1-rk005-s10:~# cat /proc/cmdline imgurl=http://192.168.0.2:80//install/netboot/ubuntu18.04/ppc64el/hostos-boot_bionic-4.15.0.1039-20191003-6f8d26a/rootimg.tar.gz XCAT=192.168.0.2:3001 XCATHTTPPORT=80 BOOTIF=08:94:EF:80:1B:54 console=tty0 console=hvc0,115200 default_hugepagesz=1G hugepagesz=1G hugepages=1 transparent_hugepage=never intel_iommu=on iommu=pt cloud-config-url=http://192.168.0.2/install/netboot/cloud-init/pok1-qz1-sr1-rk005-s10.txt ds=nocloud crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
I had to make multiple changes in the kdump-tools.deb to make it work with diskless workstation. Major things to note 1. change to the config file 2. commenting out update-grub Please see below: diff -ur kdump/DEBIAN/control kdump.old/DEBIAN/control --- kdump/DEBIAN/control 2019-11-01 00:30:15.070597083 -0400 +++ kdump.old/DEBIAN/control 2019-02-07 06:22:23.000000000 -0500 @@ -1,6 +1,6 @@ Package: kdump-tools Source: makedumpfile -Version: 1:1.6.51-1ubuntu1~18.04.1 +Version: 1:1.6.5-1ubuntu1~18.04.1 Architecture: ppc64el Maintainer: Louis Bouchard <louis.bouch...@ubuntu.com> Installed-Size: 111 diff -ur kdump/DEBIAN/postinst kdump.old/DEBIAN/postinst --- kdump/DEBIAN/postinst 2019-10-31 15:17:18.319831610 -0400 +++ kdump.old/DEBIAN/postinst 2019-02-07 06:22:23.000000000 -0500 @@ -83,10 +83,9 @@ ;; esac -# This is commented out by hostos -#if [ -x /usr/sbin/update-grub ] && [ -e /boot/grub/grub.cfg ]; then -# update-grub -#fi +if [ -x /usr/sbin/update-grub ] && [ -e /boot/grub/grub.cfg ]; then + update-grub +fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. diff -ur kdump/etc/kernel/postinst.d/kdump-tools kdump.old/etc/kernel/postinst.d/kdump-tools --- kdump/etc/kernel/postinst.d/kdump-tools 2019-10-31 15:15:27.164300906 -0400 +++ kdump.old/etc/kernel/postinst.d/kdump-tools 2019-02-07 06:22:23.000000000 -0500 @@ -50,14 +50,7 @@ echo "${I}" >> $initramfsdir/modules done -# These changes to install the debian on HostOS -sed -e 's/MODULES=.*/MODULES=most/' /etc/initramfs-tools/initramfs.conf > "$initramfsdir/initramfs.conf" || true -if ! [ -e "$initramfsdir/initramfs.conf" ];then - echo >&2 "W: kdump-tools: Unable to create $initramfsdir/initramfs.conf" - exit 2 -fi -# These changes to install the debian on HostOS -sed -e 's/BUSYBOX=.*/BUSYBOX=y/' /etc/initramfs-tools/initramfs.conf > "$initramfsdir/initramfs.conf" || true +sed -e 's/MODULES=.*/MODULES=dep/' /etc/initramfs-tools/initramfs.conf > "$initramfsdir/initramfs.conf" || true if ! [ -e "$initramfsdir/initramfs.conf" ];then echo >&2 "W: kdump-tools: Unable to create $initramfsdir/initramfs.conf" exit 2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850548 Title: Unable to install kdump tools: post install script returning fail To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1850548/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs