Re: setarch cannot set all listed architectures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: Digital signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux