diff --git a/documentation/linux_configuration.pdf b/documentation/linux_configuration.pdf index 1051688..afa8dec 100644 --- a/documentation/linux_configuration.pdf +++ b/documentation/linux_configuration.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:15e42e57761d20241461460807a99c77ce83bf07754326b7e1fdcf28324e86b4 -size 456441 +oid sha256:c2e257c4d790d0d2c96938524ea7b63d155ff6f216b8e4680219e2690ee44651 +size 462334 diff --git a/documentation/linux_configuration_16_file_systems.tex b/documentation/linux_configuration_16_file_systems.tex index 212203b..3b714d2 100644 --- a/documentation/linux_configuration_16_file_systems.tex +++ b/documentation/linux_configuration_16_file_systems.tex @@ -2807,3 +2807,55 @@ Wenn Sie unsicher sind, sagen Sie N. through pstore filesystem. It can be used to determine what function was last called before a reset or panic.\\ If unsure, say N.} + +\paragraph{Log panic/oops to a RAM buffer}$~$\\ +CONFIG\_PSTORE\_RAM [=m] \textbf{[M]}\\ +Dies ermöglicht es, Panic- und Oops-Meldungen in einem zirkulären Puffer im RAM zu protokollieren, +wo sie zu einem späteren Zeitpunkt zurückgelesen werden können.\\ +Beachten Sie, dass das Modul aus historischen Gründen \texttt{ramoops.ko} heißen wird. +Weitere Informationen finden Sie unter \texttt{Documentation/admin-guide/ramoops.rst}. +\english{This enables panic and oops messages to be logged to a circular buffer in RAM where it can be read back at some later point.\\ +Note that for historical reasons, the module will be named ``ramoops.ko''.\\ +For more information, see Documentation/admin-guide/ramoops.rst.} + + +\paragraph{Log panic/oops to a block device}$~$\\ +CONFIG\_PSTORE\_BLK [=m] \textbf{[M]}\\ +Dadurch können Panik- und Oops-Meldungen in einem Blockdevice protokolliert werden, wo sie zu einem späteren Zeitpunkt +zurückgelesen werden können.\\ +Weitere Informationen finden Sie unter \texttt{Documentation/admin-guide/pstore-blk.rst}. +\english{This enables panic and oops message to be logged to a block dev where it can be read back at some later point.\\ +For more information, see Documentation/admin-guide/pstore-blk.rst } + + +\subparagraph{block device identifier}$~$\\ +CONFIG\_PSTORE\_BLK\_BLKDEV [=] \textbf{[]}\\ +Welches Blockgerät soll für pstore/blk verwendet werden.\\ +Es werden die folgenden Varianten akzeptiert: +\renewcommand{\labelenumi}{\arabic{enumi})} +\begin{enumerate} + \item \texttt{$<$hex\_major$><$hex\_minor$>$} Gerätenummer in hexadezimaler Darstellung, ohne führendes \texttt{0x}, zum Beispiel \texttt{b302}. + \item \texttt{/dev/$<$disk\_name$>$} steht für den Gerätenamen von disk + \item \texttt{/dev/$<$disk\_name$><$dezimal$>$} stellt den Gerätenamen und die Nummer der Partition dar -- Ge\-räte\-num\-mer der Festplatte plus die Partitionsnummer + \item \texttt{/dev/$<$disk\_name$>$p$<$dezimal$>$} -- wie oben, diese Form wird verwendet, wenn der Name der partitionierten Festplatte mit einer Ziffer endet. + \item \texttt{PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF} stellt die eindeutige Kennung ei\-ner + Par\-ti\-tion dar, wenn die Par\-ti\-tions\-tabelle sie liefert. + Die UUID kann entweder eine EFI/GPT~UUID sein oder sich auf eine MSDOS-Partition im Format \texttt{SSSSSSSS-PP} beziehen, + wobei \texttt{SSSSSSSS} eine mit Nullen gefüllte Hexadezimal-Darstellung der 32-Bit ``NT-Festplattensignatur'' + und \texttt{PP} eine mit Nullen gefüllte Hexadezimal-Darstellung der 1-basierten Partitionsnummer ist. + \item \texttt{PARTUUID=$<$UUID$>$/PARTNROFF=$<$int$>$} zur Auswahl einer Partition in Bezug auf eine Partition mit einer bekannten eindeutigen ID. + \item \texttt{$<$major$>:<$minor$>$} Haupt- und Nebennummer des Geräts, getrennt durch einen Doppelpunkt. +\end{enumerate} +HINWEIS: Sowohl Kconfig als auch Modul\-parameter können pstore/blk konfigurieren, aber Modul\-parameter haben Vorrang vor Kconfig. +\english{Which block device should be used for pstore/blk.\\ +It accepts the following variants:\\ +1) $<$hex\_major$><$hex\_minor$>$ device number in hexadecimal representation, with no leading 0x, for example b302. +2) /dev/$<$disk\_name$>$ represents the device name of disk\\ +3) /dev/$<$disk\_name$><$decimal$>$ represents the device name and number of partition -- device number of disk plus the partition number\\ +4) /dev/$<$disk\_name$>$p$<$decimal$>$ -- same as the above, this form is used when disk name of partitioned disk ends with a digit.\\ +5) PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF representing the unique id of a partition if the partition table provides it. + The UUID may be either an EFI/GPT UUID, or refer to an MSDOS partition using the format SSSSSSSS-PP, where SSSSSSSS is a zero-filled hex + representation of the 32-bit ``NT disk signature'', and PP is a zero-filled hex representation of the 1-based partition number.\\ +6) PARTUUID=$<$UUID$>$/PARTNROFF=$<$int$>$ to select a partition in relation to a partition with a known unique id.\\ +7) $<$major$>:<$minor$>$ major and minor number of the device separated by a colon.\\ +NOTE that, both Kconfig and module parameters can configure pstore/blk, but module parameters have priority over Kconfig.}