GithubHelp home page GithubHelp logo

S3 breaks system memory about skulls HOT 21 CLOSED

merge avatar merge commented on July 24, 2024
S3 breaks system memory

from skulls.

Comments (21)

JeffreyAbbinante avatar JeffreyAbbinante commented on July 24, 2024 1

@notthebee is this happening on the latest version? I didn't notice any sleep issues personally.

from skulls.

JeffreyAbbinante avatar JeffreyAbbinante commented on July 24, 2024

I am having this issue too. If I put the laptop to sleep it sometimes won't wake up. I switched back to the stock BIOS for now.

from skulls.

merge avatar merge commented on July 24, 2024

I have this issue too and switched to hibernating. Would you mind searching https://ticket.coreboot.org/projects/coreboot/issues if there's a ticket about this?

from skulls.

merge avatar merge commented on July 24, 2024

nevertheless, during the last 2 months there have been some changes in coreboot related to all lenovo boards, so I did a Skulls release that is basically a coreboot-bump.

Please report if this issue persists with the new version. thanks.

from skulls.

khseal avatar khseal commented on July 24, 2024

I confirm the problem with sleep on the latest version.

from skulls.

notthebee avatar notthebee commented on July 24, 2024

I can confirm the problem too, for now pm-suspend-hybrid is a good backup option

from skulls.

merge avatar merge commented on July 24, 2024

me neither...

from skulls.

notthebee avatar notthebee commented on July 24, 2024

@JeffreyAbbinante @merge I installed the latest version and so far there are no issues with suspending. Will let you know if the issue comes back. Thank you!

from skulls.

merge avatar merge commented on July 24, 2024

The S3 resume problem has occured quite often IRC. Let's wait a week or so before we (hopefully) close this issue.

from skulls.

gazny avatar gazny commented on July 24, 2024

My s3 issue is no longer present since release skulls-x230 0.0.11.

from skulls.

JeffreyAbbinante avatar JeffreyAbbinante commented on July 24, 2024

This issue no longer exists on the latest skulls or any coreboot or heads rom that has been compiled since the previous 0.0.10 release. There were several changes made with regards to how sleep was handled on the newer coreboot versions. I've tested both skulls 0.0.11 and my own self compiled images on my own x230 and sleep works fine.

from skulls.

varac avatar varac commented on July 24, 2024

I use skulls 0.1.0 and its released non-free images. Everything works so but but not resuming from hibernate. These are the regarding boot msgs trying to resume:

Jan 03 11:42:16 rocinante kernel: PM: Image signature found, resuming
Jan 03 11:42:16 rocinante kernel: PM: resume from hibernation
Jan 03 11:42:16 rocinante kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Jan 03 11:42:16 rocinante kernel: OOM killer disabled.
Jan 03 11:42:16 rocinante kernel: PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
Jan 03 11:42:16 rocinante kernel: PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
Jan 03 11:42:16 rocinante kernel: PM: Marking nosave pages: [mem 0xbff0d000-0xffffffff]
Jan 03 11:42:16 rocinante kernel: PM: Basic memory bitmaps created
Jan 03 11:42:16 rocinante kernel: PM: Using 3 thread(s) for decompression
Jan 03 11:42:16 rocinante kernel: PM: Loading and decompressing image data (702020 pages)...
Jan 03 11:42:16 rocinante kernel: Hibernate inconsistent memory map detected!
Jan 03 11:42:16 rocinante kernel: PM: Image mismatch: architecture specific data
Jan 03 11:42:16 rocinante kernel: PM: Read 2808080 kbytes in 0.01 seconds (280808.00 MB/s)
Jan 03 11:42:16 rocinante kernel: PM: Error -1 resuming
Jan 03 11:42:16 rocinante kernel: PM: Failed to load hibernation image, recovering.
Jan 03 11:42:16 rocinante kernel: PM: Basic memory bitmaps freed
Jan 03 11:42:16 rocinante kernel: OOM killer enabled.
Jan 03 11:42:16 rocinante kernel: Restarting tasks ... done.
Jan 03 11:42:16 rocinante kernel: video LNXVIDEO:00: Restoring backlight state
Jan 03 11:42:16 rocinante kernel: PM: resume from hibernation failed (-1)

My dmidecode details:

# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: coreboot
	Version: CBET4000 4.8-2601-g2ca2acc51f-dirty
	Release Date: 12/19/2018
	ROM Size: 12288 kB
	Characteristics:
		PCI is supported
		PC Card (PCMCIA) is supported
		BIOS is upgradeable
		Selectable boot is supported
		ACPI is supported
		Targeted content distribution is supported
	BIOS Revision: 4.0
	Firmware Revision: 0.0

Should I open a dedicated issues for this, to not mix sleep/hibernate modes in this issue ?

from skulls.

varac avatar varac commented on July 24, 2024

Btw, I'm confused about the git commit reference in the skulls 0.1.0 release announcment:

This release includes the following changes:

based on coreboot commit 2ca2acc51f
(parent in master branch 47d6663bba)

I couldn't find 2ca2acc51f in any of upstream coreboot branches, and 47d6663bba is quite old (from Mon May 2 23:16:57 2016).

@merge: Can you please check those commit references ?

from skulls.

paulmenzel avatar paulmenzel commented on July 24, 2024

from skulls.

varac avatar varac commented on July 24, 2024

@paulmenzel Oh, thanks for noticing. What a huge QA period where a commit reaches master after 2,5 years 😨

from skulls.

merge avatar merge commented on July 24, 2024

I'm on vacation until next week, but so much: 2ca2acc51f should be found using skulls git log, i.e. the changes we pull in out-of-tree. But that's only a blobs repo bump as of now.

from skulls.

varac avatar varac commented on July 24, 2024

@merge: I don't understand - I also couldn't find 2ca2acc51 in the skulls git log. It's not urgent - if you have time please paste a command that can be used to find this commit.

from skulls.

merge avatar merge commented on July 24, 2024

what's going on is this: A "upstream bump" change like this pulls in out of tree changes that are up at review.coreboot.org. That's then the git HEAD we build; the git commit in question.

How should we improve our docs?

from skulls.

varac avatar varac commented on July 24, 2024

@merge Ok, now I got it.

How should we improve our docs?

Well you know best what gets pulled in - at least please reference those commits that can't be found from a simple git log, like pointing to the non-merged merge request https://review.coreboot.org/c/coreboot/+/30308 i.e.

from skulls.

varac avatar varac commented on July 24, 2024

Regarding the original issue here - resuming from hibernate still doesn't work for, should I open an issue for this ?

from skulls.

merge avatar merge commented on July 24, 2024

yes, please

from skulls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.