Re: kldload tpm: Fail to load: "link_elf_obj: symbol tpm_bus_driver undefined"
- In reply to: Justin Hibbits : "Re: kldload tpm: Fail to load: "link_elf_obj: symbol tpm_bus_driver undefined""
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 May 2024 16:06:58 UTC
Working fine! Thanks for fast fix. Justin Hibbits <jhibbits@freebsd.org> escreveu (sexta, 17/05/2024 à(s) 13:57): > 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 > -- Nuno Teixeira FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org