public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Kernel compile error
@ 2018-04-25  7:03 Klaus Ethgen
  2018-04-25  7:55 ` Christoph Böhmwalder
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Klaus Ethgen @ 2018-04-25  7:03 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I stumbled into the next problem.

I do have a decent kernel compile knowledge but that seems to be gentoo
specific.

I have a old i686 machine where I installed gentoo on. Now when I did
the kernel the first time, it worked well. everything fine exept some
minor stuff (see below).
   --- /etc/kernels/kernel-config-x86-4.9.76-gentoo-r1     2018-04-25 07:48:25.735961235 +0100
   +++ .config     2018-04-25 07:48:25.830960047 +0100
   @@ -480,7 +480,6 @@
    # CONFIG_PHYS_ADDR_T_64BIT is not set
    CONFIG_BOUNCE=y
    CONFIG_VIRT_TO_BUS=y
   -CONFIG_MMU_NOTIFIER=y
    # CONFIG_KSM is not set
    CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
    # CONFIG_TRANSPARENT_HUGEPAGE is not set
   @@ -1528,7 +1527,7 @@
    # CONFIG_DM_THIN_PROVISIONING is not set
    # CONFIG_DM_CACHE is not set
    # CONFIG_DM_ERA is not set
   -# CONFIG_DM_MIRROR is not set
   +CONFIG_DM_MIRROR=m
    # CONFIG_DM_RAID is not set
    # CONFIG_DM_ZERO is not set
    # CONFIG_DM_MULTIPATH is not set
   @@ -1805,8 +1804,8 @@
    #
    CONFIG_INPUT_MOUSEDEV=m
    # CONFIG_INPUT_MOUSEDEV_PSAUX is not set
   -CONFIG_INPUT_MOUSEDEV_SCREEN_X=1600
   -CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1200
   +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
   +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
    # CONFIG_INPUT_JOYDEV is not set
    CONFIG_INPUT_EVDEV=y
    # CONFIG_INPUT_EVBUG is not set
   @@ -2463,12 +2462,12 @@
    # CONFIG_AGP_ALI is not set
    # CONFIG_AGP_ATI is not set
    # CONFIG_AGP_AMD is not set
   -# CONFIG_AGP_AMD64 is not set
   +CONFIG_AGP_AMD64=y
    CONFIG_AGP_INTEL=y
    # CONFIG_AGP_NVIDIA is not set
   -# CONFIG_AGP_SIS is not set
   +CONFIG_AGP_SIS=y
    # CONFIG_AGP_SWORKS is not set
   -# CONFIG_AGP_VIA is not set
   +CONFIG_AGP_VIA=y
    # CONFIG_AGP_EFFICEON is not set
    CONFIG_INTEL_GTT=y
    CONFIG_VGA_ARB=y
   @@ -2489,7 +2488,7 @@
    # CONFIG_DRM_I2C_SIL164 is not set
    # CONFIG_DRM_I2C_NXP_TDA998X is not set
    CONFIG_DRM_RADEON=m
   -CONFIG_DRM_RADEON_USERPTR=y
   +# CONFIG_DRM_RADEON_USERPTR is not set
    # CONFIG_DRM_AMDGPU is not set

    #

But now, when I try to compile the kernel, I get the following error:
   ...
   make[2]: *** [scripts/kconfig/Makefile:39: silentoldconfig] Fehler 1
   make[1]: *** [Makefile:541: silentoldconfig] Fehler 2
     SYSTBL  arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h
   make: *** Keine Regel vorhanden, um das Ziel »include/config/auto.conf«,
     benötigt von »include/config/kernel.release«, zu erstellen.  Schluss.
   make: *** Es wird auf noch nicht beendete Prozesse gewartet....
     SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h
     SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h
     SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h
   * Gentoo Linux Genkernel; Version 3.4.52.4
   * Running with options: --btrfs --lvm --menuconfig --kernel-cc=/usr/lib/ccache/bin/gcc 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... --
   *
   * 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!

I even try to compile with exactly the same config that compiled some
days before but got the same error.

The installed kernel sources and genkernel are:
[IP-] [  ] sys-kernel/genkernel-3.4.52.4-r2:0
[IP-] [  ] sys-kernel/gentoo-sources-4.9.76-r1:4.9.76-r1

As the error is completely without a meaning for me, maybe others have
an Idea.

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlrgKDIACgkQpnwKsYAZ
9qyYvQwAtK+EA0Kv8Vt5443fml9mh0te6k/WUMlAps0u0Ds58NU+IBYebcLCasmM
SG/SDjt/WSJCeb9LQ0w8W9xpi5NAn2HpUiKdpZHeyqiJ5EqHxE6qAMHbsdgSsybY
SskRr8KX3gIErJR6KVLhYxpb1oOZVwaAVCp970c7TpEFiIezNTROX31/olsImDPj
6n5EtAYwogdq32AC7Q5BWuiElWtnmNw5JOal3LlDL0Z0uITm9R+WFzcAsegwYpgF
hgjndQsNFen4CSDXy+t6nxEuByPWEA3Jcz20tHwah3pO5X+kt7Ev3P5Y53vQIq8p
MqFfrwro1/I1fenAqnaYyaedAumgJYSIjgbcCTRgWUY27DX6Ogft1HKjOh3/Jf54
a/7BqpRo9CqI62/WYdVTChCZitESIagfZvkrrT+x9D8l2Xfz0FbIpeOeA5SxHoim
GmLfBaRXYHTcznbl+tn07xylFhYCzPIcmtA4Q3cKDx7cUGcJlVlTGnYCp7ZpjQvD
4nB6ebuf
=igJv
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Kernel compile error
  2018-04-25  7:03 [gentoo-user] Kernel compile error Klaus Ethgen
@ 2018-04-25  7:55 ` Christoph Böhmwalder
  2018-04-25  8:15   ` Klaus Ethgen
  2018-04-25  8:34 ` Alexander Kapshuk
  2018-04-25 17:53 ` [gentoo-user] Strange compile errors Klaus Ethgen
  2 siblings, 1 reply; 14+ messages in thread
From: Christoph Böhmwalder @ 2018-04-25  7:55 UTC (permalink / raw
  To: gentoo-user

On Wed, Apr 25, 2018 at 08:03:20AM +0100, Klaus Ethgen wrote:
>    ...
>    make[2]: *** [scripts/kconfig/Makefile:39: silentoldconfig] Fehler 1
>    make[1]: *** [Makefile:541: silentoldconfig] Fehler 2
>      SYSTBL  arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h
>    make: *** Keine Regel vorhanden, um das Ziel »include/config/auto.conf«,
>      benötigt von »include/config/kernel.release«, zu erstellen.  Schluss.
>    make: *** Es wird auf noch nicht beendete Prozesse gewartet....
>      SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h
>      SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h
>      SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h
>    * Gentoo Linux Genkernel; Version 3.4.52.4
>    * Running with options: --btrfs --lvm --menuconfig --kernel-cc=/usr/lib/ccache/bin/gcc 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... --
>    *
>    * 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!

I think you may have snipped too early.  Looks like the relevant error
has happened somewhere above.


--
Regards,
Christoph


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Kernel compile error
  2018-04-25  7:55 ` Christoph Böhmwalder
