Hello community, here is the log from the commit of package s390-tools for openSUSE:Factory checked in at 2017-09-12 19:39:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/s390-tools (Old) and /work/SRC/openSUSE:Factory/.s390-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "s390-tools" Tue Sep 12 19:39:36 2017 rev:7 rq:522151 version:1.34.0 Changes: -------- --- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes 2017-07-11 08:32:59.910905684 +0200 +++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes 2017-09-12 19:39:37.608092549 +0200 @@ -1,0 +2,12 @@ +Thu Sep 7 19:41:39 UTC 2017 - [email protected] + +- Temporarily added BuildIgnore: gcc-PIE to the spec file to + avoid a problem with zipl not working. (bsc#1055343) + +------------------------------------------------------------------- +Wed Jul 12 18:14:13 UTC 2017 - [email protected] + +- Added s390-tools-sles12sp3-chmem-try-to-online-zone-movable.patch + (bsc#1048363). + +------------------------------------------------------------------- @@ -4 +16 @@ -- remove lsmem and chmem and their manpages from the package, +- Remove lsmem and chmem and their manpages from the package, New: ---- s390-tools-sles12sp3-chmem-try-to-online-zone-movable.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ s390-tools.spec ++++++ --- /var/tmp/diff_new_pack.AF8Weq/_old 2017-09-12 19:39:38.703938541 +0200 +++ /var/tmp/diff_new_pack.AF8Weq/_new 2017-09-12 19:39:38.707937978 +0200 @@ -44,6 +44,8 @@ Requires: tar Requires: util-linux Provides: s390utils:/sbin/dasdfmt +# Don't build with pie to avoid problems with zipl +#!BuildIgnore: gcc-PIE Source: s390-tools-%{version}.tar.bz2 Source1: s390-tools-rpmlintrc Source2: zipl.conf @@ -133,6 +135,7 @@ Patch31: s390-tools-sles12sp3-mon_fsstatd-fix-double-free-in-error-path-and-skip-virtual-fs.patch Patch32: s390-tools-sles12sp3-dbginfo-Collect-docker-debug-data.patch Patch33: s390-tools-sles12sp3-ziomon-no-blktrace-kill-which-can-corrupt-kernel-blk.patch +Patch34: s390-tools-sles12sp3-chmem-try-to-online-zone-movable.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: s390 s390x @@ -222,6 +225,7 @@ %patch31 -p1 %patch32 -p1 %patch33 -p1 +%patch34 -p1 cp -vi %{S:22} CAUTION ++++++ s390-tools-sles12sp3-chmem-try-to-online-zone-movable.patch ++++++ Subject: [PATCH] [BZ 156627] chmem: try to online memory to zone movable From: Gerald Schaefer <[email protected]> Description: chmem: try to online memory to zone movable Symptom: Standby/reserved memory that is onlined with chmem will be set online to zone normal, instead of zone movable, and so it is much less likely to be able to be offlined again. Problem: With recent kernels, the default zone for hotplug memory was changed from zone movable to zone normal. Solution: Let chmem first try to online memory to the zone movable, before setting it online to the default zone. Reproduction: Set standby/reserved memory online with chmem, and check /proc/zoneinfo for zone allocation. Upstream-ID: - Problem-ID: 156627 Signed-off-by: Gerald Schaefer <[email protected]> --- zconf/chmem | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/zconf/chmem +++ b/zconf/chmem @@ -86,7 +86,10 @@ sub chmem_online($) { my $block = shift; - qx(echo online > $memdir/memory$block/state 2>/dev/null); + qx(echo online_movable > $memdir/memory$block/state 2>/dev/null); + if ($? >> 8 != 0) { + qx(echo online > $memdir/memory$block/state 2>/dev/null); + } return $? >> 8; }
