Difference between pages "FLOP:Kernel Management (Experimental)" and "Test"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
This page details next-generation kernel management features for Funtoo Linux, which impacts the following subsystems:
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='amd64-bulldozer']/@builds}}
;Builds: {{#external_value:builds}}


* genkernel
asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf
* kernel ebuilds
<div style="align: center;"><div style="border: 1px solid #888;">
* boot-update
[[{{#show: Organization:Brownrice Internet| ?Logo|link=none}}|350px|class=img-responsive|link=Organization:Brownrice Internet]]</div><br/>
* grub
[[Organization:Brownrice Internet|Learn about Funtoo-friendly organization: Brownrice Internet]]</div>
asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf
{{fullurl:News:The Many Builds of Funtoo Linux}}
{{#widget:AddThis}}


== Experimental Genkernel ==
I like the {{f|/etc/make.conf}} file, which can also be referred to as {{f|/etc/portage/make.conf}}. It is a groovy file. Another cool file is {{f|/etc/fstab}}.


Experimental genkernel is being developed in the following branch:
=== make.conf mentions ===


https://github.com/funtoo/genkernel/tree/testing
{{#ask: [[Mentions file::make.conf]]
| format=category
}}


The naming convention for kernels is being changed significantly. Previously, genkernel would install and name kernels, etc. like this:
{{console|body=
 
# ##i##bluetoothctl
<pre>
[##g##NEW##!g##] Controller 00:02:72:C9:62:65 antec [default]
ninja2 drobbins # ls /boot/*37* -l
##bl##[bluetooth]##!bl###power on
-rw-r--r-- 1 root root  2284126 Sep 24 11:20 /boot/System.map-openvz-rhel6-stable-x86_64-2.6.32-042stab037.1
Changing power on succeeded
-rw-r--r-- 1 root root 59261962 Sep 24 11:29 /boot/initramfs-openvz-rhel6-stable-x86_64-2.6.32-042stab037.1
##bl##[bluetooth]##!bl### ##i##agent on
-rw-r--r-- 1 root root  3841152 Sep 24 11:20 /boot/kernel-openvz-rhel6-stable-x86_64-2.6.32-042stab037.1
Agent registered
</pre>
##bl##[bluetooth]##!bl### ##i##scan on
 
Discovery started
In the new format, kernels will be installed and named as follows:
##bl##[bluetooth]##!bl### ##i##devices
 
Device 00:1F:20:3D:1E:75 Logitech K760
<pre>
##bl##[bluetooth]##!bl### ##i##pair 00:1F:20:3D:1E:75
build / # ls /boot/2.6.32.042.037.1-openvz-rhel6-stable-nointel/* -l
Attempting to pair with 00:1F:20:3D:1E:75
-rw-r--r-- 1 root root  2283775 Sep 25 23:19 /boot/2.6.32.042.037.1-openvz-rhel6-stable-nointel/System.map
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: yes
-rw-r--r-- 1 root root  3862848 Sep 25 23:19 /boot/2.6.32.042.037.1-openvz-rhel6-stable-nointel/bzImage
##r##[agent]##!r## Passkey: 454358
-rw-r--r-- 1 root root  100358 Sep 25 23:19 /boot/2.6.32.042.037.1-openvz-rhel6-stable-nointel/config
##r##[agent]##!r## Passkey: ##i##4##!i##54358
-rw-r--r-- 1 root root 59239975 Sep 25 23:28 /boot/2.6.32.042.037.1-openvz-rhel6-stable-nointel/initramfs
##r##[agent]##!r## Passkey: ##i##45##!i##4358
</pre>
##r##[agent]##!r## Passkey: ##i##454##!i##358
 
##r##[agent]##!r## Passkey: ##i##4543##!i##58
Basically, everything will be inside a directory inside <tt>/boot</tt>. The directory will have the same name as the official kernel name, ie. what <tt>uname -r</tt> 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:
##r##[agent]##!r## Passkey: ##i##45435##!i##8
 
##r##[agent]##!r## Passkey: ##i##454358##!i##
<pre>
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Paired: yes
build / # ls -l /lib/modules/2.6.32.042.037.1-openvz-rhel6-stable-nointel -d
Pairing successful
drwxr-xr-x 3 root root 4096 Sep 25 23:31 /lib/modules/2.6.32.042.037.1-openvz-rhel6-stable-nointel
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: no
</pre>
##bl##[bluetooth]##!bl### ##i##connect 00:1F:20:3D:1E:75
 
Attempting to connect to 00:1F:20:3D:1E:75
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.
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: yes
 
Connection successful
[[Category:Labs]]
##bl##[bluetooth]##!bl### ##i##quit
[[Category:Kernel]]
[##r##DEL##!r##] Controller 00:02:72:C9:62:65 antec [default]
#
}}

Revision as of 15:22, January 12, 2015

Exception parsing XML: String could not be parsed as XML.

Builds

asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf

[[{{#show: Organization:Brownrice Internet| ?Logo|link=none}}|350px|class=img-responsive|link=Organization:Brownrice Internet]]

Learn about Funtoo-friendly organization: Brownrice Internet

asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf https://www.funtoo.org/News:The_Many_Builds_of_Funtoo_Linux

I like the /etc/make.conf file, which can also be referred to as /etc/portage/make.conf. It is a groovy file. Another cool file is /etc/fstab.

make.conf mentions

{{#ask: Mentions file::make.conf | format=category }}

root # bluetoothctl 
[NEW] Controller 00:02:72:C9:62:65 antec [default]
root ##bl##[bluetooth]##!bl###power on
Changing power on succeeded
root ##bl##[bluetooth]##!bl### agent on
Agent registered
root ##bl##[bluetooth]##!bl### scan on
Discovery started
root ##bl##[bluetooth]##!bl### devices
Device 00:1F:20:3D:1E:75 Logitech K760
root ##bl##[bluetooth]##!bl### pair 00:1F:20:3D:1E:75
Attempting to pair with 00:1F:20:3D:1E:75
[CHG] Device 00:1F:20:3D:1E:75 Connected: yes
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
[CHG] Device 00:1F:20:3D:1E:75 Paired: yes
Pairing successful
[CHG] Device 00:1F:20:3D:1E:75 Connected: no
root ##bl##[bluetooth]##!bl### connect 00:1F:20:3D:1E:75
Attempting to connect to 00:1F:20:3D:1E:75
[CHG] Device 00:1F:20:3D:1E:75 Connected: yes
Connection successful
root ##bl##[bluetooth]##!bl### quit
[DEL] Controller 00:02:72:C9:62:65 antec [default]
root #