BUGON condition was encountered while assigning a page to an SG entry in function sg_set_page
Issue
- BUGON condition was encountered while assigning a page to an SG entry in function 'sg_set_page'. The captured vmcore indicates the kernel ring buffer as follows :
[ 320.819022] ------------[ cut here ]------------
[ 320.819072] kernel BUG at include/linux/scatterlist.h:73!
[ 320.819102] invalid opcode: 0000 [#1] SMP
[ 320.819132] Modules linked in: oracleacfs(POE) oracleadvm(POE) oracleoks(POE) oracleafd(POE) macsec tcp_diag udp_diag inet_diag unix_diag af_packet_diag netlink_diag nfsv3 nfs_acl rpcsec_gss_krb5 nfsv4 dns_resolver nfs lockd grace fscache rpcrdma 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 ext4 mbcache jbd2 iTCO_wdt iTCO_vendor_support dm_round_robin sb_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd dm_service_time pcspkr ipmi_ssif ocrdma(T) ib_core hpilo ioatdma hpwdt dca ipmi_si lpc_ich ipmi_devintf wmi ipmi_msghandler video acpi_power_meter pcc_cpufreq ses
[ 320.819811] enclosure sg dm_multipath auth_rpcgss sunrpc binfmt_misc ip_tables xfs libcrc32c sd_mod lpfc mgag200 qla2xxx i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm nvmet_fc nvmet crc_t10dif crc32c_intel crct10dif_generic crct10dif_pclmul nvme_fc serio_raw nvme_fabrics hpsa nvme_core be2net scsi_transport_fc drm_panel_orientation_quirks scsi_transport_sas scsi_tgt crct10dif_common dm_mirror dm_region_hash dm_log dm_mod
[ 320.820210] CPU: 14 PID: 5557 Comm: kdmwork-253:19 Kdump: loaded Tainted: P OE ------------ T 3.10.0-1062.9.1.el7.x86_64 #1
[ 320.820270] Hardware name: HP ProLiant BL460c Gen8, BIOS I31 01/22/2018
[ 320.820305] task: ffff908e2efcb150 ti: ffff908e31f94000 task.ti: ffff908e31f94000
[ 320.820342] RIP: 0010:[<ffffffffbaf7abe5>] [<ffffffffbaf7abe5>] sg_set_page.part.23+0x4/0x6
[ 320.820392] RSP: 0018:ffff908e31f97b28 EFLAGS: 00010002
[ 320.820419] RAX: ffff90ae3d38ca40 RBX: ffff906fd2823000 RCX: ffffffffbb28201a
[ 320.820455] RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff90ae3d38ca20
[ 320.820491] RBP: ffff908e31f97b28 R08: 0000000000000000 R09: 0000000000000000
[ 320.820527] R10: ffff908e30daaff8 R11: 00000017e2236000 R12: ffff908e31f97ba0
[ 320.820564] R13: ffff908e31f97b98 R14: ffff908e31f97b90 R15: 0000000000000000
[ 320.820600] FS: 0000000000000000(0000) GS:ffff90ae3ef00000(0000) knlGS:0000000000000000
[ 320.820639] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 320.820669] CR2: 0000000077dc7000 CR3: 00000027e8a10000 CR4: 00000000001607e0
[ 320.820705] Call Trace:
[ 320.820728] [<ffffffffbab5772c>] __blk_segment_map_sg+0x19c/0x1a0
[ 320.820763] [<ffffffffbab96a3a>] ? sg_init_table+0x1a/0x40
[ 320.820794] [<ffffffffbab578db>] blk_rq_map_sg+0x9b/0x220
[ 320.820825] [<ffffffffbace5e09>] scsi_init_sgtable+0x49/0x70
[ 320.820857] [<ffffffffbace5e7e>] scsi_init_io+0x4e/0x200
[ 320.822593] [<ffffffffc027339d>] sd_setup_read_write_cmnd+0x3d/0x950 [sd_mod]
[ 320.824043] [<ffffffffbacdd80a>] ? __scsi_get_command+0x1a/0xf0
[ 320.825206] [<ffffffffc0273cdf>] sd_init_command+0x2f/0xc0 [sd_mod]
[ 320.826353] [<ffffffffbace6141>] scsi_setup_cmnd+0x111/0x1c0
[ 320.827496] [<ffffffffbace62cb>] scsi_prep_fn+0xdb/0x180
[ 320.828617] [<ffffffffbab5254a>] blk_peek_request+0x17a/0x2a0
[ 320.829764] [<ffffffffbace7c98>] scsi_request_fn+0x48/0x680
[ 320.830810] [<ffffffffbab4f079>] __blk_run_queue+0x39/0x50
[ 320.831799] [<ffffffffbab4a473>] __elv_add_request+0xd3/0x260
[ 320.832804] [<ffffffffbab52120>] blk_insert_cloned_request+0xe0/0x1a0
[ 320.833825] [<ffffffffc0115d9d>] map_request+0x15d/0x2a0 [dm_mod]
[ 320.834801] [<ffffffffc0115ef6>] map_tio_request+0x16/0x40 [dm_mod]
[ 320.835733] [<ffffffffba8c65b5>] kthread_worker_fn+0x85/0x180
[ 320.836628] [<ffffffffba8c6530>] ? kthread_stop+0xf0/0xf0
[ 320.837501] [<ffffffffba8c61f1>] kthread+0xd1/0xe0
[ 320.838407] [<ffffffffba8c6120>] ? insert_kthread_work+0x40/0x40
[ 320.839280] [<ffffffffbaf8dd37>] ret_from_fork_nospec_begin+0x21/0x21
[ 320.840135] [<ffffffffba8c6120>] ? insert_kthread_work+0x40/0x40
[ 320.840992] Code: e1 f3 a4 74 05 e8 ec 0a 92 ff 48 8d 65 e8 5b 41 5c 41 5d 5d c3 55 48 89 e5 0f 0b 55 48 89 e5 0f 0b 55 48 89 e5 0f 0b 55 48 89 e5 <0f> 0b 55 48 89 e5 0f 0b 55 48 89 e5 0f 0b 55 48 89 e5 0f 0b 0f
[ 320.842869] RIP [<ffffffffbaf7abe5>] sg_set_page.part.23+0x4/0x6
[ 320.843740] RSP <ffff908e31f97b28>
Environment
- Red Hat Enterprise Linux
- Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.