@ 2018-04-25  8:15   ` Klaus Ethgen
  0 siblings, 0 replies; 14+ messages in thread
From: Klaus Ethgen @ 2018-04-25  8:15 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 558 bytes --]

Hi,

Am Mi den 25. Apr 2018 um  8:55 schrieb Christoph Böhmwalder:
> I think you may have snipped too early.  Looks like the relevant error
> has happened somewhere above.

Well, that was the most relevant part. But for the completeness, I'll
put the full genkernel.log in the attachment. (It is not that big.)

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

[-- Attachment #1.2: genkernel.log --]
[-- Type: text/plain, Size: 4134 bytes --]


* Gentoo Linux Genkernel; Version 3.4.52.4^[[0m
* Running with options: --btrfs --lvm --menuconfig --kernel-cc=/usr/lib/ccache/bin/gcc 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.76-gentoo-r1^[[0m for x86^[[0m...
* .. with config file /etc/kernels/kernel-config-x86-4.9.76-gentoo-r1
* kernel: Using config from /etc/kernels/kernel-config-x86-4.9.76-gentoo-r1
* kernel: >> Running mrproper...
COMMAND: make -j2 CC="/usr/lib/ccache/bin/gcc" LD="ld" AS="as" ARCH="x86" mrproper 
*         >> Running oldconfig...
COMMAND: make -j2 CC="/usr/lib/ccache/bin/gcc" LD="ld" AS="as" ARCH="x86" oldconfig 
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  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
#
# configuration written to .config
#
* kernel: >> Cleaning...
COMMAND: make -j2 CC="/usr/lib/ccache/bin/gcc" LD="ld" AS="as" ARCH="x86" clean 
* kernel: >> Invoking menuconfig...
COMMAND: make -j2 -j1 CC="/usr/lib/ccache/bin/gcc" LD="ld" AS="as" ARCH="x86" menuconfig 
COMMAND: make -j2 CC="/usr/lib/ccache/bin/gcc" LD="ld" AS="as" ARCH="x86" prepare 
  HOSTCC  scripts/kconfig/conf.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --silentoldconfig Kconfig
*
* Restart config...
*
*
* Multiple devices driver support (RAID and LVM)
*
Multiple devices driver support (RAID and LVM) (MD) [Y/n/?] y
  RAID support (BLK_DEV_MD) [N/m/y/?] n
  Block device as cache (BCACHE) [N/m/y/?] n
  Device mapper support (BLK_DEV_DM) [M/n/y/?] m
    request-based DM: use blk-mq I/O path by default (DM_MQ_DEFAULT) [N/y/?] n
    Device mapper debugging support (DM_DEBUG) [Y/n/?] y
    Keep stack trace of persistent data block lock holders (DM_DEBUG_BLOCK_STACK_TRACING) [N/y/?] n
    Crypt target support (DM_CRYPT) [M/n/?] m
    Snapshot target (DM_SNAPSHOT) [M/n/?] m
    Thin provisioning target (DM_THIN_PROVISIONING) [N/m/?] n
    Cache target (EXPERIMENTAL) (DM_CACHE) [N/m/?] n
    Era target (EXPERIMENTAL) (DM_ERA) [N/m/?] n
    Mirror target (DM_MIRROR) [M/n/?] m
      Mirror userspace logging (DM_LOG_USERSPACE) [N/m/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[2]: *** [scripts/kconfig/Makefile:39: silentoldconfig] Fehler 1
make[1]: *** [Makefile:541: silentoldconfig] Fehler 2
  SYSTBL  arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h
make: *** Keine Regel vorhanden, um das Ziel »include/config/auto.conf«, 
  benötigt von »include/config/kernel.release«, zu erstellen.  Schluss.
make: *** Es wird auf noch nicht beendete Prozesse gewartet....
  SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h
  SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h
  SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h
* Gentoo Linux Genkernel; Version 3.4.52.4^[[0m
* Running with options: --btrfs --lvm --menuconfig --kernel-cc=/usr/lib/ccache/bin/gcc 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... --
* 
* 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!
* 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 688 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Kernel compile error
  2018-04-25  7:03 [gentoo-user] Kernel compile error Klaus Ethgen
  2018-04-25  7:55 ` Christoph Böhmwalder
