Date: Fri, 17 May 2024 11:09:00 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: FreeBSD CURRENT <freebsd-current@freebsd.org> Cc: Justin Hibbits <jhibbits@freebsd.org> Subject: kldload tpm: Fail to load: "link_elf_obj: symbol tpm_bus_driver undefined" Message-ID: <CAFDf7UKYB8Z0FW-0F3nTkTe3F0SrnJsmnce8p%2BwagFuuqUW-5w@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--0000000000000b401e0618a38ba5 Content-Type: text/plain; charset="UTF-8" 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, -- Nuno Teixeira FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org --0000000000000b401e0618a38ba5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello,</div><div><br></div><div>tpm kernel module fai= ls to load starting on main from May 9.</div><div>Updated today and same er= ror:</div><div><br></div><div>```<br></div><div>$ kldload tpm</div><div>kld= load: an error occurred while loading module tpm. Please check dmesg(8) for= more details.</div><div><br></div><div>(dmesg)</div><div>link_elf_obj: sym= bol tpm_bus_driver undefined<br>linker_load_file: /boot/kernel/tpm.ko - uns= upported file type</div><div>```</div><div><br></div><div>I believe it is r= elated to:</div><div><br></div><div>---<br></div><div>commit 10eea8dc8c4f3d= 2a3495e7fb08837d91adf465e9<br>Author: Justin Hibbits <jhibbits@FreeBSD.o= rg><br>Date: =C2=A0 Thu May 9 15:27:35 2024 -0400<br><br>=C2=A0 =C2=A0 t= pm20: Support partial reads<br><br>=C2=A0 =C2=A0 Summary:<br>=C2=A0 =C2=A0 = In some cases the TPM utilities may read only a partial block, instead<br>= =C2=A0 =C2=A0 of a full block.=C2=A0 If a new command starts while in the m= iddle of a read<br>=C2=A0 =C2=A0 it may cause the TPM to go catatonic and n= o longer respond to SPI.<br><br>=C2=A0 =C2=A0 Reviewed by: =C2=A0 =C2=A0kd<= br>=C2=A0 =C2=A0 Obtained from: =C2=A0Juniper Networks, Inc.<br>=C2=A0 =C2= =A0 Differential Revision: <a href=3D"https://reviews.freebsd.org/D45140">h= ttps://reviews.freebsd.org/D45140</a></div><div>---</div><div><br></div><di= v>I use tpm for bhyve/Win11.</div><div><br></div><div>Thanks,<br></div><spa= n class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"= gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><= font color=3D"#888888">Nuno Teixeira</font></div><div><div><font color=3D"#= 888888"> FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 <a h= ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr= eeBSD.org</a><br></font></div></div></div></div></div> --0000000000000b401e0618a38ba5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UKYB8Z0FW-0F3nTkTe3F0SrnJsmnce8p%2BwagFuuqUW-5w>