A kernel panic occurred: kernel BUG at fs/gfs2/glock.c:1276!

Solution Verified - Updated -

Issue

A kernel panic occurred shortly after mounting a gfs2 filesystem:

     [  675.893032] gfs2: fsid=cluster:sasdata_20_fs.7: found 3 quota changes
     [  735.283457] gfs2: fsid=cluster:sasdata_20_fs.7: original: do_sync+0x1c4/0x500 [gfs2]
     [  735.283488] gfs2: fsid=cluster:sasdata_20_fs.7: pid: 23315
     [  735.283506] gfs2: fsid=cluster:sasdata_20_fs.7: lock type: 8 req lock state : 1
     [  735.283534] gfs2: fsid=cluster:sasdata_20_fs.7: new: do_sync+0x1c4/0x500 [gfs2]
     [  735.283556] gfs2: fsid=cluster:sasdata_20_fs.7: pid: 23315
     [  735.283574] gfs2: fsid=cluster:sasdata_20_fs.7: lock type: 8 req lock state : 1
     [  735.283598] gfs2: fsid=cluster:sasdata_20_fs.7: G:  s:EX n:8/1 f:Iqb t:EX d:EX/0 a:0 v:0 r:6 m:200
     [  735.283629] gfs2: fsid=cluster:sasdata_20_fs.7:  H: s:EX f:cH e:0 p:23315 [gfs2_quotad] do_sync+0x1c4/0x500 [gfs2]
     [  735.283678] ------------[ cut here ]------------
     [  735.283693] kernel BUG at fs/gfs2/glock.c:1276!
     [  735.283708] invalid opcode: 0000 [#1] SMP
     [  735.283724] Modules linked in: gfs2 dlm [......] libnvdimm vmxnet3 vmw_pvscsi
     [  735.284004]  drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod fuse
     [  735.284033] CPU: 3 PID: 23315 Comm: gfs2_quotad Kdump: loaded Tainted: P            E  ------------   3.10.0-1160.118.1.el7.x86_64 #1
     [  735.284066] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020
     [  735.284096] task: ffff886141358000 ti: ffff88624735c000 task.ti: ffff88624735c000
     [  735.284118] RIP: 0010:[<ffffffffc0a85e8a>]  [<ffffffffc0a85e8a>] gfs2_glock_nq+0x3aa/0x480 [gfs2]
     [  735.284149] RSP: 0018:ffff88624735fcb8  EFLAGS: 00010292
     [  735.284165] RAX: 0000000000000000 RBX: ffff8862d53bb278 RCX: 0000000000000000
     [  735.284963] RDX: 0000000000000000 RSI: 0000000000000246 RDI: ffff8863ffcd38d0
     [  735.285713] RBP: ffff88624735fcf8 R08: 0000000000000000 R09: ffff886336122940
     [  735.286463] R10: 00000000000007a8 R11: 0000000000000000 R12: ffff886211bd1f80
     [  735.287196] R13: ffff886211bd1fd0 R14: ffff886211bd1f80 R15: ffff88626191b8d8
     [  735.287925] FS:  0000000000000000(0000) GS:ffff8863ffcc0000(0000) knlGS:0000000000000000
     [  735.288655] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
     [  735.289398] CR2: 00007efec461a2bc CR3: 0000002f4692a000 CR4: 00000000001607e0
     [  735.290160] Call Trace:
     [  735.290890]  [<ffffffffc0a9900c>] do_sync+0x1cc/0x500 [gfs2]
     [  735.291630]  [<ffffffffc0a994a2>] gfs2_quota_sync+0x162/0x210 [gfs2]
     [  735.292371]  [<ffffffffc0a9af3b>] gfs2_quotad+0x23b/0x2c0 [gfs2]
     [  735.293095]  [<ffffffff840cc790>] ? wake_up_atomic_t+0x40/0x40
     [  735.293813]  [<ffffffffc0a9ad00>] ? gfs2_wake_up_statfs+0x50/0x50 [gfs2]
     [  735.294525]  [<ffffffff840cb621>] kthread+0xd1/0xe0
     [  735.295238]  [<ffffffff840cb550>] ? insert_kthread_work+0x40/0x40
     [  735.295937]  [<ffffffff847c51f7>] ret_from_fork_nospec_begin+0x21/0x21
     [  735.296633]  [<ffffffff840cb550>] ? insert_kthread_work+0x40/0x40
     [  735.297327] Code: 48 8b 43 10 0f b7 4b 22 4c 89 fe 48 c7 c7 50 0c ab c0 8b 50 28 31 c0 e8 c4 59 d2 c3 ba 01 00 00 00 4c 89 f6 31 ff e8 96 dc ff ff <0f> 0b 0f 1f 40 00 48 8b 45 c8 48 85 c0 49 0f 44 c0 48 89 45 c8
     [  735.298863] RIP  [<ffffffffc0a85e8a>] gfs2_glock_nq+0x3aa/0x480 [gfs2]
     [  735.299628]  RSP <ffff88624735fcb8>

Environment

  • Red Hat Enterprise Linux Server 7 (with the High Availability Add On 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