[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
This bug was fixed in the package makedumpfile - 1:1.5.9-5ubuntu0.1 --- makedumpfile (1:1.5.9-5ubuntu0.1) xenial; urgency=medium [ Hari Bathini ] * Fix networked kdump failure to reach remote server. Avoids "Network is unreachable" message when trying to do remote dumps on either SSH or NFS. (LP: #1571590) * Replace maxcpus by nr_cpus nr_cpus is a hard limit that has an impact on the (kdump) kernel memory consumption, while it is not the case with maxcpus=1, as we can theoretically hotplug cpus with maxcpus=1 (LP: #1568952) * define_stampdir() : Loop on hostname -I for 5 sec to get IP address if HOSTTAG=ip. The network stack may not be ready when kdump-config runs. Give it some time before reverting HOSTTAG to hostname if an IP address cannot be found. (LP: #1599561) * Add cio_ignore result to /etc/default/kdump-tools on s390x In order to have crashkernel=128M to work correctly on the s390 architecture the result of cio_ignore -u -k needs to be appended to the KDUMP_CMDLINE_APPEND variable in /etc/default/kdump-tools. This patch adds the required logic to do the proper modification. (LP: #1570775) * debian/rules : drop the dh_installinit override Uses a syntax which is no longer supported and generate an error on install. (LP: #1599491) -- Louis Bouchard Fri, 22 Jul 2016 10:15:20 +0200 ** Changed in: makedumpfile (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
Hello Dimitri, or anyone else affected, Accepted makedumpfile into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/makedumpfile/1:1.5.9-5ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: makedumpfile (Ubuntu Xenial) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
** Description changed: + [SRU justification] + kernel crash dump fails to work without the modification. + + [Impact] + Broken functionality. + + [Fix] + Add cio_ignore -k -y output to the kexec command. + + [Test Case] + Follow indication in comment #2 to reproduce. With the fix, kdump will function as expected. + + [Regression] + A regression situation is outlined in comment #16. Newer channel devices may not be visible because of the added cio_ignore output. This may be worked around with a single command. + + The resolution outweights this limitation that can be easily worked + around. + + [Original description of the problem] + As per https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1564475/comments/19 We should re-exec with cio_ignore lines. As per report there, it should result in lowered required crashdump setting. Hypothetically, one should be able to test this imperially by lowering crashdump memory settings until kdump does not succeed anymore. And then generated and append `cio_ignore -k -u` to the KDUMP_CMDLINE_APPEND= and see that kdump starts working again with a lower memory usage. Once this is developed / verified / tested, we should probably SRU this back to xenial. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
Hello, A tentative fix for this bug is available for testing in the following PPA : ppa:louis-bouchard/makedumpfile-test Please test and verify that it solves this issue on Xenial. I will then proceed with the SRU. Kind regards, ...Louis -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
Hello, The fix for this bug, along with three other (all for your employer) are queued for the next SRU for makedumpfile. As soon as I have a PPA enabled for building s390x, I will provide the package for testing. In the meantime, manually editing the file /etc/default/kdump-tools remains a valid workaround. Kind regards, ...Louis -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
** Changed in: makedumpfile (Ubuntu Xenial) Status: New => In Progress ** Changed in: makedumpfile (Ubuntu Xenial) Assignee: (unassigned) => Louis Bouchard (louis-bouchard) ** Changed in: makedumpfile (Ubuntu) Assignee: Louis Bouchard (louis-bouchard) => (unassigned) ** Changed in: makedumpfile (Ubuntu Xenial) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
@thorsten The changes landed in yakkety, not xenial yet =) Looking at the bug statuses, this was not yet targeted at xenial series correctly, will adjust this on launchpad side now. ** Also affects: makedumpfile (Ubuntu Xenial) 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/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
Hello, I don't know where you are getting these packages from : ~$ rmadison makedumpfile makedumpfile | 1:1.5.9-5 | xenial | source, amd64, armhf, i386, powerpc, ppc64el, s390x makedumpfile | 1:1.6.0-1 | yakkety | source, amd64, armhf, i386, powerpc, ppc64el, s390x $ rmadison kexec-tools kexec-tools | 1:2.0.10-1ubuntu2 | xenial | source, amd64, armhf, i386, powerpc, ppc64el, s390x kexec-tools | 1:2.0.10-2ubuntu1 | yakkety | source, amd64, armhf, i386, powerpc, ppc64el, s390x caribou@marvin:~$ Xenial has makedumpfile | 1:1.5.9-5 and kexec-tools | 1:2.0.10-1ubuntu2. This change (along with a few more enablements) will have to be SRUed to Xenial. But this doesn't change the fact that the versions in the archive do install correctly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
** Changed in: ubuntu-z-systems Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
This bug was fixed in the package makedumpfile - 1:1.5.9-7 --- makedumpfile (1:1.5.9-7) sid; urgency=medium * [d/rules] Lower kexec-tools dependency to -2 The ubuntu merge will happen on an 1:2.0.10-2 version so it cannot depends on -3. -- Louis Bouchard Tue, 31 May 2016 14:36:07 +0200 ** Changed in: makedumpfile (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
Hello, Before commiting this into the new kdump-tools, let me confirm with you : The current use has the following kexec command (from kdump-config show) : kexec command: /sbin/kexec -p --command-line="root=/dev/mapper/vg_ubuntu-root BOOT_IMAGE=0 irqpoll maxcpus=1 nousb systemd.unit=kdump-tools.service" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz Your suggestion is to have the following kexec command : kexec command: /sbin/kexec -p --command-line="root=/dev/mapper/vg_ubuntu-root BOOT_IMAGE=0 irqpoll maxcpus=1 nousb systemd.unit=kdump-tools.service cio_ignore=all,!0009,!0200,!0600-0602" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz I have implemented this by adding the cio_ignore statement (from cio_ignore -k -u) to the KDUMP_CMDLINE_APPEND statement in /etc/default /kdump-tools file if installed on s390. This differs from the statement in https://wiki.ubuntu.com/S390X that says that it should be added to /etc/zipl.conf and, hence applied to any running kernel, not only the one that is kexec'd. TIA, ...Louis -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
Hello, It is becoming unclear to me if the cio_ignore needs to be tied to a bigger crashkernel value or not. I am preparing an update to kdump-tools which will set the crashkernel value upon install. Right now, I'm setting it to 196M for LPAR and 128M for zVM. What should be the default values for LPAR and zVM ? I will add a separate change to take the cio_ignore into account. Kind regards, ...Louis -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
** Also affects: ubuntu-z-systems Importance: Undecided Status: New ** Changed in: ubuntu-z-systems Importance: Undecided => Medium ** Changed in: ubuntu-z-systems Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
** No longer affects: ubuntu-release-notes -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
** Also affects: ubuntu-release-notes 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/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
** Tags removed: targetmilestone-inin1610 ** Tags added: targetmilestone-inin16041 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
--- Comment From heinz-werner_se...@de.ibm.com 2016-04-15 07:33 EDT--- Reverse Mirror Request for following LP bugzilla: https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1570775 ** Tags added: architecture-s39064 bugnameltc-140369 severity-medium targetmilestone-inin1610 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570775] Re: makekdump should re-exec with cio_ignore on s390x
** Changed in: makedumpfile (Ubuntu) Status: New => Confirmed ** Changed in: makedumpfile (Ubuntu) Importance: Undecided => Medium ** Changed in: makedumpfile (Ubuntu) Assignee: (unassigned) => Louis Bouchard (louis-bouchard) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570775 Title: makekdump should re-exec with cio_ignore on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1570775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs