On Wed, Apr 25, 2018 at 10:03 AM, Klaus Ethgen <klaus+gen...@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 genker...@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 <kl...@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.

Reply via email to