System crash due to double completion within megaraid_sas driver while in configuration without JBOD MAP support

Solution Unverified - Updated -

Issue

  • System crash due to double completion within megaraid_sas driver:
sd 15:0:33:0: [sdb] tag#95 task abort called for scmd(ffff94152d623800)
sd 15:0:33:0: [sdb] tag#95 CDB: Read(16) 88 00 00 00 00 00 01 b9 0c 48 00 00 02 00 00 00
sd 15:0:33:0: [sdb] tag#95 Abort request is for SMID: 96
sd 15:0:33:0: Firmware expose tmCapable without JBOD MAP support from megasas_get_tm_devhandle 4384
sd 15:0:33:0: task abort issued for invalid devhandle
sd 15:0:33:0: task abort: SUCCESS scmd(ffff94152d623800)
sd 15:0:33:0: timing out command, waited 1080s
scsi_io_completion: 5 callbacks suppressed
sd 15:0:33:0: [sdb] tag#188 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
sd 15:0:33:0: [sdb] tag#188 CDB: Synchronize Cache(10) 35 00 00 00 00 00 00 00 00 00
blk_update_request: 5 callbacks suppressed
blk_update_request: I/O error, dev sdb, sector 3908079885
XFS (sdb1): metadata I/O error: block 0xe8f0890d ("xlog_iodone") error 5 numblks 64
XFS (sdb1): xfs_do_force_shutdown(0x2) called from line 1238 of file fs/xfs/xfs_log.c.  Return address = 0xffffffffc07f6230
XFS (sdb1): Log I/O Error Detected.  Shutting down filesystem
XFS (sdb1): Please umount the filesystem and rectify the problem(s)
....
kernel BUG at block/blk-core.c:2981!
invalid opcode: 0000 [#1] SMP 
....
CPU: 0 PID: 0 Comm: swapper/0 Kdump: loaded Tainted: G               ------------ T 3.10.0-1062.el7.x86_64 #1
Hardware name: Inspur NF5280M5/YZMB-00882-104, BIOS 4.1.21 08/25/2021
task: ffffffffb2018480 ti: ffffffffb2000000 task.ti: ffffffffb2000000
RIP: 0010:[<ffffffffb174f913>]  [<ffffffffb174f913>] blk_finish_request+0x123/0x130
RSP: 0018:ffff944e3f403d98  EFLAGS: 00010006
....
Call Trace:
 <IRQ> 
 [<ffffffffb18e6226>] scsi_end_request+0x116/0x1e0
 [<ffffffffb18e64b8>] scsi_io_completion+0x168/0x6a0
 [<ffffffffb14d20a0>] ? task_rq_unlock+0x20/0x20
 [<ffffffffb18db89c>] scsi_finish_command+0xdc/0x140
 [<ffffffffb18e5a02>] scsi_softirq_done+0x132/0x160
 [<ffffffffb1756c56>] blk_done_softirq+0x96/0xc0
 [<ffffffffb14a41e5>] __do_softirq+0xf5/0x280
 [<ffffffffb1b8f42c>] call_softirq+0x1c/0x30
 [<ffffffffb142f675>] do_softirq+0x65/0xa0
 [<ffffffffb14a4565>] irq_exit+0x105/0x110
 [<ffffffffb1b90716>] do_IRQ+0x56/0xf0
 [<ffffffffb1b82362>] common_interrupt+0x162/0x162
....
RIP  [<ffffffffb174f913>] blk_finish_request+0x123/0x130
 RSP <ffff944e3f403d98>

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

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