kernel BUG at fs/fscache/operation.c:421 with version 2.6.32-358.2.1.el6

Solution Verified - Updated -

Issue

When mounting an NFS-export at boot with FS-Cache support, the following kernel panic occurs:

TECH PREVIEW: fscache may not be fully supported.
Please review provided documentation for limitations.
FS-Cache: Cache "mycache" added (type cachefiles)
CacheFiles: File cache on dm-0 registered

FS-Cache: Assertion failed
3 == 5 is false
------------[ cut here ]------------
kernel BUG at fs/fscache/operation.c:421!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/firmware/memmap/10/type
CPU 0 
Modules linked in: cachefiles ext3 jbd mbcache dm_mirror dm_region_hash dm_log dm_mod ppdev parport_pc parport vmware_balloon raid0 i2c_piix4 i2c_core sg shpchp ipv6 sr_mod cdrom sd_mod crc_t10dif pata_acpi ata_generic ata_piix mptspi mptscsih mptbase scsi_transport_spi e1000 nfs lockd fscache(T) auth_rpcgss nfs_acl sunrpc [last unloaded: scsi_wait_scan]

Pid: 11, comm: events/0 Tainted: G           ---------------  T 2.6.32-358.2.1.el6.x86_64 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
RIP: 0010:[<ffffffffa006f905>]  [<ffffffffa006f905>] fscache_put_operation+0x1b5/0x230 [fscache]
RSP: 0018:ffff8800ee311df0  EFLAGS: 00010282
RAX: 0000000000000016 RBX: ffff88007f9e3500 RCX: 0000000000001159
RDX: 0000000000000000 RSI: 0000000000000046 RDI: 0000000000000246
RBP: ffff8800ee311e10 R08: 0000000000000000 R09: ffffffff8163fde0
R10: 0000000000000001 R11: 0000000000000000 R12: ffff880002219300
R13: ffffffffa0070dd0 R14: ffff8800ee311fd8 R15: ffff880002219308
FS:  0000000000000000(0000) GS:ffff880002200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 00007f05701bd670 CR3: 00000000835fe000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process events/0 (pid: 11, threadinfo ffff8800ee310000, task ffff8800ee2e0080)
Stack:
 ffff880002219300 ffff88007f9e3500 ffff880002219300 ffffffffa0070dd0
<d> ffff8800ee311e30 ffffffffa0070df3 ffff880002219300 ffff880002219300
<d> ffff8800ee311ee0 ffffffff81090ae0 0000000000000000 0000000000000000
Call Trace:
 [<ffffffffa0070dd0>] ? fscache_retrieval_work+0x0/0x30 [fscache]
 [<ffffffffa0070df3>] fscache_retrieval_work+0x23/0x30 [fscache]
 [<ffffffff81090ae0>] worker_thread+0x170/0x2a0
 [<ffffffff81096ca0>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff81090970>] ? worker_thread+0x0/0x2a0
 [<ffffffff81096936>] kthread+0x96/0xa0
 [<ffffffff8100c0ca>] child_rip+0xa/0x20
 [<ffffffff810968a0>] ? kthread+0x0/0xa0
 [<ffffffff8100c0c0>] ? child_rip+0x0/0x20
Code: 31 c0 e8 2f da 49 e1 48 c7 c7 98 33 07 a0 31 c0 e8 21 da 49 e1 8b 73 48 ba 05 00 00 00 48 c7 c7 66 4b 07 a0 31 c0 e8 0b da 49 e1 <0f> 0b eb fe 48 c7 c7 33 4b 07 a0 31 c0 e8 f9 d9 49 e1 48 c7 c7 
RIP  [<ffffffffa006f905>] fscache_put_operation+0x1b5/0x230 [fscache]
 RSP <ffff8800ee311df0>

Environment

  • Red Hat Enterprise Linux 6.4
  • NFS-export mounting with FS-Cache (fsc mount option, in Tech Preview)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content