System crash in __blk_recalc_rq_segments() due to memory corruption following qla2xxx errors

Solution Unverified - Updated -

Issue

  • System crash in __blk_recalc_rq_segments() due to memory corruption following qla2xxx errors:
[2374177.690441] qla2xxx [0000:11:00.1]-5060:2: 83XX: F/W Error Reported: Check if reset required.
[2374177.795021] qla2xxx [0000:11:00.1]-5069:2: Heartbeat Failure encountered, chip reset required.
[2374177.900683] qla2xxx [0000:11:00.0]-5060:1: 83XX: F/W Error Reported: Check if reset required.
[2374178.005261] qla2xxx [0000:11:00.0]-5069:1: Heartbeat Failure encountered, chip reset required.
[2374201.806875] qla2xxx [0000:11:00.0]-5030:1: Error entry - invalid handle/queue (76ca).
[2374201.903094] qla2xxx [0000:11:00.0]-5030:1: Error entry - invalid handle/queue (e932).
[2374201.999304] qla2xxx [0000:11:00.0]-5030:1: Error entry - invalid handle/queue (79e8).
....
[2374234.429591] request botched: dev sdai: type=1, flags=123c800f
[2374234.429591]   sector 114288, nr/cnr 0/1645196
[2374234.429592]   bio ffff8fe5d1239e00, biotail ffff8fe5d1239e00, buffer           (null), len 0
[2374234.429597] general protection fault: 0000 [#1] SMP 
....
[2374234.429620] CPU: 0 PID: 14774 Comm: splunkd Kdump: loaded Tainted: P        W  OE  ------------   3.10.0-1160.42.2.el7.x86_64 #1
[2374234.429620] Hardware name: HPE ProLiant DL380 Gen10/ProLiant DL380 Gen10, BIOS U30 10/02/2018
[2374234.429621] task: ffff8fe6acf69080 ti: ffff8fe5b95ac000 task.ti: ffff8fe5b95ac000
[2374234.429623] RIP: 0010:[<ffffffff93f5c348>]  [<ffffffff93f5c348>] __blk_recalc_rq_segments+0x48/0x220
[2374234.429624] RSP: 0000:ffff8fe9bf603d10  EFLAGS: 00010206
....
[2374234.429630] Call Trace:
[2374234.429632]  <IRQ> 
[2374234.429632]  [<ffffffff93f5ca88>] blk_recalc_rq_segments+0x28/0x40
[2374234.429633]  [<ffffffff93f56469>] blk_update_request+0x219/0x370
[2374234.429634]  [<ffffffff940ee1d4>] scsi_end_request+0x34/0x1e0
[2374234.429636]  [<ffffffff940ee548>] scsi_io_completion+0x168/0x720
[2374234.429637]  [<ffffffff93ce5c96>] ? task_tick_fair+0x256/0x670
[2374234.429638]  [<ffffffff940e383c>] scsi_finish_command+0xdc/0x140
[2374234.429639]  [<ffffffff940eda90>] scsi_softirq_done+0x130/0x160
[2374234.429640]  [<ffffffff93f5dd16>] blk_done_softirq+0x96/0xc0
[2374234.429642]  [<ffffffff93ca4bf5>] __do_softirq+0xf5/0x280
[2374234.429643]  [<ffffffff943994ec>] call_softirq+0x1c/0x30
[2374234.429644]  [<ffffffff93c2f715>] do_softirq+0x65/0xa0
....
[2374234.429661] RIP  [<ffffffff93f5c348>] __blk_recalc_rq_segments+0x48/0x220
[2374234.429661]  RSP <ffff8fe9bf603d10>

Environment

  • Red Hat Enterprise Linux 7
  • QLogic HBA

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