Kernel crash when loading i915kms

From: Kristian_Stærk <xi_at_borderworlds.dk>
Date: Sat, 26 Apr 2025 10:57:14 UTC
Hello,

I have a Dell Precision 3490 laptop.

It has Intel+NVIDIA graphics. I am trying to just get the Intel stuff 
going. But when I load the i915kms kernel module, I get an instant 
kernel panic.

If anyone has an idea about what goes wrong here or what to try to debug 
this further, I would very much appreciate that.

I am currently running 14.2-STABLE (FreeBSD baku.borderworlds.dk 
14.2-STABLE FreeBSD 14.2-STABLE stable/14-n271053-e6a470ffcbd7 GENERIC 
amd64). The kernel modules are built for the same version of the source 
tree.

This is the display from "pciconf -lv" output:
vgapci1@pci0:0:2:0:    class=0x030000 rev=0x08 hdr=0x00 vendor=0x8086 
device=0x7d55 subvendor=0x1028 subdevice=0x0cb3
     vendor     = 'Intel Corporation'
     device     = 'Meteor Lake-P [Intel Arc Graphics]'
     class      = display
     subclass   = VGA

This is what I get from "kgdb" on the crash dump:
Reading symbols from /boot/kernel/kernel...
Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug...

Unread portion of the kernel message buffer:
[drm ERROR :fw_domain_wait_ack_set] gt: timed out waiting for forcewake 
ack request.
drmn1: [drm:0xffffffff88984c34s] 0xfffffe01a4c3b728V
<4>Missing case ((&(i915)->__info)->platform == 39)
drmn1: [drm] mslice mask all zero!
<4>Missing case ((&(i915)->__info)->platform == 39)
<4>drmn drmn1: drm_WARN_ON(engine_mask == 0)
panic: vm_fault_lookup: fault on nofault entry, addr: 0xfffffe01a98b0000
cpuid = 16
time = 1745167227
KDB: stack backtrace:
#0 0xffffffff80b928bd at kdb_backtrace+0x5d
#1 0xffffffff80b44421 at vpanic+0x161
#2 0xffffffff80b442b3 at panic+0x43
#3 0xffffffff80ec72d7 at vm_fault+0x15b7
#4 0xffffffff80ec5c31 at vm_fault_trap+0x81
#5 0xffffffff810379aa at trap_pfault+0x20a
#6 0xffffffff8100e018 at calltrap+0x8
#7 0xffffffff8897efe4 at intel_uncore_forcewake_get+0xc4
#8 0xffffffff88a1e2d0 at __intel_gt_reset+0x80
#9 0xffffffff888f4685 at i915_driver_probe+0xf55
#10 0xffffffff80dc4493 at linux_pci_attach_device+0x443
#11 0xffffffff80b8129d at device_attach+0x43d
#12 0xffffffff80b830c3 at bus_generic_driver_added+0x73
#13 0xffffffff80b7e879 at devclass_driver_added+0x29
#14 0xffffffff80b7e80e at devclass_add_driver+0x11e
#15 0xffffffff80dc534c at _linux_pci_register_driver+0xcc
#16 0xffffffff889045c9 at i915kms_evh+0x299
#17 0xffffffff80b1e5c5 at module_register_init+0x85
Uptime: 1m11s
Dumping 1457 out of 32176 
MB:..2%..11%..21%..31%..41%..51%..61%..71%..81%..91%

Best regards
Kristian