Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2023 22:08:33 +0000
From:      Marco <freebsd-stable@lordsith.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: stable/13 - amdgpu broken with n253286-d8a88ec38149
Message-ID:  <Y7ib4eOWI/hFVLI5@freedom.nl>
In-Reply-To: <Y7iArGTMd50NSp/u@freedom.nl>
References:  <Y59F7Rmx3mK1eHk/@gw.protogate.com> <Y7g1r3daJ6XaCVz9@freedom.nl> <Y7iArGTMd50NSp/u@freedom.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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 beinstall.sh 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 harbinger.fritz.box 13.1-STABLE FreeBSD 13.1-STABLE #0 stable/13-n253362-1149f0ec2b18: Fri Jan  6 19:09:15 UTC 2023     root@harbinger.fritz.box:/usr/obj/usr/src/amd64.amd64/sys/GENERIC 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 beinstall.sh 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
drm-510-kmod-5.10.113_8
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
issue.

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
https://keybase.io/scarcry , GnuPG fingerprint: A025 D8AA AC1B D2FC 380D 4FC1 8EA0 0BA8 8580 E6CB
"The Tuck Pendleton machine...zero defects."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y7ib4eOWI/hFVLI5>