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]
Message-Id: <201201162305.15662.rjw@sisk.pl>
Date:	Mon, 16 Jan 2012 23:05:15 +0100
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	Stefan Berger <stefanb@...ux.vnet.ibm.com>
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 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@...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