Re: regression 2.6.38-rc4 -> 2.6.38-rc5 suspend fails

From: R. J. Wysocki
Date: Thu Feb 17 2011 - 17:58:23 EST


On Thursday, February 17, 2011, Norbert Preining wrote:
> Hi everyone,
>
> (please Cc)
>
> I have a regression here sinc e2.6.38-rc5 against -rc4, suspend does
> not work anymore.
>
> Suspend in rc5 stops with "some devices cannot be suspend":
> [ 186.824325] PM: Preparing system for mem sleep
> [ 187.368534] Freezing user space processes ... (elapsed 0.01 seconds) done.
> [ 187.384141] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
> [ 187.400154] PM: Entering mem sleep
> [ 187.400217] Suspending console(s) (use no_console_suspend to debug)
> [ 187.431788] sd 0:0:0:0: [sda] Synchronizing SCSI cache
> [ 187.431895] sd 0:0:0:0: [sda] Stopping disk
> [ 187.480078] tpm_tis 00:0a: Operation Timed out
> [ 187.480095] legacy_suspend(): pnp_bus_suspend+0x0/0x6a returns -62
> [ 187.480101] PM: Device 00:0a failed to suspend: error -62
> [ 187.919032] PM: Some devices failed to suspend
> [ 187.919108] sd 0:0:0:0: [sda] Starting disk
> [ 189.091224] PM: resume of devices complete after 1172.182 msecs
> [ 189.091687] PM: Finishing wakeup.
> [ 189.091691] Restarting tasks ... done.
> [ 189.107075] video LNXVIDEO:00: Restoring backlight state
>
> Interestingly I don't see anything in lspci with 00:0a

This is a PNP device.

What happens if you revert commit 9b29050 (tpm_tis: Use timeouts returned from TPM)?

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/