From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
Date: Wed, 04 May 2016 11:31:44 -0400 [thread overview]
Message-ID: <3508588.A2Wzk4mQlR@serenity> (raw)
In-Reply-To: <CAC_tCmp5yV_9B+A20O+sk6QNs=Ey=31GKehwn93HDv1-wgJPbw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2507 bytes --]
On Wednesday, May 04, 2016 09:58:37 AM John Blinka wrote:
> Hello, Gentooers:
>
> I have a new Dell 17 5759 with core i5-6200U skylake cpu on which I'm
> trying to dual boot windows 10 and gentoo. All the rest of my gentoo
> hardware is much older, so this new laptop introduces 2 technologies new to
> me: uefi and 64 bit kernels.
>
> I installed gentoo using the x86 handbook and a recent sysrescuecd usb
> drive. The install was unremarkable except for trying to build a 64 bit
> kernel. No matter what I do, the kernel build fails very early with the
> message:
>
> kernel/bounds.c:1:0 error: CPU you selected does not support x86-64
> instruction set.
>
> Looking at bounds.c does not enlighten me.
>
> I've tried specifying a 64 bit kernel in various ways:
>
> setting CONFIG_64BIT=y and CONFIG_X86_64=y via make menuconfig,
>
> make defconfig, which claims it uses an x86_64_defconfig, and sets the 2
> configuration variables above to "y",
>
> and genkernel, which says it's getting arch-specific config.sh from
> /usr/share/genkernel/arch/x86_64/config.sh, which also sets the 2 variables
> above to "y".
>
> So, a 64 bit sysrescuecd kernel does run on this box, and its /proc/cpuinfo
> tells me that it does indeed have a core i5-6200U cpu which, per Google,
> does support the x86-64 instruction set. I believe I've told the kernel
> make system that I want a 64 bit kernel and that the cpu I want to run it
> on supports the x86-64 instruction set. Not trusting my kernel config
> knowledge, I've tried letting clean kernel installations produce a 64 bit
> kernel configuration for me via make defconfig and genkernel, both of which
> appear to be attempting 64 bit configurations. All of these attempts fail
> the same way. I've tried all of this on gentoo-sources-4.4.6 and
> -4.1.15-r1.
>
> Any help would be greatly appreciated. Thanks!
You should use the AMD64 handbook, not the x86 handbook, if you're trying to
install on x86_64 hardware.
https://wiki.gentoo.org/wiki/Handbook:AMD64
More importantly, you should be booted into a 64-bit environment. That means
using a 64-bit live image for your initial boot, and using an amd64 stage3.
EFI has similar requirements; you'll need to be booted via EFI in the first
place in order to set up the bootloader properly; your firmware won't make the
necessary hardware calls available to register your bootloader if you're not
booted in EFI mode.
HTH.
--
:wq
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-05-04 15:32 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-04 13:58 [gentoo-user] CPU you selected does not support x86-64 instruction set John Blinka
2016-05-04 15:31 ` Michael Mol [this message]
2016-05-04 16:08 ` John Blinka
2016-05-04 16:36 ` Ron Farrer
2016-05-04 22:52 ` John Blinka
2016-05-04 22:51 ` Neil Bothwick
2016-05-04 22:58 ` John Blinka
2016-05-05 6:58 ` Helmut Jarausch
2016-05-05 8:53 ` Peter Humphrey
2016-05-05 8:57 ` Neil Bothwick
2016-05-05 15:08 ` John Blinka
2016-05-05 19:58 ` Neil Bothwick
-- strict thread matches above, loose matches on Subject: below --
2020-12-15 1:21 thelma
2020-12-15 4:38 ` J. Roeleveld
2020-12-15 5:44 ` thelma
2020-12-15 6:17 ` thelma
2020-12-15 6:33 ` thelma
2020-12-15 6:47 ` bobwxc
2020-12-15 6:50 ` J. Roeleveld
2020-12-15 6:59 ` thelma
2020-12-15 7:08 ` bobwxc
2020-12-15 7:50 ` J. Roeleveld
2020-12-15 9:51 ` Michael
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=3508588.A2Wzk4mQlR@serenity \
--to=mikemol@gmail.com \
--cc=gentoo-user@lists.gentoo.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