Difference between pages "FLOP:Kernel Management (Experimental)" and "File:Engry vinsent.jpg"

(Difference between pages)
m (Daniel Robbins moved page Kernel Management (Experimental) to FLOP:Kernel Management (Experimental) without leaving a redirect)
(Maintenance script uploaded "File:Engry vinsent.jpg": Importing image file)
Line 1: Line 1:
This page details next-generation kernel management features for Funtoo Linux, which impacts the following subsystems:
* '''{{Package|sys-kernel/genkernel}}'''
* '''kernel ebuilds'''
* '''{{Package|sys-boot/boot-update}}'''
* '''{{Package|sys-boot/grub}}'''
== Experimental Genkernel ==
Experimental genkernel is being developed in the following branch:
The naming convention for kernels is being changed significantly. Previously, genkernel would install and name kernels, etc. like this:
##i### ls /boot/*37* -l
-rw-r--r-- 1 root root  2284126 Sep 24 11:20 /boot/System.map-openvz-rhel6-stable-x86_64-2.6.32-042stab037.1
-rw-r--r-- 1 root root 59261962 Sep 24 11:29 /boot/initramfs-openvz-rhel6-stable-x86_64-2.6.32-042stab037.1
-rw-r--r-- 1 root root  3841152 Sep 24 11:20 /boot/kernel-openvz-rhel6-stable-x86_64-2.6.32-042stab037.1
In the new format, kernels will be installed and named as follows:
##i### ls /boot/* -l
-rw-r--r-- 1 root root  2283775 Sep 25 23:19 /boot/
-rw-r--r-- 1 root root  3862848 Sep 25 23:19 /boot/
-rw-r--r-- 1 root root  100358 Sep 25 23:19 /boot/
-rw-r--r-- 1 root root 59239975 Sep 25 23:28 /boot/
Basically, everything will be inside a directory inside ''<code>/boot</code>''. The directory will have the same name as the official kernel name, ie. what ''<code>uname -r</code>'' outputs when the kernel is running. This provides a unified namespace for both genkernel and the kernel itself. This also means that modules and related kernel things will use the same name, such as:
##i### ls -l /lib/modules/ -d
drwxr-xr-x 3 root root 4096 Sep 25 23:31 /lib/modules/
This simplifies things and also provides an easy mechanism for applications to determine what particular genkernel kernel is running on the system, which is very useful and basically essential for integrating simple kdump functionality.

Revision as of 04:08, August 28, 2012