Software:Linux-libre

From HandWiki
Short description: Version of the Linux kernel without proprietary code
Linux-libre
Freedo, official mascot of Linux-libre
Freedo the penguin, mascot of the Linux-libre kernel
Linux-Libre 3.0.66-1 Boot.png
Linux-libre kernel 3.0.66-1 booting
Original author(s)Linus Torvalds et al
Developer(s)Free Software Foundation Latin America
Initial releaseFebruary 20, 2008; 16 years ago (2008-02-20)[1]
Written inC and Assembly
Platformx64, i386, ia32, ARM (Parabola), MIPS (Debian), m68k,[2] RISC-V,[3] IBM POWER8 and above[4]
Available inEnglish
TypeKernel
LicenseGPL-2.0-only[5]
Websitewww.fsfla.org/ikiwiki/selibre/linux-libre/

According to the Free Software Foundation Latin America, Linux-libre is a modified version of the Linux kernel that contains no binary blobs, obfuscated code, or code released under proprietary licenses.[6] In the Linux kernel, they are mostly used for proprietary firmware images. While generally redistributable, binary blobs do not give the user the freedom to audit, modify, or, consequently, redistribute their modified versions. The GNU Project keeps Linux-libre in synchronization with the mainline Linux kernel.[7]

History

The Linux kernel started to include binary blobs in 1996.[8] The work to clear out the binary blobs began in 2006 with gNewSense's find-firmware and gen-kernel. This work was taken further by the BLAG Linux distribution in 2007 when deblob and Linux-libre was born.[9][10]

Linux-libre was first released by the Free Software Foundation Latin America (FSFLA), then endorsed by the Free Software Foundation (FSF)[11] as a valuable component for the totally free Linux distributions. It became a GNU package in March 2012.[12] Alexandre Oliva is the project maintainer.

Proprietary firmware removal

The GNU logo with Freedo, Linux-libre's mascot

Methods

The removal process is achieved by using a script called deblob-main.[13] This script is inspired by the one used for gNewSense. Jeff Moe made subsequent modifications to meet certain requirements for its use with the BLAG Linux and GNU distribution. There is another script called deblob-check,[14] which is used to check if a kernel source file, a patch or a compressed sources file still contains software which is suspected of being proprietary.

Benefits

Aside from the primary intended effect of running a system with only free software, the practical consequences of removing device firmware that a user is not allowed to study or modify has both positive and negative effects.

Removal of device firmware can be considered an advantage for security and stability.

When the firmware cannot be audited for bugs, security problems, and malicious functions such as backdoors, or when the firmware cannot be fixed by the Linux kernel maintainers themselves, even if they know of problems, it is possible for the entire system to be compromised by a malicious firmware. Without the ability to perform a security audit on manufacturer-provided firmware, even an innocent bug could undermine the safety of the running system.[15]

Hardware support

Removing proprietary firmware from the kernel will cause loss of functionality of certain hardware that does not have a free software replacement available.[7] This affects certain sound, video, TV tuner, and network cards, especially in the case of recent Intel Wi-Fi cards and recent nVidia graphics cards, as well as some other devices. When possible, free software replacement firmware is provided as a substitute,[7][16] such as the openfwwf[17] for b43, carl9170[18] and ath9k_htc[19] wireless card drivers. Reviewer Ramces Red summarized the issue with Linux-Libre, writing, "it does not always have the best hardware support."[7]

Microcode

Linux-libre does not suggest the user install CPU microcode update bundles, since the code is proprietary.[20] Microcode update bundles have been used in the Linux kernel version, among other things, to mitigate hardware vulnerabilities.[21]

Availability

The source code and precompiled packages of the deblobbed Linux kernel are available directly from the distributions which use the Linux-libre scripts. Freed-ora is a subproject which prepares and maintains RPM packages based on Fedora.[22] There are also precompiled packages for Debian[23] and derived distributions such as Ubuntu.[24]

Distributions

Parabola GNU/Linux-libre uses Linux-libre as its default kernel and ship with linux-libre-tools packages.[25]

