XFS inode structure showing corrupted and invalid entry for its inode_operations field i_op

Solution In Progress - Updated -

Issue

  • System crashed with general protection fault: 0000 [#1] SMP due to invalid address reference for inode->i_op->getattr
  • Inode structure shows corrupted values for i_op and i_sb which is the inode operations and super block field respectively.
  • Recurrent crashes due to corruption in file system data structures with frequent unmount and recovery activity of the file systems seen in kernel buffer.
Backtrace of the panic context:

crash> bt
PID: 10158  TASK: ffff88096240b980  CPU: 4   COMMAND: "find"
 #0 [ffff880d83a6bc08] machine_kexec at ffffffff81051e9b
 #1 [ffff880d83a6bc68] crash_kexec at ffffffff810f27e2
 #2 [ffff880d83a6bd38] oops_end at ffffffff8163f308
 #3 [ffff880d83a6bd60] die at ffffffff8101859b
 #4 [ffff880d83a6bd90] do_general_protection at ffffffff8163ebfe
 #5 [ffff880d83a6bdc0] general_protection at ffffffff8163e4a8
    [exception RIP: vfs_getattr+49]
    RIP: ffffffff811e3c21  RSP: ffff880d83a6be70  RFLAGS: 00010246
    RAX: 0000000000000000  RBX: ffff880d83a6bea0  RCX: 0000000000000000
    RDX: 3e00000000000000  RSI: ffff8808d3ceea80  RDI: 0000000000000000
    RBP: ffff880d83a6be90   R8: 0000000000000000   R9: 0000000000000000
    R10: ffffffff811ef30d  R11: 0000000000000000  R12: ffff88095c903d38
    R13: ffff880d83a6bef0  R14: 0000000000bcbe48  R15: ffff880d83a6bef0
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
 #6 [ffff880d83a6be98] vfs_fstatat at ffffffff811e3d65
 #7 [ffff880d83a6bee8] SYSC_newfstatat at ffffffff811e4374
 #8 [ffff880d83a6bf70] sys_newfstatat at ffffffff811e45be
 #9 [ffff880d83a6bf80] system_call_fastpath at ffffffff81646a09
    RIP: 00007f0ff7e83fca  RSP: 00007ffcb88f32d8  RFLAGS: 00010202
    RAX: 0000000000000106  RBX: ffffffff81646a09  RCX: 0000000000000001
    RDX: 0000000000bcbdb8  RSI: 0000000000bcbe48  RDI: 000000000000000a
    RBP: 0000000000bcbdb8   R8: 0000000000000100   R9: 00007f0ff81577b8
    R10: 0000000000000100  R11: 0000000000000246  R12: ffffffff811e45be
    R13: ffff880d83a6bf78  R14: 0000000000bcbd40  R15: 000000000f1da423
    ORIG_RAX: 0000000000000106  CS: 0033  SS: 002b
Kernel log:
...
[    4.927367] XFS (sda1): Starting recovery (logdev: internal)
[    4.935420] XFS (sda1): Ending recovery (logdev: internal)
[    4.935427] SELinux: initialized (dev sda1, type xfs), uses xattr
[    4.971170] FAT-fs (sda2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

Environment

  • Red Hat Enterprise Linux 7.2
  • XFS Filesystem
  • VMware

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.