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

From: Stefan Berger
Date: Mon Jan 16 2012 - 16:22:27 EST


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.

What does

find /sys/devices -name active | xargs cat

currently show? If it shows a '0', 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?

Thanks.

Stefan

--
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/