@ 2018-04-25  8:34 ` Alexander Kapshuk
  2018-04-25  8:39   ` Christoph Böhmwalder
  2018-04-25 11:51   ` Klaus Ethgen
  2018-04-25 17:53 ` [gentoo-user] Strange compile errors Klaus Ethgen
  2 siblings, 2 replies; 14+ messages in thread
From: Alexander Kapshuk @ 2018-04-25  8:34 UTC (permalink / raw
  To: Gentoo mailing list

On Wed, Apr 25, 2018 at 10:03 AM, Klaus Ethgen <Klaus+gentoo@ethgen.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi,
>
> I stumbled into the next problem.
>
> I do have a decent kernel compile knowledge but that seems to be gentoo
> specific.
>
> I have a old i686 machine where I installed gentoo on. Now when I did
> the kernel the first time, it worked well. everything fine exept some
> minor stuff (see below).
>    --- /etc/kernels/kernel-config-x86-4.9.76-gentoo-r1     2018-04-25 07:48:25.735961235 +0100
>    +++ .config     2018-04-25 07:48:25.830960047 +0100
>    @@ -480,7 +480,6 @@
>     # CONFIG_PHYS_ADDR_T_64BIT is not set
>     CONFIG_BOUNCE=y
>     CONFIG_VIRT_TO_BUS=y
>    -CONFIG_MMU_NOTIFIER=y
>     # CONFIG_KSM is not set
>     CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
>     # CONFIG_TRANSPARENT_HUGEPAGE is not set
>    @@ -1528,7 +1527,7 @@
>     # CONFIG_DM_THIN_PROVISIONING is not set
>     # CONFIG_DM_CACHE is not set
>     # CONFIG_DM_ERA is not set
>    -# CONFIG_DM_MIRROR is not set
>    +CONFIG_DM_MIRROR=m
>     # CONFIG_DM_RAID is not set
>     # CONFIG_DM_ZERO is not set
>     # CONFIG_DM_MULTIPATH is not set
>    @@ -1805,8 +1804,8 @@
>     #
>     CONFIG_INPUT_MOUSEDEV=m
>     # CONFIG_INPUT_MOUSEDEV_PSAUX is not set
>    -CONFIG_INPUT_MOUSEDEV_SCREEN_X=1600
>    -CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1200
>    +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
>    +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
>     # CONFIG_INPUT_JOYDEV is not set
>     CONFIG_INPUT_EVDEV=y
>     # CONFIG_INPUT_EVBUG is not set
>    @@ -2463,12 +2462,12 @@
>     # CONFIG_AGP_ALI is not set
>     # CONFIG_AGP_ATI is not set
>     # CONFIG_AGP_AMD is not set
>    -# CONFIG_AGP_AMD64 is not set
>    +CONFIG_AGP_AMD64=y
>     CONFIG_AGP_INTEL=y
>     # CONFIG_AGP_NVIDIA is not set
>    -# CONFIG_AGP_SIS is not set
>    +CONFIG_AGP_SIS=y
>     # CONFIG_AGP_SWORKS is not set
>    -# CONFIG_AGP_VIA is not set
>    +CONFIG_AGP_VIA=y
>     # CONFIG_AGP_EFFICEON is not set
>     CONFIG_INTEL_GTT=y
>     CONFIG_VGA_ARB=y
>    @@ -2489,7 +2488,7 @@
>     # CONFIG_DRM_I2C_SIL164 is not set
>     # CONFIG_DRM_I2C_NXP_TDA998X is not set
>     CONFIG_DRM_RADEON=m
>    -CONFIG_DRM_RADEON_USERPTR=y
>    +# CONFIG_DRM_RADEON_USERPTR is not set
>     # CONFIG_DRM_AMDGPU is not set
>
>     #
>
> But now, when I try to compile the kernel, I get the following error:
>    ...
>    make[2]: *** [scripts/kconfig/Makefile:39: silentoldconfig] Fehler 1
>    make[1]: *** [Makefile:541: silentoldconfig] Fehler 2
>      SYSTBL  arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h
>    make: *** Keine Regel vorhanden, um das Ziel »include/config/auto.conf«,
>      benötigt von »include/config/kernel.release«, zu erstellen.  Schluss.
>    make: *** Es wird auf noch nicht beendete Prozesse gewartet....
>      SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h
>      SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h
>      SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h
>    * Gentoo Linux Genkernel; Version 3.4.52.4
>    * Running with options: --btrfs --lvm --menuconfig --kernel-cc=/usr/lib/ccache/bin/gcc 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... --
>    *
>    * 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!
>
> I even try to compile with exactly the same config that compiled some
> days before but got the same error.
>
> The installed kernel sources and genkernel are:
> [IP-] [  ] sys-kernel/genkernel-3.4.52.4-r2:0
> [IP-] [  ] sys-kernel/gentoo-sources-4.9.76-r1:4.9.76-r1
>
> As the error is completely without a meaning for me, maybe others have
> an Idea.
>
> Regards
>    Klaus
> - --
> Klaus Ethgen                                       http://www.ethgen.ch/
> pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
> Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
> -----BEGIN PGP SIGNATURE-----
> Comment: Charset: ISO-8859-1
>
> iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlrgKDIACgkQpnwKsYAZ
> 9qyYvQwAtK+EA0Kv8Vt5443fml9mh0te6k/WUMlAps0u0Ds58NU+IBYebcLCasmM
> SG/SDjt/WSJCeb9LQ0w8W9xpi5NAn2HpUiKdpZHeyqiJ5EqHxE6qAMHbsdgSsybY
> SskRr8KX3gIErJR6KVLhYxpb1oOZVwaAVCp970c7TpEFiIezNTROX31/olsImDPj
> 6n5EtAYwogdq32AC7Q5BWuiElWtnmNw5JOal3LlDL0Z0uITm9R+WFzcAsegwYpgF
> hgjndQsNFen4CSDXy+t6nxEuByPWEA3Jcz20tHwah3pO5X+kt7Ev3P5Y53vQIq8p
> MqFfrwro1/I1fenAqnaYyaedAumgJYSIjgbcCTRgWUY27DX6Ogft1HKjOh3/Jf54
> a/7BqpRo9CqI62/WYdVTChCZitESIagfZvkrrT+x9D8l2Xfz0FbIpeOeA5SxHoim
> GmLfBaRXYHTcznbl+tn07xylFhYCzPIcmtA4Q3cKDx7cUGcJlVlTGnYCp7ZpjQvD
> 4nB6ebuf
> =igJv
> -----END PGP SIGNATURE-----
>

Did you use a config file for 4.9.76 to build for kernel 3.4.52?
If so, this might not be a good idea. CONFIG options may vary quit a
bit between different kernel releases, which could mean trouble.
Using an older config to build a newer kernel is usually OK. While
going the other way may not work as expected.
Also, I've noticed that your 'make silentconfig' aborted. You want to
take a closer look at that too. Try running 'make oldconfig' and see
what transpires.
Another point to consider is using a more recent kernel, as 3.4.52,
which was released back in 2013, may no longer be supported.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Kernel compile error
  2018-04-25  8:34 ` Alexander Kapshuk
@ 2018-04-25  8:39   ` Christoph Böhmwalder
  2018-04-25 11:51   ` Klaus Ethgen
  1 sibling, 0 replies; 14+ messages in thread
From: Christoph Böhmwalder @ 2018-04-25  8:39 UTC (permalink / raw
  To: gentoo-user

On Wed, Apr 25, 2018 at 11:34:54AM +0300, Alexander Kapshuk wrote:
> Did you use a config file for 4.9.76 to build for kernel 3.4.52?

Seems like this is in fact the issue.

There's plenty of reports online of people compiling with the wrong
.config and getting that exact behaviour.

--
Regards,
Christoph


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Kernel compile error
  2018-04-25  8:34 ` Alexander Kapshuk
  2018-04-25  8:39   ` Christoph Böhmwalder
@ 2018-04-25 11:51   ` Klaus Ethgen
  2018-04-25 14:55     ` [gentoo-user] " Ian Zimmerman
  1 sibling, 1 reply; 14+ messages in thread
From: Klaus Ethgen @ 2018-04-25 11:51 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Am Mi den 25. Apr 2018 um  9:34 schrieb Alexander Kapshuk:
> On Wed, Apr 25, 2018 at 10:03 AM, Klaus Ethgen <Klaus+gentoo@ethgen.de> wrote:
> >    --- /etc/kernels/kernel-config-x86-4.9.76-gentoo-r1     2018-04-25 07:48:25.735961235 +0100
...
> >    * Gentoo Linux Genkernel; Version 3.4.52.4
...
> > [IP-] [  ] sys-kernel/genkernel-3.4.52.4-r2:0
> > [IP-] [  ] sys-kernel/gentoo-sources-4.9.76-r1:4.9.76-r1
> 
> Did you use a config file for 4.9.76 to build for kernel 3.4.52?

Eh, no. The kernel is 4.9.76, the current stable kernel of Gentoo. The
config has the same version and *genkernel* is version 3.4.52, the
current version in Gentoo.

I even tried 4.15.* before with the same result. I wonder in this
context when and if Gentoo does bring some fixes for i686 for Spectre
and Meltdown.

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlrga7wACgkQpnwKsYAZ
9qxBIgwAiFpqZ+cAhfW+HfmRi9QoIalt2LNIZNgVttZQuy6HhDT+m12pfCz5Petq
f50Wy6XXIK49fexu7uxXfB/4ouVnGZA9TlETudaIEfHk51PL86hgFjp388KAZwcf
QWtXVTfL4ZwWGuG4KKr1d9u05qNpxweyYqdOWqISqz2zUppHdH1XPBrPtxEvU212
B2Xa8SXiQvA2jnnW6rP79JxZ4UOD+c1XjkMjML0ouV5Bi2lyrQFu4PGGe9UUlSi3
LE6sIWOB4s15dcQreC8+33o2NWncdaGXvTPJd7fjW/vnOsF0PWv7qqUwR3MZcn3I
pHKYVyFaJsSNkcjYMnx9cDObYvv02zNBtqGyE+k6GUL5wQXly322ILKfoSGqd5ay
FmofMJXJ1trRrZAt1reXVzBkoWpkAxLiPBBL9ksrOclJqoO5ZoL9XxHQ11/WQnOk
iDWCym3w/lBHLjxRp1ZQELIe9+XSMQsrRZLZ8c3oV0dshbOCkwXXBNlJHg8rjcn5
4QX7VFo4
=TP/B
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-user] Re: Kernel compile error
  2018-04-25 11:51   ` Klaus Ethgen
@ 2018-04-25 14:55     ` Ian Zimmerman
  0 siblings, 0 replies; 14+ messages in thread
From: Ian Zimmerman @ 2018-04-25 14:55 UTC (permalink / raw
  To: gentoo-user

I would try these steps:

1. Download an upstream (not gentoo) 4.9.76 kernel source and unpack it.

2. Take the existing .config (from the failed genkernel attempt) and
copy it into the newly unpacked tree.

3. make silentoldconfig

4. make menuconfig just for verification; no changes should be necessary

5. build the kernel the normal upstream way (make vmlinuz or whatever)

If this works, it is a genkernel problem.

Myself, I stopped using gerkernel about 2 months into my gentoo life.
It doesn't really bring anything to the table worth the extra
complexity.  Even if I were an initramfs user, I'd prefer dracut for
that part.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Strange compile errors
  2018-04-25  7:03 [gentoo-user] Kernel compile error Klaus Ethgen
  2018-04-25  7:55 ` Christoph Böhmwalder
  2018-04-25  8:34 ` Alexander Kapshuk
@ 2018-04-25 17:53 ` Klaus Ethgen
  2018-04-25 17:56   ` Mick
  2 siblings, 1 reply; 14+ messages in thread
From: Klaus Ethgen @ 2018-04-25 17:53 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Ok, it seems to have sometimes very strange compile errors.

I just decided to start from scratch. after some steps, it failed to
compile grub. Now this grub even fail on a box where it worked before.

The strange thing is the following:
The error message is:
   Can't locate Locale/Messages.pm in @INC (you may need to install the Locale::Messages module) (@INC contains: /usr/lib64/texinfo /usr/share/texinfo /usr/share/texinfo /etc/perl /usr/local/lib64/perl5/5.24.3/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.24.3 /usr/lib64/perl5/vendor_perl/5.24.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.24.3 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.24.3/x86_64-linux-thread-multi /usr/lib64/perl5/5.24.3 .) at /usr/bin/makeinfo line 109.

But(!):
   perl -MLocale::gettext -e 'print "$Locale::gettext::VERSION\n";'
   1.07

and:
   find /usr -name gettext.pm
   /usr/lib64/perl5/vendor_perl/5.24.3/x86_64-linux-thread-multi/Locale/gettext.pm

Note that the same path is in @INC above.

That all is the current sync.
Grub to install would be sys-boot/grub-2.02:2/2.02::gentoo.

There seems to be something really strange going on but I do not have
any idea where to search.

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlrgwKgACgkQpnwKsYAZ
9qxMzgwAp6v09/YlrieZPAfQbnZJ03iIjl+GkJ8gF01Nl7tEWhhoq4NqTeX9Tka2
bYfHlCtPg0cmHCncv4aK1SxzCissPWmQCjvvcs9hdcUcC8giswkxmrcVHtqteeL4
mtJfoId7HZ+SbS7HEG2A1TGhEzeaNhz5bdUflZdAG7KgSOXURvGB4wBalem4VZZi
VYuYFgCSJccuZO3FqNCdCPMcrk7F7mCDHCYErIV2zDgB916pdC/+9HJ06N9b4V8L
a0vtHQa6OLrdy+HNgFDc1Jsih25AJ85x1GviBzljT+zbcH4XAy56H+Qy0H5OPwme
26j45fl7BaTd9zjX8pQdyeXlNP6aidNlQyw2VJZW0wYcjxtlpcEGhgr+NtWT0R16
OqVDExrcLfe+F11/q55WQvdOT+PRopg1Q8IJxyARQ6zAbS4+wW2UiYPBdGjISDiG
6+yBHmpQwUBZjZZvBbz8Gdwjr6YTaiPLq6QWp7By4Z++wPGVbI4r/JM0CCyN9Pxq
xYsByFBq
=mUyu
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Strange compile errors
  2018-04-25 17:53 ` [gentoo-user] Strange compile errors Klaus Ethgen
@ 2018-04-25 17:56   ` Mick
  2018-04-27 17:21     ` Klaus Ethgen
  0 siblings, 1 reply; 14+ messages in thread
From: Mick @ 2018-04-25 17:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]

