kernel BUG at fs/jbd2/journal.c:2482! or fs/jbd2/journal.c:2550 (also seen with line 2547)

Solution Verified - Updated -

Issue

  • kernel panics with kernel BUG at fs/jbd2/journal.c:2482! which is J_ASSERT_JH(jh, jh->b_transaction == NULL);
[32386.065177] ------------[ cut here ]------------
[32386.070257] kernel BUG at fs/jbd2/journal.c:2482!
[32386.075426] invalid opcode: 0000 [#1] SMP 
[32386.079949] Modules linked in: bnx2i cnic uio rpcrdma ib_isert iscsi_target_mod ib_iser libiscsi ib_srpt target_core_mod ib_srp scsi_transport_srp rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm iw_cm ib_ipoib ib_cm mlx4_ib ib_core mlx4_en mlx4_core devlink fuse binfmt_misc rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache scsi_transport_iscsi nf_conntrack_ftp ip6t_rpfilter bonding ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security vfat iptable_raw fat iptable_filter ext4 mbcache jbd2 intel_powerclamp
[32386.159193]  coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ghash_clmulni_intel iTCO_wdt iTCO_vendor_support aesni_intel lrw gf128mul glue_helper ablk_helper cryptd pcspkr osst ses sb_edac enclosure ch scsi_transport_sas st hpilo hpwdt ioatdma edac_core lpc_ich ipmi_devintf shpchp dca ipmi_si ipmi_msghandler sg nfsd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables xfs dm_service_time sd_mod crc_t10dif crct10dif_generic dm_multipath crct10dif_pclmul crct10dif_common crc32c_intel mgag200 i2c_algo_bit bnx2x qla2xxx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops mdio scsi_transport_fc ttm ptp scsi_tgt drm pps_core i2c_core libcrc32c dm_mirror dm_region_hash dm_log dm_mod
[32386.226624] CPU: 31 PID: 7287 Comm: jbd2/dm-96-8 Not tainted 3.10.0-514.el7.x86_64 #1
[32386.235232] Hardware name: HP Superdome2 16s x86, BIOS Bundle: 008.004.084 SFW: 043.025.000 08/16/2016
[32386.245464] task: ffff887f7381edd0 ti: ffff887f7f284000 task.ti: ffff887f7f284000
[32386.253691] RIP: 0010:[<ffffffffa071ace2>]  [<ffffffffa071ace2>] jbd2_journal_put_journal_head+0x142/0x146 [jbd2]
[32386.265015] RSP: 0018:ffff887f7f287c50  EFLAGS: 00010286
[32386.270855] RAX: 0000000000000000 RBX: ffff88de9820ce38 RCX: ffff887f76c06000
[32386.278698] RDX: 0000000000000000 RSI: ffff889f7f85a0a8 RDI: ffff88dea9015000
[32386.286543] RBP: ffff887f7f287c60 R08: ffffea004b0bed20 R09: ffff88207ffcfa40
[32386.294386] R10: 000000000000005c R11: 0000000000000000 R12: ffff88dea9015000
[32386.302232] R13: ffff88de9820ce38 R14: ffff88dea9015000 R15: ffff881fe8d67600
[32386.310076] FS:  0000000000000000(0000) GS:ffff889f7f840000(0000) knlGS:0000000000000000
[32386.318971] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[32386.325287] CR2: 00002b1cd6c95090 CR3: 000000792e7e6000 CR4: 00000000001407e0
[32386.333129] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[32386.340971] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[32386.348816] Stack:
[32386.351025]  ffff881911ea9400 ffff885f7ba34000 ffff887f7f287ca0 ffffffffa0713dbb
[32386.359192]  ffffffff811899e0 ffff885f7ba343a0 ffff881ff6b5ca92 ffff88de9820ce38
[32386.367365]  ffff88dea9015000 ffff881fe8d67600 ffff887f7f287e40 ffffffffa07120f6
[32386.375535] Call Trace:
[32386.378257]  [<ffffffffa0713dbb>] __jbd2_journal_remove_checkpoint+0x5b/0x160 [jbd2]
[32386.386782]  [<ffffffff811899e0>] ? free_pages.part.80+0x40/0x50
[32386.393389]  [<ffffffffa07120f6>] jbd2_journal_commit_transaction+0x1106/0x19a0 [jbd2]
[32386.402100]  [<ffffffff81029569>] ? __switch_to+0xd9/0x4c0
[32386.408131]  [<ffffffffa0716e99>] kjournald2+0xc9/0x260 [jbd2]
[32386.414551]  [<ffffffff810b1600>] ? wake_up_atomic_t+0x30/0x30
[32386.420967]  [<ffffffffa0716dd0>] ? commit_timeout+0x10/0x10 [jbd2]
[32386.427858]  [<ffffffff810b052f>] kthread+0xcf/0xe0
[32386.433218]  [<ffffffff810b0460>] ? kthread_create_on_node+0x140/0x140
[32386.440402]  [<ffffffff81696418>] ret_from_fork+0x58/0x90
[32386.446335]  [<ffffffff810b0460>] ? kthread_create_on_node+0x140/0x140
[32386.453509] Code: c7 c6 80 b5 71 a0 48 c7 c7 e8 d8 71 a0 31 c0 e8 2b 47 f6 e0 48 8b 73 20 49 8b 7c 24 20 e8 f7 f8 ff ff e9 64 ff ff ff 0f 0b 0f 0b <0f> 0b 0f 0b 55 48 89 e5 0f 0b 55 48 89 e5 0f 0b 0f 1f 44 00 00 
[32386.474936] RIP  [<ffffffffa071ace2>] jbd2_journal_put_journal_head+0x142/0x146 [jbd2]
[32386.483653]  RSP <ffff887f7f287c50>

Environment

  • Red Hat Enterprise Linux, versions 6, 7 and 8
  • HP Superdome2 x16s
  • HP ProLiant XL420 Gen9
  • Affected cpu types (from: egrep 'cpu family|model|stepping' proc/cpuinfo |grep -v name|head -3):
    • cpu family 6 / model 79 / stepping 1
    • cpu family 6 / model 63 / stepping 1

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