Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2022 10:41:18 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        x11@freebsd.org
Subject:   Re: can't load drm
Message-ID:  <CANCZdfrkahUJEkQAai-r36v4dTbCyfJ_8iBqQqLrCTbDkfKhGQ@mail.gmail.com>
In-Reply-To: <25420.13294.859113.121789@jerusalem.litteratus.org>
References:  <25420.13294.859113.121789@jerusalem.litteratus.org>

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

On Sun, Oct 16, 2022 at 10:40 AM Robert Huff <roberthuff@rcn.com> wrote:

>
> Hello:
>         On a system running:
>
> FreeBSD 14.0-CURRENT #0 main-dfddfe29d8:
> Thu Jul 28 11:36:59 EDT 2022
> amd64
>
>         I just replaced the video card and am trying to load drm-510 (at
> boot or with kldload).
>         This fails with:
>
> KLD drm.ko: depends on kernel - not available or version mismatch
> linker_load_file: /boot/modules/drm.ko - unsupported file type
>
>         Before, drm Just Worked.  (Other stuff didn't - which is why I
> upgraded the video card - but drm did.)
>         (I deleted and reinstalled the port, in case that was the
> problem.  Nope.)
>         What have I done wrong?  And how do I fix it?


Your kernel and drm module are out of sync. You need to rebuild the drm
module with your current sources.

Warner

>
>

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

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Sun, Oct 16, 2022 at 10:40 AM Robe=
rt Huff &lt;<a href=3D"mailto:roberthuff@rcn.com">roberthuff@rcn.com</a>&gt=
; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hello:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 On a system running:<br>
<br>
FreeBSD 14.0-CURRENT #0 main-dfddfe29d8:<br>
Thu Jul 28 11:36:59 EDT 2022<br>
amd64<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I just replaced the video card and am trying to=
 load drm-510 (at<br>
boot or with kldload).<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 This fails with:<br>
<br>
KLD drm.ko: depends on kernel - not available or version mismatch<br>
linker_load_file: /boot/modules/drm.ko - unsupported file type<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Before, drm Just Worked.=C2=A0 (Other stuff did=
n&#39;t - which is why I<br>
upgraded the video card - but drm did.)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (I deleted and reinstalled the port, in case th=
at was the<br>
problem.=C2=A0 Nope.)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 What have I done wrong?=C2=A0 And how do I fix =
it?</blockquote><div><br></div><div>Your kernel and drm module are out of s=
ync. You need to rebuild the drm module with your current sources.</div><di=
v><br></div><div>Warner=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">=C2=A0<br></blockquote></div></div>

--000000000000ed792705eb298760--



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