Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
chiqui.paula
n00b
n00b


Joined: 27 May 2015
Posts: 29

PostPosted: Sat Mar 04, 2017 2:03 pm    Post subject: genkernel problem Reply with quote

Hello Everybody,

I am trying to install Gentoo through System Rescue CD and when I get to the genkernel part I got this error message.
My system is i686 and installing 32 bit tar ball.
Can you guys tell me the content of the messages and help me solve the problem what actually is going on and what is wrong with my genkernel compile.

Thanks in advance,

PC,

Code:
grep -i error /var/log/genkernel.log


Code:

Enable recovery from hardware memory errors (MEMORY_FAILURE) [Y/n/?] y
  Hardware Error Device (ACPI_HED) [Y/?] y
  ACPI Platform Error Interface (APEI) (ACPI_APEI) [Y/n/?] y
    APEI Generic Hardware Error Source (ACPI_APEI_GHES) [Y/n/?] y
    APEI memory error recovering support (ACPI_APEI_MEMORY_FAILURE) [Y/n/?] y
    APEI Error INJection (EINJ) (ACPI_APEI_EINJ) [M/n/y/?] m
    APEI Error Record Serialization Table (ERST) Debug Support (ACPI_APEI_ERST_DEBUG) [M/n/y/?] m
  Extended Error Log support (ACPI_EXTLOG) [N/m/y/?] (NEW)
    Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] y
      PCIe AER error injector support (PCIEAER_INJECT) [M/n/y/?] m
Verbose SCSI error reporting (kernel size += 36K) (SCSI_CONSTANTS) [Y/n/?] y
  Verbose ATA error reporting (ATA_VERBOSE_ERROR) [Y/n/?] y
* EDAC (Error Detection And Correction) reporting
EDAC (Error Detection And Correction) reporting (EDAC) [Y/n/?] y
  Main Memory EDAC (Error Detection And Correction) reporting (EDAC_MM_EDAC) [M/n/y/?] m
      Sysfs HW Error injection facilities (EDAC_AMD64_ERROR_INJECTION) [Y/n/?] y
Make section mismatch errors non-fatal (SECTION_MISMATCH_WARN_ONLY) [Y/n/?] (NEW)
Notifier error injection (NOTIFIER_ERROR_INJECTION) [N/m/y/?] (NEW)
make: *** [Makefile:1066: prepare-compiler-check] Error 1
* ERROR: Failed to compile the "prepare" target...
* errors that were reported above.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Mar 04, 2017 3:08 pm    Post subject: Reply with quote

What version of gentoo-sources (or other kernel sources) are you using?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
chiqui.paula
n00b
n00b


Joined: 27 May 2015
Posts: 29

PostPosted: Sat Mar 04, 2017 6:43 pm    Post subject: Reply with quote

linux-4.9.6-gentoo-r1
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Mar 07, 2017 4:44 pm    Post subject: Reply with quote

With sys-kernel/genkernel-3.4.52.4-r2, this succeeds for me. Two questions:
  • 32-bit or 64-bit install?
  • Are you using genkernel or genkernel-next?
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
chiqui.paula
n00b
n00b


Joined: 27 May 2015
Posts: 29

PostPosted: Tue Mar 07, 2017 7:10 pm    Post subject: Reply with quote

This is interesting too. My PC actually is 64 bit. However, while I was using system rescue cd, it gave me an error at the time when I bash chrooting. Later I found this link here
https://wiki.gentoo.org/wiki/Knowledge_Base:Chrooting_returns_exec_format_error
Anyway while I am on the system rescue cd,
Code:
 uname -m
(I dont remember at the moment the exact optionof the commond, I am on another machine now), it told e my PC architecture is i686. So if you ask me "is that 32 bit or 64 bit"; honestly I dont know what that means whether it is 32 or 64 but I know my pc is 64 bit. But if you have solution please tell me for both 32 and 64 bit machine. Sorry I thought little more detail would help you to answer me in an easier way.

