Re: can't load drm

Warner Losh <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <CANCZdfrkahUJEkQAai-r36v4dTbCyfJ_8iBqQqLrCTbDkfKhGQ@mail.gmail.com>
On Sun, Oct 16, 2022 at 10:40 AM Robert Huff <[email protected]> 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

>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.