I have just recently installed both trousers and tpm_tools on RHEL6.4. I
haven't found the same errors. What system you run them on?
Vicky
On Mon, Jun 9, 2014 at 4:50 PM, Ken Goldman <[email protected]> wrote:
> I believe now that the issue was incompatibility between trousers and
> tpm_tools. I suspect that someone changed the packet format.
>
> So, IMHO, the bug is the lack of documentation. Both trousers and
> tpm_tools should indicate in their install instructions which versions
> are compatible.
>
> I've always thought that trousers and tpm_tools should be merged, since
> users most likely want both. Now that I see the lack of binary
> compatibility among releases, I'm even more convinced that they should
> be a pair.
>
> On 6/9/2014 2:53 PM, Hon Ching Lo wrote:
> > Can you please provide a trace for this as well?
> >
> >
> > Vicky
> >
> >
> > On Tue, May 27, 2014 at 6:50 PM, Ken Goldman <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > I tried a simpler command, which also fails. Here's a trace compiled
> > for debug.
> >
> > Note that the tcsd communicates with the TPM, running several
> getcaps.
> > There seems to be some incompatibility with tpm_tools.
> >
> > The (uncommented) getTCSDPacket() seems to be checking a size. The
> left
> > hand side is 28 and the right hand side is 0. But what is it
> checking
> > and why is it failing?
> >
> > ~~ tpm_version trace ~~
> >
> >
> > > tpm_version
> > Tspi_Context_Connect failed: 0x00002004 - layer=tcs, code=0004 (4),
> > Internal software error
> >
> > ~~ tcsd trace ~~
> >
> > TCSD TCS tcsi_caps_tpm.c:43 Entering Get Cap
> > To TPM: 00 C1 00 00 00 12 00 00 00 65 00 00 00 07 00 00
> > To TPM: 00 00
> > TCSD TDDL tddl.c:171 Calling write to driver
> > From TPM: 00 C4 00 00 00 10 00 00 00 00 00 00 00 02 00 00
> > TCSD svrside.c:493 trousers 0.3.13: TCSD up and running.
> > TCSD svrside.c:531 Waiting for connections
> > TCSD svrside.c:556 accepted socket 7
> > TCSD svrside.c:531 Waiting for connections
> > TCSD tcsd_threads.c:232 total_recv_size 28, buf_size 1024,
> > recd_so_far 28
> > TCSD tcsd_threads.c:284 Rx'd packet
> > TCSD TCS ERROR: rpc/tcstp/rpc.c:624 Invalid packet received by TCSD
> > LOG_RETERR TCSD TCS rpc/tcstp/rpc.c:625: 0x4
> > TCSD tcsd_threads.c:313 Sending 0x1C bytes back
> > TCSD TCS rpc/tcstp/rpc.c:68 Socket connection closed.
> > TCSD tcsd_threads.c:325 Thread exiting.
>
> >
> >
>
>
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> TrouSerS-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/trousers-users
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users