kernel BUG at fs/jffs2/gc.c:395
Tao Ren
taoren at fb.com
Thu Oct 25 16:18:30 AEDT 2018
Hi all,
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?
BTW, fs/jffs2/gc.c was not changed in the past 2 years, so file content is the same in dev-4.18 tree.
data0 partition found on /dev/mtdblock3; mounting to /mnt/data.
[ 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.
[ 31.272704] jffs2: warning: (1086) jffs2_do_read_inode_internal: no data nodes found for ino #2
[ 31.376941] jffs2: notice: (1086) jffs2_do_read_inode_internal: but it has children so we fake some modes for it
Populating dev cache
[ 32.315906] jffs2: Inode #250 already in state 0 in jffs2_garbage_collect_pass()!
[ 32.405599] ------------[ cut here ]------------
[ 32.460773] kernel BUG at /data/users/taoren/openbmc/build-cmm/tmp/work-shared/cmm/kernel-source/fs/jffs2/gc.c:395!
[ 32.585668] Internal error: Oops - BUG: 0 [#1] ARM
[ 32.642972] Modules linked in: pfe3000 fancpld(O) cmmcpld(O) i2c_dev_sysfs(O)
[ 32.728367] CPU: 0 PID: 1085 Comm: jffs2_gcd_mtd3 Tainted: G O 4.17.2-635177a5c64fa51c04f317d61c9a642205c05750 #1
[ 32.866776] Hardware name: Generic DT based system
[ 32.924121] PC is at jffs2_garbage_collect_pass+0x524/0x728
[ 32.990759] LR is at jffs2_garbage_collect_pass+0x524/0x728
[ 33.057411] pc : [<802b0cb0>] lr : [<802b0cb0>] psr: 60000013
[ 33.132393] sp : b094be80 ip : 00000000 fp : b094becc
[ 33.194897] r10: b095d980 r9 : b0961ec0 r8 : b55a0b94
[ 33.257401] r7 : 0000e58c r6 : b08dbc2c r5 : 00000000 r4 : b08dbc00
[ 33.335505] r3 : b5707040 r2 : 00000000 r1 : 60000093 r0 : b08dbc2c
[ 33.413611] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 33.498996] Control: 00c5387d Table: b096c008 DAC: 00000051
[ 33.567747] Process jffs2_gcd_mtd3 (pid: 1085, stack limit = 0x30802448)
[ 33.647924] Stack: (0xb094be80 to 0xb094c000)
[ 33.700037] be80: 8f321be0 00000104 b094bea4 b094be98 801260dc 80123884 b094becc 8f321be0
[ 33.797898] bea0: 801263c8 b08dbc00 b094a000 00000104 b08dbc00 802b34cc b0992d18 b099bd28
[ 33.895761] bec0: b094bf7c b094bed0 802b35ac 802b0798 b5731a10 00000001 00000000 805f2290
[ 33.993625] bee0: b0990540 cd00d2bb 80903028 b57072b0 b094bf14 b57319e0 b5707040 b0990540
[ 34.091488] bf00: 8090ad90 b0990540 b094bf64 b094bf18 805f2290 8013ccac 00000000 00000003
[ 34.189352] bf20: 00000000 a0000013 b559fb40 805f25e0 b08dbc00 8f321be0 b0992d18 b094a000
[ 34.287217] bf40: b559fb40 00000000 b08dbc00 802b34cc b0992d18 80135380 b094bf7c 8f321be0
[ 34.385082] bf60: b0992d00 b0992d00 b559fb40 00000000 b094bfac b094bf80 80135388 802b34d8
[ 34.482944] bf80: b094a000 b559fb40 8013526c 00000000 00000000 00000000 00000000 00000000
[ 34.580808] bfa0: 00000000 b094bfb0 801010e8 80135278 00000000 00000000 00000000 00000000
[ 34.678671] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 34.776534] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 34.874441] [<802b0cb0>] (jffs2_garbage_collect_pass) from [<802b35ac>] (jffs2_garbage_collect_thread+0xe0/0x194)
[ 34.997261] [<802b35ac>] (jffs2_garbage_collect_thread) from [<80135388>] (kthread+0x11c/0x158)
[ 35.101351] [<80135388>] (kthread) from [<801010e8>] (ret_from_fork+0x14/0x2c)
[ 35.187749] Exception stack(0xb094bfb0 to 0xb094bff8)
[ 35.248174] bfa0: 00000000 00000000 00000000 00000000
[ 35.346039] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 35.443901] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 35.523056] Code: e59f01fc ebfa6db2 e1a00006 eb0d0a51 (e7f001f2)
[ 35.595964] ---[ end trace bb6111c1fc9b2a99 ]---
[ 35.651173] Kernel panic - not syncing: Fatal exception
Thanks,
Tao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20181025/9043d942/attachment.html>
More information about the openbmc
mailing list