Bug 232691 - i915 (?): Fatal trap 12: page fault while in kernel mode (supervisor read data, page not present, i915_gem_* functions)
Summary: i915 (?): Fatal trap 12: page fault while in kernel mode (supervisor read dat...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.2-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2018-10-25 21:35 UTC by Martin Filla
Modified: 2019-07-08 21:51 UTC (History)
2 users (show)

See Also:


Attachments
dmesg.txt (28.37 KB, text/plain)
2018-10-25 21:54 UTC, Martin Filla
no flags Details
pkg_version.txt (57.49 KB, text/plain)
2019-07-08 21:43 UTC, Martin Filla
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2018-10-25 21:35:32 UTC
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0x40
fault code		= supervisor read data, page not present
instruction pointer	= 0x20:0xffffffff828b8970
stack pointer	        = 0x0:0xfffffe0233d7b630
frame pointer	        = 0x0:0xfffffe0233d7b660
code segment		= base rx0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 59062 (Xorg)
trap number		= 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff80b3d587 at kdb_backtrace+0x67
#1 0xffffffff80af6b27 at vpanic+0x177
#2 0xffffffff80af69a3 at panic+0x43
#3 0xffffffff80f77fdf at trap_fatal+0x35f
#4 0xffffffff80f78039 at trap_pfault+0x49
#5 0xffffffff80f77807 at trap+0x2c7
#6 0xffffffff80f57fbc at calltrap+0x8
#7 0xffffffff82836aff at i915_gem_evict_something+0xbf
#8 0xffffffff8283300e at i915_gem_object_pin+0x37e
#9 0xffffffff82830be9 at i915_gem_pager_populate+0x1a9
#10 0xffffffff80dea557 at vm_fault_hold+0x11f7
#11 0xffffffff80de9315 at vm_fault+0x75
#12 0xffffffff80f7813c at trap_pfault+0x14c
#13 0xffffffff80f77893 at trap+0x353
#14 0xffffffff80f57fbc at calltrap+0x8
Comment 1 Martin Filla 2018-10-25 21:54:04 UTC
Created attachment 198635 [details]
dmesg.txt
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2018-11-19 02:03:39 UTC
Thank you for your report.

If the issue is reproducible, could you please:

- Build/enable a debug kernel if applicable and attach a full backtrace
- Attach the output of pkg version -v

This looks similar to bug 225175, in which case it would be worthwhile trying the drm-kmod port/packages as suggested by Niclas in bug 225175 comment 5
Comment 3 Martin Filla 2019-07-08 21:43:50 UTC
Created attachment 205593 [details]
pkg_version.txt

Hi, 
i added file from command pkg version -v
Comment 4 Martin Filla 2019-07-08 21:51:28 UTC
From info.last its last panic
Dump header from device: /dev/mirror/swap
  Architecture: amd64
  Architecture Version: 2
  Dump Length: 1440104448
  Blocksize: 512
  Dumptime: Mon Jul  8 11:40:09 2019
  Hostname: 
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 11.2-RELEASE-p11 #0: Tue Jul  2 21:24:25 UTC 2019
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
  Panic String: page fault
  Dump Parity: 2032784734
  Bounds: 0
  Dump Status: good