System crashed with 'swiotlb buffer is full' then 'scsi_dma_map failed' errors

Solution Unverified - Updated -

Issue

  • System crashed with 'scsi_dma_map failed' errors:

    mpt3sas 0000:81:00.0: swiotlb buffer is full (sz: 65536 bytes), total 32768 (slots), used 29186 (slots)
    sd 20:0:6:0: scsi_dma_map failed: request for 1310720 bytes!
    mpt3sas 0000:81:00.0: swiotlb buffer is full (sz: 65536 bytes), total 32768 (slots), used 29188 (slots)
    sd 15:0:36:0: scsi_dma_map failed: request for 2105344 bytes!
    sd 15:0:84:0: scsi_dma_map failed: request for 2105344 bytes!
    sd 15:0:57:0: scsi_dma_map failed: request for 2105344 bytes!
    sd 15:0:55:0: scsi_dma_map failed: request for 2105344 bytes!
    sd 15:0:35:0: scsi_dma_map failed: request for 2105344 bytes!
    sd 15:0:57:0: scsi_dma_map failed: request for 2105344 bytes!
    sd 15:0:57:0: attempting task abort! scmd(0x0000000010694303), outstanding for 30493 ms & timeout 30000 ms
    sd 16:0:152:0: Mode parameters changed
    sd 15:0:57:0: [sdbj] tag#2273 CDB: Read(16) 88 00 00 00 00 06 5d df fd 78 00 00 00 08 00 00
    sd 16:0:152:0: qdepth(31), tagged(1), scsi_level(8), cmd_que(1)
    scsi target15:0:57: _scsih_tm_display_info: handle(0x0032), sas_address(0x5000c500d80f0c02), phy(12)
    sd 18:0:85:0: Mode parameters changed
    scsi target15:0:57: enclosurelogical id(0x500c0ff0f20d633c), slot(26) 
    scsi target15:0:57: enclosure level(0x0000), connector name( C3  )
    sd 15:0:57:0: No reference found at driver, assuming scmd(0x0000000010694303) might have completed
    sd 18:0:85:0: qdepth(31), tagged(1), scsi_level(8), cmd_que(1)
    sd 15:0:57:0: task abort: SUCCESS scmd(0x0000000010694303)
    BUG: unable to handle kernel NULL pointer dereference at 0000000000000198
    PGD 0 P4D 0 
    Oops: 0000 [#1] SMP NOPTI
    CPU: 43 PID: 3535957 Comm: kworker/u144:6 Kdump: loaded Tainted: G        W  OE    --------- -t - 4.18.0-193.56.1.el8_2.x86_64 #1
    Hardware name: Lenovo ThinkSystem SR650 -[7X06CTOLWW]-/-[7X06CTOLWW]-, BIOS -[IVE172F-3.00]- 04/29/2021
    Workqueue: scsi_tmf_15 scmd_eh_abort_handler
    RIP: 0010:__blk_mq_requeue_request+0x25/0xf0
    [...]
    RSP: 0018:ffffafa54fbbbe68 EFLAGS: 00010217
    RAX: 0000000000000000 RBX: ffffa0df19567000 RCX: 00000000000008e1
    RDX: ffffcfa4fe148280 RSI: 0000000000000001 RDI: ffffa0df19567000
    RBP: 0000000000000000 R08: 000000000002e0e0 R09: ffffffff8ebbefc9
    R10: ffffda511acf8f40 R11: 0000000000323f44 R12: ffffa13ebb9289d8
    R13: 0000000000000000 R14: ffffa0f6ec64fa40 R15: ffffa0df19567190
    FS:  0000000000000000(0000) GS:ffffa0df3fc40000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: 0000000000000198 CR3: 0000002ae340a003 CR4: 00000000005606e0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
    PKRU: 55555554
    Call Trace:
     blk_mq_requeue_request+0x11/0x60
     process_one_work+0x1a7/0x3b0
     worker_thread+0x30/0x390
     ? create_worker+0x1a0/0x1a0
     kthread+0x112/0x130
     ? kthread_flush_work_fn+0x10/0x10
     ret_from_fork+0x1f/0x40
    

Environment

  • Red Hat Enterprise Linux 8.2
  • Broadcom / LSI SAS3416 Fusion-MPT Tri-Mode adapter

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