Group: Linux-libre Kernel

From LibrePlanet
Jump to: navigation, search
(correction)
(Redirected page to Group:Linux-libre)
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
''' Welcome in the Linux Libre Kernel Group - Every One is Free to Join!'''
+
#REDIRECT [[Group:Linux-libre]]
 
 
{{Infobox Group
 
|logo=[[file:Linuxlibre.png]]
 
|note=Linux Libre Kernel Group
 
|region=WorldWide
 
|area=WorldWide
 
|language=English
 
|list=http://www.fsfla.org/cgi-bin/mailman/listinfo/linux-libre
 
|website=http://www.fsfla.org/svnwiki/selibre/linux-libre/ , http://www.fscorsica.org
 
|contact=[[User:Lxoliva|Alexander Oliva]] [[User:Aurelien|Aurélien]]
 
|members={{#ask: [[member of group::Group:Libre-Kernel]] | format=count}}
 
|description=The free version of Linux which use only free compatible hardware
 
|current_status=Active
 
}}
 
 
 
__TOC__
 
 
 
 
 
==Get Action!==
 
 
 
'''You work on different type of architecture and/or operating system please join'''
 
 
 
 
 
==List of Members==
 
 
 
'''Members''' [[User:aurelien|Aurélien]] [[User:parsifal|parsifal]] [[User:Encyclom|encyclom]] [[User:Dim/Profile|Dim]]
 
 
 
 
 
==Why this group?==
 
 
 
'''IRC''' #linux-libre
 
 
 
'''Note''' LK group for Linux Libre Kernel hacktivists
 
 
 
 
 
''' The Linux Libre Kernel Group as been created to help people to construct and compile their own Linux Libre Kernel from http://www.fsfla.org '''
 
 
 
 
 
''' 1st goal establish a working compilation recipe (without change from the basic linux kernel configuration distributions but free as in freedom)'''
 
 
 
''' 2nd goal offer a Linux Libre Kernel Optimization Solution - LKOS ''' a guide to bring some optimizations on your own linux libre kernel
 
 
 
''' 3rd goal keep old recipe at fscorsica.org/old ''' to offer solutions for people which need to works on old solutions
 
 
 
 
 
 
 
(At the time you have build a linux libre kernel without modification on the base configuration you are welcome to link your website to share your works)
 
 
 
 
 
 
 
==Where get the build of .deb?==
 
 
 
 
 
'''Architecture''' amd 64 bits
 
 
 
'''Operating System''' Debian Squeeze on fully free repositories
 
 
 
 
 
'''Mirror'''  You can add to your mirror list our mirror
 
 
 
deb http://linux-libre.fsfla.org/pub/linux-libre/planet planet main
 
 
 
http://www.fscorsica.org/kernel-en.html (direct download)
 
 
 
 
 
You can find the .deb of this linux libre kernel at :: http://www.fscorsica.org/kernel-en.html
 
 
 
You can find the .deb of an LKOS example at :: http://www.fscorsica.org/lkos-en.html
 
 
 
You can find the old recipes at :: http://www.fscorsica.org/old
 
 
 
 
 
 
 
==Information of version==
 
 
 
 
 
'''LAST OUT 3.2.9 linux libre kernel .deb available from March the 1st 2012'''
 
 
 
Type: GNU documentation
 
 
 
License: GNU Free Documentation License
 
 
 
Made on Operating System : Debian Sqeeze with free software only
 
 
 
Distribution: GNU / Linux libre
 
 
 
 
 
 
 
==How-To-compile-your-own-linux-libre-kernel-on-free-debian-based==
 
 
 
This part is important and long (depending on the computers you have got)
 
 
 
If you are running on a fresh install or if you never made that type of operation before, you will need to install packages needed for linux libre kernel compilation. First, make sure your apt database is updated
 
 
 
One of the simply way to compile your own Linux Libre Kernel for your distribution is
 
(This example as been made on a Full Libre GNU / Linux Debian Operating System)
 
 
 
 
 
'''All command must be made under root'''
 
 
 
 
 
Get the root power with su or sudo
 
 
 
su
 
aptitude update
 
 
 
 
 
Install the needed packages
 
 
 
 
 
aptitude install fakeroot kernel-package libncurses5-dev libqt3-mt-dev bzip2 wget build-essential
 
 
 
 
 
In a web browser go to last linux libre kernel release you can launch from another buffer of your emacs or terminal if you use tty
 
 
 
 
 
links http://www.linux-libre.fsfla.org/pub/linux-libre/releases/
 
 
 
 
 
Copy the link adress of the linux libre kernel version you want.
 
 
 
 
 
In a terminal go to /usr/src and get the source :
 
 
 
 
 
wget http://www.linux-libre.fsfla.org/pub/linux-libre/releases/3.2.9-libre/linux-3.2.9-libre.tar.bz2
 
 
 
 
 
Uncompress the archive file
 
 
 
 
 
tar xvjf linux-3.2.9-libre.tar.bz2
 
 
 
 
 
Go to the newly created directory of the uncompressed source
 
 
 
 
 
cd linux-3.2.9
 
 
 
Enter
 
 
 
make clean mrproper
 
 
 
 
Now, you can review and change config variables. First, update your config file to the new options of the linux libre kernel source
 
 
 
make nconfig
 
F6 to save the .config
 
F9 to quit
 
 
 
This will open an application that classifies and explains the properties and available modules you can either 'build into' the linux libre kernel, make modularly available or disable. When you are done, save it and exit.
 
 
 
 
 
make-kpkg clean
 
 
 
 
 
Now you have to modify a file ::
 
 
 
Modify the version.h file in the linux-3.2.9/include/linux containing ::
 
 
 
emacs include/linux/version.h
 
#define UTS_RELEASE "3.2.9-libre-planet"  <- (here change libre-planet by what you want)
 
 
 
C-x C-s save the file in /usr/src/linux-3.2.9/include/linux/version.h
 
 
 
 
 
Now, you can build your linux libre kernel, enter
 
 
 
 
 
fakeroot make-kpkg --initrd --append-to-version=-planet kernel_image kernel_headers kernel_source
 
 
 
 
 
You can change "planet" by the value you have choose when you have create the utsrelease.h file. Optionally, you can add kernel_source at the end, if you want to build a source pack. You can also put CONCURRENCY_LEVEL=N (where N should be replaced by the number of CPU cores your computer has) at the beginning of the command to make the building process take advantage of multiple core systems.
 
 
 
The last command will take some time to complete. At the end, you will have linux-image and linux-headers (and linux-source if you chose) installation files.
 
 
 
 
 
go to linux-image and linux-headers files to the directory you want. Then, either go to that directory in terminal with cd command and install the two .deb packages:
 
 
 
 
 
Now you've got your own libre-kernel files in /usr/src
 
 
 
 
 
dpkg -i linux-image-3.2.9-libre-planet.deb
 
dpkg -i linux-headers-3.2.9-libre-planet.deb
 
dpkg -i linux-source-3.2.9-libre-planet.deb
 
 
 
 
 
Or
 
 
 
 
 
dpkg -i *b (if the directory is clean)
 
 
 
 
 
Or, just double-click on the two files and click on the Install Package button.
 
 
 
Restart and choose libre-planet kernel from your GRUB.
 
 
 
 
 
If you build you own Linux Libre Kernel and share it arround it can be usefull to generate the md5 checksum
 
 
 
 
 
md5sum *image*3.2.9*deb > linux-image-3.2.9-libre-planet.deb.md5
 
 
 
 
 
==Join us!==
 
 
 
 
 
You can add a user box supporting Linux-Libre by putting <pre>{{user Libre-Kernel}}</pre> on your user page.
 
 
 
{{user Libre-Kernel}}
 
 
 
{{#ask: [[member of group::Group:Libre-Kernel]]
 
  | mainlabel=Members
 
  | format=table
 
}}
 
 
 
[[is entity::group| ]]
 
[[organized around::software| ]]
 
[[organized around::issue| ]]
 
 
 
 
 
==Dent it!==
 
You want to announce you join this group?  ''[http://identi.ca/index.php?action=bookmarklet&status_textarea={{urlencode:Just join !linux-libre group {{fullurl:{{FULLPAGENAME}}}}}} Dent it!]
 
 
 
==Special Thanks to Linux-libre kernel Hackers==
 
 
 
The Free Technologie Academy :: http://www.ftacademy.org
 
Linux advanced administration manual :: first version of the recipe
 
For the works on washing Linux source code to Linux-libre :: Alexandre Oliva http://www.fsfla.org ::lxoliva(at)fsfla(dot)org
 
For the participation on the recipe 2.6.32 :: Ali Gundunz http://www.aligunduz.org/articles/buildkernel.html :: gndz.ali(at)gmail(dot)com
 
For the modification part on the file /linux-2.6.32.5/Documentation/lguest/Makefile Damian Fossi :: damianfossi(at)gmail(dot)com
 
For the modification between 2.6.39.3 and 3.0 importing /Documentation/lguest/ folder and files :: [[User:aurelien|aurelien]]
 
 
 
 
 
This document is under GNU Free Documentation License
 
Last modification bring March the 1st 2012 by [[User:aurelien|aurelien]]
 

Latest revision as of 09:10, 18 September 2012

Redirect to: