Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2024 08:57:54 -0400
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: kldload tpm: Fail to load: "link_elf_obj: symbol tpm_bus_driver undefined"
Message-ID:  <20240517085754.11ab519e@ralga.knownspace>
In-Reply-To: <CAFDf7UKYB8Z0FW-0F3nTkTe3F0SrnJsmnce8p%2BwagFuuqUW-5w@mail.gmail.com>
References:  <CAFDf7UKYB8Z0FW-0F3nTkTe3F0SrnJsmnce8p%2BwagFuuqUW-5w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 May 2024 11:09:00 +0100
Nuno Teixeira <eduardo@freebsd.org> 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 <jhibbits@FreeBSD.org>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240517085754.11ab519e>