kernel BUG at /data/workspace/Release-Linux-Build/ampcx/fireamp-linux/redirfs/src/redirfs/rfs_inode.c:61!

Solution Unverified - Updated -

Issue

  • Kernel panic with following call traces:
kernel BUG at /data/workspace/Release-Linux-Build/ampcx/fireamp-linux/redirfs/src/redirfs/rfs_inode.c:61!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/devices/pci0000:00/0000:00:10.0/host0/target0:0:0/0:0:0:0/state
CPU 0 
Modules linked in: ampnetworkflow(U) ampavflt(U) redirfs(U) nf_conntrack_ipv4 nf_defrag_ipv4 ip6table_filter ip6_tables xt_conntrack nf_conntrack xt_multiport xt_set iptable_filter ip_tables ip_set_hash_net ip_set nfnetlink tcp_diag inet_diag nfs lockd fscache auth_rpcgss nfs_acl sunrpc autofs4 ipv6 vsock(U) ppdev vmware_balloon parport_pc parport microcode vmxnet3 vmci(U) i2c_piix4 sg shpchp ext4 jbd2 mbcache dm_round_robin sr_mod cdrom sd_mod crc_t10dif pata_acpi ata_generic ata_piix mptspi mptscsih mptbase scsi_transport_spi vmwgfx ttm drm_kms_helper drm i2c_core dm_multipath dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib]

Pid: 11412, comm: find Not tainted 2.6.32-696.18.7.el6.x86_64 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
RIP: 0010:[<ffffffffa057e2b8>]  [<ffffffffa057e2b8>] rfs_inode_get+0x38/0x50 [redirfs]
RSP: 0018:ffff880102efb328  EFLAGS: 00010246
RAX: ffff8801414f8198 RBX: ffff8801fc39f4e8 RCX: ffff8801fc39f518
RDX: 0000000000000000 RSI: ffff8801b8a05480 RDI: ffff8801414f8198
RBP: ffff880102efb328 R08: ffff8801f4a1d650 R09: dead000000200200
R10: 000000000000a701 R11: ffff8801640f3528 R12: ffff8801b8a05480
R13: ffff88017b16ac80 R14: ffff8801fc39f4e8 R15: ffff880102efb358
FS:  00007f74a1fa87a0(0000) GS:ffff88002f600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00007f31698c1000 CR3: 0000000195a02000 CR4: 00000000000407f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
Process find (pid: 11412, threadinfo ffff880102ef8000, task ffff8802391e8040)
Stack:
 ffff880102efb348 ffffffffa057fbc9 ffff880102efb388 ffff8801b8a05480
