Kernel panic with "FS-Cache: 1 > 0 is false"
Issue
-
Kernel panic with below log:
[19674653.696304] FS-Cache: 1 > 0 is false [19674653.697890] ------------[ cut here ]------------ [19674653.699538] kernel BUG at fs/fscache/cookie.c:527! [19674653.701166] invalid opcode: 0000 [#1] SMP [19674653.702641] Modules linked in: mvfs(OE) vsock_diag unix_diag af_packet_diag netlink_diag ip6table_filter ip6_tables mmfs26(OE) mmfslinux(OE) tracedev(OE) vxglm(POE) gab(POE) tcp_diag udp_diag inet_diag llt(POE) rpcrdma ib_isert iscsi_target_mod ib_iser libiscsi scsi_transport_iscsi ib_srpt target_core_mod ib_srp scsi_transport_srp scsi_tgt ib_ipoib rdma_ucm ib_uverbs ib_umad rdma_cm iw_cm ib_cm ib_core nfsv3 nfs_acl rpcsec_gss_krb5 nfsv4 dns_resolver nfs lockd grace fscache amf(POE) xt_comment vmw_vsock_vmci_transport iptable_filter vsock iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 veki(POE) nf_nat_ipv4 nf_nat nf_conntrack libcrc32c ppdev vmw_balloon sb_edac iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd joydev pcspkr sg vmw_vmci parport_pc i2c_piix4 [19674653.710118] parport auth_rpcgss sunrpc binfmt_misc ip_tables ext4 mbcache jbd2 sr_mod cdrom ata_generic pata_acpi sd_mod crc_t10dif crct10dif_generic vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm ata_piix libata crct10dif_pclmul crct10dif_common crc32c_intel serio_raw vmxnet3 vmw_pvscsi drm_panel_orientation_quirks floppy dm_mirror dm_region_hash dm_log dm_mod [last unloaded: mvfs] [19674653.714888] CPU: 4 PID: 25874 Comm: bash Kdump: loaded Tainted: P OE ------------ 3.10.0-1062.18.1.el7.x86_64 #1 [19674653.716407] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 09/21/2015 [19674653.717996] task: ffff8e58382c5230 ti: ffff8e55e011c000 task.ti: ffff8e55e011c000 [19674653.719572] RIP: 0010:[<ffffffffc1b9621c>] [<ffffffffc1b9621c>] __fscache_disable_cookie+0x1dc/0x200 [fscache] [19674653.721172] RSP: 0018:ffff8e55e011fbc8 EFLAGS: 00010246 [19674653.722600] RAX: 0000000000000018 RBX: ffff8e5082d64760 RCX: 0000000000000000 [19674653.724134] RDX: 0000000000000000 RSI: ffff8e55a7b13898 RDI: ffff8e55a7b13898 [19674653.725632] RBP: ffff8e55e011fbf0 R08: 0000000000000000 R09: ffff8e559facbac0 [19674653.726945] R10: 00000000001491d3 R11: ffffa823871279d8 R12: ffff8e525e496280 [19674653.728392] R13: ffff8e5082d64760 R14: 0000000000000000 R15: ffff8e55f10a7a10 [19674653.729853] FS: 00007f9ecc4fa740(0000) GS:ffff8e55a7b00000(0000) knlGS:0000000000000000 [19674653.731218] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [19674653.732605] CR2: 00007f9ecc4c4000 CR3: 000000067103e000 CR4: 00000000000607e0 [19674653.733890] Call Trace: [19674653.735254] [<ffffffffc0753a2d>] nfs_fscache_open_file+0x6d/0xe0 [nfs] [19674653.736657] [<ffffffffc07405ee>] nfs_open+0x5e/0xb0 [nfs] [19674653.737960] [<ffffffffc073c81d>] nfs_file_open+0x4d/0x80 [nfs] [19674653.739187] [<ffffffffa4448356>] do_dentry_open+0x216/0x2c0 [19674653.740437] [<ffffffffc073c7d0>] ? nfs_file_fsync+0x110/0x110 [nfs] [19674653.741681] [<ffffffffa444849a>] vfs_open+0x5a/0xb0 [19674653.742951] [<ffffffffa4456a9a>] ? may_open+0x5a/0x120 [19674653.744139] [<ffffffffa44591c6>] do_last+0x1f6/0x1290 [19674653.745310] [<ffffffffa445c05d>] path_openat+0xcd/0x5a0 [19674653.746411] [<ffffffffa445d9cd>] do_filp_open+0x4d/0xb0 [19674653.747506] [<ffffffffa446b4c7>] ? __alloc_fd+0x47/0x170 [19674653.748572] [<ffffffffa4449924>] do_sys_open+0x124/0x220 [19674653.749614] [<ffffffffa498de15>] ? system_call_after_swapgs+0xa2/0x146 [19674653.750625] [<ffffffffa4449a3e>] SyS_open+0x1e/0x20 [19674653.751606] [<ffffffffa498dede>] system_call_fastpath+0x25/0x2a [19674653.752476] [<ffffffffa498de21>] ? system_call_after_swapgs+0xae/0x146 [19674653.753423] Code: c1 31 c0 e8 49 e9 dd e2 48 c7 c7 41 d7 b9 c1 31 c0 e8 3b e9 dd e2 49 63 74 24 08 31 d2 48 c7 c7 68 cb b9 c1 31 c0 e8 26 e9 dd e2 <0f> 0b 48 8b 77 20 31 c0 48 c7 c7 88 cb b9 c1 e8 12 e9 dd e2 0f [19674653.755361] RIP [<ffffffffc1b9621c>] __fscache_disable_cookie+0x1dc/0x200 [fscache] [19674653.756242] RSP <ffff8e55e011fbc8>
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- nfs and fscache
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.