Re: stable/13 - amdgpu broken with n253286-d8a88ec38149

From: Marco <>
Date: Fri, 06 Jan 2023 22:08:33 UTC
On Fri, Jan 06, 2023 at 08:12:28PM +0000, you (marco) sent the following to [freebsd-stable] :
> On Fri, Jan 06, 2023 at 02:52:31PM +0000, you (marco) sent the following to [freebsd-stable] :
> > 
> This is the first time for me has thrown an error like this
> so I'm in the dark how to investigate any further.
> The ports tree was up 2 date when building world and kernel.

I managed to get 1149f0ec2b18 running.

 [~] uname -aKU
FreeBSD 13.1-STABLE FreeBSD 13.1-STABLE #0 stable/13-n253362-1149f0ec2b18: Fri Jan  6 19:09:15 UTC 2023 amd64 1301510 1301510

Since the installkernel step previously seemed to fail on the deinstall
/ reinstall of graphics/drm-510-kmod I took out PORTS_MODULES+=
graphics/drm-510-kmod from make.conf and then ran again.
This time the install of kernel and world succeeded and I had a new BE
to try.

I mounted the new BE on /mnt and validated that graphics/drm-510-kmod was still installed in it
13.1-STABLE-20230106.075757 :

pkg -r /mnt info drm-510-kmod
Name           : drm-510-kmod
Version        : 5.10.113_8
Installed on   : Fri Jan  6 21:40:44 2023 UTC

To prove graphics/drm-510-kmod was NOT installed via pkg(8):

 [~] pkg query '%o %v %R' graphics/drm-510-kmod
graphics/drm-510-kmod 5.10.113_8 unknown-repository

I rebooted but now instead of introducing a kernel panic the system
would immediately reboot upon the moment i915kms.ko would be loaded.

So I booted back into the previous BE, once again removed i915kms from
kld_list and rebooted once again into the new BE.
That worked as suspected and I performed another make deinstall and
reinstall of graphics/drm-510-kmod and then loaded i915kms without

Was the recent state of stable/13 commits/merges not supposed to make rebuilding of
drm-510-kmod unnecessary or am I mistaken?

Marco van Lienen -- FreeBSD enthusiast , GnuPG fingerprint: A025 D8AA AC1B D2FC 380D 4FC1 8EA0 0BA8 8580 E6CB
"The Tuck Pendleton defects."