Date: Sun, 9 Apr 2023 14:45:05 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Yoshihiro Ota <ota@j.email.ne.jp> Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 13.2-RELEASE started failing to load i915kms.ko after upgrade from RC5 Message-ID: <CAN6yY1vxvGNY%2Bt8c3_eKQ%2BYPRKYiCOKF4%2BHmTg9mHgeY0ApXtg@mail.gmail.com> In-Reply-To: <20230409145558.c7cf0e9bb11f13d41f4f6031@j.email.ne.jp>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Sun, Apr 9, 2023 at 11:57 AM Yoshihiro Ota <ota@j.email.ne.jp> wrote: > 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. > I get the following error: > ``` > linker_load_file: /boot/modules/i915kms.ko - unsupported file type > ``` > > Any hints or same experiences? > > Hiro > You need to rebuild the port when hte kernel is updated on hte system that has the same system source files as the one that it is being installed on. I add drm-515-kmod to PORTS_MODULES to be sure that this always happens. Add: PORTS_MODULES+= graphics/drm-515-kmod This should, perhaps, be graphics/drm-510-kmod on 13-STABLE since 13.2, but I'm not sure. Depends on the merge of some code that I thought was in STABLE back at some point in 1.1-STABLE. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 [-- Attachment #2 --] <div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">On Sun, Apr 9, 2023 at 11:57 AM Yoshihiro Ota <<a href="mailto:ota@j.email.ne.jp">ota@j.email.ne.jp</a>> wrote:</div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br> <br> I've been following releng/13.2 since it was branched.<br> I use amd64 arch for this.<br> <br> I had built kernel modules during BETA/RC period.<br> The above i915kms had worked until RC5.<br> I had not built RC6 locally and picked up RELEASE on releng/13.2.<br> <br> After upgrading from RC5 to 13.2-RELEASE, the kernel started failing to load i915mks.<br> This time, all kmod started failing such as one for virtual box, too.<br> <br> I thought I would need to rebuild all kernel modules, and thus started.<br> However, even after rebuilding kernel modules several times, i915kms doesn't load properly.<br> While new virtual box kmod works, I think my build environment isn't a problem.<br> <br> I cannot make i915kms back in working condition.<br> I also updated /usr/ports and rebuilt few times but yet not successful.<br> I get the following error:<br> ```<br> linker_load_file: /boot/modules/i915kms.ko - unsupported file type<br> ```<br> <br> Any hints or same experiences?<br> <br> Hiro<br></blockquote><div> </div></div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">You need to rebuild the port when hte kernel is updated on hte system that has the same system source files as the one that it is being installed on.</div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">I add drm-515-kmod to PORTS_MODULES to be sure that this always happens. Add:</div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">PORTS_MODULES+= graphics/drm-515-kmod</div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">This should, perhaps, be graphics/drm-510-kmod on 13-STABLE since 13.2, but I'm not sure. Depends on the merge of some code that I thought was in STABLE back at some point in 1.1-STABLE.<br></div><span class="gmail_signature_prefix"><span class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"></span>-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Kevin Oberman, Part time kid herder and retired Network Engineer<br>E-mail: <a href="mailto:rkoberman@gmail.com" target="_blank">rkoberman@gmail.com</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683</div></div></div></div></div></div></div></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vxvGNY%2Bt8c3_eKQ%2BYPRKYiCOKF4%2BHmTg9mHgeY0ApXtg>
