View previous topic :: View next topic |
Author |
Message |
vic485 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Oct 2016 Posts: 1 Location: Leesburg, VA
|
Posted: Tue Oct 18, 2016 4:46 pm Post subject: Genkernel fails on x86 system |
|
|
I am working to install Gentoo following along the latest x86 handbook but have gotten stuck trying to install the kernel.
I have a virtual machine set up in vmware to recreate the machine this would end up on, which is a Thinkpad 600E. (Pentium II, 288 Mb ram...) I am trying to quickly compile a kernel using genkernel all as described in the handbook, but it fails with this error shown in my genkernel.log file.
Code: | kernel/bounds.c:1:0: error: CPU you selected does not support x86-64 instruction set
/*
^
Kbuild:44: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:987: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
* Gentoo Linux Genkernel; Version 3.4.52.3[0m
* Running with options: all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86/modules_load ..
* ERROR: Failed to compile the "prepare" target...
*
* -- Grepping log... --
*
*
* -- End log... -- |
I will have the full log [url=https://1drv.ms/u/s!AupOniiO3RXj-1IOv7l2PWVnM-Ui]here[/url]
The virtual machine is set up in vmware as Other Linux 3.x kernel (not 64-bit) using the install-x86-minimal-20161004.iso and downloaded the latest i686 stage3 archive |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Oct 18, 2016 5:50 pm Post subject: |
|
|
vic485,
Welcome to Gentoo. It looks like you have found a bug in genkernel.
Code: | 1. Opteron/Athlon64/Hammer/K8 (MK8) (NEW)
2. Intel P4 / older Netburst based Xeon (MPSC) (NEW)
3. Core 2/newer Xeon (MCORE2) (NEW)
4. Intel Atom (MATOM) (NEW)
> 5. Generic-x86-64 (GENERIC_CPU) (NEW) |
Its selected a 64 bit CPU for you.
Try genkernel-next. You may need to unmask that as it still being tested.
You can check bugs.gentoo.org to see if its a known bug. If so and you have new information to contribute, add to the bug.
If there is no bug, please start a new one.
Another work around, is to run genkernel with the menuconfig option. This will allow you to make changes to the kernel settings before the kernel is built.
Depending on the setting of 64-bit kernel (64BIT) [Y/n/?] (NEW), you may need to turn that off before the kernel shows you the list of 32 bit CPUs.
That's another feature of this bug. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|