Re: Crash when loading i915kms

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 09 Aug 2026 18:18:10 UTC
On 8/9/26 02:58, Ricardo Branco wrote:
> Attached core.txt.5.gz
> 
> Dump header from device: /dev/ada0p3
>  Architecture: amd64
>  Architecture Version: 2
>  Dump Length: 1162715136
>  Blocksize: 512
>  Compression: none
>  Dumptime: 2026-08-08 10:02:28 +0200
>  Hostname:
>  Magic: FreeBSD Kernel Dump
>  Version String: FreeBSD 15.1-STABLE stable/15-n284803-c0f892003486 GENERIC

Looking . . .

Fri, 07 Aug 2026
git: c0f892003486 - stable/15 - sys/socket.h: Fix AF_MAX Dag-Erling Smørgrav

>  Panic String: page fault
>  Dump Parity: 3162583109
>  Bounds: 5
>  Dump Status: good
> 
> $ pkg info drm-latest-kmod
> drm-latest-kmod-6.9.1501501_1
> Name           : drm-latest-kmod
> Version        : 6.9.1501501_1
> Installed on   : Fri Jun 12 17:39:05 2026 CEST

So this is from somewhat under 2 months earlier than the 15.1-STABLE
kernel you are using --or even older than that, since the build time
predates the installation time.

15.1-STABLE is a rolling release style context, like main [so: 16 for
now]. As 15.1-STABLE progresses, drm-latest-kmod can sometimes be
required to also progress to have been built based on the new kernel
version it is to be used with.

Relative to official kmods_latest builds . . .

Index of /FreeBSD:15:amd64/kmods_latest/ indicates:

packagesite.pkg	36131	2026-May-21 01:47
data.pkg	36152	2026-May-21 01:47
meta	179	2025-Jan-22 22:10
meta.conf	179	2025-Jan-22 22:10

indicating back in May.

Do you do your own builds of drm-latest-kmod ? You may have to in order
to keep your kernel and drm-latest-kmod synchronized for compatibility,
given FreeBSD:15:amd64/kmods_latest/ does not seem to be getting regular
updates.

(The status of a modern 15.1-STABLE build of drm-latest-kmod is unclear
from the evidence presented. It might still crash, even in a similar
way, for all I know.)

> Origin         : graphics/drm-latest-kmod
> Architecture   : FreeBSD:15:amd64
> Prefix         : /usr/local
> Categories     : graphics kld
> Licenses       : BSD2CLAUSE, MIT, GPLv2
> Maintainer     : x11@FreeBSD.org
> WWW            : https://github.com/freebsd/drm-kmod/
> Comment        : DRM drivers modules
> Annotations    :
> FreeBSD_version: 1501501
> Flat size      : 19.6MiB
> Description    :
> amdgpu, i915, and radeon DRM drivers modules.
> Currently corresponding to Linux 6.9 DRM.
> This version is for FreeBSD 15 1500058
> and above.
> 
> 


-- 
===
Mark Millard
marklmi at yahoo.com