On Wednesday, 25 April 2018 18:53:50 BST Klaus Ethgen wrote:
> Ok, it seems to have sometimes very strange compile errors.
> 
> I just decided to start from scratch. after some steps, it failed to
> compile grub. Now this grub even fail on a box where it worked before.
> 
> The strange thing is the following:
> The error message is:
>    Can't locate Locale/Messages.pm in @INC (you may need to install the
> Locale::Messages module) (@INC contains: /usr/lib64/texinfo
> /usr/share/texinfo /usr/share/texinfo /etc/perl
> /usr/local/lib64/perl5/5.24.3/x86_64-linux-thread-multi
> /usr/local/lib64/perl5/5.24.3
> /usr/lib64/perl5/vendor_perl/5.24.3/x86_64-linux-thread-multi
> /usr/lib64/perl5/vendor_perl/5.24.3 /usr/local/lib64/perl5
> /usr/lib64/perl5/vendor_perl
> /usr/lib64/perl5/5.24.3/x86_64-linux-thread-multi /usr/lib64/perl5/5.24.3
> .) at /usr/bin/makeinfo line 109.

I recall there was a perl update recently.  For good measure run:

perl-cleaner --reallyall

and then try running your remaining updates.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Strange compile errors
  2018-04-25 17:56   ` Mick
@ 2018-04-27 17:21     ` Klaus Ethgen
  2018-04-27 17:43       ` Mick
  0 siblings, 1 reply; 14+ messages in thread
From: Klaus Ethgen @ 2018-04-27 17:21 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Am Mi den 25. Apr 2018 um 18:56 schrieb Mick:
> I recall there was a perl update recently.  For good measure run:
> 
> perl-cleaner --reallyall
> 
> and then try running your remaining updates.

That did the trick; even for the kernel. However, I had to compile the
kernel with integrated firmware to skip this step in genkernel as
genkernel failed with firmware compiling.

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlrjXC4ACgkQpnwKsYAZ
9qxVrAwAvXzojeaavvNalefVTmWV1Dc+iqxwFjeUgXrw52wd84E+jpib0yE9H297
whf9YViHn7UQCcZP+t7NsuEBMwreHqUeL6DXavB1LfaluxufTG2gEjeFFVnJ0IiX
tUoeuFYXJEXa/XoXJCxa9nLkE/tAYdgwTqFtihcFMcUpgHyKeVibvnFMjWnICTO3
Kf5Y+9PdUtXWkBomJyk77/qENbflFBH2JtTlcVJilOhL/yCQhC8oCLLOzGY0Xeby
oplZfBRZbyn8ceBQ6XP+JL/m5VOPqIypXDmuAm29kEpqS3H6Be9bkVaKQYDkKCuK
j7Lfj+y1a9kYwN6aoPuAMgVQ0MZmlgfBMJxLY77kAbshoejGHhQ+NzvzrXtaDSHG
L3PgYqA96ft4xkNiVchNEPIsHJQr7Gwi41nJGYyMsylIB3ugfbv1a0LjG6LqwMha
l0iBWADgdNDrXYB19tKLM7TKcuFG84vbnEVayS7JlPPNudxOxH3hTWviR0FWLXjV
FlZahzIh
=vQDe
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Strange compile errors
  2018-04-27 17:21     ` Klaus Ethgen
