System crash with "kernel BUG at block/blk-core.c:2281!" following disk errors in a software RAID device

Solution Unverified - Updated -

Issue

  • System crash with kernel BUG at block/blk-core.c:2281! following disk errors in a software RAID device:
sd 1:0:27:0: [sdab] tag#1 Sense Key : Recovered Error [current] [descriptor] 
sd 1:0:27:0: [sdab] tag#1 Add. Sense: Failure prediction threshold exceeded
sd 16:0:27:0: [sdgv] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=26s
sd 16:0:27:0: [sdgv] tag#0 Sense Key : Medium Error [current] [descriptor] 
sd 16:0:27:0: [sdgv] tag#0 Add. Sense: Unrecovered read error
sd 16:0:27:0: [sdgv] tag#0 CDB: Read(16) 88 00 00 00 00 00 00 04 12 00 00 00 01 00 00 00
blk_update_request: critical medium error, dev sdgv, sector 266848
blk_update_request: critical medium error, dev dm-26, sector 266752
------------[ cut here ]------------
kernel BUG at block/blk-core.c:2281!
invalid opcode: 0000 [#1] SMP 
....
CPU: 11 PID: 12202 Comm: md1_raid6 Kdump: loaded Tainted: G           OE  ------------   3.10.0-1160.59.1.el7.x86_64 #1
Hardware name: Supermicro Super Server/X11DPH-T, BIOS 3.4 11/03/2020
task: ffff9b07da3c5280 ti: ffff9b2df1e34000 task.ti: ffff9b2df1e34000
RIP: 0010:[<ffffffff94955e07>]  [<ffffffff94955e07>] generic_make_request+0x377/0x380
RSP: 0018:ffff9b2df1e37b10  EFLAGS: 00010282
....
Call Trace:
 [<ffffffffc0879da1>] ? ops_complete_biofill+0xe1/0x120 [raid456]
 [<ffffffffc03711e9>] ? async_trigger_callback+0x99/0xdf [async_tx]
 [<ffffffffc08764d8>] ops_run_io+0x738/0xbc0 [raid456]
 [<ffffffffc0879cc0>] ? break_stripe_batch_list+0x2a0/0x2a0 [raid456]
 [<ffffffffc0880444>] handle_stripe+0x734/0x21a0 [raid456]
 [<ffffffff946d31f1>] ? __wake_up_common_lock+0x91/0xc0
 [<ffffffffc087e8c1>] ? raid5_get_active_stripe+0x141/0x6e0 [raid456]
 [<ffffffffc0882828>] raid5d+0x338/0x670 [raid456]
 [<ffffffff94ba5f6d>] md_thread+0x16d/0x1e0
....

Environment

  • Red Hat Enterprise Linux 7

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