[Bug 107783] New: [4.19rc1][Regression][SKL][IOMMU] i915 0000:00:02.0: Device initialization failed (-12)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 2 15:34:52 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107783

            Bug ID: 107783
           Summary: [4.19rc1][Regression][SKL][IOMMU] i915 0000:00:02.0:
                    Device initialization failed (-12)
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: mqajjhfn at 10mail.org
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 141414
  --> https://bugs.freedesktop.org/attachment.cgi?id=141414&action=edit
dmesg -debug=0xf

Booting Linux 4.19rc1 with CONFIG_INTEL_IOMMU_DEFAULT_ON=y results in no
display output. It didn't happen in Linux 4.18-4.18.5

kernel: DMAR: No ATSR found
kernel: DMAR: dmar0: Using Queued invalidation
kernel: DMAR: dmar1: Using Queued invalidation
kernel: DMAR: Setting RMRR:
kernel: WARNING: CPU: 2 PID: 1 at mm/page_alloc.c:4103
__alloc_pages_nodemask+0xed6/0x1030
kernel: Modules linked in:
kernel: CPU: 2 PID: 1 Comm: swapper/0 Tainted: G                T
4.19.0-rc1-00219-g360bd62dc494 #1
kernel: Hardware name: LENOVO 20JJS0HD00/20JJS0HD00, BIOS R0HET51W (1.31 )
07/04/2018
kernel: RIP: 0010:__alloc_pages_nodemask+0xed6/0x1030
kernel: Code: 70 db ff ff 48 85 c0 0f 85 f8 fd ff ff 81 e3 00 00 40 00 89 5c 24
4c e9 fe f5 ff ff f7 44 24 30 00 02 00 00 0f 85 70 f2 ff ff <0f> 0b e9 69 f2 ff
ff 44 8b 64 24 50 c7 04 24 10 00 00 00 e9 c7 fc
kernel: RSP: 0000:ffffb2d280cbbb50 EFLAGS: 00010046
kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
kernel: RDX: 0000000000488020 RSI: 0000000000488020 RDI: ffffb2d280cbbc30
kernel: RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000f86
kernel: R10: 0000000000000000 R11: ffff911616a4d300 R12: 0000000000488020
kernel: R13: 000000000000000b R14: 0000000000000000 R15: ffff911616a4d600
kernel: FS:  0000000000000000(0000) GS:ffff911619500000(0000)
knlGS:0000000000000000
kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: ffffb2d280dec000 CR3: 0000000192008001 CR4: 00000000003606e0
kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
kernel: Call Trace:
kernel:  ? pci_mmcfg_read+0x88/0xf0
kernel:  intel_pasid_alloc_table+0x177/0x1c0
kernel:  dmar_insert_one_dev_info+0x2da/0x4e0
kernel:  set_domain_for_dev+0x6f/0x100
kernel:  iommu_prepare_identity_map+0x4d/0x9c
kernel:  intel_iommu_init+0x16f0/0x1de8
kernel:  ? printk+0x59/0x75
kernel:  pci_iommu_init+0x57/0xcc
kernel:  ? e820__memblock_setup+0x160/0x160
kernel:  do_one_initcall+0x46/0x1fb
kernel_init_freeable+0x33b/0x43a
kernel:  ? rest_init+0xc5/0xc5
kernel_init+0xa/0x102
kernel:  ret_from_fork+0x35/0x40
kernel: ---[ end trace 58cad12ab768e8a5 ]---
kernel: DMAR: Mapping reserved region failed
kernel: DMAR: Setting identity map for device 0000:00:14.0 [0x8f49f000 -
0x8f4befff]
kernel: DMAR: Prepare 0-16MiB unity mapping for LPC
kernel: DMAR: Setting identity map for device 0000:00:1f.0 [0x0 - 0xffffff]
kernel: DMAR: DRHD: handling fault status reg 3
kernel: DMAR: [DMA Write] Request device [00:02.0] fault addr 9b000000 [fault
reason 01] Present bit in root entry is clear
kernel: DMAR: Intel(R) Virtualization Technology for Directed I/O
kernel: iommu: Adding device 0000:00:00.0 to group 0
kernel: iommu: Adding device 0000:00:02.0 to group 1
kernel: iommu: Adding device 0000:00:08.0 to group 2
kernel: iommu: Adding device 0000:00:13.0 to group 3
kernel: iommu: Adding device 0000:00:14.0 to group 4
kernel: iommu: Adding device 0000:00:14.2 to group 4
kernel: iommu: Adding device 0000:00:16.0 to group 5
kernel: iommu: Adding device 0000:00:1c.0 to group 6
kernel: iommu: Adding device 0000:00:1c.2 to group 7
kernel: iommu: Adding device 0000:00:1c.4 to group 8
kernel: iommu: Adding device 0000:00:1d.0 to group 9
kernel: iommu: Adding device 0000:00:1f.0 to group 10
kernel: iommu: Adding device 0000:00:1f.2 to group 10
kernel: iommu: Adding device 0000:00:1f.3 to group 10
kernel: iommu: Adding device 0000:00:1f.4 to group 10
kernel: iommu: Adding device 0000:02:00.0 to group 11
kernel: iommu: Adding device 0000:04:00.0 to group 12
kernel: DMAR: DRHD: handling fault status reg 3
kernel: DMAR: [DMA Write] Request device [00:02.0] fault addr 9a800000 [fault
reason 01] Present bit in root entry is clear
kernel: DMAR: DRHD: handling fault status reg 3
kernel: DMAR: [DMA Write] Request device [00:02.0] fault addr 9a840000 [fault
reason 01] Present bit in root entry is clear
kernel: iommu: Adding device 0000:05:00.0 to group 13
kernel: DMAR: DRHD: handling fault status reg 3

Adding "intel_iommu=igfx_off" fixes this issue although  there are still below
errors which again didn't happen in Linux 4.18-4.18.5:

kernel: DMAR: DRHD: handling fault status reg 3
kernel: DMAR: [DMA Write] Request device [00:02.0] fault addr 9a980000 [fault
reason 01] Present bit in root entry is clear

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180902/9c37ba58/attachment.html>


More information about the intel-gfx-bugs mailing list