Kernel panic on systems with MD Raid devices after updating to 3.10.0-862.6.3.el7 with RIP read_balance

Solution Verified - Updated -

Issue

  • Kernel panic on systems with MD Raid devices after updating to kernel-3.10.0-862.6.3.el7 with RIP read_balance.
[    7.989278] device-mapper: raid: Loading target version 1.13.2
[    7.994932] md/raid1:mdX: active with 2 out of 2 mirrors
[    8.038537] Unable to handle kernel paging request for data at address 0x000005ec
[    8.038552] Faulting instruction address: 0xd000000005c364ac
[    8.038556] Oops: Kernel access of bad area, sig: 11 [#1]
...
[    8.038651] NIP [d000000005c364ac] read_balance+0x2bc/0x5f0 [raid1]
[    8.038655] LR [d000000005c37d70] raid1_make_request+0x170/0x660 [raid1]
[    8.038658] Call Trace:
[    8.038660] [c0000003f7aef2d0] [c0000003f7aef300] 0xc0000003f7aef300 (unreliable)
[    8.038665] [c0000003f7aef390] [d000000005c37d70] raid1_make_request+0x170/0x660 [raid1]
[    8.038672] [c0000003f7aef470] [c0000000007bd208] md_handle_request+0xa8/0x260
[    8.038676] [c0000003f7aef4f0] [d0000000060b08bc] raid_map+0x3c/0x60 [dm_raid]
[    8.038683] [c0000003f7aef510] [d000000001dc2f10] __map_bio+0xb0/0x230 [dm_mod]
[    8.038689] [c0000003f7aef600] [d000000001dc3214] __clone_and_map_data_bio.constprop.19+0x184/0x230 [dm_mod]
[    8.038695] [c0000003f7aef6a0] [d000000001dc3620] __split_and_process_bio+0x360/0x810 [dm_mod]
[    8.038702] [c0000003f7aef7a0] [d000000001dc3c20] dm_make_request+0x150/0x200 [dm_mod]
[    8.038707] [c0000003f7aef7f0] [c0000000004c3624] generic_make_request.part.51+0x274/0x4e0
[    8.038711] [c0000003f7aef8a0] [c0000000004c3a98] submit_bio+0x168/0x220
[    8.038716] [c0000003f7aef950] [c0000000003aeb7c] mpage_readpages+0x14c/0x190
[    8.038720] [c0000003f7aefa30] [c0000000003a5adc] blkdev_readpages+0x2c/0x40
[    8.038724] [c0000003f7aefa50] [c000000000279868] __do_page_cache_readahead+0x1a8/0x2d0
[    8.038729] [c0000003f7aefb30] [c00000000027a040] page_cache_sync_readahead+0x1d0/0x360
[    8.038733] [c0000003f7aefb90] [c000000000264e4c] generic_file_aio_read+0x2cc/0xde0
[    8.038737] [c0000003f7aefc90] [c0000000003a643c] blkdev_aio_read+0x5c/0xb0
[    8.038741] [c0000003f7aefcd0] [c000000000334a64] do_sync_read+0x94/0x110
[    8.038745] [c0000003f7aefdd0] [c000000000337310] SyS_read+0x140/0x3b0
[    8.038750] [c0000003f7aefe30] [c00000000000a284] system_call+0x38/0xfc

Environment

  • Red Hat Enterprise Linux 7
  • kernels from (including) 3.10.0-862.6.3.el7 up to (including) 3.10.0-862.11.6.el7
  • Systems with MD Raid

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