Date: Mon, 03 Aug 2020 10:54:06 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 248441] graphics/drm-kmod:drm-kmod dump core Message-ID: <bug-248441-7141-5vQRXw6NxB@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-248441-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-248441-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248441 Jan Beich <jbeich@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jbeich@FreeBSD.org --- Comment #9 from Jan Beich <jbeich@FreeBSD.org> --- (In reply to gh_origin from comment #2) > Fatal trap 12: page fault while in kernel mode > cpuid =3D 1; apic id =3D 02 > fault virtual address =3D 0xfffffe7140c840d8 > fault code =3D supervisor read data, page not present > instruction pointer =3D 0x20:0xffffffff82ca5882 > stack pointer =3D 0x28:0xfffffe02327e8140 > frame pointer =3D 0x28:0xfffffe02327e8160 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 806 (kldload) > trap number =3D 12 > panic: page fault > cpuid =3D 1 > KDB: stack backtrace: > #0 0xffffffff80b431d5 at kdb_backtrace+0x65 > #1 0xffffffff80afd2de at vpanic+0x15e > #2 0xffffffff80afd173 at panic+0x43 > #3 0xffffffff80f75fc5 at trap_fatal+0x365 > #4 0xffffffff80f76019 at trap_pfault+0x49 > #5 0xffffffff80f756ce at trap+0x27e > #6 0xffffffff80f5532f at calltrap+0x8 > #7 0xffffffff82cb4ad6 at reservation_object_get_fences_rcu+0x76 > #8 0xffffffff82b2d5d8 at i915_gem_object_wait+0x78 > #9 0xffffffff82b31d10 at i915_gem_object_set_cache_level+0xc0 > #10 0xffffffff82b32119 at i915_gem_object_pin_to_display_plane+0x49 > #11 0xffffffff82b72f66 at intel_pin_and_fence_fb_obj+0x136 > #12 0xffffffff82b86f9e at intel_modeset_init+0xdde > #13 0xffffffff82b2a090 at i915_driver_load+0x1330 > #14 0xffffffff82ca4a4d at linux_pci_attach+0x4cd > #15 0xffffffff80b35708 at device_attach+0x398 > #16 0xffffffff80b37258 at bus_generic_driver_added+0x88 > #17 0xffffffff80b33449 at devclass_driver_added+0x39 Did you install drm-fbsd11.2-kmod via binary packages (from pkg.freebsd.org= )? If so rebuild from ports. FreeBSD doesn't promise KBI (not ABI) compatibili= ty between minor versions (e.g., 11.3-RELEASE-p1 and 11.3-RELEASE-p999 are compatible but 11.3 and 11.4 are not) but the binary packages are built for= the oldest supported release of a given branch (e.g., 11.3 until 2020-09-30 for /stable/11). (In reply to gh_origin from comment #5) > vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x78171462 chip=3D0x04128086 = rev=3D0x06 hdr=3D0x00 0x0412 is Haswell which is supported by both in-base drm2 (aka /boot/kernel/i915kms.ko) and drm-kmod (aka /boot/modules/i915kms.ko). Note, in-base drm2 is pretty old thus doesn't support VAAPI and DRI3. $ fgrep -r 0x0412 /usr/src/sys/dev/drm* sys/dev/drm2/i915/i915_drv.c: INTEL_VGA_DEVICE(0x0412, &intel_haswell_d_info), /* GT2 desktop */ sys/dev/drm2/drm_pciids.h: {0x8086, 0x0412, 0, "Intel Haswell (GT2 desktop)"}, \ $ cd /usr/ports/graphics/drm-fbsd11.2-kmod $ make clean patch BATCH=3D $ fgrep -r 0x0412 `make -V WRKSRC` .../kms-drm-d7d433d/include/drm/i915_pciids.h: INTEL_VGA_DEVICE(0x0412, info), /* GT2 desktop */ \ (In reply to gh_origin from comment #3) > #kld_list=3D"/boot/kernel/i915kms.ko" How did you load i915kms then? If location isn't explicitly specified then module is resolved according to kern.module_path (sysctl) order. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248441-7141-5vQRXw6NxB>