<html 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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I hit below kernel BUG while booting up openbmc-linux-4.17.2 on Facebook Backpack-CMM BMC (AST2500). The crash happens right after mounting /dev/mtdblock3 to /mnt/data directory. Did anyone hit similar backtrace
before?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">BTW, fs/jffs2/gc.c was not changed in the past 2 years, so file content is the same in dev-4.18 tree.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">data0 partition found on /dev/mtdblock3; mounting to /mnt/data.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 31.045370] jffs2: notice: (1084) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 31.272704] jffs2: warning: (1086) jffs2_do_read_inode_internal: no data nodes found for ino #2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 31.376941] jffs2: notice: (1086) jffs2_do_read_inode_internal: but it has children so we fake some modes for it<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Populating dev cache<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 32.315906] jffs2: Inode #250 already in state 0 in jffs2_garbage_collect_pass()!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 32.405599] ------------[ cut here ]------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 32.460773] kernel BUG at /data/users/taoren/openbmc/build-cmm/tmp/work-shared/cmm/kernel-source/fs/jffs2/gc.c:395!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 32.585668] Internal error: Oops - BUG: 0 [#1] ARM<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 32.642972] Modules linked in: pfe3000 fancpld(O) cmmcpld(O) i2c_dev_sysfs(O)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 32.728367] CPU: 0 PID: 1085 Comm: jffs2_gcd_mtd3 Tainted: G O 4.17.2-635177a5c64fa51c04f317d61c9a642205c05750 #1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 32.866776] Hardware name: Generic DT based system<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 32.924121] PC is at jffs2_garbage_collect_pass+0x524/0x728<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 32.990759] LR is at jffs2_garbage_collect_pass+0x524/0x728<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.057411] pc : [<802b0cb0>] lr : [<802b0cb0>] psr: 60000013<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.132393] sp : b094be80 ip : 00000000 fp : b094becc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.194897] r10: b095d980 r9 : b0961ec0 r8 : b55a0b94<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.257401] r7 : 0000e58c r6 : b08dbc2c r5 : 00000000 r4 : b08dbc00<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.335505] r3 : b5707040 r2 : 00000000 r1 : 60000093 r0 : b08dbc2c<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.413611] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.498996] Control: 00c5387d Table: b096c008 DAC: 00000051<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.567747] Process jffs2_gcd_mtd3 (pid: 1085, stack limit = 0x30802448)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.647924] Stack: (0xb094be80 to 0xb094c000)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.700037] be80: 8f321be0 00000104 b094bea4 b094be98 801260dc 80123884 b094becc 8f321be0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.797898] bea0: 801263c8 b08dbc00 b094a000 00000104 b08dbc00 802b34cc b0992d18 b099bd28<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.895761] bec0: b094bf7c b094bed0 802b35ac 802b0798 b5731a10 00000001 00000000 805f2290<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 33.993625] bee0: b0990540 cd00d2bb 80903028 b57072b0 b094bf14 b57319e0 b5707040 b0990540<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 34.091488] bf00: 8090ad90 b0990540 b094bf64 b094bf18 805f2290 8013ccac 00000000 00000003<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 34.189352] bf20: 00000000 a0000013 b559fb40 805f25e0 b08dbc00 8f321be0 b0992d18 b094a000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 34.287217] bf40: b559fb40 00000000 b08dbc00 802b34cc b0992d18 80135380 b094bf7c 8f321be0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 34.385082] bf60: b0992d00 b0992d00 b559fb40 00000000 b094bfac b094bf80 80135388 802b34d8<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 34.482944] bf80: b094a000 b559fb40 8013526c 00000000 00000000 00000000 00000000 00000000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 34.580808] bfa0: 00000000 b094bfb0 801010e8 80135278 00000000 00000000 00000000 00000000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 34.678671] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 34.776534] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 34.874441] [<802b0cb0>] (jffs2_garbage_collect_pass) from [<802b35ac>] (jffs2_garbage_collect_thread+0xe0/0x194)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 34.997261] [<802b35ac>] (jffs2_garbage_collect_thread) from [<80135388>] (kthread+0x11c/0x158)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 35.101351] [<80135388>] (kthread) from [<801010e8>] (ret_from_fork+0x14/0x2c)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 35.187749] Exception stack(0xb094bfb0 to 0xb094bff8)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 35.248174] bfa0: 00000000 00000000 00000000 00000000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 35.346039] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 35.443901] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 35.523056] Code: e59f01fc ebfa6db2 e1a00006 eb0d0a51 (e7f001f2)
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 35.595964] ---[ end trace bb6111c1fc9b2a99 ]---<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[ 35.651173] Kernel panic - not syncing: Fatal exception<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Tao<o:p></o:p></span></p>
</div>
</body>
</html>