RHEL6: server crashed with RIP clear_inode while doing an unlink on an inode - kernel BUG at fs/inode.c:329
Issue
- system crashed while a process was doing an unlink on a file. The the following message is seen
kernel BUG at fs/inode.c:329!
invalid opcode: 0000 [#1] SMP
last sysfs file: /sys/devices/virtual/net/bond1/ifalias
CPU 2
Modules linked in: nfsd exportfs nfs lockd fscache auth_rpcgss nfs_acl sunrpc bluetooth rfkill mptctl mptbase bonding 8021q garp stp llc ipv6 power_meter be2net e1000e sg microcode serio_raw iTCO_wdt iTCO_vendor_support hpilo hpwdt bnx2 i7core_edac edac_core shpchp ext4 mbcache jbd2 sd_mod crc_t10dif hpsa radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]
Pid: 14534, comm: foobar Not tainted 2.6.32-358.6.2.el6.x86_64 #1 HP ProLiant DL380 G7
RIP: 0010:[<ffffffff8119d028>] [<ffffffff8119d028>] clear_inode+0x128/0x140
RSP: 0018:ffff880102109e18 EFLAGS: 00010002
RAX: 0000000000001fd8 RBX: ffff8814360be7e0 RCX: 00000000c0000100
RDX: 0000000000001fd8 RSI: ffff8817f8b27500 RDI: ffff8814360be918
RBP: ffff880102109e28 R08: ffff880102108000 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8814360be918
R13: 0000000000000000 R14: 0000000000000000 R15: 00007fa7a6c65550
FS: 00007fa7781d7700(0000) GS:ffff880028220000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00007f5e43877936 CR3: 0000001c8d147000 CR4: 00000000000007e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process foobar (pid: 14534, threadinfo ffff880102108000, task ffff8817f74a2ae0)
Stack:
ffff8814360be7e0 ffffffff81fcb700 ffff880102109e58 ffffffff8119d766
<d> ffff880102109e58 ffff8814360be7e0 ffff8817fb7fdbc0 ffff8814360be7e0
<d> ffff880102109e78 ffffffff8119d805 ffff8817fb7fdbc0 ffff8814360be7e0
Call Trace:
[<ffffffff8119d766>] generic_delete_inode+0x196/0x1d0
[<ffffffff8119d805>] generic_drop_inode+0x65/0x80
[<ffffffff8119c652>] iput+0x62/0x70
[<ffffffff81191eb4>] do_unlinkat+0x124/0x1b0
[<ffffffff81191f56>] sys_unlink+0x16/0x20
[<ffffffff8100b072>] system_call_fastpath+0x16/0x1b
Code: 5b 41 5c c9 c3 66 0f 1f 44 00 00 48 83 bb d0 01 00 00 00 74 b4 48 89 df e8 36 ef 01 00 0f b7 83 ae 00 00 00 25 00 f0 00 00 eb 97 <0f> 0b eb fe 0f 0b eb fe 0f 0b eb fe 66 66 66 2e 0f 1f 84 00 00
RIP [<ffffffff8119d028>] clear_inode+0x128/0x140
RSP <ffff880102109e18>
Environment
- Red Hat Enterprise Linux 6
- seen on kernel 2.6.32-358.6.2.el6 (NFSv3 client)
- seen on kernel 2.6.32-504.16.2.el6 (fuse filesystem)
- seen on kernel 2.6.32-431.40.1.el6 (ext4 filesystem)
- seen on kernel-2.6.32-573.3.1.el6 (fuse filesystem)
- Hardware
- machine with multiple NUMA nodes
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.