RHEL6.8: kernel crashes with kernel BUG at fs/fscache/cookie.c:524!

Solution In Progress - Updated -


  • kernel crashes in fscache even though cachefilesd is not running
  • kernel crashes with the following oops
FS-Cache: Netfs 'nfs' registered for caching
FS-Cache: Assertion failed
FS-Cache: 1 > 0 is false
------------[ cut here ]------------
kernel BUG at fs/fscache/cookie.c:524!
invalid opcode: 0000 [#1] SMP
last sysfs file: /sys/devices/system/cpu/online
Modules linked in: nfs lockd fscache auth_rpcgss nfs_acl sunrpc ipv6 vsock(U) ppdev parport_pc parport vmware_balloon vmxnet3 sg vmci(U) i2c_piix4 shpchp ext4 jbd2 mbcache sd_mod crc_t10dif sr_mod cdrom vmw_pvscsi pata_acpi ata_generic ata_piix vmwgfx ttm drm_kms_helper drm i2c_core dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]

Pid: 25510, comm: dsapi_slave Not tainted 2.6.32-642.6.2.el6.x86_64 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
RIP: 0010:[<ffffffffa03ac117>]  [<ffffffffa03ac117>] __fscache_disable_cookie+0x1d7/0x200 [fscache]
RSP: 0018:ffff8815a3877a18  EFLAGS: 00010292
RAX: 000000000000001f RBX: ffff88180d78d8c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000046 RDI: 0000000000000246
RBP: ffff8815a3877a48 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff81649940 R11: ffff881813c27788 R12: ffff88180f62f200
R13: 0000000000000001 R14: ffffffffa03e1190 R15: ffff88180f62f3c8
FS:  00007f6957a6a720(0000) GS:ffff88007dd20000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000006427a8 CR3: 0000001542cbe000 CR4: 00000000000407e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process dsapi_slave (pid: 25510, threadinfo ffff8815a3874000, task ffff88173e1caab0)
 ffff8815a3877b28 ffff88180d78d8c0 ffff88180f62f200 ffff88180f62f3c8
<d> ffffffffa03e1190 ffff88180f62f3c8 ffff8815a3877a78 ffffffffa04212dd
<d> ffff88181607fce8 ffff881816a5e380 ffff881812a4b0c0 ffff88180f62b500
Call Trace:
 [<ffffffffa03e1190>] ? do_open+0x0/0x20 [nfs]
 [<ffffffffa04212dd>] nfs_fscache_open_file+0xad/0x100 [nfs]
 [<ffffffffa03e119e>] do_open+0xe/0x20 [nfs]
 [<ffffffff81196c52>] __dentry_open+0x122/0x380
 [<ffffffffa0347940>] ? rpcauth_lookupcred+0x80/0xd0 [sunrpc]
 [<ffffffff81197049>] lookup_instantiate_filp+0x69/0x90
 [<ffffffffa03e3ac9>] nfs_intent_set_file+0x59/0x90 [nfs]
 [<ffffffffa03e4e31>] nfs_open_revalidate+0x2a1/0x300 [nfs]
 [<ffffffff811b5347>] ? __d_lookup+0xa7/0x150
 [<ffffffff811a9986>] do_lookup+0x66/0x230
 [<ffffffffa0347580>] ? put_rpccred+0x50/0x150 [sunrpc]
 [<ffffffff811aa643>] __link_path_walk+0x763/0x1060
 [<ffffffff81299975>] ? _atomic_dec_and_lock+0x55/0x80
 [<ffffffff811a8591>] ? path_put+0x31/0x40
 [<ffffffff811a9fe0>] ? __link_path_walk+0x100/0x1060
 [<ffffffff811ab1fa>] path_walk+0x6a/0xe0
 [<ffffffff811ab40b>] filename_lookup+0x6b/0xc0
 [<ffffffff8123aa86>] ? security_file_alloc+0x16/0x20
 [<ffffffff811ac8e4>] do_filp_open+0x104/0xd20
 [<ffffffff811a7fdb>] ? putname+0x2b/0x40
 [<ffffffff812a885a>] ? strncpy_from_user+0x4a/0x90
 [<ffffffff811ba072>] ? alloc_fd+0x92/0x160
 [<ffffffff811969f7>] do_sys_open+0x67/0x130
 [<ffffffff81196b00>] sys_open+0x20/0x30
 [<ffffffff8100b0d2>] system_call_fastpath+0x16/0x1b
Code: 31 c0 e8 90 c2 19 e1 48 c7 c7 70 20 3b a0 31 c0 e8 82 c2 19 e1 8b 73 08 31 d2 48 c7 c7 b8 20 3b a0 31 c0 48 63 f6 e8 6c c2 19 e1 <0f> 0b eb fe 48 8b 77 20 31 c0 48 c7 c7 e0 20 3b a0 e8 56 c2 19
RIP  [<ffffffffa03ac117>] __fscache_disable_cookie+0x1d7/0x200 [fscache]
 RSP <ffff8815a3877a18>


  • Red Hat Enterprise Linux 6.8
    • Seen on kernel-2.6.32-642.6.2.el6
  • NFS

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