[Tpm4java-users] IOException: Timer expired
Brought to you by:
tews
From: Jason M. <le...@gm...> - 2009-08-17 14:01:51
|
Hi there, When using tpm4java on a Dell / Linux layout (Latitude D63), apparently a Broadcom TPM chip in it I get an IOException in the Linux driver with a message "Timer expired" when reading from the FileInputStream. I've run a few more tests, and it seems that the exception is genuinely caused by some sort of timeout while reading from the device file. I worked out my own (slightly different) linux driver based on a FileChannel (treating it as a non-blocking channel), and while this behaves much better, the code is now stuck in an infinite loop trying to read the data from the TPM device (response from the CreateWrapKey command). The code runs fine against the TPM emulator on my dev machine, but this problam has me going loopy. The only thing I can think of right now is that maybe migratable keys are disabled on the TPM chip (or some such), the data ends 48 bytes short of where it's expected to (if thats at all useful). Any thoughts? I need the keys to be migratable, since they need to be shared between several machines. Thanks very much. Regards, //Jason. |