Gentoo Archives: gentoo-user

From: Ron Farrer <canutethegreat@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
Date: Wed, 04 May 2016 16:36:50
Message-Id: CAKe5ZPy3ksELB_HwQruedszHXVqvELELAfrRc+KLqGQ_Qj02fg@mail.gmail.com
In Reply to: Re: [gentoo-user] CPU you selected does not support x86-64 instruction set by John Blinka
1 On Wed, May 4, 2016 at 9:08 AM, John Blinka <john.blinka@×××××.com> wrote:
2 >
3 > I had read similar thoughts about booting into a 64 bit environment before
4 > posting and had gone to some effort to figure out whether the sysrescuecd
5 > kernel was, in fact, 64 bit. Its /proc/config.gz seemed to indicate 64 bit,
6 > as did uname -a. But I really don't know if there is a definitive way of
7 > determining whether a running kernel is 64 or 32 bit.
8
9 Generally, 'uname -m' should report x86_64 for 64-bit (amd64) and i686
10 for 32-bit (x86). While it is possible to have a 64-bit kernel and
11 32-bit userland, the reverse is not possible. So another check can be
12 'file /sbin/init' which will report as something along the lines of
13 "/sbin/init: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
14 dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for
15 GNU/Linux 2.6.32, stripped"
16
17 Regards,
18 Ron

Replies

Subject Author
Re: [gentoo-user] CPU you selected does not support x86-64 instruction set John Blinka <john.blinka@×××××.com>