From 6bc9ce4198db58df0bacf69f39a9ae5d68fd626e Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 9 Mar 2011 16:00:27 +0200 Subject: [PATCH] UBIFS FAQ: make printk capturing text to be a separate section Signed-off-by: Artem Bityutskiy --- faq/ubi.xml | 8 +++++--- faq/ubifs.xml | 5 +++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/faq/ubi.xml b/faq/ubi.xml index 908b095..48629ea 100644 --- a/faq/ubi.xml +++ b/faq/ubi.xml @@ -776,9 +776,11 @@ For example, UBI attach time may become very long.

Sometimes it is necessary to make UBI print about what it is doing. You may enable various UBI debugging messages in the "Additional UBI debugging messages configuration menu. When the messages are enabled, UBI prints a -lot to the kernel ring buffer and this makes it slower. This section describes -few tricks and techniques which might be useful when debugging with kernel -messages.

+lot to the kernel ring buffer and this makes it slower. The following section +describes few tricks and techniques which might be useful when debugging with +kernel messages.

+ +

Capturing debugging messages

The Linux kernel has internal ring buffer where all the debugging prints go. User-space applications like syslogd usually read data from the diff --git a/faq/ubifs.xml b/faq/ubifs.xml index 5f9e33b..5a0cb7c 100644 --- a/faq/ubifs.xml +++ b/faq/ubifs.xml @@ -1292,6 +1292,11 @@ following message types are supported:

E.g., "echo 4097 > /sys/module/ubifs/parameters/debug_tsts" enables general and recovery messages.

+

UBIFS may print huge amount of debugging messages and slow down your system +considerably. You might also end up losing them if your ring buffer is not +large enough. This section explains +how to make the ring buffer larger.

+

Extra self-checks

-- 2.50.1