UPD: ветка пригодится тем, кто впервые столкнулся с пересборкой ядра по сабжу.
Действую по этому мануалу: http://www.calculate-linux.ru/main/ru/cl-kernel
Дохожу до команды:
cl-kernel --menuconfig
В ответ получаю
calculate linux # cl-kernel --menuconfig
* CMD_LOGLEVEL: 2
* CMD_MAKEOPTS: -j5
* CMD_MENUCONFIG: 1
* CMD_KERNEL_CONFIG: /var/lib/layman/calculate/profiles/kernel/config-server-x86_64-3.5
* CMD_BOOTDIR: /boot
* CMD_MRPROPER: 0
* Gentoo Linux Genkernel; Version 3.4.18
* Running with options: --cachedir=/var/cache/genkernel --tempdir=/var/calculate/tmp/genkernel --splash=calculate --unionfs --all-ramdisk-modules --disklabel --no-save-config --firmware --udev --lspci --kerneldir=/usr/src/linux --module-prefix=/ --loglevel=2 --makeopts=-j5 --menuconfig --kernel-config=/var/lib/layman/calculate/profiles/kernel/config-server-x86_64-3.5 --bootdir=/boot --no-mrproper all
* KERNEL_ARCH=x86
* Linux Kernel 3.5.3-calculate for x86_64...
* kernel: --mrproper is disabled; not running 'make mrproper'.
* >> Running oldconfig...
COMMAND: make -j5 CC="gcc" LD="ld" AS="as" ARCH="x86" oldconfig
scripts/Makefile.build:44: /usr/src/linux-3.5.3-calculate/scripts/basic/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-3.5.3-calculate/scripts/basic/Makefile'. Stop.
make: *** [scripts_basic] Error 2
* ERROR: Failed to compile the "oldconfig" target...
* -- Grepping log... --
* kernel: --mrproper is disabled; not running 'make mrproper'.
* >> Running oldconfig...
COMMAND: make -j5 CC="gcc" LD="ld" AS="as" ARCH="x86" oldconfig
scripts/Makefile.build:44: /usr/src/linux-3.5.3-calculate/scripts/basic/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-3.5.3-calculate/scripts/basic/Makefile'. Stop.
make: *** [scripts_basic] Error 2
--
* CMD_MRPROPER: 0
* Gentoo Linux Genkernel; Version 3.4.18
* Running with options: --cachedir=/var/cache/genkernel --tempdir=/var/calculate/tmp/genkernel --splash=calculate --unionfs --all-ramdisk-modules --disklabel --no-save-config --firmware --udev --lspci --kerneldir=/usr/src/linux --module-prefix=/ --loglevel=2 --makeopts=-j5 --menuconfig --kernel-config=/var/lib/layman/calculate/profiles/kernel/config-server-x86_64-3.5 --bootdir=/boot --no-mrproper all
* KERNEL_ARCH=x86
* ERROR: Failed to compile the "oldconfig" 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!
*
* kernel: >> Cleaning...
COMMAND: make -j5 CC="gcc" LD="ld" AS="as" ARCH="x86" clean
scripts/Makefile.clean:17: /usr/src/linux-3.5.3-calculate/arch/x86/power/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-3.5.3-calculate/arch/x86/power/Makefile'. Stop.
make: *** [_clean_arch/x86/power] Error 2
make: INTERNAL: Exiting with 6 jobserver tokens available; should be 5!
* ERROR: Failed to compile the "clean" target...
* -- Grepping log... --
* kernel: --mrproper is disabled; not running 'make mrproper'.
* >> Running oldconfig...
COMMAND: make -j5 CC="gcc" LD="ld" AS="as" ARCH="x86" oldconfig
scripts/Makefile.build:44: /usr/src/linux-3.5.3-calculate/scripts/basic/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-3.5.3-calculate/scripts/basic/Makefile'. Stop.
make: *** [scripts_basic] Error 2
--
* CMD_MRPROPER: 0
* Gentoo Linux Genkernel; Version 3.4.18
* Running with options: --cachedir=/var/cache/genkernel --tempdir=/var/calculate/tmp/genkernel --splash=calculate --unionfs --all-ramdisk-modules --disklabel --no-save-config --firmware --udev --lspci --kerneldir=/usr/src/linux --module-prefix=/ --loglevel=2 --makeopts=-j5 --menuconfig --kernel-config=/var/lib/layman/calculate/profiles/kernel/config-server-x86_64-3.5 --bootdir=/boot --no-mrproper all
* KERNEL_ARCH=x86
* ERROR: Failed to compile the "oldconfig" target...
--
* 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!
*
* kernel: >> Cleaning...
COMMAND: make -j5 CC="gcc" LD="ld" AS="as" ARCH="x86" clean
scripts/Makefile.clean:17: /usr/src/linux-3.5.3-calculate/arch/x86/power/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-3.5.3-calculate/arch/x86/power/Makefile'. Stop.
make: *** [_clean_arch/x86/power] Error 2
--
* CMD_MRPROPER: 0
* Gentoo Linux Genkernel; Version 3.4.18
* Running with options: --cachedir=/var/cache/genkernel --tempdir=/var/calculate/tmp/genkernel --splash=calculate --unionfs --all-ramdisk-modules --disklabel --no-save-config --firmware --udev --lspci --kerneldir=/usr/src/linux --module-prefix=/ --loglevel=2 --makeopts=-j5 --menuconfig --kernel-config=/var/lib/layman/calculate/profiles/kernel/config-server-x86_64-3.5 --bootdir=/boot --no-mrproper all
* KERNEL_ARCH=x86
* ERROR: Failed to compile the "clean" 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!
*
* Kernel compilation failed
В логе /var/log/genkernel.log вижу две ошибки
ERROR: Failed to compile the "oldconfig" target...
ERROR: Failed to compile the "clean" target...
Еще непонятно почему у меня ядро:
Linux calculate 3.5.3-calculate #1 SMP Fri Aug 31 12:11:41 UTC 2012 x86_64 Intel(R) Xeon(R) CPU E5405 @ 2.00GHz GenuineIntel GNU/Linux
, а при сборке система ругается на x86
scripts/Makefile.clean:17: /usr/src/linux-3.5.3-calculate/arch/x86/power/Makefile: No such file or directory
Исходники чтоли не те? Пните в нужном направлении пожалуйста…