about ubifs error: ubifs_get_pnode.part.4: error -22
chenshumin86 at sina.com
chenshumin86 at sina.com
Wed Nov 10 08:49:01 PST 2021
Dear ubifs supporters,
We have met one ubifs error and this error finally switch the partition
to read-only mode.
Could you advise some tips for me to dig out the root cause for this issue?
Kernel version: V4.19
Crash log as below:
Oct 23 19:07:37 err kernel: [172988.260988] UBIFS error (ubi2:0 pid
14311): ubifs_get_pnode.part.4: error -22 reading pnode at 8:17037
Oct 23 19:07:37 err kernel: [172988.269012] (pid 14311) dumping pnode:
Oct 23 19:07:37 err kernel: [172988.272814] address cafe9f80
parent cafe9c80 cnext 0
Oct 23 19:07:37 err kernel: [172988.278006] flags 0 iip 3 level 0
num 0
Oct 23 19:07:37 err kernel: [172988.281947] 0: free 0 dirty 3360
flags 1 lnum 0
Oct 23 19:07:37 err kernel: [172988.286609] 1: free 2048 dirty
3976 flags 1 lnum 0
Oct 23 19:07:37 err kernel: [172988.291597] 2: free 0 dirty 128000
flags 1 lnum 0
Oct 23 19:07:37 err kernel: [172988.296425] 3: free 0 dirty 124448
flags 1 lnum 0
Oct 23 19:07:37 warn kernel: [172988.301266] CPU: 1 PID: 14311 Comm:
kworker/u4:0 Not tainted 4.19.90 #1
Oct 23 19:07:37 warn kernel: [172988.307893] Hardware name: STM32
(Device Tree Support)
Oct 23 19:07:37 warn kernel: [172988.313119] Workqueue: writeback
wb_workfn (flush-ubifs_2_0)
Oct 23 19:07:37 warn kernel: [172988.318888] [<c01110d4>]
(unwind_backtrace) from [<c010cbb4>] (show_stack+0x10/0x14)
Oct 23 19:07:37 warn kernel: [172988.326658] [<c010cbb4>] (show_stack)
from [<c0703084>] (dump_stack+0x8c/0xa0)
Oct 23 19:07:37 warn kernel: [172988.333953] [<c0703084>] (dump_stack)
from [<c0367260>] (ubifs_get_pnode.part.4+0x21c/0x294)
Oct 23 19:07:37 warn kernel: [172988.342494] [<c0367260>]
(ubifs_get_pnode.part.4) from [<c0368cc8>]
(ubifs_lpt_lookup_dirty+0x204/0x27c)
Oct 23 19:07:37 warn kernel: [172988.352043] [<c0368cc8>]
(ubifs_lpt_lookup_dirty) from [<c036bcc8>] (ubifs_update_one_lp+0x34/0x128)
Oct 23 19:07:37 warn kernel: [172988.361240] [<c036bcc8>]
(ubifs_update_one_lp) from [<c035a69c>] (ubifs_tnc_add+0xcc/0x13c)
Oct 23 19:07:37 warn kernel: [172988.369664] [<c035a69c>]
(ubifs_tnc_add) from [<c0349b50>] (ubifs_jnl_write_inode+0x158/0x234)
Oct 23 19:07:37 warn kernel: [172988.378340] [<c0349b50>]
(ubifs_jnl_write_inode) from [<c035136c>] (ubifs_write_inode+0x90/0xfc)
Oct 23 19:07:37 warn kernel: [172988.387160] [<c035136c>]
(ubifs_write_inode) from [<c02d5b3c>] (__writeback_single_inode+0x1e0/0x44c)
Oct 23 19:07:37 warn kernel: [172988.396483] [<c02d5b3c>]
(__writeback_single_inode) from [<c02d627c>]
(writeback_sb_inodes+0x1f4/0x4c4)
Oct 23 19:07:37 warn kernel: [172988.405905] [<c02d627c>]
(writeback_sb_inodes) from [<c02d65a4>] (__writeback_inodes_wb+0x58/0x9c)
Oct 23 19:07:37 warn kernel: [172988.414932] [<c02d65a4>]
(__writeback_inodes_wb) from [<c02d6894>] (wb_writeback+0x2ac/0x390)
Oct 23 19:07:37 warn kernel: [172988.423523] [<c02d6894>] (wb_writeback)
from [<c02d723c>] (wb_workfn+0x30c/0x500)
Oct 23 19:07:37 warn kernel: [172988.431075] [<c02d723c>] (wb_workfn)
from [<c014012c>] (process_one_work+0x218/0x504)
Oct 23 19:07:37 warn kernel: [172988.438971] [<c014012c>]
(process_one_work) from [<c0140fb8>] (worker_thread+0x44/0x5bc)
Oct 23 19:07:37 warn kernel: [172988.447131] [<c0140fb8>]
(worker_thread) from [<c0145ff8>] (kthread+0x14c/0x154)
Oct 23 19:07:37 warn kernel: [172988.454597] [<c0145ff8>] (kthread) from
[<c01010e8>] (ret_from_fork+0x14/0x2c)
Oct 23 19:07:37 warn kernel: [172988.461877] Exception stack(0xcaed5fb0
to 0xcaed5ff8)
Oct 23 19:07:37 warn kernel: [172988.466999] 5fa0:
00000000 00000000 00000000 00000000
Oct 23 19:07:37 warn kernel: [172988.475247] 5fc0: 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000
Oct 23 19:07:37 warn kernel: [172988.483491] 5fe0: 00000000 00000000
00000000 00000000 00000013 00000000
Oct 23 19:07:37 err kernel: [172988.490279] UBIFS error (ubi2:0 pid
14311): ubifs_get_pnode.part.4: calc num: 43
Oct 23 19:07:37 err kernel: [172988.497695] UBIFS error (ubi2:0 pid
14311): ubifs_update_one_lp: cannot update properties of LEB 186, error -22
Oct 23 19:07:37 warn kernel: [172988.507884] UBIFS warning (ubi2:0 pid
14311): ubifs_ro_mode.part.0: switched to read-only mode, error -22
Regards,
Shumin CHEN
More information about the linux-mtd
mailing list