I am using genkernel by the way.

Also where or how did you find that version? I have been digging around how to use/find for different version. I didnt know how to do that.

Final question how and why does this error occur? It seems it happens on the preparation stage of compiling.

Thanks,

PC,
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Mar 07, 2017 7:14 pm    Post subject: Reply with quote

chiqui.paula wrote:
Also where or how did you find that version? I have been digging around how to use/find for different version. I didnt know how to do that.
If you emerge gentoolkit, you'll have the equery utility, which will tell you all sorts of useful information. To get the installed version of genkernel, for instance, run
Code:
equery list -i genkernel
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
chiqui.paula
n00b
n00b


Joined: 27 May 2015
Posts: 29

PostPosted: Tue Mar 07, 2017 7:56 pm    Post subject: Reply with quote

Thank for your kind response John.

Also, can you explain why I am having that problem as well? Is that about the kernel itself (the version), architecture or what?

PC,
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Mar 07, 2017 8:08 pm    Post subject: Reply with quote

I can try but I need the version of genkernel you're running to try to reproduce your issue. Install gentoolkit and get me that version, please.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
chiqui.paula
n00b
n00b


Joined: 27 May 2015
Posts: 29

PostPosted: Tue Mar 07, 2017 9:36 pm    Post subject: Reply with quote

John,

Here is the reuslt of the command
Code:
 equery list -i genkernel
is
Code:
 sys-kernel/genkernel-3.4.52.4-r2:0
.
and I downloaded the i686 version of the tarball. I just tried to install fresh the whole system and when I tried to compile the whole kernel again
Code:
 genkernel all
it gave the same error. But here is the whole output that I will tr to copy-paste here.

Code:
 
time genkernel all     


Code:

* Gentoo Linux Genkernel; Version 3.4.52.4
* 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 ..