<d> ffff880102efb3d8 ffffffffa057d8b1 ffff8801f4a1d600 ffff8801fc39f4e8
<d> ffff8801f4a1d710 ffff88002f615e40 ffffffff81abcd80 0000000000000007
Call Trace:
 [<ffffffffa057fbc9>] rfs_dcache_rinode_del+0x59/0x90 [redirfs]
 [<ffffffffa057d8b1>] rfs_d_iput+0xf1/0x1c0 [redirfs]
 [<ffffffff811b45cc>] dentry_iput+0x7c/0x100
 [<ffffffff811b4741>] d_kill+0x31/0x60
 [<ffffffff811b485a>] prune_one_dentry+0xea/0x110
 [<ffffffff811b4b08>] __shrink_dcache_sb+0x288/0x2c0
 [<ffffffff8155747e>] ? apic_timer_interrupt+0xe/0x20
 [<ffffffff811b4c69>] shrink_dcache_memory+0x129/0x1e0
 [<ffffffff8114847a>] shrink_slab+0x13a/0x1b0
 [<ffffffff8114b0a6>] zone_reclaim+0x356/0x570
 [<ffffffff810a71a0>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff8113cd9c>] get_page_from_freelist+0x6ac/0x870
 [<ffffffff8106b73e>] ? perf_event_task_sched_out+0x2e/0x70
 [<ffffffff81074a83>] ? dequeue_entity+0x113/0x2e0
 [<ffffffff81065cc0>] ? __dequeue_entity+0x30/0x50
 [<ffffffff8113e929>] __alloc_pages_nodemask+0x129/0x950
 [<ffffffffa03db2f8>] ? rpc_release_client+0x88/0xa0 [sunrpc]
 [<ffffffff8117fa82>] kmem_getpages+0x62/0x170
 [<ffffffff811800ef>] cache_grow+0x2cf/0x320
 [<ffffffff81180342>] cache_alloc_refill+0x202/0x240
 [<ffffffff81181267>] kmem_cache_alloc+0x167/0x190
 [<ffffffffa0487030>] ? nfs_find_actor+0x0/0x90 [nfs]
 [<ffffffffa04862ea>] nfs_alloc_inode+0x1a/0x70 [nfs]
 [<ffffffff811b84f7>] alloc_inode+0x27/0xa0
 [<ffffffff811b96f8>] iget5_locked+0x88/0x1b0
 [<ffffffffa0486470>] ? nfs_init_locked+0x0/0x40 [nfs]
 [<ffffffffa04888af>] nfs_fhget+0xcf/0x750 [nfs]
 [<ffffffffa0482b21>] nfs_lookup+0x1a1/0x220 [nfs]
 [<ffffffff811aa6c5>] do_lookup+0x1a5/0x230
 [<ffffffff811ab243>] __link_path_walk+0x763/0x1060
 [<ffffffff810097b4>] ? __switch_to+0x194/0x320
 [<ffffffff811abdfa>] path_walk+0x6a/0xe0
 [<ffffffff811ac00b>] filename_lookup+0x6b/0xc0
 [<ffffffff811ad137>] user_path_at+0x57/0xa0
 [<ffffffff811b62f2>] ? dput+0x32/0x160
 [<ffffffffa04891f2>] ? nfs_getattr+0x1a2/0x210 [nfs]
 [<ffffffff8129a915>] ? _atomic_dec_and_lock+0x55/0x80
 [<ffffffff811bd480>] ? mntput_no_expire+0x30/0x110
 [<ffffffff811a01d4>] ? cp_new_stat+0xe4/0x100
 [<ffffffff811a0410>] vfs_fstatat+0x50/0xa0
 [<ffffffff811a0484>] sys_newfstatat+0x24/0x50
 [<ffffffff81556627>] ? system_call_after_swapgs+0x187/0x220
 [<ffffffff81556620>] ? system_call_after_swapgs+0x180/0x220
 [<ffffffff81556619>] ? system_call_after_swapgs+0x179/0x220
 [<ffffffff81556612>] ? system_call_after_swapgs+0x172/0x220
 [<ffffffff8155660b>] ? system_call_after_swapgs+0x16b/0x220
 [<ffffffff81556604>] ? system_call_after_swapgs+0x164/0x220
 [<ffffffff815565fd>] ? system_call_after_swapgs+0x15d/0x220
 [<ffffffff815565f6>] ? system_call_after_swapgs+0x156/0x220
 [<ffffffff815565ef>] ? system_call_after_swapgs+0x14f/0x220
 [<ffffffff815565e8>] ? system_call_after_swapgs+0x148/0x220
 [<ffffffff815565e1>] ? system_call_after_swapgs+0x141/0x220
 [<ffffffff815565da>] ? system_call_after_swapgs+0x13a/0x220
 [<ffffffff815566d6>] system_call_fastpath+0x16/0x1b
 [<ffffffff8155656a>] ? system_call_after_swapgs+0xca/0x220
Code: 89 f8 75 07 c9 c3 0f 1f 44 00 00 48 81 ff 00 f0 ff ff 77 13 8b 97 24 01 00 00 85 d2 74 0d f0 ff 87 24 01 00 00 c9 c3 31 c0 c9 c3 <0f> 0b 66 0f 1f 44 00 00 eb f8 66 66 66 66 66 2e 0f 1f 84 00 00 
RIP  [<ffffffffa057e2b8>] rfs_inode_get+0x38/0x50 [redirfs]
 RSP <ffff880102efb328>

Environment

  • Red Hat Enterprise Linux 6
  • redirfs Unsigned (U) kernel module

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