Util-Linux Archive mirror
 help / color / mirror / Atom feed
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: "Thomas Weißschuh" <thomas@t-8ch.de>
Cc: util-linux@vger.kernel.org
Subject: Re: RFH: fincore/count lsfd/column-xmode failing on sparc64
Date: Mon, 13 Nov 2023 21:36:49 +0100	[thread overview]
Message-ID: <d78b9f619f46c0ffcd92007c11411f1acb4909a4.camel@physik.fu-berlin.de> (raw)
In-Reply-To: <d01d39c7-de2c-45af-937b-e15132025486@t-8ch.de>

Hi Thomas!

On Mon, 2023-11-13 at 21:10 +0100, Thomas Weißschuh wrote:
> On 2023-11-13 19:06:19+0100, John Paul Adrian Glaubitz wrote:
> > On Mon, 2023-11-13 at 18:50 +0100, Thomas Weißschuh wrote:
> > > What's your system's page size?
> > > 
> > > ./test_sysinfo
> > 
> > glaubitz@stadler:~/util-linux$ ./test_sysinfo 
> >        WORDSIZE: 64
> >        pagesize: 8192
> >         INT_MAX: 2147483647
> >        UINT_MAX: 4294967295
> >        LONG_MAX: 9223372036854775807
> >       ULONG_MAX: 18446744073709551615
> >     ULONG_MAX32: 4294967295
> >      UINT64_MAX: 18446744073709551615
> >      byte-order: BE
> >       wcsspn-ok: 1
> >       enotty-ok: 1
> >       fsopen-ok: 1
> > glaubitz@stadler:~/util-linux$
> 
> 8k page size should explain it.
> 
> The test output depends on the page size and has known test outputs for
> a few pagesizes and a fallback output.
> 
> The fallback output was broken.
> 
> Can you test this PR?
> https://github.com/util-linux/util-linux/pull/2581

I can confirm that the test fincore/count no longer fails on sparc64 with
your suggested patch applied.

Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

  reply	other threads:[~2023-11-13 20:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-11 18:23 RFH: fincore/count lsfd/column-xmode failing on sparc64 John Paul Adrian Glaubitz
2023-11-11 18:37 ` Thomas Weißschuh 
2023-11-11 18:46   ` John Paul Adrian Glaubitz
2023-11-11 19:10     ` Thomas Weißschuh 
2023-11-12  7:53       ` John Paul Adrian Glaubitz
2023-11-13 17:50         ` Thomas Weißschuh
2023-11-13 18:06           ` John Paul Adrian Glaubitz
2023-11-13 20:10             ` Thomas Weißschuh
2023-11-13 20:36               ` John Paul Adrian Glaubitz [this message]
2023-11-12 17:54 ` Masatake YAMATO
2023-11-12 19:04   ` John Paul Adrian Glaubitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d78b9f619f46c0ffcd92007c11411f1acb4909a4.camel@physik.fu-berlin.de \
    --to=glaubitz@physik.fu-berlin.de \
    --cc=thomas@t-8ch.de \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).