From nobody Fri Oct 20 19:01:30 2023 X-Original-To: stable@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 4SBv896B3Cz4y6Rs for ; Fri, 20 Oct 2023 19:01:45 +0000 (UTC) (envelope-from pj@smo.de) Received: from mail.adebahr.de (mail.adebahr.de [185.66.179.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.adebahr.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SBv876SjSz4DPn for ; Fri, 20 Oct 2023 19:01:43 +0000 (UTC) (envelope-from pj@smo.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=smo.de header.s=mail header.b=PxcrlFjF; spf=pass (mx1.freebsd.org: domain of pj@smo.de designates 185.66.179.123 as permitted sender) smtp.mailfrom=pj@smo.de; dmarc=pass (policy=reject) header.from=smo.de Received: from [192.168.153.201] (p4fe02244.dip0.t-ipconnect.de [79.224.34.68]) by mail.adebahr.de (Postfix) with ESMTPSA id 8DF23600E4 for ; Fri, 20 Oct 2023 21:01:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smo.de; s=mail; t=1697828492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dCxlrqV5H6kM3/uQm4ti6ZgxZBr55BN26RoQoPYszI8=; b=PxcrlFjF4e+I3+I1g9S979CIUvWlXxhOwEyv+qArO5BAD4+DIO8sYfCRYs3K46nI1LrP+Y PGboDqs09qpDFWvr9GWJ8mtZeu8qMCFEvF72V/G4zVBPV4WVjEpOq/jk/AWfQYDbUYiwJt xr0a6BooDyquPD5o4nuv37Xq7sAw2wb6mdwIEY8i+zO+GkpMNcwWWbvpgoDmPwTNInNkBi Bk/J+AyCyeZ5sDulS4oN1uVdvxz1VKLA/WrGh5LrKtRXrgdZIFgfks032WimdgKRKU4hmi 7WoelQ2iYdKqReG9jzgprJQkz7MmuNvAMjK28WXjEEpd32V4Mau5aDNLz3tFFw== To: stable@freebsd.org From: Philipp-Joachim Ost Subject: 14-Stable: Cannot load DRM kernel module Message-ID: Date: Fri, 20 Oct 2023 21:01:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[smo.de,reject]; R_SPF_ALLOW(-0.20)[+ip4:185.66.179.96/27]; R_DKIM_ALLOW(-0.20)[smo.de:s=mail]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:212341, ipnet:185.66.176.0/22, country:DE]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[stable@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[smo.de:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SBv876SjSz4DPn Hi everyone, yesterday, I updated to stable/14 and now I'm facing the problem that I cannot load the DRM kernel modules. After upgrading, I replaced graphics/drm-510-kmod with graphics/drm-515-kmod. I have the following DRM kmod related ports installed: drm-515-kmod-5.15.118 gpu-firmware-radeon-kmod-cedar-20220511 Upon loading radeonkms.ko, I get the following output in dmesg: KLD drm.ko: depends on linuxkpi_hdmi - not available or version mismatch linker_load_file: /boot/modules/drm.ko - unsupported file type KLD radeonkms.ko: depends on drmn - not available or version mismatch linker_load_file: /boot/modules/radeonkms.ko - unsupported file type I have the following kernel modules in /boot/modules # ls -ltr /boot/modules total 6987 -r-xr-xr-x 1 root wheel 501032 Jul 21 20:24 vboxdrv.ko -r-xr-xr-x 1 root wheel 15840 Jul 21 20:24 vboxnetadp.ko -r-xr-xr-x 1 root wheel 34328 Jul 21 20:24 vboxnetflt.ko -r-xr-xr-x 1 root wheel 18000 Oct 20 14:31 radeon_CEDAR_me_bin.ko -r-xr-xr-x 1 root wheel 16992 Oct 20 14:31 radeon_CEDAR_pfp_bin.ko -r-xr-xr-x 1 root wheel 15584 Oct 20 14:31 radeon_CEDAR_rlc_bin.ko -r-xr-xr-x 1 root wheel 36400 Oct 20 14:31 radeon_CEDAR_smc_bin.ko -r-xr-xr-x 1 root wheel 51072 Oct 20 20:58 dmabuf.ko -r-xr-xr-x 1 root wheel 92136 Oct 20 20:58 ttm.ko -r-xr-xr-x 1 root wheel 891984 Oct 20 20:58 drm.ko -r-xr-xr-x 1 root wheel 8581760 Oct 20 20:58 amdgpu.ko -r-xr-xr-x 1 root wheel 2394600 Oct 20 20:58 radeonkms.ko -r-xr-xr-x 1 root wheel 3013712 Oct 20 20:58 i915kms.ko -rw-r--r-- 1 root wheel 11396 Oct 20 20:58 linker.hints # I'm currently running a GENERIC kernel with added 'device iic'. uname -a reports FreeBSD x.y.z.de 14.0-STABLE FreeBSD 14.0-STABLE #1 stable/14-n265543-68513b4102dc-dirty: Fri Oct 16:38:55 CEST 2023 root@x.y.z.de:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 Where do I get the missing linuxkpi_hdmi kernel module from? What am I missing here? I would appreciate it if somebody could point me in the right direction. Thanks! Philipp