Can you open the /dev/tpm0 device file?

If not, try to use the strace command to execute trousers. Something like this: strace /usr/sbin/tcsd -f

Among the lines printed, should be something like this:

open("/dev/tpm0", O_RDWR)               = 3

The number after the equal sign is the return value of the syscall. If it's -1, then your problem is with the TPM device driver or the TPM device itself.

Otherwise, you will need more information, so I suggest you build TrouSerS from its source and enable debugging. (./configure --enable-debug)


Em 14-04-2014 10:19, Christopher Ladd escreveu:
I checked netstat and the default port isn't in use. I ran tcsd in the foreground and teceived the following error: TCSD TDDL ERROR: Could not find a device to open. Before running tcsd I run:
Modprobe tpm
Modprobe tpm_bios
Modprobe tpm_tis force=1 interrupts=0

I ran modinfo on tpm_tis and my decice appears (pnp: dIFX0102*)

I also have tpm0 listed in /dev and the TPM is enabled in the BIOS so I'm not really sure where this error is coming from.

On Monday, April 14, 2014, Richard <[email protected] <mailto:[email protected]>> wrote:

    Check if the port used by TrouSerS (default is 30003) is not in use.

    'netstat -ant' will provide you with the list of TCP ports being
    used in your machine.

    Also, you can execute TrouSerS manually from the command line
    using this line: '/usr/sbin/tcsd -f'

    This will put TrouSerS on foreground and let you know what kind of
    error is being generated.

    Em 13-04-2014 16:59, Christopher Ladd escreveu:
    Hi,

    I'm trying to get the TCSD daemon started which it says it starts
    successfully but it looks like it crashes immediately. I try
    /etc/init.d status and it comes back with tcsd dead but subsys
    locked. Any idea on what could cause TCSD to crash so quickly?

    Thanks


    
------------------------------------------------------------------------------
    Learn Graph Databases - Download FREE O'Reilly Book
    "Graph Databases" is the definitive new guide to graph databases and their
    applications. Written by three acclaimed leaders in the field,
    this first edition is now available. Download your free book today!
    http://p.sf.net/sfu/NeoTech


    _______________________________________________
    TrouSerS-users mailing list
    [email protected]  
<javascript:_e(%7B%7D,'cvml','[email protected]');>
    https://lists.sourceforge.net/lists/listinfo/trousers-users


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to