2013-03-19 02:33:31

by Aaron Lu

[permalink] [raw]
Subject: tpm_tis driver failed to suspend, error -62

Hi Rajiv,

Not sure if I should send this to you, please kindly forward it to the
appropriate person if not, thanks.

Peter has encountered a problem during suspend, the tpm_tis driver's
suspend callback will fail, the relevant message is:

[ 192.281757] PM: Syncing filesystems ... done.
[ 192.692479] Freezing user space processes ... (elapsed 0.01 seconds)
done.
[ 192.708159] Freezing remaining freezable tasks ... (elapsed 0.01
seconds)
done.
[ 192.724151] Suspending console(s) (use no_console_suspend to debug)
[ 192.724612] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[ 192.724785] sd 2:0:0:0: [sda] Stopping disk
[ 197.512047] tpm_tis 00:08: tpm_transmit: tpm_send: error -62
[ 197.512055] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -62
[ 197.512057] PM: Device 00:08 failed to suspend: error -62
[ 197.512058] PM: Some devices failed to suspend

And the problem has been there since v2.6.32(shipped in ubuntu 10.04),
and the latest upstream tree(v3.9-rcx) also has this problem. The bug
link is here:
https://bugzilla.kernel.org/show_bug.cgi?id=45761

Please feel free to ask for more information, thanks.

-Aaron


2013-03-19 15:50:33

by Luigi Semenzato

[permalink] [raw]
Subject: Re: [tpmdd-devel] tpm_tis driver failed to suspend, error -62

Error 62 is ETIME. The driver is timing out during a tpm_send,
possibly trying to send the Tpm_SaveState command.

It may be that you cannot talk to the TPM at all. Have you tried
sending messages to the TPM before suspending?

Are there any other tpm entries in the syslog? Like at boot?

What model TPM is it?


On Mon, Mar 18, 2013 at 7:34 PM, Aaron Lu <[email protected]> wrote:
> Hi Rajiv,
>
> Not sure if I should send this to you, please kindly forward it to the
> appropriate person if not, thanks.
>
> Peter has encountered a problem during suspend, the tpm_tis driver's
> suspend callback will fail, the relevant message is:
>
> [ 192.281757] PM: Syncing filesystems ... done.
> [ 192.692479] Freezing user space processes ... (elapsed 0.01 seconds)
> done.
> [ 192.708159] Freezing remaining freezable tasks ... (elapsed 0.01
> seconds)
> done.
> [ 192.724151] Suspending console(s) (use no_console_suspend to debug)
> [ 192.724612] sd 2:0:0:0: [sda] Synchronizing SCSI cache
> [ 192.724785] sd 2:0:0:0: [sda] Stopping disk
> [ 197.512047] tpm_tis 00:08: tpm_transmit: tpm_send: error -62
> [ 197.512055] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -62
> [ 197.512057] PM: Device 00:08 failed to suspend: error -62
> [ 197.512058] PM: Some devices failed to suspend
>
> And the problem has been there since v2.6.32(shipped in ubuntu 10.04),
> and the latest upstream tree(v3.9-rcx) also has this problem. The bug
> link is here:
> https://bugzilla.kernel.org/show_bug.cgi?id=45761
>
> Please feel free to ask for more information, thanks.
>
> -Aaron
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> tpmdd-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

2013-03-21 13:23:47

by peterasplund

[permalink] [raw]
Subject: Re: [tpmdd-devel] tpm_tis driver failed to suspend, error -62

Hi! Sadly, I have to say that I'm totally oblivious to power-related
stuff both in software and hardware, so I have no idea what you are
asking or proposing.. :)

I don't know if you have access to the files I've included in the bug
report, so here are the links to them:
https://launchpadlibrarian.net/105830773/lspci.txt
https://launchpadlibrarian.net/95994294/AcpiTables.txt
https://launchpadlibrarian.net/95994318/BootDmesg.txt
https://launchpadlibrarian.net/95994354/UdevDb.txt

Regarding the syslog during boot, is that the same as the BootDmesg
I've attached? Or should I search in another log file?
I'm not sure about the model, but I was hoping you could deduct
something from the UdevDb or the lspci output above.

BR,
Peter

2013-03-19 16:50 skrev Luigi Semenzato:
> Error 62 is ETIME. The driver is timing out during a tpm_send,
> possibly trying to send the Tpm_SaveState command.
>
> It may be that you cannot talk to the TPM at all. Have you tried
> sending messages to the TPM before suspending?
>
> Are there any other tpm entries in the syslog? Like at boot?
>
> What model TPM is it?
>
>
> On Mon, Mar 18, 2013 at 7:34 PM, Aaron Lu <[email protected]> wrote:
>> Hi Rajiv,
>>
>> Not sure if I should send this to you, please kindly forward it to
>> the
>> appropriate person if not, thanks.
>>
>> Peter has encountered a problem during suspend, the tpm_tis driver's
>> suspend callback will fail, the relevant message is:
>>
>> [ 192.281757] PM: Syncing filesystems ... done.
>> [ 192.692479] Freezing user space processes ... (elapsed 0.01
>> seconds)
>> done.
>> [ 192.708159] Freezing remaining freezable tasks ... (elapsed 0.01
>> seconds)
>> done.
>> [ 192.724151] Suspending console(s) (use no_console_suspend to
>> debug)
>> [ 192.724612] sd 2:0:0:0: [sda] Synchronizing SCSI cache
>> [ 192.724785] sd 2:0:0:0: [sda] Stopping disk
>> [ 197.512047] tpm_tis 00:08: tpm_transmit: tpm_send: error -62
>> [ 197.512055] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns
>> -62
>> [ 197.512057] PM: Device 00:08 failed to suspend: error -62
>> [ 197.512058] PM: Some devices failed to suspend
>>
>> And the problem has been there since v2.6.32(shipped in ubuntu
>> 10.04),
>> and the latest upstream tree(v3.9-rcx) also has this problem. The
>> bug
>> link is here:
>> https://bugzilla.kernel.org/show_bug.cgi?id=45761
>>
>> Please feel free to ask for more information, thanks.
>>
>> -Aaron
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_mar
>> _______________________________________________
>> tpmdd-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tpmdd-devel