From nobody Fri May 17 12:57:54 2024 X-Original-To: freebsd-current@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 4Vgn7V4YHXz5L81Q for ; Fri, 17 May 2024 12:57:58 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vgn7V41gJz44rV; Fri, 17 May 2024 12:57:58 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715950678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XYetJG6CIz+wMrFp+IQelQnamx7+txdRzhoxlI8IfJ4=; b=QVmI5XX7APS0eUXqy1RBZOlYuJaj6c7j8qY58RVr+yDIa0JCZZvjYwUtxm/FV3ttFgCm9K iCgJV2llrDhMkuhGycxg7askdtrvLuR7mTM1xq7IdMb5JdEPhiSgqfw3MaUjsYqlDVBLyT +3d1LyNFgm2017cObVR6XqfCZs41R7/xLRMhpe6yMPSCTeSZ0sELx1x6tIZmbPJc7BVMJH WtAAuSE9TqU4IxOznTALBa9p5syvc6sI4L24PTqYOwadTFTT4bnDt9tdEqLmfgDxV5VQJI 8SW4x+lFQhXNs64gUQPVNd93Qz1maIKUosah6VkK6bhkA3MuO1VuNHZqdHqrbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715950678; a=rsa-sha256; cv=none; b=iTdriE80EHDde5spdfev9rD9L2V0CnDlJd06Q+B9KCgsoPS/TfkLJ7JTEL+PSROBXPwtWZ 5aW+tFMy7E4/tJBRsfG1E8xQAAmDIVDVYi0ntmKaB34GNdvdrAHqpDxCuQPtsLNfxpov9v rIm5kp1PSxdn4WyXTL3BnaqaVuXUsNZ7IPjc+Jh/GIDLH4766mH1KCCmMP/RPQaTcevqJv 6PxembxtxwOrR/8VPOQWgD5tolmGHEpwKs2764IFOfx0W2kO//Ls5INkkVtgzd/qnE+NIl +Z79jxfCK2m5hshVsba3HUB1xJg59S8R+d3RbP39WW8iApYIyHYl4utrFLN/xQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715950678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XYetJG6CIz+wMrFp+IQelQnamx7+txdRzhoxlI8IfJ4=; b=TLpOMuxZqpdyDzIWntqmtueuSANBy26FGe17EOVyQ01y0SCu5b2JWiZYIIoWfSAUyFd41/ wFnHNvrIIaAt5JLf9e+pr5G5vKNjRV6OgHfurWpv4jZnsTVkg8rkuKQu7k2W3hFqKpPKTX 8sv0gjs+Lokfnu7ejN9djTCVvds/648pTFvrAuYlc4a5cpySbdR/osau25lkewiijgisbm gTuAR+77w4QNJIfoP7MtHiZSuwFrrQBv6aAR/HlXvQNSYsXUM6WkWMyL6HdC/jSNZTBKrp ytOHy5AurkVONCpaqxBdlREfKfBvEjckgubnuExQ8PUsXVClZXoe2ZCHMFzt4Q== Received: from ralga.knownspace (ip-163-182-7-56.dynamic.fuse.net [163.182.7.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhibbits) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Vgn7V2b0kz1Rqn; Fri, 17 May 2024 12:57:58 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Date: Fri, 17 May 2024 08:57:54 -0400 From: Justin Hibbits To: Nuno Teixeira Cc: FreeBSD CURRENT Subject: Re: kldload tpm: Fail to load: "link_elf_obj: symbol tpm_bus_driver undefined" Message-ID: <20240517085754.11ab519e@ralga.knownspace> In-Reply-To: References: X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; powerpc64le-unknown-linux-gnu) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 17 May 2024 11:09:00 +0100 Nuno Teixeira wrote: > Hello, > > tpm kernel module fails to load starting on main from May 9. > Updated today and same error: > > ``` > $ kldload tpm > kldload: an error occurred while loading module tpm. Please check > dmesg(8) for more details. > > (dmesg) > link_elf_obj: symbol tpm_bus_driver undefined > linker_load_file: /boot/kernel/tpm.ko - unsupported file type > ``` > > I believe it is related to: > > --- > commit 10eea8dc8c4f3d2a3495e7fb08837d91adf465e9 > Author: Justin Hibbits > Date: Thu May 9 15:27:35 2024 -0400 > > tpm20: Support partial reads > > Summary: > In some cases the TPM utilities may read only a partial block, > instead of a full block. If a new command starts while in the middle > of a read it may cause the TPM to go catatonic and no longer respond > to SPI. > > Reviewed by: kd > Obtained from: Juniper Networks, Inc. > Differential Revision: https://reviews.freebsd.org/D45140 > --- > > I use tpm for bhyve/Win11. > > Thanks, Sorry for the breakage. Should be fixed by 62adeb92. - Justin