]> www.infradead.org Git - mtd-www.git/commitdiff
faq/doc: ubi(fs): move "bug report" questions to FAQ
authorBrian Norris <computersforpeace@gmail.com>
Mon, 8 Aug 2011 19:37:14 +0000 (12:37 -0700)
committerArtem Bityutskiy <dedekind1@gmail.com>
Mon, 15 Aug 2011 12:12:42 +0000 (15:12 +0300)
The "How do I send XXX bug report?" questions belong in the FAQ
for easier access (plus, they're questions anyway). We can then
consolidate/link the bug report information to the "general" FAQ
to give a more unified location for bug reporting info.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
doc/ubi.xml
doc/ubifs.xml
faq/ubi.xml
faq/ubifs.xml

index 53c986a087a262a19f21f98170ba9b07f54b1ab8..d3f4516325768c6a056b6071cae3e0fee7059779 100644 (file)
@@ -46,7 +46,6 @@
                </ol>
        </li>
        <li><a href="ubi.html#L_ubidoc">More documentation</a></li>
-       <li><a href="ubi.html#L_how_send_bugreport">How do I send a bug report?</a></li>
 </ol>
 
 
@@ -1186,58 +1185,5 @@ commands and the involved data structures),
 <code>drivers/mtd/ubi/kapi.c</code> file contains comments for each kernel API
 function (just above the body of the function).</p>
 
-
-
-<h2><a name="L_how_send_bugreport">How do I send an UBI bug report?</a></h2>
-
-<p>Before sending a bug report:</p>
-<ul>
-       <li>make sure you use up-to-date UBI; pull the latest UBI patches
-       from corresponding UBIFS back-port trees if needed, see
-       <a href="ubifs.html#L_source">here</a> (we do not maintain separate UBI
-       back-ports trees, and UBIFS trees also contain all UBI updates); no one
-       is interested in digging already fixed problems;</li>
-
-       <li>make sure you have compiled kernel symbols in
-       (<code>CONFIG_KALLSYMS_ALL=y</code> in <code>.config</code>);</li>
-
-       <li>enable UBI debugging (<code>CONFIG_MTD_UBI_DEBUG=y</code>
-       in <code>.config</code>); please, mark only the "<b>UBI debugging</b>"
-       check-box and do not mark other debugging sub-options like "UBI
-       debugging messages" unless you know what you are doing.</li>
-
-       <li>include all the messages UBI prints, not only those you see at
-       the console, but also those you see when running <code>dmesg</code>; or
-       before running your UBI test, which reproduces the error, just
-       invoke <code>dmesg -n8</code> command to make all kernel messages
-       to go to the console; another possibility is to boot the kernel
-       with <code>ignore_loglevel</code> option, in which makes the kernel
-       print all messages to the console unconditionally;
-       <a href="../faq/ubi.html#L_how_debug">this</a> section contains some
-       more information about how the messages can be collected.</li>
-
-       <li>provide UBI configuration from you your <code>.config</code>
-       file, or just attach whole file;</li>
-
-       <li>describe your flash device, attach the
-       "<code>cat /proc/mtd</code>" output;</li>
-
-       <li>specify which kernel version you are using; if your kernel is not
-       the latest one, please, explicitly tell whether you updated UBI by
-       pulling one of the back-port trees or not; if you did not, you will
-       probably be asked to do this, depending on the problem;</li>
-
-       <li>describe how the problem can be reproduced;</li>
-</ul>
-
-<p>Please, attach all the bug-related messages including the UBI messages from
-the kernel ring buffer, which may be collected using the <code>dmesg</code>
-utility or using <code>minicom</code> with serial console capturing. Please,
-describe how the problem can be reproduced (if it can be). The bug report
-should be sent to the <a href="../mail.html">MTD mailing list</a>. Please,
-<b>do not</b> send private e-mails to UBI authors, always CC the mailing
-list!</p>
-
-
 <INCLUDE file="../inc/footer.tmpl" />
 </PAGE>
