Re: [ANNOUNCE] util-linux v2.42-rc1

From: Sumanth Korikkar

Date: Mon Mar 02 2026 - 11:28:30 EST


On Mon, Mar 02, 2026 at 10:16:53AM +0100, Sumanth Korikkar wrote:
> Hi Chris,
>
> > Hi Sumanth, looong64 porters,
> >
> > * Karel Zak <kzak@xxxxxxxxxx> [260226 14:53]:
> > > The util-linux release v2.42-rc1 is now available at
> > > http://www.kernel.org/pub/linux/utils/util-linux/v2.42/
> > [..]
> > > lsmem:
> > > - display global memmap on memory parameter (by Sumanth Korikkar)
> >
> > It appears the test for this is run on looong64 and fails there (failing the
> > entire build), at least in the Debian build infra.
> > https://buildd.debian.org/status/fetch.php?pkg=util-linux&arch=loong64&ver=2.42%7Erc1-1&stamp=1772312955&raw=0
> >
> > See below for log output excerpts.
> >
> > Thanks,
> > Chris
> >
> >
> > log snippets:
> >
> > ================= O/E diff ===================
> > --- /build/reproducible-path/util-linux-2.42~rc1/tests/output/lsmem/lsmem-s390-zvm-6g 2026-02-28 21:08:31.577617951 +0000
> > +++ /build/reproducible-path/util-linux-2.42~rc1/tests/expected/lsmem/lsmem-s390-zvm-6g 2026-02-18 11:33:47.804188659 +0000
> > @@ -17,6 +17,7 @@
> > Memory block size: 256M
> > Total online memory: 4.8G
> > Total offline memory: 1.3G
> > +Memmap on memory parameter: no
>
> The ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE feature is currently not enabled on
> loong64.
>
> The lsmem tool displays the setting found in
> /sys/module/memory_hotplug/parameters/memmap_on_memory. If this path
> does not exist, lsmem will not show the parameter. As a result, the test
> fails.
>
> To resolve this, the test should first verify whether the file
> /sys/module/memory_hotplug/parameters/memmap_on_memory exists. If it is
> missing, the test should skip the output related to the "Memmap
> on memory parameter". I will check how the test logic can be updated and
> give it a try.

Hi Chris,

Could you please try the following?

Thanks