Re: "Internal error xfs_attr3_leaf_write_verify at line 216", "directory flags set on non-directory inode" and other errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I have updated kernel version 3.4 to 3.10 and I encountered the same problem. System is working, but periodically I get following errors in kernel logs:

[20367.539731] XFS (dm-4): Internal error xfs_attr3_leaf_read_verify at line 256 of file fs/xfs/xfs_attr_leaf.c.  Caller 0xffffffff81263bcd
[20367.539731]
[20367.539732] CPU: 1 PID: 2240 Comm: kworker/1:1H Tainted: G           O 3.10.93 #15
[20367.539733] Hardware name: Intel Corporation S2600IP/S2600IP, BIOS SE5C600.86B.02.03.0003.041920141333 04/19/2014
[20367.539736] Workqueue: xfslogd xfs_buf_iodone_work
[20367.539738]  ffffffff816bf9df 000000000000007e ffffffff81265a42 ffffffff81263bcd
[20367.539739]  ffff000000000100 ffff8802c8e40e40 ffff88085257f080 ffff88085adf5000
[20367.539740]  ffff88087fc38f00 0000000000000000 ffffffff8127e95f ffffffff81263bcd
[20367.539741] Call Trace:
[20367.539744]  [<ffffffff816bf9df>] ? dump_stack+0xd/0x17
[20367.539746]  [<ffffffff81265a42>] ? xfs_corruption_error+0x62/0x90
[20367.539748]  [<ffffffff81263bcd>] ? xfs_buf_iodone_work+0x8d/0xb0
[20367.539750]  [<ffffffff8127e95f>] ? xfs_attr3_leaf_read_verify+0x6f/0x100
[20367.539751]  [<ffffffff81263bcd>] ? xfs_buf_iodone_work+0x8d/0xb0
[20367.539753]  [<ffffffff81263bcd>] ? xfs_buf_iodone_work+0x8d/0xb0
[20367.539754]  [<ffffffff8105dd01>] ? process_one_work+0x141/0x3b0
[20367.539757]  [<ffffffff8105b79e>] ? pwq_activate_delayed_work+0x2e/0x50
[20367.539758]  [<ffffffff8105ec42>] ? worker_thread+0x112/0x370
[20367.539759]  [<ffffffff8105eb30>] ? manage_workers.isra.28+0x290/0x290
[20367.539761]  [<ffffffff810647e3>] ? kthread+0xb3/0xc0
[20367.539763]  [<ffffffff81012685>] ? sched_clock+0x5/0x10
[20367.539764]  [<ffffffff81060000>] ? __alloc_workqueue_key+0x210/0x510
[20367.539766]  [<ffffffff81064730>] ? kthread_freezable_should_stop+0x60/0x60
[20367.539768]  [<ffffffff816cab18>] ? ret_from_fork+0x58/0x90
[20367.539770]  [<ffffffff81064730>] ? kthread_freezable_should_stop+0x60/0x60
[20367.539770] XFS (dm-4): Corruption detected. Unmount and run xfs_repair
[20367.539777] XFS (dm-4): metadata I/O error: block 0x19a4775b18 ("xfs_trans_read_buf_map") error 117 numblks 8


As in other cases from this thread, xfs repair hasn't found any problems.
Here is xfs_dump from block 0x19a4775b18:

