[Bug 283090] kernel panic on kldload i915kms on clean 14.2-RELEASE install

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 03 Dec 2024 10:06:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283090

            Bug ID: 283090
           Summary: kernel panic on kldload i915kms on clean 14.2-RELEASE
                    install
           Product: Base System
           Version: 14.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: me@shanewright.co.uk

Created attachment 255593
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255593&action=edit
Screenshot of crash dump

Hi,

I have a fresh 14.2-RELEASE install (technically just upgraded from
14.1-RELEASE - where the same problem happened).

On booting, when I `kldload i915kms` the kernel panics immediately.   I can't
find the crash dump information in /var/crash or dmesg after reboot so only
have the screenshot attached - also shown in this forum post where I posted
about the issue:
https://forums.freebsd.org/threads/crash-on-loading-i915kms-fresh-14-1-install.95927/

The key-looking part is:
Fatal trap 12: page fault while in kernel mode

The hardware is 13900K on an MSI Z790 board, with integrated UHD770 graphics
plus 2 x Intel ARC 380 graphics cards.

This happens every time, on booting up I log in as root and run `kldload
i915kms` and the crash happens instantly.

The install is fresh and unmodified besides installing the package system,
installing drm-61-kmod, and also installing gpu-firmware-kmod (despite the
error message not being able to find the firmware file).  X11/Wayland/etc are
not installed.

The issue [on 14.1-RELEASE] first happened 22nd Nov (which was when I installed
it).  

Happy to provide any other diagnostic information I can (may just need to know
how)

(NB I also had a very similar-looking crash on the same hardware with
15.0-CURRENT, some details in a post I wrongly hijacked thinking OP had the
same issue;
https://forums.freebsd.org/threads/latest-update-gives-fatal-trap-12-page-fault-while-in-kernel-mode-when-i915kms-ko-is-loaded.95732/#post-680420
).

-- 
You are receiving this mail because:
You are the assignee for the bug.