From owner-freebsd-x11@freebsd.org Mon Aug 3 10:54:06 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D44F6376633 for ; Mon, 3 Aug 2020 10:54:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BKvrt5Ly8z4d6y for ; Mon, 3 Aug 2020 10:54:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B5D14376632; Mon, 3 Aug 2020 10:54:06 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B593D376631 for ; Mon, 3 Aug 2020 10:54:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKvrt4QHxz4dWr for ; Mon, 3 Aug 2020 10:54:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7C9CB13673 for ; Mon, 3 Aug 2020 10:54:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 073As6KB017518 for ; Mon, 3 Aug 2020 10:54:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 073As6s8017517 for x11@FreeBSD.org; Mon, 3 Aug 2020 10:54:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 248441] graphics/drm-kmod:drm-kmod dump core Date: Mon, 03 Aug 2020 10:54:06 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2020 10:54:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248441 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jbeich@FreeBSD.org --- Comment #9 from Jan Beich --- (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.=