System with a GFS2 filesystem mounted is crashing/panicking at "gfs2_glock_hold - BUG at fs/gfs2/glock.c:135!" on RHEL 6

Solution Verified - Updated -

Issue

  • System with a GFS2 filesystem mounted is crashing/panicking at the following line of code fs/gfs2/glock.c:135!. The backtrace is below:
kernel BUG at fs/gfs2/glock.c:135!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.4/usb6/speed
CPU 1 
Modules linked in: tcp_diag inet_diag mptctl mptbase autofs4 gfs2 dlm configfs sunrpc bonding 8021q garp stp llc ipv6 uinput microcode iTCO_wdt iTCO_vendor_support lpc_ich mfd_core hpilo hpwdt i7core_edac edac_core power_meter ses enclosure sg tg3 ptp pps_core netxen_nic shpchp ext4 jbd2 mbcache dm_round_robin sr_mod cdrom sd_mod crc_t10dif qla2xxx scsi_transport_fc scsi_tgt pata_acpi ata_generic ata_piix hpsa(U) radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core dm_multipath dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]

Pid: 9921, comm: dlm_astd Not tainted 2.6.32-431.el6.x86_64 #1 HP ProLiant DL580 G7
RIP: 0010:[<ffffffffa04c7740>]  [<ffffffffa04c7740>] gfs2_glock_hold+0x20/0x30 [gfs2]
RSP: 0018:ffff88083135fd30  EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff880fdfe5c6d0 RCX: 000000000000c062
RDX: 0000000000000000 RSI: 0000000000000046 RDI: 0000000000000246
RBP: ffff88083135fd30 R08: 0000000000000000 R09: 00000000fffffffc
R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000005
FS:  0000000000000000(0000) GS:ffff880045840000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000003e05a1ea50 CR3: 00000007e909c000 CR4: 00000000000007e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process dlm_astd (pid: 9921, threadinfo ffff88083135e000, task ffff8808305aa040)
Stack:
 ffff88083135fd60 ffffffffa04c7daf ffff88083135fd60 ffffffff810a6216
<d> 000000005575359a ffff880fdfe5c6d0 ffff88083135fdb0 ffffffffa04e7d82
<d> ffff88083135fdb0 ffffffffa048c68a ffff88083135fda0 ffff88089cc3dc60
Call Trace:
 [<ffffffffa04c7daf>] gfs2_glock_complete+0x2f/0xc0 [gfs2]
 [<ffffffff810a6216>] ? ktime_get_real+0x16/0x50
 [<ffffffffa04e7d82>] gdlm_ast+0x1d2/0x210 [gfs2]
 [<ffffffffa048c68a>] ? dlm_rem_lkb_callback+0x1da/0x1f0 [dlm]
 [<ffffffffa04e7b60>] ? gdlm_bast+0x0/0x50 [gfs2]
 [<ffffffffa048c863>] process_asts+0x1c3/0x1f0 [dlm]
 [<ffffffffa04e7b60>] ? gdlm_bast+0x0/0x50 [gfs2]
 [<ffffffffa04e7bb0>] ? gdlm_ast+0x0/0x210 [gfs2]
 [<ffffffffa048c915>] dlm_astd+0x85/0xa0 [dlm]
 [<ffffffffa048c890>] ? dlm_astd+0x0/0xa0 [dlm]
 [<ffffffff8109aef6>] kthread+0x96/0xa0
 [<ffffffff8100c20a>] child_rip+0xa/0x20
 [<ffffffff8109ae60>] ? kthread+0x0/0xa0
 [<ffffffff8100c200>] ? child_rip+0x0/0x20
Code: 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 0f 1f 44 00 00 8b 47 30 85 c0 74 06 f0 ff 47 30 c9 c3 48 89 fe 31 ff e8 f0 fc ff ff <0f> 0b eb fe 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 48 
RIP  [<ffffffffa04c7740>] gfs2_glock_hold+0x20/0x30 [gfs2]
 RSP <ffff88083135fd30>

Environment

  • Red Hat Enterprise Linux Server 6 (with the High Availability and Resilient Storage Add Ons)
  • A Global Filesystem 2(GFS2)

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