Warning intel-iommu.c:2246 __domain_mapping+0x3ab/0x3c0 when using qla2xxx driver

Solution Verified - Updated -

Issue

  • Kernel warning at drivers/iommu/intel-iommu.c:2246 __domain_mapping+0x3ab/0x3c0 due to issue with Qlogic driver causing unexpected reboot when intel_iommu is enabled.

    WARNING: CPU: 36 PID: 62405 at drivers/iommu/intel-iommu.c:2246 __domain_mapping+0x3ab/0x3c0
    Call Trace:
    [<ffffffff81b61dc1>] dump_stack+0x19/0x1b
    [<ffffffff81497648>] __warn+0xd8/0x100
    [<ffffffff8149778d>] warn_slowpath_null+0x1d/0x20
    [<ffffffff819ed7cb>] __domain_mapping+0x3ab/0x3c0
    [<ffffffff819efd35>] intel_map_sg+0x115/0x240
    [<ffffffffc06e9964>] qla24xx_start_scsi+0x564/0x6b0 [qla2xxx]
    [<ffffffffc06ea48d>] qla24xx_dif_start_scsi+0x9dd/0xd80 [qla2xxx]
    [<ffffffff818d7be9>] ? scsi_init_sgtable+0x49/0x70
    [<ffffffff815b92e5>] ? mempool_alloc_slab+0x15/0x20
    [<ffffffffc06bf18a>] qla2xxx_queuecommand+0x3fa/0x4a0 [qla2xxx]
    [<ffffffff818d0960>] scsi_dispatch_cmd+0xb0/0x240
    [<ffffffff818d9efc>] scsi_request_fn+0x4cc/0x680
    [<ffffffff81742ff9>] __blk_run_queue+0x39/0x50
    [<ffffffff8173e403>] __elv_add_request+0xd3/0x260
    [<ffffffff81746080>] blk_insert_cloned_request+0xe0/0x1a0
    [<ffffffffc03f1c6d>] map_request+0x15d/0x2a0 [dm_mod]
    [<ffffffffc03f1dc6>] map_tio_request+0x16/0x40 [dm_mod]
    [<ffffffff814c1ff5>] kthread_worker_fn+0x85/0x180
    [<ffffffff814c1f70>] ? kthread_stop+0xf0/0xf0
    [<ffffffff814c1c31>] kthread+0xd1/0xe0
    [<ffffffff814c1b60>] ? insert_kthread_work+0x40/0x40
    [<ffffffff81b74c37>] ret_from_fork_nospec_begin+0x21/0x21
    [<ffffffff814c1b60>] ? insert_kthread_work+0x40/0x40
    

Environment

  • Red Hat Enterprise Linux 7.6.
  • SRIOV enabled with intel_iommu=on

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