Kernel Update

Anything that pertains to Portage

Moderator: Moderators

Post Reply
Nuts
Baby Hen
Posts: 6
Joined: Wed Apr 01, 2009 15:26

Kernel Update

Post by Nuts » Wed Apr 01, 2009 15:48

I downloaded newly realesed kernel 2.6.29 via layman,aaand error

Code: Select all

* ERROR: sys-kernel/linux-sabayon-2.6.29 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 3037:  Called die
 * The specific snippet of code:
 *           DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel ${GKARGS} --kerneldir=${S} --kernel-config=${WORKDIR}/config --cachedir=${WORKDIR}/cache --makeopts=-j3 --tempdir=${S}/temp --logfile=${WORKDIR}/genkernel.log --bootdir=${WORKDIR}/boot --mountboot --lvm --luks --disklabel --module-prefix=${WORKDIR}/lib all || die "genkernel failed";
and i copied extracted source 2 /usr/src/linux and compiled. and after booting

Code: Select all

No init found. Try passing the init= option to the Kernel
dont know what 2 do now

grub.conf

Code: Select all

title=Sabayon Linux (2.6.29-sabayon)
        root (hd0,0)
        kernel /kernel-genkernel-x86-2.6.29-sabayon root=/dev/ram0 ramdisk=8192 real_root=/dev/sda5 dolvm  quiet init=/linuxrc splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 resume=swap:/dev/sda2 rootfstype=ext4
        initrd /initramfs-genkernel-x86-2.6.29-sabayon

User avatar
albfneto
Sagely Hen
Posts: 1852
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil
Contact:

Re: Kernel Update

Post by albfneto » Wed Apr 01, 2009 16:40

I have one doubt about your messages, since layman is a package for use Overlay, and not for download....

Procedures fo install the new kernel:

via Entropy:
as root:

Code: Select all

equo update
equo install equo
equo search linux-sabayon
equo install  the complete name and localization of the new kernel
via Portage:
as root:

Code: Select all

emerge --sync
emerge portage
emerge layman
layman -a sabayon
layman -s sabayon
layman -S
emerge -s linux-sabayon
emerge -av the complete name and localization of the new kernel
For your messages, i have in mind that the system is not able to use genkernel to compile the source.
you may try to update genkernel and the dependencies:

as root

Code: Select all

emerge -s gtk+ python gcc make cmake autoconf automake gentoolkit genkernel
and check the versions...
if something, or all are outdated, made the updating of the old packages(exemplified with all)
emerge -av gtk+ python gcc make cmake autoconf automake gentoolkit genkernel
Further, use as root the command:

Code: Select all

emerge -av complete name and localization of the new kernel
In Gentoo based Linuxes, the compilation of the source-codes is automatic with emerge command.
if you want to recompile, you may create one local Overlay directory, then you may download the Ebuild od teh kernel (for ex. from the sabayon overlay online) then modify the make-conf overaly dir, and compile the kernel with an regular emerge command, or:
download the Kernel source-code and recompile it using genkernel Gentoo utility.[/color]
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE

Nuts
Baby Hen
Posts: 6
Joined: Wed Apr 01, 2009 15:26

Re: Kernel Update

Post by Nuts » Wed Apr 01, 2009 17:14

when i copy extracted kernel and make symlink, it compiled without any error,but that error appeared
i'll update dependencies that genkernel required and post again, dont forget this thread

Post Reply