RHEL 6 "kernel BUG at fs/locks.c:2037!" involving GPFS and Ganesha userspace NFS daemon

Solution In Progress - Updated -

Issue

kernel BUG at fs/locks.c:2037!
invalid opcode: 0000 [#1] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:09.0/0000:24:00.0/infiniband/mthca1/ports/1/phys_state
CPU 0
Modules linked in: bridge lockd mpt2sas raid_class mptctl mmfs26(U) mmfslinux(U) tracedev(U) sunrpc ipt_REDIRECT xt_multiport ipt_REJECT xt_state nf_conntrack_ftp iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables ib_ipoib rds_rdma rds_tcp rds ib_srp scsi_transport_srp ib_iser libiscsi scsi_transport_iscsi ib_umad ib_ucm rdma_ucm ib_uverbs rdma_cm ib_cm iw_cm ib_addr ib_sa bonding ipv6 8021q garp stp llc ext3 jbd dm_multipath dm_mod ipmi_devintf ib_mthca ib_mad ib_core be2net sg cdc_ether usbnet mii microcode serio_raw i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support ioatdma dca i7core_edac edac_core shpchp ext4 jbd2 mbcache sr_mod cdrom sd_mod crc_t10dif lpfc scsi_transport_fc scsi_tgt pata_acpi ata_generic ata_piix mptsas mptscsih mptbase scsi_transport_sas bnx2 [last unloaded: scsi_wait_scan]

Pid: 3493415, comm: gpfs.ganesha.nf Not tainted 2.6.32-358.32.3.el6.x86_64 #1 IBM System x3650 M3 -[7945PDT]-/69Y4438
RIP: 0010:[<ffffffff811cf7cd>]  [<ffffffff811cf7cd>] locks_remove_flock+0xfd/0x120
RSP: 0018:ffff881cfe407af8  EFLAGS: 00010246
RAX: 0000000000000001 RBX: ffff8804c3e26a40 RCX: 0000000000006726
RDX: ffff8804c17a0040 RSI: 0000000000000008 RDI: ffff8804c3e26a40
RBP: ffff881cfe407bc8 R08: ffffffffa0511f00 R09: 0000000000000000
R10: ffff881cfe407b10 R11: 0000000000000001 R12: ffff88186363d290
R13: ffff88186363d180 R14: ffff881a24ee9080 R15: ffff881261819380
FS:  00007f4286e7a280(0000) GS:ffff880028200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000001c022822518 CR3: 0000000001a85000 CR4: 00000000000007f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process gpfs.ganesha.nf (pid: 3493415, threadinfo ffff881cfe406000, task ffff8804c17a0040)
Stack:
 000000001e9f8d76 ffffffff81434989 0000000000000000 ffff881cfe407a08
<d> ffff881929feabc8 ffff881cfe407b68 ffff88245f4ec0c0 0000000000000000
<d> ffff88245f4ec0c0 0000000000000187 ffff881cfe407b58 ffffffff811d0413
Call Trace:
 [<ffffffff81434989>] ? sock_destroy_inode+0x19/0x20
 [<ffffffff811d0413>] ? vfs_lock_file+0x23/0x40
 [<ffffffff811d04c1>] ? locks_remove_posix+0x91/0xc0
 [<ffffffff81199738>] ? d_free+0x58/0x60
 [<ffffffff81182b40>] __fput+0xd0/0x210
 [<ffffffff81182ca5>] fput+0x25/0x30
 [<ffffffff8117e0fd>] filp_close+0x5d/0x90
 [<ffffffff810713cf>] put_files_struct+0x7f/0xf0
 [<ffffffff81071493>] exit_files+0x53/0x70
 [<ffffffff8107350d>] do_exit+0x18d/0x870
 [<ffffffff81185505>] ? chrdev_open+0x125/0x230
 [<ffffffffa04f8f82>] ? cxiCopyIn+0x52/0xa0 [mmfslinux]
 [<ffffffff81073c48>] do_group_exit+0x58/0xd0
 [<ffffffff81088f36>] get_signal_to_deliver+0x1f6/0x460
 [<ffffffff8100a265>] do_signal+0x75/0x800
 [<ffffffff81167b48>] ? alternate_node_alloc+0x98/0xe0
 [<ffffffff811954c4>] ? do_vfs_ioctl+0x84/0x580
 [<ffffffff8100aa80>] do_notify_resume+0x90/0xc0
 [<ffffffff8100b341>] int_signal+0x12/0x17
Code: 49 89 c4 49 8b 04 24 48 85 c0 75 ee e8 7d 1b 34 00 48 81 c4 b8 00 00 00 5b 41 5c 41 5d c9 c3 0f b6 40 30 a8 02 75 09 a8 20 75 0f <0f> 0b 90 eb fd 4c 89 e7 e8 e6 fc ff ff eb b7 be 02 00 00 00 4c
RIP  [<ffffffff811cf7cd>] locks_remove_flock+0xfd/0x120
 RSP <ffff881cfe407af8>

Environment

  • Red Hat Enterprise Linux 6.4 (NFS server)
  • kernel 2.6.32-358.32.3.el6.x86_64
  • GPFS
  • Ganesha

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.