@ 2018-04-27 17:43       ` Mick
  2018-04-27 18:01         ` Klaus Ethgen
  2018-04-27 23:37         ` Peter Humphrey
  0 siblings, 2 replies; 14+ messages in thread
From: Mick @ 2018-04-27 17:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]

On Friday, 27 April 2018 18:21:51 BST Klaus Ethgen wrote:
> Hi,
> 
> Am Mi den 25. Apr 2018 um 18:56 schrieb Mick:
> > I recall there was a perl update recently.  For good measure run:
> > 
> > perl-cleaner --reallyall
> > 
> > and then try running your remaining updates.
> 
> That did the trick; even for the kernel. However, I had to compile the
> kernel with integrated firmware to skip this step in genkernel as
> genkernel failed with firmware compiling.
> 
> Regards
>    Klaus

I haven't used genkernel to be able to advise, but this page explains what you 
need to do:

https://wiki.gentoo.org/wiki/Intel_microcode


However, you may find it makes no difference.  Intel have announced they will 
not be bringing out updated microcode to address the GPZ vulnerabilities for 
any of their older CPUs.  This has given me one more reason to never buy Intel 
again.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Strange compile errors
  2018-04-27 17:43       ` Mick
@ 2018-04-27 18:01         ` Klaus Ethgen
  2018-04-27 23:37         ` Peter Humphrey
  1 sibling, 0 replies; 14+ messages in thread
