Files
kernel_dell_tom/documentation/linux_configuration.tex
2024-02-23 20:09:41 +01:00

166 lines
5.7 KiB
TeX

%
% Thomas Kuschel 2023
\newcommand{\version}{V6.7}
% preconditions:
% install on ARCH linux:
% pacman -S texlive-plaingeneric
% pacman -S texlive-binextra
% pacman -S texlive-langgerman
% pacman -S hyphen hyphen-de
% pacman -S texlive-mathscience
\documentclass[10pt,a4paper]{article}
%\documentclass[12pt,a4paper]{report}
\usepackage[a4paper,margin=25mm]{geometry}
\usepackage[ngerman]{babel} %Verwendung von \glqq \qrgg{}
\usepackage{hyperref}
\setcounter{secnumdepth}{8}%numbering down to paragraphs, subparagraphs
%% \usepackage{ulem} %strike through with /sout{}
% you have to install texlive-plaingeneric first :
\usepackage{ulem}
% to get rid off the warning with \texttt{ \{ \} }
%\usepackage{lmodern}
%\usepackage{textcomp}
% using \colorbox with !%%
\usepackage{framed, xcolor}
% Hurenkinder und Schusterjungen verhindern
%\clubpenalty10000
%\widowpenalty10000
%\displaywidowpenalty=10000
% Math mode with value and units framework, e.g. for 15.11.18.1
\usepackage{siunitx}
\newcommand{\siunitxversionfrom}{2023-07-31}% range-independent-prefix support added since that day
\IfPackageAtLeastTF{siunitx}{\siunitxversionfrom}
{% new version
\sisetup{
locale=DE,
exponent-to-prefix=true,
range-independent-prefix=true
}
\newcommand{\siunitxold}{}
}
{% old version
\sisetup{
locale=DE,
exponent-to-prefix=true
}
\newcommand{\siunitxold}{%
\\Please update your \LaTeX module \textit{siunitx}: The module is older then \siunitxversionfrom
}%
}%
\hypersetup{
pdftitle={Linux Konfiguration in deutscher Sprache},
pdfsubject={(c) KW4NZ, Tom},
pdfauthor={Thomas Kuschel},
pdfkeywords={Linux Kernel, make, menuconfig, menucfg, makepkg, Arch, Dell, configuration}
}
% The following is to use subparagraph without intending:
\makeatletter
\renewcommand\subparagraph{%
\@startsection {subparagraph}{5}{\z@ }{3.25ex \@plus 1ex
\@minus .2ex}{-1em}{\normalfont \normalsize \bfseries }}%
\newcounter{subsubparagraph}[subparagraph]
\renewcommand\thesubsubparagraph{%
\thesubparagraph.\@arabic\c@subsubparagraph}
\newcommand\subsubparagraph{%
\@startsection {subsubparagraph} % counter
{6} % level
{\z@ }%{\parindent} % no indent%indent
{3.25ex \@plus 1ex \@minus .2ex} % beforeskip
{-1em} % afterskip
{\normalfont\normalsize\bfseries}}
\newcommand\l@subsubparagraph{\@dottedtocline{6}{10em}{5em}}
\newcommand{\subsubparagraphmark}[1]{}
\def\toclevel@subsubparagraph{6}
\newcounter{subsubsubparagraph}[subsubparagraph]
\renewcommand\thesubsubsubparagraph{%
\thesubsubparagraph.\@arabic\c@subsubsubparagraph}
\newcommand\subsubsubparagraph{%
\@startsection {subsubsubparagraph} % counter
{7} % level
{\z@ } % no indent
{3.25ex \@plus 1ex \@minus .2ex} % beforeskip
{-1em} % afterskip
{\normalfont\normalsize\bfseries}}
\newcommand\l@subsubsubparagraph{\@dottedtocline{7}{10em}{5em}}
\newcommand{\subsubsubparagraphmark}[1]{}
\def\toclevel@subsubsubparagraph{7}
\newcounter{subsubsubsubparagraph}[subsubsubparagraph]
\renewcommand\thesubsubsubsubparagraph{%
\thesubsubsubparagraph.\@arabic\c@subsubsubsubparagraph}
\newcommand\subsubsubsubparagraph{%
\@startsection {subsubsubsubparagraph} % counter
{8} % level
{\z@ } % no indent
{3.25ex \@plus 1ex \@minus .2ex} % beforeskip
{-1em} % afterskip
{\normalfont\normalsize\bfseries}}
\newcommand\l@subsubsubsubparagraph{\@dottedtocline{8}{10em}{5em}}
\newcommand{\subsubsubsubparagraphmark}[1]{}
\def\toclevel@subsubsubsubparagraph{8}
\makeatother
\begin{document}
%0.x
\section*{Linux Configuration \version}
\subsection{Einführung}
Dieses Dokument dient zur Beschreibung von diversen Einstellungen
bei der Konfiguration mittels \texttt{ make menuconfig } unter Linux.\\
Es wird nicht näher darauf eingegangen, wie der Kernel kompiliert wird
oder welche Voreinstellungen, Programme etc. zum Kompilieren benötigt
werden.\\
Zu Beginn der jeweiligen Konfigurationszeile wird der Standardwert
(Default) angezeigt. Mein Vorschlag folgt danach.\\
Z.\,B. bei CONFIG\_WERROR~[=n]~\textbf{[Y]}\\
Hier ist der Standarwert ein Nein [n], meine persönliche Einstellung ein Ja [Y].\\[0.5em]
\textit{\copyright KW4NZ, Thomas Kuschel\\Wenn Sie Tippfehler finden oder Korrekturen wünschen,
dann schicken Sie dies mit Erläuterungen und dem Hinweis auf die obenstehende
Version \version ~an:
\href{mailto:oe1tkt@gmail.com}{oe1tkt@gmail.com}\\
\pdftexbanner}
\siunitxold
\subsection{Konfiguration für ein verteiltes Kompilieren auf mehreren Rechnern}
Sie sollten schon einiges an Erfahrung mit dem Kompilieren unter Linux mitbringen.
Wenn Sie mit Linux Arch arbeiten, muss auf jedem Rechner das Programm \texttt{distcc} installiert sein.
Man unterscheidet nun den \textbf{Client} auf dem üblicherweise das Kompilat erstellt wird und
die weiteren beteiligten Rechner als \textbf{Volunteers}.\\
Nähere Informationen siehe \url{https://wiki.archlinux.org/title/Distcc}.
%1 %\section{General setup \( \rightarrow \) }
\input{linux_configuration_01_general_setup}
%2
\input{linux_configuration_02_64-bit_kernel}
%3
\input{linux_configuration_03_processor_type_and_features}
%4
\input{linux_configuration_04_mitigations_for_speculative_execution_vulnerabilities}
%5
\input{linux_configuration_05_power_management_and_acpi_options}
%6
\input{linux_configuration_06_bus_options}
%7
\input{linux_configuration_07_binary_emulations}
%8
\input{linux_configuration_08_virtualization}
%9
\input{linux_configuration_09_general_architecture-dependent_options}
%10
\input{linux_configuration_10_enable_loadable_module_support}
%11
\input{linux_configuration_11_enable_the_block_layer}
%12
\input{linux_configuration_12_executable_file_formats}
%13
\input{linux_configuration_13_memory_management_options}
%14
\input{linux_configuration_14_networking_support}
%15
\input{linux_configuration_15_device_drivers}
\end{document}