The kernel crashes with a message "kernel BUG at arch/x86/kernel/nmi.c:502!". The kernel ring buffer is flooded with "BUG: scheduling while atomic: gdb/219265/0xfffffe00".
Issue
- The kernel crashes with a message "kernel BUG at arch/x86/kernel/nmi.c:502!". The kernel ring buffer is flooded with "BUG: scheduling while atomic: gdb/219265/0xfffffe00".
[5001522.871114] BUG: scheduling while atomic: gdb/219265/0xfffffe00
[5001522.871205] Modules linked in: oracleacfs(POE) oracleadvm(POE) oracleoks(POE) b9k_8544(POE) cbproxy_cbp_854_20201103(POE) nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache oracleasm(O) rpcrdma sunrpc ib_isert iscsi_target_mod ib_iser libiscsi scsi_transport_iscsi ib_srpt target_core_mod ib_srp scsi_transport_srp ib_ipoib rdma_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm skx_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm ib_core irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd joydev dm_service_time ipmi_ssif pcspkr sg wmi ipmi_si ipmi_devintf ipmi_msghandler tpm_crb acpi_power_meter acpi_pad mei_me mei lpc_ich dm_multipath binfmt_misc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic mgag200
[5001522.871227] i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm fnic ahci libfcoe crct10dif_pclmul crct10dif_common crc32c_intel libahci libfc enic libata megaraid_sas scsi_transport_fc scsi_tgt drm_panel_orientation_quirks nfit libnvdimm dm_mirror dm_region_hash dm_log dm_mod [last unloaded: oracleoks]
[5001522.871237] CPU: 4 PID: 219265 Comm: gdb Kdump: loaded Tainted: P W OEL ------------ 3.10.0-1160.11.1.el7.x86_64 #1
[5001522.871238] Hardware name: Cisco Systems Inc UCSB-B200-M5/UCSB-B200-M5, BIOS B200M5.4.0.4i.0.0831191120 08/31/2019
[5001522.871239] Call Trace:
[5001522.871242] [<ffffffffac780faa>] dump_stack+0x19/0x1b
[5001522.871243] [<ffffffffac77ab4f>] __schedule_bug+0x64/0x72
[5001522.871245] [<ffffffffac786d02>] __schedule+0x7c2/0x860
[5001522.871247] [<ffffffffac78e975>] ? do_page_fault+0x35/0x90
[5001522.871249] [<ffffffffac787c31>] schedule_user+0x31/0xc0
[5001522.871251] [<ffffffffac78a516>] retint_careful+0x14/0x32
[5001522.892756] ------------[ cut here ]------------
[5001522.892852] kernel BUG at arch/x86/kernel/nmi.c:502!
[5001522.892955] invalid opcode: 0000 [#1] SMP
[5001522.893060] Modules linked in: oracleacfs(POE) oracleadvm(POE) oracleoks(POE) b9k_8544(POE) cbproxy_cbp_854_20201103(POE) nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache oracleasm(O) rpcrdma sunrpc ib_isert iscsi_target_mod ib_iser libiscsi scsi_transport_iscsi ib_srpt target_core_mod ib_srp scsi_transport_srp ib_ipoib rdma_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm skx_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm ib_core irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd joydev dm_service_time ipmi_ssif pcspkr sg wmi ipmi_si ipmi_devintf ipmi_msghandler tpm_crb acpi_power_meter acpi_pad mei_me mei lpc_ich dm_multipath binfmt_misc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic mgag200
[5001522.894220] i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm fnic ahci libfcoe crct10dif_pclmul crct10dif_common crc32c_intel libahci libfc enic libata megaraid_sas scsi_transport_fc scsi_tgt drm_panel_orientation_quirks nfit libnvdimm dm_mirror dm_region_hash dm_log dm_mod [last unloaded: oracleoks]
[5001522.895030] CPU: 4 PID: 219265 Comm: gdb Kdump: loaded Tainted: P W OEL ------------ 3.10.0-1160.11.1.el7.x86_64 #1
[5001522.895633] Hardware name: Cisco Systems Inc UCSB-B200-M5/UCSB-B200-M5, BIOS B200M5.4.0.4i.0.0831191120 08/31/2019
[5001522.895974] task: ffff9b767853a100 ti: ffff9b906168c000 task.ti: ffff9b906168c000
[5001522.896321] RIP: 0010:[<ffffffffac78bd37>] [<ffffffffac78bd37>] do_nmi+0x337/0x460
[5001522.896685] RSP: 0000:ffff9b943bf08eb8 EFLAGS: 00010002
[5001522.897052] RAX: 0000000000000000 RBX: ffff9b943bf08ef8 RCX: ffff9b943bf10e48
[5001522.897427] RDX: ffff9b943bf10e48 RSI: ffffffffffffffff RDI: ffff9b906168ffd8
[5001522.897812] RBP: ffff9b943bf08ee8 R08: 00000000ffffffff R09: 0000000000035802
[5001522.898206] R10: 0000000000000000 R11: 0000000000000282 R12: ffff9b906168ffd8
[5001522.898607] R13: 00000000ffffffff R14: ffff9b906168ffd8 R15: 00000000ffffffff
[5001522.899017] FS: 00007fa195370840(0000) GS:ffff9b943bf00000(0000) knlGS:0000000000000000
[5001522.899434] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[5001522.899859] CR2: 00007fa193033800 CR3: 00000002fed7c000 CR4: 00000000007607e0
[5001522.900298] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[5001522.900742] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[5001522.901190] PKRU: 55555554
[5001522.901637] Call Trace:
[5001522.902089] <NMI>
[5001522.902096] [<ffffffffac78ad9c>] end_repeat_nmi+0x1e/0x81
[5001522.903010] [<ffffffffac78aaac>] ? error_swapgs+0x8d/0xc0
[5001522.903477] [<ffffffffac78aaac>] ? error_swapgs+0x8d/0xc0
[5001522.903945] [<ffffffffac78aaac>] ? error_swapgs+0x8d/0xc0
[5001522.904412] <EOE>
[5001522.904418] Code:
[5001522.904887] 53 e8 4e 19 8e ff 66 90 e9 c6 fd ff ff 0f 1f 80 00 00 00 00 e8 0b 58 8b ff 65 c7 05 20 49 88 53 00 00 00 00 e9 92 fd ff ff 0f 0b <0f> 0b 0f b6 f1 48 c7 c7 88 4c a6 ac 65 8b 15 da 22 88 53 e8 ea
[5001522.905947] RIP [<ffffffffac78bd37>] do_nmi+0x337/0x460
[5001522.906470] RSP <ffff9b943bf08eb8>
Environment
- Red Hat Enterprise Linux 7.9.z (kernel-3.10.0-1160.11.1.el7)
- gdb
- Oracle Database 12cR2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.