Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running this tool hangs the system #9

Open
project-administrator opened this issue Oct 17, 2022 · 1 comment
Open

Running this tool hangs the system #9

project-administrator opened this issue Oct 17, 2022 · 1 comment

Comments

@project-administrator
Copy link

project-administrator commented Oct 17, 2022

I ran the following command:

./s0ix-selftest-tool.sh -s

The system suspended into s2idle. After 5 seconds or so it wakes up and shows messages on the console about "read-error swap device" and "buffer IO error on device" of my boot partition. From this moment the system is frozen and I have to hold the power button for a few seconds to turn it off.
Logs of the s0ix:

$ cat 20221017-09-44-s0ix-output.log

---Check S2idle path S0ix Residency---:

The system OS Kernel version is:
Linux kl02 5.18.0-kali7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1kali1 (2022-08-31) x86_64 GNU/Linux

---Check whether your system supports S0ix or not---:

Low Power S0 Idle is:1
Your system supports low power S0 idle capability.



---Check whether intel_pmc_core sysfs files exit---:

The pmc_core debug sysfs files are OK on your system.



---Judge PC10, S0ix residency available status---:

Test system supports S0ix.y substate

S0ix substate before S2idle:
  S0i2.0

S0ix substate residency before S2idle:
  0
@qwang59
Copy link
Contributor

qwang59 commented Oct 18, 2022

From your description, your system have issue to suspend to idle(s2idle).
Suggestion, trying to disable all the ACPI wakeup device:
cat /proc/acpi/wakeup
echo XHC > /proc/acpi/wakeup

Then try commands:
echo 0 > /sys/class/rtc/rtc0/wakealarm
echo +30> /sys/class/rtc/rtc0/wakealarm
echo freeze > /sys/power/state

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants