Author Topic: suspend, sleep, hibernate and resume?  (Read 5529 times)

pocock

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +32/-0
    • View Profile
suspend, sleep, hibernate and resume?
« on: July 08, 2022, 08:24:44 am »

I saw a couple of threads with comments that the Raptor systems can't suspend or hibernate, this comment and this comment

I searched the wiki and it didn't have any pages about suspend, sleep, hibernate

Does anybody have more details about this?

In the event that hibernate is really impossible, are there any workarounds that people recommend for restoring desktop to a previous state after a complete shutdown?  For example, I've seen some utilities that can reopen windows on the same workspaces and in the same places but this doesn't solve everything.

Debian Developer
https://danielpocock.com

MPC7500

  • Hero Member
  • *****
  • Posts: 588
  • Karma: +41/-1
    • View Profile
    • Twitter
« Last Edit: July 08, 2022, 11:06:11 am by MPC7500 »

pocock

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +32/-0
    • View Profile
Re: suspend, sleep, hibernate and resume?
« Reply #2 on: July 10, 2022, 05:06:23 pm »

Thanks for this feedback

Looking at the IBM doc, the STOP4 and subsequent states (STOP5, STOP11) have some similarities to S3 sleep.  They are not related to full hibernation/suspend.

For those states:

- are they supported in the Talos II / Blackbird firmware?

- are they supported in the Linux (or *BSD) kernels?

- do they require any special utilities in the userspace or desktop?

For a full hibernate / suspend to disk: that particular IBM doc doesn't really indicate whether hibernate is supported.

In the S3 sleep mode from the x86 world, similar to the POWER modes where some cores remain active, RAM continues to have power.

In the full hibernate, you can completely unplug the power supply.  All state from the CPU, RAM, hardware and GPU has been persisted on disk and all of those devices can recover their state when power comes back.
Debian Developer
https://danielpocock.com

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +35/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: suspend, sleep, hibernate and resume?
« Reply #3 on: July 13, 2022, 12:32:20 am »
I've never seen OS support for these modes so far. Whether they're supported in the firmware, I don't know.

MPC7500

  • Hero Member
  • *****
  • Posts: 588
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: suspend, sleep, hibernate and resume?
« Reply #4 on: September 11, 2022, 09:26:00 pm »
It seems it's a hardware issue which will be fixed in future revisions:
https://twitter.com/mpc7500v2/status/1569073212478353408

pocock

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +32/-0
    • View Profile
Re: suspend, sleep, hibernate and resume?
« Reply #5 on: September 12, 2022, 01:16:41 am »

The Tweet says Blackbird v1.02 motherboard supports it but firmware and kernel changes also required

It would be useful to know which version of the Talos II ( / Lite) supports it, if any

Is there any easy way to identify the motherboard version without opening the machine?  Is it logged at bootup, available in the IPMI API or anything else?  Can we deduce the version from the serial number?
Debian Developer
https://danielpocock.com

MPC7500

  • Hero Member
  • *****
  • Posts: 588
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: suspend, sleep, hibernate and resume?
« Reply #6 on: September 12, 2022, 10:54:49 am »
v1.02 is a future revision ...

Corvidae

  • Newbie
  • *
  • Posts: 25
  • Karma: +11/-0
    • View Profile
Re: suspend, sleep, hibernate and resume?
« Reply #7 on: September 12, 2022, 11:50:42 am »
My Blackbird appears to be revision 1.02 according to the silkscreen text on the board. However, reading /sys/firmware/devicetree/base/model says it is revision 1.01 - maybe the firmware just wasn't updated yet?

MPC7500

  • Hero Member
  • *****
  • Posts: 588
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: suspend, sleep, hibernate and resume?
« Reply #8 on: September 12, 2022, 01:02:26 pm »
Possible. I'm surprised ... there wasn't any announcement. I will ask.

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: suspend, sleep, hibernate and resume?
« Reply #9 on: November 01, 2022, 09:32:20 pm »
My Blackbird appears to be revision 1.02 according to the silkscreen text on the board. However, reading /sys/firmware/devicetree/base/model says it is revision 1.01 - maybe the firmware just wasn't updated yet?

Good find. Perhaps an oversight
Faithful Linux enthusiast

My Raptor Blackbird

Borley

  • Full Member
  • ***
  • Posts: 177
  • Karma: +16/-0
    • View Profile
Re: suspend, sleep, hibernate and resume?
« Reply #10 on: April 07, 2023, 08:37:15 am »
It seems it's a hardware issue which will be fixed in future revisions:
https://twitter.com/mpc7500v2/status/1569073212478353408

And on the wiki:

"FPGA Add standby VDDRAB 1.2V power plane controls for corresponding hardware in Blackbird planar revisions 1.02 and above."