Skip site navigation (1)Skip section navigation (2)
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>
References:  <20230409145558.c7cf0e9bb11f13d41f4f6031@j.email.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000d8b0c405f8ee2cbc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sun, Apr 9, 2023 at 11:57=E2=80=AFAM Yoshihiro Ota <ota@j.email.ne.jp> w=
rote:

> 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+=3D 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.
--=20
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

--000000000000d8b0c405f8ee2cbc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:tahoma,sans-serif;font-size:small">On Sun, Apr 9, 2023 at 11:57=E2=
=80=AFAM Yoshihiro Ota &lt;<a href=3D"mailto:ota@j.email.ne.jp">ota@j.email=
.ne.jp</a>&gt; wrote:</div></div><div class=3D"gmail_quote"><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I&#39;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 loa=
d 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&=
#39;t load properly.<br>
While new virtual box kmod works, I think my build environment isn&#39;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>=C2=A0</div></div><div style=3D"font-family:tahom=
a,sans-serif;font-size:small" class=3D"gmail_default">You need to rebuild t=
he port when hte kernel is updated on hte system that has the same system s=
ource files as the one that it is being installed on.</div><div style=3D"fo=
nt-family:tahoma,sans-serif;font-size:small" class=3D"gmail_default"><br></=
div><div style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D"g=
mail_default">I add drm-515-kmod to PORTS_MODULES to be sure that this alwa=
ys happens. Add:</div><div style=3D"font-family:tahoma,sans-serif;font-size=
:small" class=3D"gmail_default">PORTS_MODULES+=3D graphics/drm-515-kmod</di=
v><div style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D"gma=
il_default">This should, perhaps, be graphics/drm-510-kmod on 13-STABLE sin=
ce 13.2, but I&#39;m not sure. Depends on the merge of some code that I tho=
ught was in STABLE back at some point in 1.1-STABLE.<br></div><span class=
=3D"gmail_signature_prefix"><span class=3D"gmail_default" style=3D"font-fam=
ily:tahoma,sans-serif;font-size:small"></span>-- </span><br><div dir=3D"ltr=
" class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><di=
v dir=3D"ltr"><div><div dir=3D"ltr">Kevin Oberman, Part time kid herder and=
 retired Network Engineer<br>E-mail: <a href=3D"mailto:rkoberman@gmail.com"=
 target=3D"_blank">rkoberman@gmail.com</a><br></div><div>PGP Fingerprint: D=
03FB98AFA78E3B78C1694B318AB39EF1B055683</div></div></div></div></div></div>=
</div></div></div>

--000000000000d8b0c405f8ee2cbc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vxvGNY%2Bt8c3_eKQ%2BYPRKYiCOKF4%2BHmTg9mHgeY0ApXtg>