From nobody Fri Mar 22 03:42:25 2024 X-Original-To: questions@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 4V17SQ5Kskz5FYZL for ; Fri, 22 Mar 2024 03:42:30 +0000 (UTC) (envelope-from robert@rrbrussell.com) Received: from fhigh4-smtp.messagingengine.com (fhigh4-smtp.messagingengine.com [103.168.172.155]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4V17SP6Pwpz3y34 for ; Fri, 22 Mar 2024 03:42:29 +0000 (UTC) (envelope-from robert@rrbrussell.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rrbrussell.com header.s=fm1 header.b=DKbKrwdG; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="s +7Qg87"; dmarc=pass (policy=quarantine) header.from=rrbrussell.com; spf=pass (mx1.freebsd.org: domain of robert@rrbrussell.com designates 103.168.172.155 as permitted sender) smtp.mailfrom=robert@rrbrussell.com Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 914C011400E2 for ; Thu, 21 Mar 2024 23:42:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 21 Mar 2024 23:42:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rrbrussell.com; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1711078949; x=1711165349; bh=xjP4N/zl+k/QgnVr9KT7LlHI0cvneXquX05cvO0uMaI=; b= DKbKrwdGXs9LVNDEPTnhaiwNMrjrptTh6JFwHhy7WdhfJU/rqyZ3ongshrB6g9kH amfTtgk71HDzg+z6+597LvrPFonj4vX1YU7eV+9/2H3fnQqIu9x9GJbXuTK9Fqmk tD73/aIeCIYamT49VyacAG+VoicAvuqmkwHAFG3NDsZOFg7hXyxQ3SpZnUMLqDFp x7kR1inQfO5Dmor25vmEft6Z/IQPO7ZkFtV3adG8XHYtn35/1bYo8z1jvcE2KXLB 4T05kUNE9tPpT3Nk00PxzJLjWDlWSBew6eS8yl9uFH84Ws/p1DmKHEqbunr1KdXs 7AMZgEMNyfW/XVXLie445A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1711078949; x= 1711165349; bh=xjP4N/zl+k/QgnVr9KT7LlHI0cvneXquX05cvO0uMaI=; b=s +7Qg87xYOczw0wzbjnsU+J3AizLWUG0c/Gz0lM7LEj44vJ50zZoKYZfEpRyzwbwr 7aDG9x49hEsZVyxjE45CB++YIVMfNKe4uPbrF5sYqFsxdoUqXyO5BxuKdvc0dlG2 l7KeHWYybEqlqlHkq8YXMKvoQtagj3eAwC/Vc1nS1f7QwZo+T6YP95DsTA/KslTl 68f8Rq39irluw1PQxp6LHPx9EJhShVxppHsr1ujlbGXinuOqhbNKhrV0bMNFwpb2 twWUyOUfB7zw5Rqjb13UcrHf+bNQ2Iouq3+484xm2umEQI6nS+XIFboHz/G6CVXj HPmt5mS8t6qppCOgIFj/w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrleelgdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfgjfhfogggtgfesthhqre dtredtjeenucfhrhhomhepfdftohgsvghrthcutfdrucftuhhsshgvlhhlfdcuoehrohgs vghrthesrhhrsghruhhsshgvlhhlrdgtohhmqeenucggtffrrghtthgvrhhnpefhheefff eiiefhuddtuefgffejieffueehtdfgjeefueeggeehkefgvdevtdffkeenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrohgsvghrthesrhhrsg hruhhsshgvlhhlrdgtohhm X-ME-Proxy: Feedback-ID: ie421460a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 21 Mar 2024 23:42:28 -0400 (EDT) Date: Thu, 21 Mar 2024 22:42:25 -0500 From: "Robert R. Russell" To: questions@freebsd.org Subject: Re: Compiled i915kms.ko errors with incorrect file type does not match kernel Message-ID: <20240321224225.6afccf44@astraea.private.rrbrussell.com> In-Reply-To: <3dacd541.70f0.18e61641e0f.Webtop.74@optimum.net> References: <3dacd541.70f0.18e61641e0f.Webtop.74@optimum.net> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.89)[-0.890]; DMARC_POLICY_ALLOW(-0.50)[rrbrussell.com,quarantine]; R_DKIM_ALLOW(-0.20)[rrbrussell.com:s=fm1,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.155:from]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[robert]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[rrbrussell.com:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4V17SP6Pwpz3y34 On Thu, 21 Mar 2024 10:22:15 -0400 (EDT) dvoich@optonline.net wrote: > I used portmaster to update my ports. When I booted up the next day > X11 failed to start. I saw that i915kms.ko failed to load. I thought > all I had to do was recompile and install drm-kmod. I compiled and > installed both from the ports. Not the one marked "ignore". > They both failed to load. > I am running 14.0 p5.=C2=A0 > I must have missed some step but I have no clue what it could be. The graphics/drm-kmod port is a meta port that pulls in the correct graphics/drm--kmod port and all of the graphics/gpu-firmware--kmod@ ports. Just rebuilding it will not rebuild the dependencies. For FreeBSD-14 you need graphics/drm-515-kmod and one of the flavors of graphics/gpu-firmware-intel-kmod to provide the firmware files. Once graphics/drm-515-kmod is rebuilt load the i915kms kernel module and then check dmesg for the name of which firmware file it couldn't load. Most of the files are named something like alk where the a stands for alder and the lk stand for lake. ```make -V FLAVORS``` in graphics/gpu-firmware-intel-kmod will give you all of the FLAVORS you can build. Once you know which flavor you need I would put the portmaster incantation to rebuild graphics/drm-515-kmod and graphics/gpu-firmware-intel-kmod@ in a shell script that you can run after every kernel installation.