Distributions in which Linux-libre is the default kernel

Considered small distributions

Historical

Distributions that compile a free Linux kernel

These distros do not use the packaged Linux-libre but instead completely remove binary blobs from the mainline Linux kernel. The source is then compiled and the resulting free Linux kernel is used by default in these systems:

  • Debian (May install binary blobs with the installer or kernel by default.[28][29])
  • Trisquel (The Linux-libre deblob script is used during its development[30][31]).
  • Uruk GNU/Linux

Historical

Linux-libre as an alternative kernel

Distributions in which Linux is the default kernel used and which propose Linux-libre as an alternative kernel:

See also

References

  1. blag-announce (February 20, 2008). "[blag-devel linux-libre"]. https://lists.autistici.org/message/20080221.002845.467ba592.en.html. 
  2. "Index of /pub/linux-libre/freesh/dists/freesh/main/binary-m68k". https://linux-libre.fsfla.org/pub/linux-libre/freesh/dists/freesh/main/binary-m68k/. 
  3. "Index of /pub/linux-libre/freesh/dists/freesh/main/binary-riscv64". https://linux-libre.fsfla.org/pub/linux-libre/freesh/dists/freesh/main/binary-riscv64/. 
  4. "Index of /pub/linux-libre/freesh/dists/freesh/main/binary-ppc64el". https://linux-libre.fsfla.org/pub/linux-libre/freesh/dists/freesh/main/binary-ppc64el/. 
  5. "Linux-libre - Free Software Directory". https://directory.fsf.org/wiki/Linux-libre#tab=Details. 
  6. "Linux-libre - Free Software Directory". https://directory.fsf.org/wiki/Linux-libre. 
  7. 7.0 7.1 7.2 7.3 Red, Ramces (22 March 2022). "5 Best Linux-Libre Distributions for Better Security". Make Tech Easier. https://www.maketecheasier.com/best-linux-libre-distributions/. 
  8. "Take your freedom back, with Linux-2.6.33-libre". https://www.fsfla.org/svnwiki/anuncio/2010-03-Linux-2.6.33-libre.en.html. 
  9. Olivia, Alexandre. "GNU Linux-libre and the prisoner's dilemma". https://fsfla.org/~lxoliva/fsfla/Linux-libre.en.pdf. 
  10. jebba: BLAG :: View topic - Linux Libre BLAG forums, 2008.
  11. Free Software Foundation. "Linux (BLOB free version)". Free Software Directory. https://directory.fsf.org/wiki/Linux_%28BLOB_free_version%29. "[...] in the interest of freedom, we are providing a link to a version of the kernel in which this proprietary code has been removed so that it is entirely free software" 
  12. Oliva, Alexandre (March 19, 2012). "GNU Linux-libre 3.3-gnu is now available" (Mailing list). info-gnu. Archived from the original on November 4, 2023. Retrieved August 7, 2012.
  13. Free Software Foundation Latin America. "How it is done". Linux-libre, Free as in Freedo. https://fsfla.org/svnwiki/selibre/linux-libre/index.en.html#how. 
  14. "fsfla - Revision 8200: /software/linux-libre/scripts". Free Software Foundation Latin America. https://fsfla.org/svn/fsfla/software/linux-libre/scripts/. 
  15. Delugré, Guillaume (November 21, 2010). "Reversing the Broacom NetExtreme's Firmware". hack.lu. Sogeti. http://esec-lab.sogeti.com/dotclear/public/publications/10-hack.lu-nicreverse_slides.pdf. Retrieved April 18, 2012. 
  16. "LinuxLibre:Devices that require non-free firmware". LibrePlanet. February 5, 2011. https://libreplanet.org/wiki/LinuxLibre:Devices_that_require_non-free_firmware. 
  17. "OpenFWWF - Open FirmWare for WiFi networks". unibs.it. https://www.ing.unibs.it/~openfwwf/. 
  18. "en:users:drivers:carl9170 [Linux Wireless"]. kernel.org. https://wireless.wiki.kernel.org/en/users/drivers/carl9170. 
  19. "en:users:drivers:ath9k_htc [Linux Wireless"]. kernel.org. https://wireless.wiki.kernel.org/en/users/drivers/ath9k_htc. 
  20. "GNU Linux-Libre 4.16 Released, Won't Warn You About Spectre/Meltdown Microcode Updates" (in en). https://www.phoronix.com/news/GNU-Linux-Libre-4.16-Released. 
  21. "Hardware vulnerabilities". kernel.org. https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/. 
  22. Free Software Foundation Latin America. "Linux-libre's Freed-ora project". https://fsfla.org/svnwiki/selibre/linux-libre/freed-ora. "Freed-ora is a sub-project that prepares and maintains 100% Free RPMs that track Fedora's non-Free kernels" 
  23. Millan, Robert (April 23, 2009). "Linux-libre for Debian Lenny". [Debian Mailing Lists] Announcements for developers (Mailing list). Retrieved May 12, 2009. This is to announce that Debian packages of Linux-libre [...] are now available for Lenny users who want to use them [...]
  24. Gündüz, Ali. "Uncle Gnufs' World Famous Home Baked Free Kernel Shoppe". aligunduz.org. http://aligunduz.org/gNewSense/. 
  25. "Parabola GNU/Linux-libre - linux-libre-tools (x86_64) - Group Details". parabola.nu. https://www.parabola.nu/groups/x86_64/linux-libre-tools/. 
  26. "Download – GNU Guix". https://guix.gnu.org/download/. 
  27. "Porting ProteanOS to a New Platform – ProteanOS". http://proteanos.com/doc/plat/porting/. 
  28. "Explaining Why We Don't Endorse Other Systems". https://www.gnu.org/distros/common-distros.html. 
  29. "General Resolution: non-free firmware: results". https://lists.debian.org/debian-devel-announce/2022/10/msg00001.html. 
  30. "Documentation | Trisquel GNU/Linux - Run free!". https://trisquel.info/en/wiki/documentation. 
  31. "How Trisquel is Made". 2009-05-22. https://trisquel.info/en/wiki/how-trisquel-made. 
  32. Index of downloads, ututo.org, retrieved 16 February 2017
  33. Bruce Byfield (2008-08-01). "Linux-libre project meets rocky reception". Linux.com. SourceForge, Inc.. https://www.linux.com/feature/142772. 
  34. "/gnewsense/packages-parkes/linux-2.6 : contents of debian/README.gNewSense at revision 16". gnu.org. https://bzr.savannah.gnu.org/lh/gnewsense/packages-parkes/linux-2.6/view/head:/debian/README.gNewSense. 
  35. Fossi, Damián (August 24, 2009). "Linux-libre: Resumen del proyecto" (in es). Forja. http://forja.softwarelibre.gob.ve/projects/linux-libre/. 
  36. Arch Linux (November 16, 2015). "AUR (en) linux-libre". AUR. https://aur.archlinux.org/packages/linux-libre/. 
  37. "::[FSFLA:: GNU Linux-libre's Freed-ora project"]. https://www.fsfla.org/ikiwiki/selibre/linux-libre/freed-ora.en.html. 
  38. O'Kelly, Tim (April 14, 2009). "Bug 266157". Gentoo's Bugzilla. Gentoo Linux. https://bugs.gentoo.org/show_bug.cgi?id=266157. 
  39. "Linux-libre". Install Gentoo Wiki. Gentoo Linux. January 8, 2016. https://wiki.installgentoo.com/wiki/Linux-libre. 
  40. "FreeSlack". freeslack.net. https://freeslack.net/. 
  41. "installation [FreeSlack Wiki"]. freeslack.net. http://freeslack.net/dokuwiki/doku.php?id=installation. 
  42. "Linux kernel - NixOS Wiki". Nixos. July 14, 2023. https://nixos.wiki/wiki/Linux_kernel. 

External links