[20367.539731] XFS (dm-4): Internal error xfs_attr3_leaf_read_verify at line 256 of file fs/xfs/xfs_attr_leaf.c.  Caller 0xffffffff81263bcd
[20367.539731]
[20367.539732] CPU: 1 PID: 2240 Comm: kworker/1:1H Tainted: G           O 3.10.93 #15
[20367.539733] Hardware name: Intel Corporation S2600IP/S2600IP, BIOS SE5C600.86B.02.03.0003.041920141333 04/19/2014
[20367.539736] Workqueue: xfslogd xfs_buf_iodone_work
[20367.539738]  ffffffff816bf9df 000000000000007e ffffffff81265a42 ffffffff81263bcd
[20367.539739]  ffff000000000100 ffff8802c8e40e40 ffff88085257f080 ffff88085adf5000
[20367.539740]  ffff88087fc38f00 0000000000000000 ffffffff8127e95f ffffffff81263bcd
[20367.539741] Call Trace:
[20367.539744]  [<ffffffff816bf9df>] ? dump_stack+0xd/0x17
[20367.539746]  [<ffffffff81265a42>] ? xfs_corruption_error+0x62/0x90
[20367.539748]  [<ffffffff81263bcd>] ? xfs_buf_iodone_work+0x8d/0xb0
[20367.539750]  [<ffffffff8127e95f>] ? xfs_attr3_leaf_read_verify+0x6f/0x100
[20367.539751]  [<ffffffff81263bcd>] ? xfs_buf_iodone_work+0x8d/0xb0
[20367.539753]  [<ffffffff81263bcd>] ? xfs_buf_iodone_work+0x8d/0xb0
[20367.539754]  [<ffffffff8105dd01>] ? process_one_work+0x141/0x3b0
[20367.539757]  [<ffffffff8105b79e>] ? pwq_activate_delayed_work+0x2e/0x50
[20367.539758]  [<ffffffff8105ec42>] ? worker_thread+0x112/0x370
[20367.539759]  [<ffffffff8105eb30>] ? manage_workers.isra.28+0x290/0x290
[20367.539761]  [<ffffffff810647e3>] ? kthread+0xb3/0xc0
[20367.539763]  [<ffffffff81012685>] ? sched_clock+0x5/0x10
[20367.539764]  [<ffffffff81060000>] ? __alloc_workqueue_key+0x210/0x510
[20367.539766]  [<ffffffff81064730>] ? kthread_freezable_should_stop+0x60/0x60
[20367.539768]  [<ffffffff816cab18>] ? ret_from_fork+0x58/0x90
[20367.539770]  [<ffffffff81064730>] ? kthread_freezable_should_stop+0x60/0x60
[20367.539770] XFS (dm-4): Corruption detected. Unmount and run xfs_repair
[20367.539777] XFS (dm-4): metadata I/O error: block 0x19a4775b18 ("xfs_trans_read_buf_map") error 117 numblks 8

xfs_db> convert daddr 0x19a4775b18 fsb
0x3348eeb96 (13766683542)

xfs_db> fsb 0x3348eeb96
xfs_db> p
000: 00000000 00000000 fbee0000 00000000 10000000 00200fe0 00000000 00000000
020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
080: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
100: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
240: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
260: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
280: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
2a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
2c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
2e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
300: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
320: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
340: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
360: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
380: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
420: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
460: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
4a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
4c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
4e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
500: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
520: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
540: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
560: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
580: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
600: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
620: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
640: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
660: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
680: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
700: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
720: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
740: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
760: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
780: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
800: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
820: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
840: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
860: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
880: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
8a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
8c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
8e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
900: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
920: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
940: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
960: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
980: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
a00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
a20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
a40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
a60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
a80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
aa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ac0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ae0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
b00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
b20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
b40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
b60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
b80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ba0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
be0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
c00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
c20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
c40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
c60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
c80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
cc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
fa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
fe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
xfs_db> type attr
xfs_db> p
hdr.info.forw = 0
hdr.info.back = 0
hdr.info.magic = 0xfbee
hdr.count = 0
hdr.usedbytes = 0
hdr.firstused = 4096
hdr.holes = 0
hdr.freemap[0-2] = [base,size] 0:[32,4064] 1:[0,0] 2:[0,0]


After converting the address to inode and running xfs_dump I get following output:

xfs_db> convert daddr 0x19a4775b18 inode
0x3348eeb960 (220266936672)
xfs_db> inode 0x3348eeb960
xfs_db> p
core.magic = 0
core.mode = 0
core.version = 0
core.format = 0 (dev)
core.uid = 4226678784
core.gid = 0
core.flushiter = 0
core.atime.sec = Thu Jan  1 01:00:00 1970
core.atime.nsec = 000000000
core.mtime.sec = Thu Jan  1 01:00:00 1970
core.mtime.nsec = 000000000
core.ctime.sec = Thu Jan  1 01:00:00 1970
core.ctime.nsec = 000000000
core.size = 0
core.nblocks = 0
core.extsize = 0
core.nextents = 0
core.naextents = 0
core.forkoff = 0
core.aformat = 0 (dev)
core.dmevmask = 0
core.dmstate = 0
core.newrtbm = 0
core.prealloc = 0
core.realtime = 0
core.immutable = 0
core.append = 0
core.sync = 0
core.noatime = 0
core.nodump = 0
core.rtinherit = 0
core.projinherit = 0
core.nosymlinks = 0
core.extsz = 0
core.extszinherit = 0
core.nodefrag = 0
core.filestream = 0
core.gen = 0
next_unlinked = 0
u.dev = 0

It's strange, because there is no "extended attributes" record.

Do you know what can cause such problem ?
Is it fixed in new kernel version ?

Thank you in advance !
Best regards

Adam Blaszczykowski
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux