From: Stella B. <ste...@ya...> - 2008-07-29 14:01:35
|
hi, I use atmel TPM 1.2, enabled, activated, and take ownship with vista. SRK pwd is null. when I tried the demo with command prompt as Admin, but both sys and user's PS won't work (3 ERRORS), and I got 9 other failures, seems createkeywithpcr and many other functions can't work either: I also tried to clearownership and use the testsuit, still got this problem. Could you help me out here? The log is below. Thank you. 18:52:29:302 [DEBUG] TestMain::allTests (40): testsuite starting up .18:52:29:926 [INFO] TcContext::<clinit> (135): Unable to instantiate user persistent storage (iaik.tc.tss.impl.ps.TcTssUserPsFileSystem). Disabling user persistent storage. 18:52:30:035 [INFO] TcTddlVista::<clinit> (32): Windows Vista detected. Using TBS based TPM access. 18:52:30:066 [INFO] TcTddlVista::<clinit> (37): Native Vista DLL loaded from jar file. 18:52:30:254 [INFO] TcTcsi::<clinit> (157): Unable to instantiate system persistent storage (iaik.tc.tss.impl.ps.TcTssSystemPsFileSystem). Disabling system persistent storage. .18:52:30:675 [INFO] TestTakeOwnership::testTakeOwnership (36): TPM ownership command is disabled ...F.18:52:32:984 [INFO] TestTpm::testGetEndorsementKeyNoOwner (90): Reading public EK without owner authorization is disabled. .18:52:33:124 [INFO] TestTpm::testGetEndorsementKeyNoOwnerSelfValidate (130): Reading public EK without owner authorization is disabled. ....18:52:34:060 [INFO] TcTcsEventMgrMem::<init> (43): Using "in memory" event log. ...18:52:38:787 [DEBUG] TestKeys::testCreateKeyWithPcr (151): HERE F.....F.18:55:04:101 [INFO] TestEkCerts::testGetCredentials (40): Unable to obtain EK certificate for this TPM. .F....F.E.F.F.E..F.E.F.. Time: 550.461 There were 3 errors: 1) testGetKeyByPublicInfoFromSystemPersistentStorage(iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage)java.lang.NullPointerException at iaik.tc.tss.impl.java.tsp.TcContext.registerKey(TcContext.java:932) at iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage..testGetKeyByPublicInfoFromSystemPersistentStorage(TestPersistentStorage.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 2) testGetRegisterKeysInUserPersistentStorageSimpleTest(iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage)java.lang.NullPointerException at iaik.tc.tss..impl.java.tsp.TcContext.registerKey(TcContext.java:932) at iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage.testGetRegisterKeysInUserPersistentStorageSimpleTest(TestPersistentStorage.java:597) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 3) testRegisterKeyInUserPersistentStorage(iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage)java.lang.NullPointerException at iaik.tc.tss.impl.java.tsp.TcContext.registerKey(TcContext.java:932) at iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage.testRegisterKeyInUserPersistentStorage(TestPersistentStorage.java:761) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) There were 9 failures: 1) testGetEndorsementKeyOwner(iaik.tc.tss.test.tsp.java.tpm.TestTpm)junit.framework.AssertionFailedError: testGetEndorsementKeyOwner failed at iaik.tc.tss.test.tsp.java.tpm.TestTpm.testGetEndorsementKeyOwner(TestTpm.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 2) testCreateKeyWithPcr(iaik.tc.tss.test.tsp.java.keys.TestKeys)junit.framework.AssertionFailedError: testCreateKeyWithPcr failed at iaik.tc.tss.test.tsp.java.keys.TestKeys.testCreateKeyWithPcr(TestKeys.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 3) testQuote2(iaik.tc.tss.test.tsp.java.tpm.TestQuote)junit.framework.AssertionFailedError: testQuote2 at iaik.tc.tss.test.tsp.java.tpm.TestQuote.testQuote2(TestQuote.java:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect..NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 4) testCreateIdentity(iaik.tc.tss.test.tsp..java.identity.TestIdentityCreation)junit.framework.AssertionFailedError: client: CollateIdentityRequest failed at iaik.tc.tss.test.tsp.java.identity.TestIdentityCreation.testCreateIdentity(TestIdentityCreation.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 5) testSealAndUnsealWithPcrBoundKey(iaik.tc.tss.test.tsp.java.data.TestEncData)junit.framework.AssertionFailedError: sealing and unsealing failed at iaik.tc.tss.test.tsp.java..data.TestEncData.testSealAndUnsealWithPcrBoundKey(TestEncData.java:211) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss..test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test..tsp.java.TestMain.run(TestMain.java:30) 6) testKeyHierarchyInitializationAndKeyLoading(iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage)junit.framework.AssertionFailedError: unable to test user and system persistent key hierarchy at iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage.testKeyHierarchyInitializationAndKeyLoading(TestPersistentStorage.java:407) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 7) testGetRegisterKeysInSystemPersistentStorageSimpleTest(iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage)junit.framework.AssertionFailedError: unable to retrieve key info enumeration of keys registered in system persistent storage at iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage.testGetRegisterKeysInSystemPersistentStorageSimpleTest(TestPersistentStorage.java:534) at sun.reflect.NativeMethodAccessorImpl..invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 8) testRegisterKeyInSystemPersistentStorage(iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage)junit.framework.AssertionFailedError: unable to register and unregister key in system persistent storage at iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage.testRegisterKeyInSystemPersistentStorage(TestPersistentStorage.java:725) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 9) testSimpleKeyHierarchyTest(iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage)junit.framework.AssertionFailedError: unable to retrieve key info enumeration of keys registered in system persistent storage at iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage.testSimpleKeyHierarchyTest(TestPersistentStorage.java:904) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) FAILURES!!! Tests run: 35, Failures: 9, Errors: 3 |