<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:.5in;
mso-add-space:auto;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
{mso-style-priority:34;
mso-style-type:export-only;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
mso-add-space:auto;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
{mso-style-priority:34;
mso-style-type:export-only;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
mso-add-space:auto;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
{mso-style-priority:34;
mso-style-type:export-only;
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:.5in;
mso-add-space:auto;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:2107455618;
mso-list-type:hybrid;
mso-list-template-ids:1614862694 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We are facing an issue of fail in booting at UBI/UBIFS during kernel boot but it will happen after several boots but not immediate second boot.<o:p></o:p></p>
<p class="MsoNormal">Booting gets stuck sometimes at UBI scan and sometimes after UBIFS Recovery needed and it stays forever. Below are the log snippets where it exactly stuck.<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><b><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span></b><![endif]><b>At UBI:<o:p></o:p></b></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.076281] UBI: scan PEB 1902<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.080509] UBI: add to free: PEB 1902, EC 1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.084953] UBI: scan PEB 1903<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.089181] UBI: add to free: PEB 1903, EC 1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.093625] UBI: scan PEB 1904<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.097853] UBI: add to free: PEB 1904, EC 1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.102297] UBI: scan PEB 1905<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.106525] UBI: add to free: PEB 1905, EC 1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.110970] UBI: scan PEB 1906<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.115200] UBI: PEB 1906, LEB 2147479551:1, EC 0, sqnum 2, bitflips 0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.122001] UBI: added volume 2147479551<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.126084] UBI: scan PEB 1907<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.130316] UBI: PEB 1907, LEB 2147479551:0, EC 0, sqnum 1, bitflips 0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.137325] UBI: max. sequence number: 1034<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.156705] UBI: ubi0 major is 252<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.161381] UBI: attached mtd10 to ubi0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.165385] UBI: MTD device name: "File System"<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.171099] UBI: MTD device size: 238 MiB<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.176267] UBI: number of good PEBs: 1908<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.181164] UBI: number of bad PEBs: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.185790] UBI: number of corrupted PEBs: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.190415] UBI: max. allowed volumes: 128<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.195221] UBI: wear-leveling threshold: 4096<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.200118] UBI: number of internal volumes: 1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.204743] UBI: number of user volumes: 1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.209369] UBI: available PEBs: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.213994] UBI: total number of reserved PEBs: 1908<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.219164] UBI: number of PEBs reserved for bad PEB handling: 19<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.225511] UBI: max/mean erase counter: 5/0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.229955] UBI: image sequence number: 1053333153<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.235125] UBI: background thread "ubi_bgt0d" started, PID 528<o:p></o:p></span></p>
<p class="MsoNormal">Booting stops after this and stays forever.<o:p></o:p></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-.25in;mso-list:l0 level1 lfo1">
<![if !supportLists]><b><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span></b><![endif]><b>Another sequence at UBI: <o:p></o:p></b></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.532395] UBI: attaching mtd10 to ubi0<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.536484] UBI: sizeof(struct ubi_scan_leb) 40<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.541200] UBI: sizeof(struct ubi_wl_entry) 20<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.545959] UBI: min_io_size 2048<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.549861] UBI: max_write_size 2048<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.553772] UBI: hdrs_min_io_size 512<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.557582] UBI: ec_hdr_alsize 512<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.561402] UBI: vid_hdr_alsize 512<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.565214] UBI: vid_hdr_offset 2048<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.569115] UBI: vid_hdr_aloffset 2048<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.573024] UBI: vid_hdr_shift 0<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.576654] UBI: leb_start 4096<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.580556] UBI: max_erroneous 190<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.584378] UBI: physical eraseblock size: 131072 bytes (128 KiB)<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.590906] UBI: logical eraseblock size: 126976 bytes<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.596536] UBI: smallest flash I/O unit: 2048<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.601442] UBI: sub-page size: 512<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.606249] UBI: VID header offset: 2048 (aligned 2048)<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.612514] UBI: data offset: 4096<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.617583] UBI: scan PEB 0<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.621608] UBI: add to free: PEB 0, EC 2<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.625806] UBI: scan PEB 1<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.629782] UBI: PEB 1, LEB 0:0, EC 1, sqnum 3, bitflips 0<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.635513] UBI: added volume 0<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.638791] UBI: scan PEB 2<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0in;margin-bottom:.0001pt;mso-add-space:auto;line-height:normal;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas">[ 1.642765] UBI: add to free: PEB 2, EC 2<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle">---------------<o:p></o:p></p>
<p class="MsoListParagraphCxSpLast">---------------<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 3.975949] UBI: scan PEB 235<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 3.980091] UBI: PEB 235, LEB 0:233, EC 0, sqnum 0, bitflips 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 3.986178] UBI: scan PEB 236<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 3.990321] UBI: PEB 236, LEB 0:234, EC 0, sqnum 0, bitflips 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 3.996408] UBI: scan PEB 237<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.000552] UBI: PEB 237, LEB 0:235, EC 0, sqnum 0, bitflips 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.006640] UBI: scan PEB 238<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.010783] UBI: PEB 238, LEB 0:236, EC 0, sqnum 0, bitflips 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.016870] UBI: scan PEB 239<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.021014] UBI: PEB 239, LEB 0:237, EC 0, sqnum 0, bitflips 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.027101] UBI: scan PEB 240<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.031244] UBI: PEB 240, LEB 0:238, EC 0, sqnum 0, bitflips 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.037331] UBI: scan PEB 241<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.041482] UBI: PEB 241, LEB 0:239, EC 0, sqnum 0, bitflips 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.047687] UBI: scan PEB 242<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.051850] UBI: PEB 242, LEB 0:240, EC 0, sqnum 0, bitflips 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 4.057928] UBI: scan PEB 243<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpFirst"><o:p></o:p></p>
<p class="MsoListParagraphCxSpLast">Booting stops after this and stays forever. <o:p>
</o:p></p>
<p class="MsoNormal" style="text-indent:.5in;text-autospace:none">Also observed that,
<span style="font-size:9.5pt;font-family:Consolas">UBI: max/mean erase counter: x/y
</span>gets incremented randomly after several boots. Does this give any indication?<o:p></o:p></p>
<p class="MsoListParagraph"><o:p> </o:p></p>
<p class="MsoNormal"><b>At UBIFS:<o:p></o:p></b></p>
<p class="MsoNormal">Couple of times we have seen stop in booting after UBIFS recovery needed and stays forever.<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.641396] UBIFS: opened ubi0_0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">[ 20.709725] UBIFS: recovery needed<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In all above scenarios, if reset is generated (even without power cycle) then next boot will come up properly.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have tried the patch to comment out <span style="color:#222222">
ubifs_fixup_free_space </span>function<span style="color:#222222"> suggested in one of the forum threads and also tried removing –F option while using mkfs.ubifs command. But the problem still persists.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#222222">To simulate the problem we have programmed the system to reset (watchdog reset) after every 2 mins and above scenarios happen after around 240 or more resets.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#222222">Could you please help me on how to get away with this? I do not have information on what version of UBIFS is in my kernel. I am using TI AM335x kernel 3.1.0 version. Please let me know if you need further details.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#222222">Proper boot log is attached for your reference.</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="color:#1F497D"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:#1F497D"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:#1F497D">Regards,<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:#1F497D">Raja.</span></b><o:p></o:p></p>
</div>
</body>
</html>