]> www.infradead.org Git - mtd-www.git/commitdiff
UBIFS FAQ: make printk capturing text to be a separate section
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 9 Mar 2011 14:00:27 +0000 (16:00 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 9 Mar 2011 14:00:27 +0000 (16:00 +0200)
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
faq/ubi.xml
faq/ubifs.xml

index 908b0953b4c1d7b93d09498bc910a45b9b5c1c65..48629eadf5eb7e7db3fff11c040809ba92bb5d36 100644 (file)
@@ -776,9 +776,11 @@ For example, UBI attach time may become very long.</p>
 <p>Sometimes it is necessary to make UBI print about what it is doing. You may
 enable various UBI debugging messages in the "<b>Additional UBI        debugging
 messages</b> 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.</p>
+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.</p>
+
+<h3><a name="L_how_debug_printks">Capturing debugging messages</a></h3>
 
 <p>The Linux kernel has internal ring buffer where all the debugging prints go.
 User-space applications like <code>syslogd</code> usually read data from the
index 5f9e33bb498c9a0fdc428dae1c6bf0e4f20e0efc..5a0cb7c65ca4c50b895e58165e36331dab91d2e9 100644 (file)
@@ -1292,6 +1292,11 @@ following message types are supported:</p>
 <p>E.g., "<code>echo 4097 > /sys/module/ubifs/parameters/debug_tsts</code>"
 enables general and recovery messages.</p>
 
+<p>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. <a href="ubi.html#L_how_debug_printks">This</a> section explains
+how to make the ring buffer larger.</p>
+
 
 <h3>Extra self-checks</h3>