index d8770a24d4a2f78091aff924a8a46d7b08310a2b..a9a2ab96d6cdec01619250b67ae6929f88f46f3d 100644 (file)
@@ -31,7 +31,6 @@
        <li><a href="ubifs.html#L_mountopts">Mount options</a></li>
        <li><a href="ubifs.html#L_spaceacc">Flash space accounting issues</a></li>
        <li><a href="ubifs.html#L_documentation">Documentation</a></li>
-       <li><a href="ubifs.html#L_how_send_bugreport">How do I send an UBIFS bug report?</a></li>
        <li><a href="ubifs.html#L_raw_vs_ftl">Raw flash vs. FTL devices</a></li>
 </ol>
 
@@ -1207,76 +1206,6 @@ at the <a href="ubifs.html#L_ml">UBIFS mailing list.</a></p>
 
 
 
-<h2><a name="L_how_send_bugreport">How do I send an UBIFS bug report?</a></h2>
-
-<p>Before sending a bug report, please, try to do the following:</p>
-<ol>
-       <li>run the MTD tests to validate your flash (see
-       <a href="general.html#L_mtd_tests">here</a>);</li>
-
-       <li>enable the UBIFS extra self checks and try to reproduce the
-       problem. See
-       <a href="../faq/ubifs.html#L_how_debug_self_checks">this</a>
-       chapter for more information about how to enable self-checks.</li>
-</ol>
-
-<p>When sending a bug report, please:</p>
-<ol>
-       <li>make sure you use up-to-date UBIFS; pull the latest UBIFS patches
-       if needed, see <a href="ubifs.html#L_source">here</a>; no one is
-       interested in digging already fixed problems;</li>
-
-       <li>make sure you have compiled the kernel symbols in
-       (<code>CONFIG_KALLSYMS_ALL=y</code> in <code>.config</code>);</li>
-
-       <li>mark the <b>Enable debugging support</b> check-box in the UBIFS
-       kernel configuration menu (<code>CONFIG_UBIFS_FS_DEBUG=y</code> in
-       <code>.config</code>); this option will make UBIFS print more
-       informative error messages; <b>note</b>, you should enable UBIFS
-       debugging, not UBI debugging - distinguish between UBI and UBIFS please,
-       they are different things;</li>
-
-       <li>include all the messages UBIFS prints, not only those you see at
-       the console, but also those you see when running <code>dmesg</code>; or
-       before running your UBIFS test, which reproduces the error, just
-       invoke <code>dmesg -n8</code> command to make all kernel messages
-       to go to the console; another possibility is to boot the kernel
-       with <code>ignore_loglevel</code> option, in which makes the kernel
-       print all messages to the console unconditionally;
-       <a href="../faq/ubi.html#L_how_debug_printks">this</a> section contains
-       some more information about how the messages can be collected.</li>
-
-       <li>explicitly tell about whether you did any checking as described in
-       the previous list of "actions before sending a bug-report" (running MTD
-       tests, enabling UBIFS extra self-checks; and tell the results; if you
-       saw any errors/warnings, describe them and include all corresponding
-       prints from tests / UBIFS / etc;</li>
-
-       <li>provide UBIi and UBIFS configuration from you your
-       <code>.config</code> file, or just attach whole file;</li>
-
-       <li>describe your flash device, attach the
-       "<code>cat /proc/mtd</code>" output;</li>
-
-       <li>specify which kernel version you are using; if your kernel is not
-       the latest one, please, explicitly tell whether you updated UBIFS by
-       pulling one of the back-port trees or not; if you did not, you will
-       probably be asked to do this, depending on the problem;</li>
-
-       <li>describe how the problem can be reproduced;</li>
-</ol>
-
-<p>The bugreport should be sent to the
-<a href="../mail.html">MTD mailing list</a>. Please, <b>do not</b> send
-private e-mails to UBIFS authors, always CC the mailing list!</p>
-
-<p>Note, sometimes UBIFS bugs may appear to be UBI bugs. If you suspect
-there are UBI problems, please, also enable UBI debugging. Please, refer the
-<a href="../faq/ubi.html#L_how_debugt">UBI debugging</a> section for more
-information.</p>
-
-
-
 <h2><a name="L_raw_vs_ftl">Raw flash vs. FTL devices</a></h2>
 
 <p>FTL stands for "Flash Translation Layer" and it is software which emulates
index 6ddb23c606c34b0b80504aa35dd26587e455c5b9..314d31b222067e0c3a6c60f438fe7e00909f7d1f 100644 (file)
@@ -39,6 +39,7 @@
        <li><a href="ubi.html#L_dyn_faster">Why a dynamic volume is faster to access than a static volume of the
 same size?</a></li>
        <li><a href="ubi.html#L_how_debug">How do I debug UBI?</a></li>
+       <li><a href="ubi.html#L_how_send_bugreport">How do I send an UBI bug report?</a></li>
 </ol>
 
 
@@ -840,5 +841,58 @@ option. This will most probably make the ring buffer fit enough messages to
 identify the problem. And because the messages are printed to RAM, this is way
 quicker than the first method.</p>
 
+
+
+<h2><a name="L_how_send_bugreport">How do I send an UBI bug report?</a></h2>
+
+<p>Before sending a bug report:</p>
+<ul>
+       <li>make sure you use up-to-date UBI; pull the latest UBI patches
+       from corresponding UBIFS back-port trees if needed, see
+       <a href="../doc/ubifs.html#L_source">here</a> (we do not maintain separate UBI
+       back-ports trees, and UBIFS trees also contain all UBI updates); no one
+       is interested in digging already fixed problems;</li>
+
+       <li>make sure you have compiled kernel symbols in
+       (<code>CONFIG_KALLSYMS_ALL=y</code> in <code>.config</code>);</li>
+
+       <li>enable UBI debugging (<code>CONFIG_MTD_UBI_DEBUG=y</code>
+       in <code>.config</code>); please, mark only the "<b>UBI debugging</b>"
+       check-box and do not mark other debugging sub-options like "UBI
+       debugging messages" unless you know what you are doing.</li>
+
+       <li>include all the messages UBI prints, not only those you see at
+       the console, but also those you see when running <code>dmesg</code>; or
+       before running your UBI test, which reproduces the error, just
+       invoke <code>dmesg -n8</code> command to make all kernel messages
+       to go to the console; another possibility is to boot the kernel
+       with <code>ignore_loglevel</code> option, in which makes the kernel
+       print all messages to the console unconditionally;
+       <a href="ubi.html#L_how_debug">this</a> section contains some
+       more information about how the messages can be collected.</li>
+
+       <li>provide UBI configuration from you your <code>.config</code>
+       file, or just attach whole file;</li>
+
+       <li>describe your flash device, attach the
+       "<code>cat /proc/mtd</code>" output;</li>
+
+       <li>specify which kernel version you are using; if your kernel is not
+       the latest one, please, explicitly tell whether you updated UBI by
+       pulling one of the back-port trees or not; if you did not, you will
+       probably be asked to do this, depending on the problem;</li>
+
+       <li>describe how the problem can be reproduced;</li>
+</ul>
+
+<p>Please, attach all the bug-related messages including the UBI messages from
+the kernel ring buffer, which may be collected using the <code>dmesg</code>
+utility or using <code>minicom</code> with serial console capturing. Please,
+describe how the problem can be reproduced (if it can be). The bug report
+should be sent to the <a href="../mail.html">MTD mailing list</a>. Please,
+<b>do not</b> send private e-mails to UBI authors, always CC the mailing
+list!</p>
+
+
 <INCLUDE file="../inc/footer.tmpl" />
 </PAGE>
index 8500b033151e43d7d80504110eb666cc6cd0add2..6b929702036b90af145d1bf626b2ef3b214eaea0 100644 (file)
@@ -44,6 +44,7 @@
        <li><a href="ubifs.html#L_few_lebs">I get: "init_constants_early: too few LEBs (12), min. is 17"</a></li>
        <li><a href="ubifs.html#L_study_ubifs">I want to study UBIFS - any recommendations?</a></li>
        <li><a href="ubifs.html#L_how_debug">How do I debug UBIFS?</a></li>
+       <li><a href="ubifs.html#L_how_send_bugreport">How do I send an UBIFS bug report?</a></li>
 </ol>
 
 
@@ -1144,7 +1145,7 @@ messages. UBIFS usually prints error messages before switching to read-only
 mode. The messages may shed some light on what happened. Feel free to ask for
 help from the <a href="../mail.html">MTD mailing list</a>. If you think this is
 an UBIFS bug, please, send a
-<a href="../doc/ubifs.html#L_how_send_bugreport">bug report</a>.</p>
+<a href="ubifs.html#L_how_send_bugreport">bug report</a>.</p>
 
 
 
@@ -1412,5 +1413,75 @@ all checks: "<code>echo 127 > /sys/module/ubifs/parameters/debug_chks</code>".</
        the real power cut testing.</li>
 </ul>
 
+
+
+<h2><a name="L_how_send_bugreport">How do I send an UBIFS bug report?</a></h2>
+
+<p>Before sending a bug report, please, try to do the following:</p>
+<ol>
+       <li>run the MTD tests to validate your flash (see
+       <a href="../doc/general.html#L_mtd_tests">here</a>);</li>
+
+       <li>enable the UBIFS extra self checks and try to reproduce the
+       problem. See
+       <a href="ubifs.html#L_how_debug_self_checks">this</a>
+       chapter for more information about how to enable self-checks.</li>
+</ol>
+
+<p>When sending a bug report, please:</p>
+<ol>
+       <li>make sure you use up-to-date UBIFS; pull the latest UBIFS patches
+       if needed, see <a href="../doc/ubifs.html#L_source">here</a>; no one is
+       interested in digging already fixed problems;</li>
+
+       <li>make sure you have compiled the kernel symbols in
+       (<code>CONFIG_KALLSYMS_ALL=y</code> in <code>.config</code>);</li>
+
+       <li>mark the <b>Enable debugging support</b> check-box in the UBIFS
+       kernel configuration menu (<code>CONFIG_UBIFS_FS_DEBUG=y</code> in
+       <code>.config</code>); this option will make UBIFS print more
+       informative error messages; <b>note</b>, you should enable UBIFS
+       debugging, not UBI debugging - distinguish between UBI and UBIFS please,
+       they are different things;</li>
+
+       <li>include all the messages UBIFS prints, not only those you see at
+       the console, but also those you see when running <code>dmesg</code>; or
+       before running your UBIFS test, which reproduces the error, just
+       invoke <code>dmesg -n8</code> command to make all kernel messages
+       to go to the console; another possibility is to boot the kernel
+       with <code>ignore_loglevel</code> option, in which makes the kernel
+       print all messages to the console unconditionally;
+       <a href="ubi.html#L_how_debug_printks">this</a> section contains
+       some more information about how the messages can be collected.</li>
+
+       <li>explicitly tell about whether you did any checking as described in
+       the previous list of "actions before sending a bug-report" (running MTD
+       tests, enabling UBIFS extra self-checks; and tell the results; if you
+       saw any errors/warnings, describe them and include all corresponding
+       prints from tests / UBIFS / etc;</li>
+
+       <li>provide UBIi and UBIFS configuration from you your
+       <code>.config</code> file, or just attach whole file;</li>
+
+       <li>describe your flash device, attach the
+       "<code>cat /proc/mtd</code>" output;</li>
+
+       <li>specify which kernel version you are using; if your kernel is not
+       the latest one, please, explicitly tell whether you updated UBIFS by
+       pulling one of the back-port trees or not; if you did not, you will
+       probably be asked to do this, depending on the problem;</li>
+
+       <li>describe how the problem can be reproduced;</li>
+</ol>
+
+<p>The bugreport should be sent to the
+<a href="../mail.html">MTD mailing list</a>. Please, <b>do not</b> send
+private e-mails to UBIFS authors, always CC the mailing list!</p>
+
+<p>Note, sometimes UBIFS bugs may appear to be UBI bugs. If you suspect
+there are UBI problems, please, also enable UBI debugging. Please, refer the
+<a href="ubi.html#L_how_debug">UBI debugging</a> section for more
+information.</p>
+
 <INCLUDE file="../inc/footer.tmpl" />
 </PAGE>