Re: FreeBSD 13.2-RELEASE started failing to load i915kms.ko after upgrade from RC5

From: Yoshihiro Ota <ota_at_j.email.ne.jp>
Date: Mon, 17 Apr 2023 02:47:45 UTC
On Mon, 10 Apr 2023 10:27:09 +0200
Yuri <yuri@aetern.org> wrote:

> Yoshihiro Ota wrote:
> > On Mon, 10 Apr 2023 02:33:34 +0200
> > Mathias Picker <Mathias.Picker@virtual-earth.de> wrote:
> > 
> >> Am 9. April 2023 20:55:58 MESZ schrieb Yoshihiro Ota <ota@j.email.ne.jp>:
> >>> Hi,
> >>>
> >>> I've been following releng/13.2 since it was branched.
> >>> I use amd64 arch for this.
> >>>
> >>> I had built kernel modules during BETA/RC period.
> >>> The above i915kms had worked until RC5.
> >>> I had not built RC6 locally and picked up RELEASE on releng/13.2.
> >>>
> >>> After upgrading from RC5 to 13.2-RELEASE, the kernel started failing to load i915mks.
> >>> This time, all kmod started failing such as one for virtual box, too.
> >>>
> >>> I thought I would need to rebuild all kernel modules, and thus started.
> >>> However, even after rebuilding kernel modules several times, i915kms doesn't load properly.
> >>> While new virtual box kmod works, I think my build environment isn't a problem.
> >>>
> >>> I cannot make i915kms back in working condition.
> >>> I also updated /usr/ports and rebuilt few times but yet not successful.
> >>
> >> Did you update /usr/src ?
> > 
> > Yes, I have the latest releng/13.2 under /usr/src and main under /usr/ports from git.
> 
> What is in dmesg (or /var/log/messages)?  There could be more verbose
> explanation (like missing symbols).

I rebuilt few more times to check my procedures.
I only get 2 lines of output:
"""
link_elf_obj: symbol intel_gtt_install_pte undefined
linker_load_file: /boot/modules/i915kms.ko - unsupported file type
"""

I do find intel_gtt_install_pte function under /usr/src/sys.
Does anyone have any hints?

Thanks,
Hiro