[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2021-02-07 Thread Launchpad Bug Tracker
[Expired for linux (Ubuntu) because there has been no activity for 60
days.]

** Changed in: linux (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-12-09 Thread luen_throwaway0
Was able to suspend and wake 3 times consecutively with no apparent
error using this kernel (#17).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-12-08 Thread Kai-Heng Feng
Please test this kernel:
https://people.canonical.com/~khfeng/lp1891502/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-11-09 Thread luen_throwaway0
Attached dmesg after 2 suspend cycles on 5.0.0rc8

** Attachment added: "dmesg.out2"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+attachment/5432772/+files/dmesg.out2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-11-05 Thread Kai-Heng Feng
Ok, can you please also attach dmesg under 5.0.0-rc8, with two suspend
cycles?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-11-05 Thread luen_throwaway0
dmesg attached, after one successful suspend and one subsequent failed
suspend.

** Attachment added: "dmesg.out"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+attachment/5431652/+files/dmesg.out

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-11-04 Thread Kai-Heng Feng
Forgot to ask you to suspend to reproduce the problem, then attach the
dmesg...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-11-04 Thread luen_throwaway0
dmesg attached below after install and reboot.

** Attachment added: "dmesg.out"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+attachment/5431236/+files/dmesg.out

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-11-04 Thread Kai-Heng Feng
Can you please install the latest mainline kernel and attach dmesg here?
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10-rc2/amd64/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-10-26 Thread luen_throwaway0
Any update? @kaihengfeng Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-09-09 Thread luen_throwaway0
a3fbfae82b4cb3ff9928e29f34c64d0507cad874 is the first bad commit
commit a3fbfae82b4cb3ff9928e29f34c64d0507cad874
Author: Jarkko Sakkinen 
Date:   Mon Nov 5 02:07:56 2018 +0200

tpm: take TPM chip power gating out of tpm_transmit()

Call tpm_chip_start() and tpm_chip_stop() in

* tpm_chip_register()
* tpm_class_shutdown()
* tpm_del_char_device()
* tpm_pm_suspend()
* tpm_try_get_ops() and tpm_put_ops()
* tpm2_del_space()

And remove these calls from tpm_transmit(). The core reason for this
change is that in tpm_vtpm_proxy a locality change requires a virtual
TPM command (a command made up just for that driver).

The consequence of this is that this commit removes the remaining nested
calls.

Signed-off-by: Jarkko Sakkinen 
Reviewed-by: Stefan Berger 
Tested-by: Stefan Berger 
Reviewed-by: Jerry Snitselaar 
Reviewed-by: James Bottomley 
Tested-by: Alexander Steffen 

 drivers/char/tpm/tpm-chip.c   | 38 ++
 drivers/char/tpm/tpm-interface.c  | 18 +-
 drivers/char/tpm/tpm.h|  9 -
 drivers/char/tpm/tpm2-space.c |  5 -
 drivers/char/tpm/tpm_tis_core.c   |  4 
 drivers/char/tpm/tpm_vtpm_proxy.c |  3 +--
 6 files changed, 40 insertions(+), 37 deletions(-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-09-02 Thread luen_throwaway0
I got the following -rc kernels narrowed down. Will continue later.
5.0.0-rc8 good
5.1.0-rc1 bad

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-09-01 Thread Kai-Heng Feng
Would it be possible for you to do a kernel bisection?

First, find the last -rc kernel works and the first -rc kernel doesn’t
work from http://kernel.ubuntu.com/~kernel-ppa/mainline/

Then,
$ sudo apt build-dep linux
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ cd linux
$ git bisect start
$ git bisect good $(the working version you found)
$ git bisect bad $(the non-working version found)
$ make localmodconfig
$ make -j`nproc` deb-pkg
Install the newly built kernel, then reboot with it.
If it still have the same issue,
$ git bisect bad
Otherwise,
$ git bisect good
Repeat to "make -j`nproc` deb-pkg" until you find the offending commit.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-08-24 Thread luen_throwaway0
Can confirm 5.9.0-rc1 did not work for me (following the instruction at
https://wiki.ubuntu.com/Kernel/MainlineBuilds). I also experienced the
same behavior where it worked the first time but not after that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-08-22 Thread Steve Kieu
I just complied and test the latest mainline kernel 5.9.0-rc1 from
kernel.org and problem is not fixed.

It might be the bios firmware need to be updated but given the old
laptop HP did not offer any update anymore.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-08-22 Thread Steve Kieu
I have hit the same issues with my old laptop Compaq 2510p

It works fine with kernel 4.x.x. For all 5.x.x I can suspend the first
time, but then after that I no longer be able to suspend.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1891502] Re: tpm tpm0: Error (28) sending savestate before suspend

2020-08-18 Thread Kai-Heng Feng
Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.9-rc1/amd64/

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs