From nobody Sun Oct 16 16:41:18 2022 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mr5Vh3LQBz4fbFh for ; Sun, 16 Oct 2022 16:41:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mr5Vg5Dv8z3lHD for ; Sun, 16 Oct 2022 16:41:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-ej1-x633.google.com with SMTP id b2so20174623eja.6 for ; Sun, 16 Oct 2022 09:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6T5IAisYldEMyv+E0lIoT1vPRFU1GkNoLlZ75OLSovs=; b=E8Jrep3aX/ntxlfsw4KuN5X9qjc3O6NH8hxmla/scTBFF3PtwPcWzF8n7Mvz59cyBX /HQutDNNVfe59pLP3L51sIwERp02ZDETdyhJSdgEv4Ljn0K4SXITin9OMDBLdYsNpCqp 6hXe00A/KXddAbgQRa/clMIFFZWTj4qc/qwBPY4oE0TjyU0PSN2DFzUWmKgUAzkpmonX drV2M76arIate0r+xnByYU9EEiIqZX1hayqeITGrUOjcTJPAjQdU59kafJD2R97Coyos EwWYQ4tLdpkQwq/EEVvi8TtrccuWi1KkGc/sqcBBW3HuASbRL1+T5jXeooQ913Moy6zI Pnog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6T5IAisYldEMyv+E0lIoT1vPRFU1GkNoLlZ75OLSovs=; b=55ZHUJrIZAHvb/M8YYptFD53SHAcBNZ1Ij8tP3OQyxFITxDFaXT565yDzJwG9BxtRQ Uxo4cgiRk5b5IxFyA1FBD5XEKUPb5faG9/pJQBLA9OMbl9o/oOwjDvubCB9O1ZoQ1dGr lFWtguyBYZikk4Z/9twVij2fNQQAqyMhsNBFwn7DOWun+YV56ywE5sa6DkgQhZv4D5IP LcSr8NC49mYUaXF+MWbsYBsv8uxbn5YXniOoLLJ8GclVwQJMXBHFQAazHpZ4I6CAb50t FQQatSC0bKTBrgtd0NGTrzUnlDqkCxna/FKfSeF5kUK1xFK7MOMcs0vUAf/9aJWwDPcz VU5Q== X-Gm-Message-State: ACrzQf2gNneSRoEup7RGtjO8IatM4m7uq+C7zLlfuqNDT10yvpotqtwf iQEZTzvIA/tp+qV6Ee2XS3MarpmUCcC0JYzmmzBhUg== X-Google-Smtp-Source: AMsMyM7rw2Woe27PaKdY5h15hgBTZ+RJjlr6w2o8cv09bN5b5/yGZZk9hMJmXi0TqpTe1thhuJoRsu+RCOpfocedICw= X-Received: by 2002:a17:907:6e11:b0:78e:3057:f631 with SMTP id sd17-20020a1709076e1100b0078e3057f631mr5585825ejc.333.1665938490218; Sun, 16 Oct 2022 09:41:30 -0700 (PDT) List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 References: <25420.13294.859113.121789@jerusalem.litteratus.org> In-Reply-To: <25420.13294.859113.121789@jerusalem.litteratus.org> From: Warner Losh Date: Sun, 16 Oct 2022 10:41:18 -0600 Message-ID: Subject: Re: can't load drm To: Robert Huff Cc: x11@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ed792705eb298760" X-Rspamd-Queue-Id: 4Mr5Vg5Dv8z3lHD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20210112.gappssmtp.com header.s=20210112 header.b=E8Jrep3a; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2a00:1450:4864:20::633) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.98 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.98)[-0.978]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20210112.gappssmtp.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[x11@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::633:from]; DKIM_TRACE(0.00)[bsdimp-com.20210112.gappssmtp.com:+]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; PREVIOUSLY_DELIVERED(0.00)[x11@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com] X-ThisMailContainsUnwantedMimeParts: N --000000000000ed792705eb298760 Content-Type: text/plain; charset="UTF-8" On Sun, Oct 16, 2022 at 10:40 AM Robert Huff 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


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

Hello:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 On a system running:

FreeBSD 14.0-CURRENT #0 main-dfddfe29d8:
Thu Jul 28 11:36:59 EDT 2022
amd64

=C2=A0 =C2=A0 =C2=A0 =C2=A0 I just replaced the video card and am trying to= load drm-510 (at
boot or with kldload).
=C2=A0 =C2=A0 =C2=A0 =C2=A0 This fails with:

KLD drm.ko: depends on kernel - not available or version mismatch
linker_load_file: /boot/modules/drm.ko - unsupported file type

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Before, drm Just Worked.=C2=A0 (Other stuff did= n't - which is why I
upgraded the video card - but drm did.)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (I deleted and reinstalled the port, in case th= at was the
problem.=C2=A0 Nope.)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 What have I done wrong?=C2=A0 And how do I fix = it?

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

Warner=C2=A0
=C2=A0
--000000000000ed792705eb298760--