From: Klaus Ethgen @ 2018-04-27 18:01 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Am Fr den 27. Apr 2018 um 18:43 schrieb Mick:
> On Friday, 27 April 2018 18:21:51 BST Klaus Ethgen wrote:
[microcode]
> I haven't used genkernel to be able to advise, but this page explains what you 
> need to do:
> 
> https://wiki.gentoo.org/wiki/Intel_microcode

Greate, there is the hint. It need sys-kernel/genkernel >= 3.5.0.7 but
only 3.4.52.4-r2 is stable on gentoo.

> However, you may find it makes no difference.  Intel have announced they will 
> not be bringing out updated microcode to address the GPZ vulnerabilities for 
> any of their older CPUs.  This has given me one more reason to never buy Intel 
> again.

Sad but true.

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlrjZVMACgkQpnwKsYAZ
9qwZ1Qv8CYhhc9Ijseb2lPgXl/yN/2mdDZRwxxMFhSPdGhx5TtRbgbLqDbD1Uw9E
uSwjXjrYl4QSqWxc46Z75FbjIcxZDnZDNBQ+w7nZrSWRtM+cI37XlbYrfVGViN8J
p2zBXDr6Cv6DhhSyzj6avvilxjlFtNbCus3OcQrHlwZkHF9UZ0jnG+gWDXuH0ZVA
VJAaRI2e2TxUxxEavnaCd4FEKfeLQzUmqGkt4IO8c7tYC09z8W3nKi4d9rX6R2nj
whNbWdmXTYy62416jr2ibCUGV/32pUXAqAxFg8TQhwisPs7oK3AvZYzJUv6AjuJS
5MNsSvgKruppUgv+rwimOD+puTT27GD1t+oWG2AaHB1KVAZD/bllftGmf7ZBNKgC
uQMmunBHty9KVoKwpEcKHbBI4mru7fM06gCCwIeLxTwk0SKzSs4v+vBfka+iAJWQ
IdklVsD683eOh4tVpu/5YtSVc4bHBsSE74y9/6cspabVarOilUQQJwrirW2wJe0+
B7EmJurl
=8Up/
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Strange compile errors
  2018-04-27 17:43       ` Mick
  2018-04-27 18:01         ` Klaus Ethgen