* Linux Kernel 4.9.6-gentoo-r1 for x86...
* .. with config file /usr/share/genkernel/arch/x86/generated-config
* kernel: Using config from /usr/share/genkernel/arch/x86/generated-config
* kernel: >> Running mrproper...
*         >> Running oldconfig...
* kernel: >> Cleaning...
* ERROR: Failed to compile the "prepare" target...
*
* -- Grepping log... --
*
*  SHIPPED scripts/kconfig/zconf.hash.c
*  SHIPPED scripts/kconfig/zconf.lex.c
*  HOSTCC  scripts/kconfig/zconf.tab.o
*  HOSTLD  scripts/kconfig/conf
*scripts/kconfig/conf  --oldconfig Kconfig
*.config:31:warning: symbol value 'm' invalid for X86_INTEL_PSTATE
*.config:2289:warning: override: FB_MB862XX_LIME changes choice state
*.config:2710:warning: symbol value 'm' invalid for AB3100_CORE
*.config:2719:warning: symbol value 'm' invalid for MFD_WM8400
*.config:2720:warning: symbol value 'm' invalid for MFD_WM8350_I2C
*.config:2721:warning: symbol value 'm' invalid for MFD_WM8350
*.config:2722:warning: symbol value 'm' invalid for MFD_WM831X
*.config:3368:warning: symbol value 'm' invalid for POWER_SUPPLY
*--
*Allow for memory compaction (COMPACTION) [Y/n/?] y
*  Page migration (MIGRATION) [Y/?] y
*Enable bounce buffers (BOUNCE) [Y/n/?] (NEW)
*Enable KSM for page merging (KSM) [Y/n/?] y
*Low address space to protect from user allocation (DEFAULT_MMAP_MIN_ADDR) [4096] 4096
*Enable recovery from hardware memory errors (MEMORY_FAILURE) [Y/n/?] y
*--
*  Allow upgrading ACPI tables via initrd (ACPI_TABLE_UPGRADE) [Y/n/?] (NEW)
*  Debug Statements (ACPI_DEBUG) [N/y/?] (NEW)
*  PCI slot detection driver (ACPI_PCI_SLOT) [Y/n/?] y
*  Container and Module Devices (ACPI_CONTAINER) [Y/?] (NEW) y
*  Smart Battery System (ACPI_SBS) [N/m/y/?] (NEW)
*  Hardware Error Device (ACPI_HED) [Y/?] y
*  Allow ACPI methods to be inserted/replaced at run time (ACPI_CUSTOM_METHOD) [N/m/y/?] (NEW)
*  ACPI NVDIMM Firmware Interface Table (NFIT) (ACPI_NFIT) [N/m/y/?] (NEW)
*  ACPI Platform Error Interface (APEI) (ACPI_APEI) [Y/n/?] y
*    APEI Generic Hardware Error Source (ACPI_APEI_GHES) [Y/n/?] y
*    APEI PCIe AER logging/recovering support (ACPI_APEI_PCIEAER) [Y/n/?] y
*    APEI memory error recovering support (ACPI_APEI_MEMORY_FAILURE) [Y/n/?] y
*    APEI Error INJection (EINJ) (ACPI_APEI_EINJ) [M/n/y/?] m
*    APEI Error Record Serialization Table (ERST) Debug Support (ACPI_APEI_ERST_DEBUG) [M/n/y/?] m
*  DPTF Platform Power Participant (DPTF_POWER) [N/m/y/?] (NEW)
*  Extended Error Log support (ACPI_EXTLOG) [N/m/y/?] (NEW)
*--
* Bus options (PCI etc.)
*
*PCI support (PCI) [Y/n/?] y
*  Support mmconfig PCI config space access (PCI_MMCONFIG) [N/y] (NEW)
*  PCI Express Port Bus support (PCIEPORTBUS) [Y/n/?] y
*    Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] y
*      PCI Express ECRC settings control (PCIE_ECRC) [Y/n/?] y
*      PCIe AER error injector support (PCIEAER_INJECT) [M/n/y/?] m
*--
*      *
*      round-robin scheduling (IP_VS_RR) [M/n/?] m
*      weighted round-robin scheduling (IP_VS_WRR) [M/n/?] m
*      least-connection scheduling (IP_VS_LC) [M/n/?] m
*      weighted least-connection scheduling (IP_VS_WLC) [M/n/?] m
*      weighted failover scheduling (IP_VS_FO) [N/m/?] (NEW)
*--
*  * Wireless
*  *
*  Wireless (WIRELESS) [Y] y
*    cfg80211 - wireless configuration API (CFG80211) [M/n/?] m
*      nl80211 testmode command (NL80211_TESTMODE) [N/y/?] n
*      enable developer warnings (CFG80211_DEVELOPER_WARNINGS) [N/y/?] n
*--
*SCSI CDROM support (BLK_DEV_SR) [M/n/y/?] m
*  Enable vendor-specific extensions (for SCSI CDROM) (BLK_DEV_SR_VENDOR) [Y/n/?] y
*SCSI generic support (CHR_DEV_SG) [M/n/y/?] m
*SCSI media changer support (CHR_DEV_SCH) [M/n/y/?] m
*SCSI Enclosure Support (SCSI_ENCLOSURE) [M/n/?] m
*Verbose SCSI error reporting (kernel size += 36K) (SCSI_CONSTANTS) [Y/n/?] y
*--
*  Compile All OSD modules with lots of DEBUG prints (SCSI_OSD_DEBUG) [N/y/?] n
*
* Serial ATA and Parallel ATA drivers (libata)
*
*Serial ATA and Parallel ATA drivers (libata) (ATA) [Y/n/m/?] y
*  Verbose ATA error reporting (ATA_VERBOSE_ERROR) [Y/n/?] y
*--
*  InfiniBand SCSI RDMA Protocol target support (INFINIBAND_SRPT) [N/m/?] (NEW)
*  iSCSI Extensions for RDMA (iSER) (INFINIBAND_ISER) [M/n/?] m
*  RDMA verbs transport library (INFINIBAND_RDMAVT) [N/m/?] (NEW)
*  Software RDMA over Ethernet (RoCE) driver (RDMA_RXE) [N/m/?] (NEW)
*
* EDAC (Error Detection And Correction) reporting
*
*EDAC (Error Detection And Correction) reporting (EDAC) [Y/n/?] y
*  EDAC legacy sysfs (EDAC_LEGACY_SYSFS) [Y/n/?] y
*  Debugging (EDAC_DEBUG) [N/y/?] n
*  Decode MCEs in human-readable form (only on AMD for now) (EDAC_DECODE_MCE) [M/n/y/?] m
*  Main Memory EDAC (Error Detection And Correction) reporting (EDAC_MM_EDAC) [M/n/y/?] m
*    AMD64 (Opteron, Athlon64) (EDAC_AMD64) [M/n/?] m
*      Sysfs HW Error injection facilities (EDAC_AMD64_ERROR_INJECTION) [Y/n/?] y
*--
*  JFS statistics (JFS_STATISTICS) [N/y/?] n
*XFS filesystem support (XFS_FS) [M/n/y/?] m
*  XFS Quota support (XFS_QUOTA) [Y/n/?] y
*  XFS POSIX ACL support (XFS_POSIX_ACL) [Y/n/?] y
*  XFS Realtime subvolume support (XFS_RT) [N/y/?] n
*  XFS Verbose Warnings (XFS_WARN) [N/y/?] (NEW)
*--
*Inotify support for userspace (INOTIFY_USER) [Y/n/?] y
*Filesystem wide access notification (FANOTIFY) [Y/n/?] y
*  fanotify permissions checking (FANOTIFY_ACCESS_PERMISSIONS) [N/y/?] (NEW)
*Quota support (QUOTA) [Y/n/?] y
*Report quota messages through netlink interface (QUOTA_NETLINK_INTERFACE) [Y/n/?] y
*Print quota warnings to console (OBSOLETE) (PRINT_QUOTA_WARNING) [Y/n/?] y
*--
*Enable tracing for RCU (RCU_TRACE) [N/y/?] n
*Provide debugging asserts for adding NO_HZ support to an arch (RCU_EQS_DEBUG) [N/y/?] (NEW)
*Force round-robin CPU selection for unbound work items (DEBUG_WQ_FORCE_RR_CPU) [N/y/?] (NEW)
*Force extended block device numbers and spread them (DEBUG_BLOCK_EXT_DEVT) [N/y/?] n
*Enable CPU hotplug state control (CPU_HOTPLUG_STATE_CONTROL) [N/y/?] (NEW)
*Notifier error injection (NOTIFIER_ERROR_INJECTION) [N/m/y/?] (NEW)
*--
*  SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h
*  HOSTCC  scripts/basic/bin2c
*  CHK     include/config/kernel.release
*  UPD     include/config/kernel.release
*Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
*make: *** [Makefile:1066: prepare-compiler-check] Error 1
*--
* 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...
*
* -- End log... --
*
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
*
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*

