Util-Linux package development
 help / color / mirror / Atom feed
From: Ruediger Meier <sweet_f_a@gmx.de>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH] tests: fix fdisk/bsd for alpha
Date: Thu, 17 Mar 2016 22:52:49 +0100	[thread overview]
Message-ID: <201603172252.49517.sweet_f_a@gmx.de> (raw)
In-Reply-To: <20160317133341.fwjakpzsdln3oivg@ws.net.home>

On Thursday 17 March 2016, Karel Zak wrote:
> On Wed, Mar 16, 2016 at 04:27:10PM +0100, Ruediger Meier wrote:
> > And we could disable setarch's uname26 test because
> > # glibc requires kernel >= 3.0, thus setarch --uname-2.6 fails
> > # on platforms without VDSO
>
> OK, added exception for sparc.

I don't fully understand the real problem. See also this Debian package 
comment:
 "Apparently glibc does not support 2.6 personality on some
  architectures when built to require newer kernels (e.g. >= 3.2).
  See https://bugs.debian.org/806911"

Couldn't we tell setarch at build time that uname26 will not work with 
the used glibc?

On openSUSE 13.2,arm7vl and on that debian,sparc machine we see this 
diff:

 Switching on STICKY_TIMEOUTS.
 Switching on ADDR_LIMIT_3GB.
 Switching on UNAME26.
-success
+FATAL: kernel too old

Where does the "FATAL" message come from? Is it printed directly by 
glibc? If yes then we could use it to skip the test. (Allthough the 
kernel is not really too old but probably something is too new or just 
different.)

But on openSUSE 13.2 arm6vl and aarch64 I don't get this last "FATAL" 
message but a segfault instead! Is there something we could do in 
setarch to avoid this segfault? (These arm6vl and aarch64 machines seem 
to run differently as "qemu_user_space_build").

BTW the test works fine on openSUSE 13.1 and 42.1. (newer and older than 
13.2).

cu,
Rudi

  reply	other threads:[~2016-03-17 21:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-16  0:40 [PATCH] tests: fix fdisk/bsd for alpha Ruediger Meier
2016-03-16 11:37 ` Karel Zak
2016-03-16 13:11   ` Karel Zak
2016-03-16 15:27     ` Ruediger Meier
2016-03-17 13:33       ` Karel Zak
2016-03-17 21:52         ` Ruediger Meier [this message]
2016-03-18 14:36           ` Karel Zak
2016-03-22 11:04             ` Ruediger Meier

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=201603172252.49517.sweet_f_a@gmx.de \
    --to=sweet_f_a@gmx.de \
    --cc=kzak@redhat.com \
    --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