Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,016 Views

ubifs power cut corruption

Hello, 

 

Currently I am facing a ubifs corruption during power cut.  

During next iteration of power cycle, I could not able to mount the ubifs. 

Can anyone please suggests some pointers to resolve this corruption problem. 

 

Please find Flash details and debug logs below -  

 

Following are NOR Flah details 

NOR Flash Size = 64MB 

NOR Flash = MX29GL512F 

we are using 3.10 kernel. 

 

Debug logs 

[ 1.302436] UBIFS: recovery needed 

[ 3.231933] UBIFS error (pid 1): ubifs_read_node: bad node type (160 but expected 3) 

[ 3.239651] UBIFS error (pid 1): ubifs_read_node: bad node at LEB 19:68712, LEB mapping status 1 

[ 3.248398] Not a node, first 24 bytes: 

[ 3.252051] 00000000: c0 06 be 00 20 08 be 00 80 09 be 00 e0 0a be 00 40 0c be 00 a0 0d be 00 .... ...........@....... 

[ 3.265047] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.10.37-ltsi-rt37-dirty# 141 

[ 3.272619] [<8001480c>] (unwind_backtrace+0x0/0xf4) from [<800119fc>] (show_stack+0x10/0x14) 

[ 3.281122] [<800119fc>] (show_stack+0x10/0x14) from [<80175ab8>] (ubifs_read_node+0x224/0x290) 

[ 3.289795] [<80175ab8>] (ubifs_read_node+0x224/0x290) from [<80191ba0>] (ubifs_tnc_read_node+0x4c/0x13c) 

[ 3.299329] [<80191ba0>] (ubifs_tnc_read_node+0x4c/0x13c) from [<801769e4>] (tnc_read_node_nm+0x5c/0x1dc) 

[ 3.308864] [<801769e4>] (tnc_read_node_nm+0x5c/0x1dc) from [<8017a2c0>] (ubifs_tnc_next_ent+0x130/0x194) 

[ 3.318398] [<8017a2c0>] (ubifs_tnc_next_ent+0x130/0x194) from [<8017a3a0>] (ubifs_tnc_remove_ino+0x7c/0x114) 

[ 3.328277] [<8017a3a0>] (ubifs_tnc_remove_ino+0x7c/0x114) from [<8017cc28>] (ubifs_replay_journal+0xdf8/0x1384) 

[ 3.338415] [<8017cc28>] (ubifs_replay_journal+0xdf8/0x1384) from [<801720c8>] (ubifs_mount+0x1190/0x17e8) 

[ 3.348039] [<801720c8>] (ubifs_mount+0x1190/0x17e8) from [<800c623c>] (mount_fs+0x14/0xcc) 

[ 3.356366] [<800c623c>] (mount_fs+0x14/0xcc) from [<800dd780>] (vfs_kern_mount+0x48/0xc8) 

[ 3.364606] [<800dd780>] (vfs_kern_mount+0x48/0xc8) from [<800dfa24>] (do_mount+0x190/0x87c) 

[ 3.373017] [<800dfa24>] (do_mount+0x190/0x87c) from [<800e0194>] (SyS_mount+0x84/0xb8) 

[ 3.381004] [<800e0194>] (SyS_mount+0x84/0xb8) from [<8045af2c>] (mount_block_root+0x144/0x2d0) 

[ 3.389675] [<8045af2c>] (mount_block_root+0x144/0x2d0) from [<8045b2b0>] (prepare_namespace+0xa8/0x1c8) 

[ 3.399123] [<8045b2b0>] (prepare_namespace+0xa8/0x1c8) from [<8045accc>] (kernel_init_freeable+0x288/0x298) 

[ 3.408921] [<8045accc>] (kernel_init_freeable+0x288/0x298) from [<80352144>] (kernel_init+0xc/0x160) 

[ 3.418112] [<80352144>] (kernel_init+0xc/0x160) from [<8000df98>] (ret_from_fork+0x14/0x3c) 

[ 3.428012] UBIFS: background thread "ubifs_bgt0_0" stops 

[ 3.433797] List of all partitions: 

[ 3.437289] 1f00 61440 mtdblock0 (driver?) 

[ 3.442337] 1f01 60612 mtdblock1 (driver?) 

[ 3.447378] No filesystem could mount root, tried: ubifs 

[ 3.452784] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) 

[ 3.452789] CPU0: stopping 

[ 3.452797] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.37-ltsi-rt37-dirty# 141 

[ 3.452826] [<8001480c>] (unwind_backtrace+0x0/0xf4) from [<800119fc>] (show_stack+0x10/0x14) 

[ 3.452838] [<800119fc>] (show_stack+0x10/0x14) from [<80012f00>] (handle_IPI+0x108/0x168) 

[ 3.452848] [<80012f00>] (handle_IPI+0x108/0x168) from [<80008540>] (gic_handle_irq+0x58/0x5c) 

[ 3.452858] [<80008540>] (gic_handle_irq+0x58/0x5c) from [<8000dac0>] (__irq_svc+0x40/0x84) 

[ 3.452862] Exception stack(0x80481f68 to 0x80481fb0) 

[ 3.452869] 1f60: 805d4a70 00000000 00001444 00000000 80480000 8048a67c 

[ 3.452877] 1f80: 80480000 8035edac 804a687d 00000001 804a687d 80480000 00000000 80481fb0 

[ 3.452881] 1fa0: 8000f164 8000f168 60000113 ffffffff 

[ 3.452892] [<8000dac0>] (__irq_svc+0x40/0x84) from [<8000f168>] (arch_cpu_idle+0x2c/0x30) 

[ 3.452912] [<8000f168>] (arch_cpu_idle+0x2c/0x30) from [<80055c7c>] (cpu_startup_entry+0x100/0x140) 

[ 3.452932] [<80055c7c>] (cpu_startup_entry+0x100/0x140) from [<8045aa38>] (start_kernel+0x2c8/0x2d4) 

[ 3.452942] [<8045aa38>] (start_kernel+0x2c8/0x2d4) from [<00008074>] (0x8074) 

 

 

 

Regards, 

Ashwin Rase
0 Kudos
0 Replies
Reply