UPD persistant store support

This commit is contained in:
2025-03-03 22:55:55 +01:00
parent 95a0bed7b2
commit 0d59bbfb99
2 changed files with 54 additions and 2 deletions

View File

@@ -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.}