Well, that's kernel fault, not mine! ;-)

Looks like it doesn't find the TPM itself...

My own dmesg shows something like this:

[   70.164382] tpm_tis 00:09: 1.2 TPM (device-id 0x0, rev-id 78)

Can you find something like that in yours?

Em 15-04-2014 18:19, Christopher Ladd escreveu:
I just enabled Kernel logging to go to a file and got the following output for the TPM:

tpm_tis: probe of 00:0b failed with error -5
...
...
tpm_inf_pnp: probe of 00:0b failed with error -22

On Tuesday, April 15, 2014, Christopher Ladd <[email protected] <mailto:[email protected]>> wrote:

    Klogd is running but it looks like I don't have a Kernel log in
    /var/log and I don't get anything out during initiization. How do
    I check the device driver for errors?

    On Tuesday, April 15, 2014, Richard <[email protected]>
    wrote:

        It can't open the TPM device. So, you gotta check the TPM
        device driver for errors.

        Any interesting message in the kernel log or during
        initialization?

        Em 15-04-2014 16:32, Christopher Ladd escreveu:
        I recompiled TrouSerS with debug and ran it with strace and
        received the following output:
        open("/dev/tpm0", O_RDWR) = -1 ENODEV (No such device)
        open("/udev/tpm0", O_RDWR) = -1 ENOENT (No such file or
        directory)
        open("/dev/tpm", O_RDWR) = -1 ENOENT (No such file or directory)



        On Tuesday, April 15, 2014, Richard
        <[email protected]> wrote:

            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]> 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]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to