My Oracle Support Banner

Oracle VM Server gets crashed with kernel panic at "kernel BUG at drivers/md/raid5.c:529!" (Doc ID 2480041.1)

Last updated on MAY 26, 2021

Applies to:

Oracle VM - Version 3.4.1 and later
Linux x86-64

Symptoms

Oracle VM Server gets Crashed with below kernel panic,


[2842713.979527] ------------[ cut here ]------------
[2842713.979674] kernel BUG at drivers/md/raid5.c:529!
[2842713.981707] invalid opcode: 0000 [#1] SMP
[2842713.984192] Modules linked in: tun ocfs2 ocfs2_nodemanager configfs ocfs2_stackglue xen_netback xen_blkback xen_gntalloc xen_gntdev xen_evtchn
xenfs xen_privcmd nfsd nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs fscache lockd grace bnx2fc fcoe libfcoe libfc sunrpc bridge stp llc bonding vfat fat
dm_round_robin dm_multipath raid456 async_raid6_recov async_pq async_xor xor async_memcpy async_tx pcspkr raid6_pq shpchp sg cdc_ether usbnet mii
ipmi_devintf ipmi_si ipmi_msghandler ext4 jbd2 mbcache2 raid1 usb_storage sd_mod qla2xxx scsi_transport_fc nvme nvme_core i40e igb dca i2c_algo_bit
i2c_core ptp pps_core ahci libahci xhci_pci xhci_hcd crc32c_intel be2iscsi bnx2i cnic uio cxgb4i cxgb4 cxgb3i libcxgbi ipv6 cxgb3 mdio libiscsi_tcp
qla4xxx iscsi_boot_sysfs libiscsi scsi_transport_iscsi wmi dm_mirror
[2842714.000790] dm_region_hash dm_log dm_mod
[2842714.004358] CPU: 7 PID: 18700 Comm: loop2 Not tainted 4.1.12-124.16.4.el6uek.x86_64 #2
[2842714.007650] Hardware name: Oracle Corporation ORACLE SERVER X7-2L/ASM, MB MECH, X7-2L, BIOS 42040200 08/17/2018
[2842714.011085] task: ffff8805f167b800 ti: ffff880068c84000 task.ti: ffff880068c84000
[2842714.014643] RIP: e030:[<ffffffffa0555c85>] [<ffffffffa0555c85>] get_active_stripe+0x6e5/0x7f0 [raid456]
[2842714.018535] RSP: e02b:ffff880068c874a8 EFLAGS: 00010086
[2842714.022378] RAX: 0000000000000000 RBX: ffff88003e605df0 RCX: dead000000000200
[2842714.026338] RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88003e605df0
[2842714.030436] RBP: ffff880068c87558 R08: ffff88003e605e00 R09: 0000000000000000
[2842714.034529] R10: 0000000000000158 R11: 0000000000000007 R12: 0000000000000003
[2842714.038989] R13: ffff88003e605df0 R14: ffff88000515ec14 R15: ffff88000515ec00
[2842714.043189] FS: 0000000000000000(0000) GS:ffff8806017c0000(0000) knlGS:ffff8806017c0000
[2842714.047781] CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
[2842714.052416] CR2: 00007f170c959000 CR3: 000000001601c000 CR4: 0000000000042660
[2842714.057349] Stack:
[2842714.062587] ffff880068c874f8 ffffffff811e8a56 ffff88000515ec0c ffff88000515ec10
[2842714.068999] 0000000000000003 ffffffff00000000 ffff88000515ec00 0000000000000003
[2842714.075161] 0000000099244158 ffff880000006600 ffff880068c87558 ffffffffa0559831
[2842714.081789] Call Trace:
[2842714.087226] [<ffffffff811e8a56>] ? __kmalloc+0x286/0x2b0
[2842714.092207] [<ffffffffa0559831>] ? add_stripe_bio+0x231/0x7a0 [raid456]
[2842714.097370] [<ffffffffa055a71d>] make_request+0x19d/0xe40 [raid456]
[2842714.102588] [<ffffffffa08c5df2>] ? ocfs2_get_clusters+0x142/0x3c0 [ocfs2]
[2842714.107906] [<ffffffff810ca280>] ? wait_woken+0x90/0x90
[2842714.113258] [<ffffffff8159da52>] md_make_request+0xe2/0x220
[2842714.118716] [<ffffffff8118d5b5>] ? mempool_alloc_slab+0x15/0x20
[2842714.124237] [<ffffffff812f6ff6>] generic_make_request+0xc6/0x1d0
[2842714.130063] [<ffffffff812f7178>] submit_bio+0x78/0x180
[2842714.135710] [<ffffffff816ed26a>] ? _raw_spin_lock_irqsave+0x2a/0x110
[2842714.141642] [<ffffffff8124739c>] do_blockdev_direct_IO+0x22bc/0x2f50
[2842714.147497] [<ffffffffa08a7a00>] ? ocfs2_dio_end_io+0xf0/0xf0 [ocfs2]
[2842714.153421] [<ffffffff81248073>] __blockdev_direct_IO+0x43/0x50
[2842714.159450] [<ffffffffa08a7910>] ? ocfs2_trim_fs+0x990/0x990 [ocfs2]
[2842714.165561] [<ffffffffa08a850f>] ocfs2_direct_IO_write+0x24f/0x1090 [ocfs2]
[2842714.171824] [<ffffffffa08a7910>] ? ocfs2_trim_fs+0x990/0x990 [ocfs2]
[2842714.178116] [<ffffffffa08a93aa>] ocfs2_direct_IO+0x5a/0xa0 [ocfs2]
[2842714.184414] [<ffffffff8118c890>] generic_file_direct_write+0xb0/0x180
[2842714.190796] [<ffffffff8118ca14>] __generic_file_write_iter+0xb4/0x1d0
[2842714.197223] [<ffffffffa08c30d7>] ? ocfs2_inode_unlock+0x67/0x130 [ocfs2]
[2842714.203550] [<ffffffffa08cdba9>] ocfs2_file_write_iter+0x589/0x1360 [ocfs2]
[2842714.209780] [<ffffffff812ee943>] ? bio_free+0x53/0x70
[2842714.215811] [<ffffffffa07b4642>] ? end_block_io_op+0x22/0x30 [xen_blkback]
[2842714.221777] [<ffffffff810bdb4a>] ? update_curr+0xea/0x190
[2842714.227551] [<ffffffff8149a49d>] lo_rw_aio+0x11d/0x270
[2842714.233177] [<ffffffff816e7f3a>] ? __schedule+0x24a/0x810
[2842714.238666] [<ffffffff816e7f3a>] ? __schedule+0x24a/0x810
[2842714.243887] [<ffffffff816e7f3a>] ? __schedule+0x24a/0x810
[2842714.248955] [<ffffffff8149b142>] loop_queue_work+0x7c2/0x7f0
[2842714.253839] [<ffffffff816e7f3a>] ? __schedule+0x24a/0x810
[2842714.258640] [<ffffffff816e7f2e>] ? __schedule+0x23e/0x810
[2842714.263260] [<ffffffff816e7f3a>] ? __schedule+0x24a/0x810
[2842714.267953] [<ffffffff810adac3>] ? finish_task_switch+0x83/0x1d0
[2842714.272309] [<ffffffff816e7f3a>] ? __schedule+0x24a/0x810
[2842714.276621] [<ffffffff816e7f6f>] ? __schedule+0x27f/0x810
[2842714.280779] [<ffffffff8149a980>] ? lo_read_simple.isra.25+0x200/0x200
[2842714.284980] [<ffffffff810a4e62>] kthread_worker_fn+0x92/0x220
[2842714.289217] [<ffffffff810a4dd0>] ? flush_kthread_work+0x190/0x190
[2842714.293384] [<ffffffff810a48bb>] kthread+0xcb/0xf0
[2842714.297608] [<ffffffff816e7f3a>] ? __schedule+0x24a/0x810
[2842714.301692] [<ffffffff816e7f3a>] ? __schedule+0x24a/0x810
[2842714.305675] [<ffffffff810a47f0>] ? kthread_create_on_node+0x180/0x180
[2842714.309673] [<ffffffff816ee0b8>] ret_from_fork+0x58/0x90
[2842714.313564] [<ffffffff810a47f0>] ? kthread_create_on_node+0x180/0x180
[2842714.317493] Code: ff 48 8b 43 48 f6 c4 04 0f 85 d4 fb ff ff 0f 0b 0f 0b
f3 90 48 8b 45 80 8b 40 70 a8 01 75 f3 89 45 88 e9 84 fc ff ff 0f 0b 0f 0b
<0f> 0b 48 89 f2 48 c7 c7 e8 26 56 a0 48 c7 c6 c9 d9 55 a0 31 c0
[2842714.325843] RIP [<ffffffffa0555c85>] get_active_stripe+0x6e5/0x7f0[raid456] <<==================== RIP
[2842714.330022] RSP <ffff880068c874a8>
[2842714.345408] ---[ end trace 260dff10788c82d8 ]---
[2842714.419627] Kernel panic - not syncing: Fatal exception
[2842714.423767] Kernel Offset: disable

Changes

No changes.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.