util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: Benno Schulenberg <bensberg@justemail.net>
Cc: Util-Linux <util-linux@vger.kernel.org>
Subject: Re: setarch cannot set all listed architectures
Date: Wed, 31 Dec 2014 03:30:46 -0500	[thread overview]
Message-ID: <20141231083046.GF3906@vapier.wh0rd.info> (raw)
In-Reply-To: <1419438949.242820.206484249.1D540D03@webmail.messagingengine.com>

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

On 24 Dec 2014 17:35, Benno Schulenberg wrote:
> The man page of setarch says for the option --list: "List the architectures
> that can be set."  However...
> 
> $ ./setarch --list   
> uname26
> linux32
> linux64
> i386
> i486
> i586
> i686
> athlon
> x86_64
> ia64
> 
> $ ./setarch x86_64 uname -m
> setarch: x86_64: Unrecognized architecture
> 
> Huh?
> 
> $ ./setarch ia64 uname -m
> setarch: ia64: Unrecognized architecture
> 
> $ ./setarch linux64 uname -m
> i686
> 
> $ ./setarch --version
> setarch from util-linux 2.25.548-fe2c9
> 
> Maybe --list should not be listing x86_64 and ia64 on this machine?
> Or maybe the error message in these cases should say "Cannot set
> the requested architecture" instead?

are you running a 32bit or 64bit kernel ?  is your compiled setarch 32bit or 
64bit ?  i'm going to guess both are 32bit.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-12-31  8:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-24 16:35 setarch cannot set all listed architectures Benno Schulenberg
2014-12-31  8:30 ` Mike Frysinger [this message]
2014-12-31  9:15   ` Benno Schulenberg
2014-12-31  9:23     ` Mike Frysinger
2015-01-06 10:35       ` Karel Zak
2015-01-10 13:40         ` Benno Schulenberg

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=20141231083046.GF3906@vapier.wh0rd.info \
    --to=vapier@gentoo.org \
    --cc=bensberg@justemail.net \
    --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 NNTP newsgroup(s).