From nobody Fri Mar 22 16:27:33 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 4V1SRl1BQrz5FHT2 for ; Fri, 22 Mar 2024 16:28:03 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4V1SRk1kPhz4XJS for ; Fri, 22 Mar 2024 16:28:02 +0000 (UTC) (envelope-from robert@rrbrussell.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rrbrussell.com header.s=fm1 header.b="mT/mnMjB"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=TBsDvnmY; 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 compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id A067311400FA; Fri, 22 Mar 2024 12:28:01 -0400 (EDT) Received: from imap52 ([10.202.2.102]) by compute1.internal (MEProxy); Fri, 22 Mar 2024 12:28:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rrbrussell.com; h=cc: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=1711124881; x=1711211281; bh=GgOe9E6mFI O98YdZ+7bE1inG9SIsIfXJ7ExKFjMDJLo=; b=mT/mnMjB1K6NaVixpiqhxn/M57 r8gYon8mMNI9DDy6COE1gV3anjeZhcnJ4UFSAuT8gP4gzypE7Jj1D0DKH2yTFOpR Bz5UIwCYItssJPlzsEfzOmd8UXhVqo1LFdmd+DxPIVIpWHGU+Vdsu7mErFXPZyQ7 FP63Kd7JuKgA5E7h6YnIGlN9CPxY9XwPwUk4CbgAgCeYHh0idHZpSr06jk5UEqK6 bN2saGUbpBmyHEI5qcsUeqaPG/uq+Go1aESnpHjIS2z2S9A8dkQC+5BDPVyAAr+Q xjTJ7dr6sLHJb35X/ncPzgRtCLN61plhsQxEuM4ex/FOJMwIy+bN/sDjfj1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=1711124881; x=1711211281; bh=GgOe9E6mFIO98YdZ+7bE1inG9SIs IfXJ7ExKFjMDJLo=; b=TBsDvnmYS5xCC3QNLBOo374C2Ok1SpR/xkxAX2f1R39j u7FcQuXwwMcYntsJl26ctpkjG/7TPtH/ithlnP8IwWxhoUfe3eqeo4v/tcdiD/9y /GjiUD9/WqdPDTC54hodeqjbWQNcYu5k3M9JWVuFxy6piBbwSzrut6/nu18rk/D6 lXSiCCvqS5EHn70K2CROJWU//juByQyBupC2dswyrGDyZKOx7Dm6YYVwR14cYzD5 iO94svGqR4FzGJX/nQUCZhyY94dpIveyZnZTj4eMqV4PxZV/gxxwvbzG/1iJbkJ9 J9A8NJGubSbFOYYBVRuDlOtHyyUiG/DUCwsVJdIszg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddtvddgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpehrohgsvghrthesrhhrsghruhhsshgvlhhlrdgtohhmnecu ggftrfgrthhtvghrnhepkefhffevveeugfetteegueegledviedvffevvddtieehvdekke elvefhhfevgedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomheprhhosggvrhhtsehrrhgsrhhushhsvghllhdrtghomh X-ME-Proxy: Feedback-ID: ie421460a:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 564CBC60097; Fri, 22 Mar 2024 12:28:01 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-332-gdeb4194079-fm-20240319.002-gdeb41940 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 Message-Id: <0518cc26-b8a8-408e-8c26-239522cdec7b@app.fastmail.com> In-Reply-To: <9c94a1f8-9bda-4804-99e7-c9ad8f2c4d09@edison> References: <3dacd541.70f0.18e61641e0f.Webtop.74@optimum.net> <20240321224225.6afccf44@astraea.private.rrbrussell.com> <9c94a1f8-9bda-4804-99e7-c9ad8f2c4d09@edison> Date: Fri, 22 Mar 2024 11:27:33 -0500 From: robert@rrbrussell.com To: dvoich , questions Subject: Re: Compiled i915kms.ko errors with incorrect file type does not match kernel Content-Type: text/plain X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.07 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_SHORT(-0.98)[-0.981]; DMARC_POLICY_ALLOW(-0.50)[rrbrussell.com,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; R_DKIM_ALLOW(-0.20)[rrbrussell.com:s=fm1,messagingengine.com:s=fm2]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.155:from]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[robert]; FROM_NO_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[rrbrussell.com:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4V1SRk1kPhz4XJS On Fri, Mar 22, 2024, at 10:32, dvoich wrote: >> On Mar 21, 2024 at 11:42 PM, Robert R. Russell wrote: >> >> 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. >> > 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. >> I failed at the beginning. After loading i915kms.ko I see nothing in dmesg about failing to load anything. I tried kload -v also. >> The CPU is a P8700 which is in the Penryn family. I have not been able to map that to any of the flavors. Your processor is old enough to not require firmware for the video chip. Loading extra firmware became required around the 4000 series Core processors.