kernel BUG at fs/jbd2/journal.c:2482! or similar

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);

    ------------[ cut here ]------------
    kernel BUG at fs/jbd2/journal.c:2482!
    invalid opcode: 0000 [#1] SMP  
    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
    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
    CPU: 31 PID: 7287 Comm: jbd2/dm-96-8 Not tainted 3.10.0-514.el7.x86_64 #1
    Hardware name: HP Superdome2 16s x86, BIOS Bundle: 008.004.084 SFW: 043.025.000 08/16/2016
    task: ffff887f7381edd0 ti: ffff887f7f284000 task.ti: ffff887f7f284000
    RIP: 0010:[<ffffffffa071ace2>]  [<ffffffffa071ace2>] jbd2_journal_put_journal_head+0x142/0x146 [jbd2]
    RSP: 0018:ffff887f7f287c50  EFLAGS: 00010286
    RAX: 0000000000000000 RBX: ffff88de9820ce38 RCX: ffff887f76c06000
    RDX: 0000000000000000 RSI: ffff889f7f85a0a8 RDI: ffff88dea9015000
    RBP: ffff887f7f287c60 R08: ffffea004b0bed20 R09: ffff88207ffcfa40
    R10: 000000000000005c R11: 0000000000000000 R12: ffff88dea9015000
    R13: ffff88de9820ce38 R14: ffff88dea9015000 R15: ffff881fe8d67600
    FS:  0000000000000000(0000) GS:ffff889f7f840000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: 00002b1cd6c95090 CR3: 000000792e7e6000 CR4: 00000000001407e0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
    Stack:
    ffff881911ea9400 ffff885f7ba34000 ffff887f7f287ca0 ffffffffa0713dbb
    ffffffff811899e0 ffff885f7ba343a0 ffff881ff6b5ca92 ffff88de9820ce38
    ffff88dea9015000 ffff881fe8d67600 ffff887f7f287e40 ffffffffa07120f6
    Call Trace:
    [<ffffffffa0713dbb>] __jbd2_journal_remove_checkpoint+0x5b/0x160 [jbd2]
    [<ffffffff811899e0>] ? free_pages.part.80+0x40/0x50
    [<ffffffffa07120f6>] jbd2_journal_commit_transaction+0x1106/0x19a0 [jbd2]
    [<ffffffff81029569>] ? __switch_to+0xd9/0x4c0
    [<ffffffffa0716e99>] kjournald2+0xc9/0x260 [jbd2]
    [<ffffffff810b1600>] ? wake_up_atomic_t+0x30/0x30
    [<ffffffffa0716dd0>] ? commit_timeout+0x10/0x10 [jbd2]
    [<ffffffff810b052f>] kthread+0xcf/0xe0
    [<ffffffff810b0460>] ? kthread_create_on_node+0x140/0x140
    [<ffffffff81696418>] ret_from_fork+0x58/0x90
    [<ffffffff810b0460>] ? kthread_create_on_node+0x140/0x140
    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 
    RIP  [<ffffffffa071ace2>] jbd2_journal_put_journal_head+0x142/0x146 [jbd2]
    RSP <ffff887f7f287c50>
    

Environment

  • Red Hat Enterprise Linux, versions 6, 7 and 8
  • Affected harware
    • HP Superdome2 x16s
    • HP ProLiant XL420 Gen9
    • Further hardware which contain the affected cpu types
  • 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, 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