lkml.org 
[lkml]   [2011]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [REGRESSION] tpm_tis on Lenovo T410 broken in 2.6.38-rc6
    On Fri, Mar 04, 2011 at 11:44:18AM -0300, Rajiv Andrade wrote:
    > The bug was that when running the kernel with IMA, at boot time, it
    > issues 3 TPM commands IIRC, given the 2 min timeout,
    > when the TPM didn't respond due to it not working with interrupts
    > for example, the boot hang for 6 minutes.

    At boot time, why don't you just poll? Maybe I'm missing something.

    Or you could just simply use a different default timeout during the
    boot sequence, or simply tell your IMA users to disable it, since if
    you are just hacking the TPM to do a fast fail, the IMA is going to be
    broken anyway, right?

    > Thanks, it is. HZ isn't enough time for this TPM/setup to have short
    > timeout commands to succeed, including
    > the tpm_get_timeouts(). I was skeptic at first that this would be
    > the reason since I have the same machine,
    > and was working for me, the reason I asked for these parameters
    > setup attempts.

    Yes, but you're probably doing different TPM operations than I am....
    I'm not trying to do IMA, I'm trying to login to a WPA2 protected
    network where the private key needed to authenticate to the enterprise
    wireless network is locked in the TPM.

    - Ted


    \
     
     \ /
      Last update: 2011-03-06 11:19    [W:4.557 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site