Problem configuring the genkernel

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Problem configuring the genkernel

Postby Johnny Who » Tue Aug 14, 2012 11:29

I am running Sabayon 9 Gnome amd64 and I would like to optimize the kernel to my hardware. I have installed the genkernel scripting programme, but when I try to run
Code: Select all
genkernel --menuconfig --no-clean --no-mrproper all
,
I get the following input:

* Gentoo Linux Genkernel; Version 3.4.33.1
* Running with options: --menuconfig --no-mrproper --no-clean all

* Linux Kernel 3.4.0-sabayon for x86_64...
* kernel: --mrproper is disabled; not running 'make mrproper'.
* >> Running oldconfig...
* ERROR: Failed to compile the "oldconfig" target...
*
* -- Grepping log... --
*
*Makefile:484: /usr/src/linux-3.4.0-sabayon/arch/x86/Makefile: No such file or directory
*make: *** No rule to make target `/usr/src/linux-3.4.0-sabayon/arch/x86/Makefile'. Stop.
* Gentoo Linux Genkernel; Version 3.4.33.1
* Running with options: --menuconfig --no-mrproper --no-clean all
*
* 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: --clean is disabled; not running 'make clean'.
* kernel: >> Invoking menuconfig...
Makefile:327: /usr/src/linux-3.4.0-sabayon/scripts/Kbuild.include: No such file or directory
Makefile:484: /usr/src/linux-3.4.0-sabayon/arch/x86/Makefile: No such file or directory
make: *** No rule to make target `/usr/src/linux-3.4.0-sabayon/arch/x86/Makefile'. Stop.
* ERROR: Failed to compile the "menuconfig" target...
*
* -- Grepping log... --
*
*Makefile:484: /usr/src/linux-3.4.0-sabayon/arch/x86/Makefile: No such file or directory
*make: *** No rule to make target `/usr/src/linux-3.4.0-sabayon/arch/x86/Makefile'. Stop.
* Gentoo Linux Genkernel; Version 3.4.33.1
* Running with options: --menuconfig --no-mrproper --no-clean all
*
* 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: >> Invoking menuconfig...
*COMMAND: make -j2 -j1 CC="gcc" LD="ld" AS="as" ARCH="x86" menuconfig
* Gentoo Linux Genkernel; Version 3.4.33.1
* Running with options: --menuconfig --no-mrproper --no-clean all
*
* ERROR: Failed to compile the "menuconfig" 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!


Some makefiles seem to be missing. What should I do? :roll:
Johnny Who
Simple Hen
 
Posts: 90
Joined: Fri Aug 10, 2012 10:51

Re: Problem configuring the genkernel

Postby sabayonino » Tue Aug 14, 2012 11:49

You need sabayon-sources to compile the kernel
Code: Select all
# equo install sabayon-sources


genkernel guide : http://www.gentoo.org/doc/en/genkernel.xml
User avatar
sabayonino
Sagely Hen
 
Posts: 1564
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Problem configuring the genkernel

Postby Johnny Who » Tue Aug 14, 2012 12:37

Thanks a lot... I have read the genkernel guide. Those sources are missing...
Johnny Who
Simple Hen
 
Posts: 90
Joined: Fri Aug 10, 2012 10:51

Re: Problem configuring the genkernel

Postby Fitzcarraldo » Tue Aug 14, 2012 13:40

https://packages.sabayon.org/quicksearc ... on-sources

Did you follow the SL Wiki article on how to use Genkernel to rebuild the kernel (HOWTO: Upgrade kernel using genkernel)?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7334
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest