On Wed, Dec 31, 2014, at 09:30, Mike Frysinger wrote: > 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 > > [...] > > i686 > > athlon > > x86_64 > > ia64 > > > > $ ./setarch x86_64 uname -m > > setarch: x86_64: Unrecognized architecture > > > > [...] > > > > 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. You guessed correctly. :) $ getconf LONG_BIT 32 $ grep " lm" /proc/cpuinfo || echo no no $ file ./setarch ./setarch: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x830fc9635dbe83defa4db7b0b5db241093d4c86d, not stripped So... setarch --list shouldn't be mentioning x86_64 nor ia64 here? Benno -- http://www.fastmail.com - A no graphics, no pop-ups email service -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html