real   0m15.967s
user   0m13.645s
sys   0m3.961s


I am not sure what is going on here though.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Mar 07, 2017 9:40 pm    Post subject: Reply with quote

Code:
*Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
*make: *** [Makefile:1066: prepare-compiler-check] Error 1
implies that your compiler may not be new enough (or, alternatively, that your kernel source is too new). Let's see what you have. Post the output of
Code:
gcc-config -l
and
Code:
equery list -i gcc
please.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
chiqui.paula
n00b
n00b


Joined: 27 May 2015
Posts: 29

PostPosted: Tue Mar 07, 2017 10:01 pm    Post subject: Reply with quote

the first one is
Code:
 i686-pc-linux-gnu-4.9.4


the second one is

Code:
sys-devel/gcc-4.9.4:4.9.4
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Mar 07, 2017 10:25 pm    Post subject: Reply with quote

So this is exactly what I'm running and exactly what I've been successful with. One more question. Your compiler implies that you're performing a 32-bit install on your 64-bit machine. Is that what you intend?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
chiqui.paula
n00b
n00b


Joined: 27 May 2015
Posts: 29

PostPosted: Tue Mar 07, 2017 10:30 pm    Post subject: Reply with quote

Yes, mandatorily, because as I said in my previous posts, when I was chroot for the bash it gave problem. So I am trying to install 32 bit Gentoo on my 64 bit machine.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Mar 07, 2017 11:11 pm    Post subject: Reply with quote