@ 2018-04-27 23:37         ` Peter Humphrey
  2018-04-28 10:07           ` Mick
  1 sibling, 1 reply; 14+ messages in thread
From: Peter Humphrey @ 2018-04-27 23:37 UTC (permalink / raw
  To: gentoo-user

On Friday, 27 April 2018 18:43:27 BST Mick wrote:

> I haven't used genkernel to be able to advise, but this page explains what
> you need to do:
> 
> https://wiki.gentoo.org/wiki/Intel_microcode
> 
> However, you may find it makes no difference.  Intel have announced they
> will not be bringing out updated microcode to address the GPZ
> vulnerabilities for any of their older CPUs.  This has given me one more
> reason to never buy Intel again.

Oh? What are your other reasons?   :?

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Strange compile errors
  2018-04-27 23:37         ` Peter Humphrey
@ 2018-04-28 10:07           ` Mick
  0 siblings, 0 replies; 14+ messages in thread
From: Mick @ 2018-04-28 10:07 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

On Saturday, 28 April 2018 00:37:30 BST Peter Humphrey wrote:
> On Friday, 27 April 2018 18:43:27 BST Mick wrote:
> > I haven't used genkernel to be able to advise, but this page explains what
> > you need to do:
> > 
> > https://wiki.gentoo.org/wiki/Intel_microcode
> > 
> > However, you may find it makes no difference.  Intel have announced they
> > will not be bringing out updated microcode to address the GPZ
> > vulnerabilities for any of their older CPUs.  This has given me one more
> > reason to never buy Intel again.
> 
> Oh? What are your other reasons?   :?

Modern Intel CPUs are compromised by design:

https://blog.invisiblethings.org/2015/10/27/x86_harmful.html

Unfortunately AMD has also succumbed to similar proprietary and therefore 
secret security mechanisms built within their CPUs.  POWER9 CPUs do not suffer 
from these afflictions and come with open source firmware, but a POWER9 system 
will cost you a significant amount of money and it is designed for the server 
market.  For a typical budget constrained home user there is currently no 
choice other than buying knowingly inferior and insecure hardware.  :-(

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-04-28 10:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-25  7:03 [gentoo-user] Kernel compile error Klaus Ethgen
2018-04-25  7:55 ` Christoph Böhmwalder
2018-04-25  8:15   ` Klaus Ethgen
2018-04-25  8:34 ` Alexander Kapshuk
2018-04-25  8:39   ` Christoph Böhmwalder
2018-04-25 11:51   ` Klaus Ethgen
2018-04-25 14:55     ` [gentoo-user] " Ian Zimmerman
2018-04-25 17:53 ` [gentoo-user] Strange compile errors Klaus Ethgen
2018-04-25 17:56   ` Mick
2018-04-27 17:21     ` Klaus Ethgen
2018-04-27 17:43       ` Mick
2018-04-27 18:01         ` Klaus Ethgen
2018-04-27 23:37         ` Peter Humphrey
2018-04-28 10:07           ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox