From: <mic...@ha...> - 2010-02-07 22:42:16
|
Hi, I have some Problems with my TPM Infineon (IFX) 1.2.3.16 at Windows 7 Enterprise (32-Bit) and Windows Vista Ultimate (32-Bit). Under Linux all operations work fine. In Windows 7, all operations without authorization work, but operations with authorization fail. It fails with error code 0x30c4 (The auth session has been closed by the TPM). Here an example to try take ownership with jTpmTools 0.4 and jTSS 0.4.1: c:\Users\testuser\workspace\jTpmTools_0.4>java iaik.tc.apps.JTpmTools take_owner -o password 17:09:42:602 [INFO] TcTddlVista::<clinit> (32): Windows Vista detected. Using TBS based TPM access. 17:09:42:602 [INFO] TcTddlVista::<clinit> (37): Native Vista DLL loaded from jar file. 17:09:42:945 [INFO] TcTcsEventMgrMem::<init> (44): Using "in memory" event log. 17:09:43:101 [INFO] CommonSettings::getTssFactory (68): No C based TSS found. Using IAIK jTSS... iaik.tc.tss.api.exceptions.tcs.TcTcsException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0xc4 error code (full): 0x30c4 error message: The auth session has been closed by the TPM additional info: The provided auth session is not loaded in the TPM and is not cached. It might have been evicted (from TPM and/or cache) due to space limitations. at iaik.tc.tss.impl.java.tcs.authmgr.TcTcsAuthCacheTpm12.ensureAuthsAreLoadedInTpm(TcTcsAuthCacheTpm12.java:151) at iaik.tc.tss.impl.java.tcs.tcsi.TcTcsi.TcsipTakeOwnership(TcTcsi.java:1125) at iaik.tc.tss.impl.java.tsp.tcsbinding.local.TcTcsBindingLocal.TcsipTakeOwnership(TcTcsBindingLocal.java:318) at iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspTakeOwnership_Internal(TcTspInternal.java:882) at iaik.tc.tss.impl.java.tsp.TcTpm.takeOwnership(TcTpm.java:1707) at iaik.tc.apps.jtt.owner.TakeOwnership.execute(TakeOwnership.java:100) at iaik.tc.utils.cmdline.SubCommand.run(SubCommand.java:69) at iaik.tc.utils.cmdline.SubCommandParser.parse(SubCommandParser.java:41) at iaik.tc.apps.JTpmTools.main(JTpmTools.java:183) c:\Users\testuser\workspace\jTpmTools_0.4> Under Vista I get for all TPM operation this curious error (jTSS 0.4 or 0.4.1): C:\Program Files\jTSS\tests>run_tests_simple.cmd 17:55:30:862 [ERROR] TcTcsi::<clinit> (129): TCS startup failed. 17:55:30:862 [ERROR] TcTcsi::<clinit> (129): TSS Error: error layer: 0x00 (TPM) error code (without layer): 0x00 error code (full): 0x9c030000 error message: Success. iaik.tc.tss.api.exceptions.tcs.TcTpmException: TSS Error: error layer: 0x00 (TPM) error code (without layer): 0x00 error code (full): 0x9c030000 error message: Success. at iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon.handleRetCode(TcTpmCmdCommon.java:73) at iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCapability.TpmGetCapability(TcTpmCmdCapability.java:66) at iaik.tc.tss.impl.java.tcs.TcTcsCommon.isOrdinalSupported(TcTcsCommon.java:68) at iaik.tc.tss.impl.java.tcs.tcsi.TcTcsi.<clinit>(TcTcsi.java:112) at iaik.tc.tss.impl.java.tsp.tcsbinding.local.TcTcsBindingLocal.TcsiOpenContext(TcTcsBindingLocal.java:177) at iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspContextOpen_Internal(TcTspInternal.java:378) at iaik.tc.tss.impl.java.tsp.TcContext.connect(TcContext.java:167) at iaik.tc.tss.impl.java.tsp.TcContext.connect(TcContext.java:194) at iaik.tc.tss.test.tsp.java.simple.TestMain.testTSSService(TestMain.java:30) at iaik.tc.tss.test.tsp.java.simple.TestMain.main(TestMain.java:72) C:\Program Files\jTSS\tests> The Windows internal TPM tool (tpm.msc) can access to TPM without error. Any ideas? regards m. |