I have a 32-bit server at home and can try to reproduce. In the meantime, you might want to try with an alternate version of gentoo-sources. Trying installing gentoo-sources-4.4.39:
Code:
USE="symlink" emerge -v =gentoo-sources-4.4.39
and then run genkernel again.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
chiqui.paula
n00b
n00b


Joined: 27 May 2015
Posts: 29

PostPosted: Tue Mar 07, 2017 11:25 pm    Post subject: Reply with quote

OK, here is the result this time. Honestly, I am starting to think that it is the system-rescue cd.

Code:

* Gentoo Linux Genkernel; Version 3.4.52.4
* 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 ..

* Linux Kernel 4.4.39-gentoo for x86...
* .. with config file /usr/share/genkernel/arch/x86/generated-config
* kernel: Using config from /usr/share/genkernel/arch/x86/generated-config
* kernel: >> Running mrproper...
*         >> Running oldconfig...
* kernel: >> Cleaning...
* ERROR: Failed to compile the "prepare" target...
*
* -- Grepping log... --
*
*  SHIPPED scripts/kconfig/zconf.lex.c
*  SHIPPED scripts/kconfig/zconf.hash.c
*  HOSTCC  scripts/kconfig/zconf.tab.o
*  HOSTLD  scripts/kconfig/conf
*scripts/kconfig/conf  --oldconfig Kconfig
*.config:31:warning: symbol value 'm' invalid for X86_INTEL_PSTATE
*.config:2289:warning: override: FB_MB862XX_LIME changes choice state
*.config:2710:warning: symbol value 'm' invalid for AB3100_CORE
*.config:2719:warning: symbol value 'm' invalid for MFD_WM8400
*.config:2720:warning: symbol value 'm' invalid for MFD_WM8350_I2C
*.config:2721:warning: symbol value 'm' invalid for MFD_WM8350
*.config:2722:warning: symbol value 'm' invalid for MFD_WM831X
*.config:3368:warning: symbol value 'm' invalid for POWER_SUPPLY
*--
*Allow for memory compaction (COMPACTION) [Y/n/?] y
*  Page migration (MIGRATION) [Y/?] y
*Enable bounce buffers (BOUNCE) [Y/n/?] (NEW)
*Enable KSM for page merging (KSM) [Y/n/?] y
*Low address space to protect from user allocation (DEFAULT_MMAP_MIN_ADDR) [4096] 4096
*Enable recovery from hardware memory errors (MEMORY_FAILURE) [Y/n/?] y
*--
*  ACPI tables override via initrd (ACPI_INITRD_TABLE_OVERRIDE) [N/y/?] (NEW)
*  Debug Statements (ACPI_DEBUG) [N/y/?] (NEW)
*  PCI slot detection driver (ACPI_PCI_SLOT) [Y/n/?] y
*  Container and Module Devices (ACPI_CONTAINER) [Y/?] (NEW) y
*  Smart Battery System (ACPI_SBS) [N/m/y/?] (NEW)
*  Hardware Error Device (ACPI_HED) [Y/?] y
*  Allow ACPI methods to be inserted/replaced at run time (ACPI_CUSTOM_METHOD) [N/m/y/?] (NEW)
*  ACPI NVDIMM Firmware Interface Table (NFIT) (ACPI_NFIT) [N/m/y/?] (NEW)
*  ACPI Platform Error Interface (APEI) (ACPI_APEI) [Y/n/?] y
*    APEI Generic Hardware Error Source (ACPI_APEI_GHES) [Y/n/?] y
*    APEI PCIe AER logging/recovering support (ACPI_APEI_PCIEAER) [Y/n/?] y
*    APEI memory error recovering support (ACPI_APEI_MEMORY_FAILURE) [Y/n/?] y
*    APEI Error INJection (EINJ) (ACPI_APEI_EINJ) [M/n/y/?] m
*    APEI Error Record Serialization Table (ERST) Debug Support (ACPI_APEI_ERST_DEBUG) [M/n/y/?] m
*  Extended Error Log support (ACPI_EXTLOG) [N/m/y/?] (NEW)
*--
* Bus options (PCI etc.)
*
*PCI support (PCI) [Y/n/?] y
*  Support mmconfig PCI config space access (PCI_MMCONFIG) [N/y] (NEW)
*  PCI Express Port Bus support (PCIEPORTBUS) [Y/n/?] y
*    Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] y
*      PCI Express ECRC settings control (PCIE_ECRC) [Y/n/?] y
*      PCIe AER error injector support (PCIEAER_INJECT) [M/n/y/?] m
*--
*      *
*      round-robin scheduling (IP_VS_RR) [M/n/?] m
*      weighted round-robin scheduling (IP_VS_WRR) [M/n/?] m
*      least-connection scheduling (IP_VS_LC) [M/n/?] m
*      weighted least-connection scheduling (IP_VS_WLC) [M/n/?] m
*      weighted failover scheduling (IP_VS_FO) [N/m/?] (NEW)
*--
*  * Wireless
*  *
*  Wireless (WIRELESS) [Y] y
*    cfg80211 - wireless configuration API (CFG80211) [M/n/?] m
*      nl80211 testmode command (NL80211_TESTMODE) [N/y/?] n
*      enable developer warnings (CFG80211_DEVELOPER_WARNINGS) [N/y/?] n
*--
*SCSI CDROM support (BLK_DEV_SR) [M/n/y/?] m
*  Enable vendor-specific extensions (for SCSI CDROM) (BLK_DEV_SR_VENDOR) [Y/n/?] y
*SCSI generic support (CHR_DEV_SG) [M/n/y/?] m
*SCSI media changer support (CHR_DEV_SCH) [M/n/y/?] m
*SCSI Enclosure Support (SCSI_ENCLOSURE) [M/n/?] m
*Verbose SCSI error reporting (kernel size +=75K) (SCSI_CONSTANTS) [Y/n/?] y
*--
*  Compile All OSD modules with lots of DEBUG prints (SCSI_OSD_DEBUG) [N/y/?] n
*
* Serial ATA and Parallel ATA drivers (libata)
*
*Serial ATA and Parallel ATA drivers (libata) (ATA) [Y/n/m/?] y
*  Verbose ATA error reporting (ATA_VERBOSE_ERROR) [Y/n/?] y
*--
*      IP-over-InfiniBand data path debugging (INFINIBAND_IPOIB_DEBUG_DATA) [N/y/?] n
*  InfiniBand SCSI RDMA Protocol (INFINIBAND_SRP) [M/n/?] m
*  InfiniBand SCSI RDMA Protocol target support (INFINIBAND_SRPT) [N/m/?] (NEW)
*  iSCSI Extensions for RDMA (iSER) (INFINIBAND_ISER) [M/n/?] m
*
* EDAC (Error Detection And Correction) reporting
*
*EDAC (Error Detection And Correction) reporting (EDAC) [Y/n/?] y
*  EDAC legacy sysfs (EDAC_LEGACY_SYSFS) [Y/n/?] y
*  Debugging (EDAC_DEBUG) [N/y/?] n
*  Decode MCEs in human-readable form (only on AMD for now) (EDAC_DECODE_MCE) [M/n/y/?] m
*  Main Memory EDAC (Error Detection And Correction) reporting (EDAC_MM_EDAC) [M/n/y/?] m
*    AMD64 (Opteron, Athlon64) (EDAC_AMD64) [M/n/?] m
*      Sysfs HW Error injection facilities (EDAC_AMD64_ERROR_INJECTION) [Y/n/?] y
*--
*  JFS statistics (JFS_STATISTICS) [N/y/?] n
*XFS filesystem support (XFS_FS) [M/n/y/?] m
*  XFS Quota support (XFS_QUOTA) [Y/n/?] y
*  XFS POSIX ACL support (XFS_POSIX_ACL) [Y/n/?] y
*  XFS Realtime subvolume support (XFS_RT) [N/y/?] n
*  XFS Verbose Warnings (XFS_WARN) [N/y/?] (NEW)
*--
*Inotify support for userspace (INOTIFY_USER) [Y/n/?] y
*Filesystem wide access notification (FANOTIFY) [Y/n/?] y
*  fanotify permissions checking (FANOTIFY_ACCESS_PERMISSIONS) [N/y/?] (NEW)
*Quota support (QUOTA) [Y/n/?] y
*Report quota messages through netlink interface (QUOTA_NETLINK_INTERFACE) [Y/n/?] y
*Print quota warnings to console (OBSOLETE) (PRINT_QUOTA_WARNING) [Y/n/?] y
*--
*torture tests for RCU (RCU_TORTURE_TEST) [N/m/y/?] n
*RCU CPU stall timeout in seconds (RCU_CPU_STALL_TIMEOUT) [21] (NEW)
*Enable tracing for RCU (RCU_TRACE) [N/y/?] n
*Provide debugging asserts for adding NO_HZ support to an arch (RCU_EQS_DEBUG) [N/y/?] (NEW)
*Force extended block device numbers and spread them (DEBUG_BLOCK_EXT_DEVT) [N/y/?] n
*Notifier error injection (NOTIFIER_ERROR_INJECTION) [N/m/y/?] (NEW)
*--
*  HOSTCC  arch/x86/tools/relocs_common.o
*  HOSTCC  arch/x86/tools/relocs_64.o
*  HOSTLD  arch/x86/tools/relocs
*  CHK     include/generated/timeconst.h
*  CC      kernel/bounds.s
*kernel/bounds.c:1:0: error: CPU you selected does not support x86-64 instruction set
* /*
* ^
*make[1]: *** [Kbuild:45: kernel/bounds.s] Error 1
*make[1]: *** Waiting for unfinished jobs....
*  UPD     include/generated/timeconst.h
*make: *** [Makefile:1004: prepare0] Error 2
*--
* 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...
*
* -- End log... --
*
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
*
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*

real   0m16.956s
user   0m13.985s
sys   0m3.932s
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Tue Mar 07, 2017 11:57 pm    Post subject: Reply with quote

Code:
*.config:31:warning: symbol value 'm' invalid for X86_INTEL_PSTATE
*.config:2289:warning: override: FB_MB862XX_LIME changes choice state
*.config:2710:warning: symbol value 'm' invalid for AB3100_CORE
*.config:2719:warning: symbol value 'm' invalid for MFD_WM8400
*.config:2720:warning: symbol value 'm' invalid for MFD_WM8350_I2C
*.config:2721:warning: symbol value 'm' invalid for MFD_WM8350
*.config:2722:warning: symbol value 'm' invalid for MFD_WM831X
*.config:3368:warning: symbol value 'm' invalid for POWER_SUPPLY
Those symbols don't exist in /usr/share/genkernel/arch/x86/kernel-config on my machine either. i.e.
Code:
gentoo x86 # grep -i X86_INTEL_PSTATE kernel-config
gentoo x86 #
genkernel 3.4.52.4-r2

However, it does exist in my running 64-bit kernel:
Code:
gentoo x86_64 # zcat /proc/config.gz |grep  X86_INTEL_PSTATE
# CONFIG_X86_INTEL_PSTATE is not set

I can pastebin an older config for a k-6 32-bit, you would have to edit it for your hardware (man genkernel for the options) or you could start with this:

http://pastebin.com/ieEVE1Az which link is from https://forums.gentoo.org/viewtopic-t-1051430-postdays-0-postorder-asc-start-25.html
Back to top
View user's profile Send private message
chiqui.paula
n00b
n00b


Joined: 27 May 2015
Posts: 29

PostPosted: Wed Mar 08, 2017 12:12 am    Post subject: Reply with quote

Tony,

Is there any other link that you can give, please? In my side of the world, I cant reach that website (forbidden for some reason by the government).

And also, please don't get me wrong, I really appreciate your help, but I feel like there must be some proper/slick way of solving this issue other than sharing some files and editing them.

Thanks,

PC,
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Wed Mar 08, 2017 12:32 am    Post subject: Reply with quote

The second link, of course, is from this forum. I would address your access problem in that thread.

It looks to me like somehow you are using the config from a 64-bit machine since the generic genkernel config has those symbols for 64 bit but not for 32 bit.

It looks to me like your immediate problem is getting your new install running. Otherwise, I suggest filing a bug against genkernel.

Another band aid you can try is to, after mounting /mnt/gentoo but before chrooting:
Code:
zcat /proc/config.gz >/mnt/gentoo/usr/src/linux/cd.config

That will put the CD's kernel config in if it supports /proc/config.gz which I'm almost sure that sysrescuecd does.
Then after chrooting
Code:
cd /usr/src/linux
genkernel --config=cd.config --menuconfig --oldconfig --clean
Sorry, I'm an old hacker, I only know the band-aids.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Mar 08, 2017 12:49 am    Post subject: Reply with quote

This is the clue right here:
Code:
*kernel/bounds.c:1:0: error: CPU you selected does not support x86-64 instruction set
I think you might've booted SystemRescueCD as 64-bit but then are trying to install a 32-bit stage.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
chiqui.paula
n00b
n00b


Joined: 27 May 2015
Posts: 29

PostPosted: Wed Mar 08, 2017 1:05 am    Post subject: Reply with quote

John,

This is the part I dont understand. OK here is the story.
I tried to install with the same install media which is the same system rescue cd but I tried it with x86-64 tarball. However when I tried to chroot, it gave exec format error as in described in this link. https://wiki.gentoo.org/wiki/Knowledge_Base:Chrooting_returns_exec_format_error. Then i decided to install tarball (i686) version. Then I have been getting these errors as I posted above.

So, the final verdict is that I need to find a 64 bit distro (which probably I wont use system rescue cd even though on the website it says that it is compatible with both 32 and 64 bit.)

Unfortunately, I cant use the original Gentoo media neither the admin version nor the normal version because then there is a wireless problem, I tried a lot I couldnt even configure. One of the original either admin or the other minimal one didnt boot up from the first place.

So I have been forcing myself for the system rescue cd though. So this is the whole procedure that I have been going through.

Well, now I dont mind trying some other distro, if it will solve the problem.

PC,
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Mar 08, 2017 1:20 am    Post subject: Reply with quote

SystemRescueCd will boot in 32-bit or 64-bit mode. I use it myself. The choice is right in the bootloader menu that you get when you first start booting the CD. Choose a 32-bit kernel and it'll be compatible with a 32-bit stage.

That said, if you don't have a particular reason to install Gentoo, then a binary distro will be a lot easier for you. But if you do have a reason to install Gentoo, and you want to continue, then you'll get a lot of help. ;)

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Wed Mar 08, 2017 1:26 am    Post subject: Reply with quote

Code:
*.config:31:warning: symbol value 'm' invalid for X86_INTEL_PSTATE
X86_INTEL_PSTATE is defined in /usr/src/linux/drivers/cpufreq/Kconfig.x86 and is a bool value which can be y or n. The routines in the kernal source that modify the kernel configuration should not set the value to m. Use --menuconfig with genkernel to change the kernel configuration.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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