lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 16 Jan 2012 16:15:12 -0500
From:	Stefan Berger <stefanb@...ux.vnet.ibm.com>
To:	"Rafael J. Wysocki" <rjw@...k.pl>
CC:	LKML <linux-kernel@...r.kernel.org>,
	Linux PM list <linux-pm@...r.kernel.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Rajiv Andrade <srajiv@...ux.vnet.ibm.com>
Subject: Re: [Regression] Commit "tpm: Introduce function to poll for result
 of self test" breaks suspend

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