Re: [Regression] Commit "tpm: Introduce function to poll for result of self test" breaks suspend

From: Rafael J. Wysocki
Date: Mon Jan 16 2012 - 17:01:46 EST


On Monday, January 16, 2012, Stefan Berger wrote:
> On 01/16/2012 03:42 PM, Rafael J. Wysocki wrote:
> > On Monday, January 16, 2012, Stefan Berger wrote:
> >> On 01/15/2012 06:22 PM, Rafael J. Wysocki wrote:
> >>> Hi Stefan,
> >>>
> >> Hi Rafael,
> >>
> > That doesn't show anything too.
> >
> > However, after reverting the above commit I get:
> >
> > $ find /sys/devices -name caps | xargs cat
> > Manufacturer: 0x49465800
> > TCG version: 1.2
> > Firmware version: 1.2
> >
> > and system suspend works, although "find /sys/devices -name pcrs | xargs cat"
> > still doesn't show anything.
>
> My guess is your TPM is disabled and/or deactivated and it that mode
> doesn't like the sequence of commands we are sending to it. Well, I
> guess the best is to revert the patch for now. I'll send a patch for this.

Thanks!

> What does
>
> find /sys/devices -name active | xargs cat
>
> currently show? If it shows a '0',

Yes, it does.

> can you try one other thing? Go into your machine's BIOS and find the TPM
> menu and enable/activate the device and try again the
> 'find's and suspend/resume again?

Well, so the problem with that is that it requires Windows to be installed
to change the settings (i.e. the machine has no BIOS setup as we know it).
So, practically, I really can't do that.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/