Skip to main content
Topic: hibernation on artix (Read 447 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

hibernation on artix

is there a wiki article that discusses hibernation on artix?  if so where might it be?  OK so i read the arch wiki....  i see nothing that helps me understand.  When i start my pc after hibernation, the feedback i get during startup looks like a normal startup except that artix is clearing orphaned inodes.  I find this odd and not at all desirable.  One should def not just throw away orphans and clear them out.  Surely something is amiss?  my power management abilities on this oc seem to be: 

cat /sys/power/mem_sleep
s2idle [deep]


aside from thati have a 32 gb ram and 64 gb swap space

also according to this site:  https://01.org/blogs/qwang59/2018/how-achieve-s0ix-states-linux  and according to their shell script

Code: [Select]
#!/bin/bash
cd /var/tmp/
acpidump -b
iasl -d *.dat
lp=$(grep "Low Power S0 Idle" /var/tmp/facp.dsl | awk '{print $(NF)}')

if [ "$lp" -eq 1 ]; then
        echo "Low Power S0 Idle is" $lp
        echo "The system supports S0ix!"
else
        echo "Low Power S0 Idle is" $lp
        echo "The system does not support S0ix!"
fi

Quote
./soix[
./soix: line 3: acpidump: command not found
./soix: line 4: iasl: command not found
grep: /var/tmp/facp.dsl: No such file or directory
./soix: line 7: [: : integer expression expected
Low Power S0 Idle is
The system does not support S0ix!

which is fine but has nothing to do with orpaning inodes from hibernation.  I find nothing on the internet wikis about orphaned inodes on resume from hibernation.  but at least i'm getting closer.
Cat Herders of Linux


Re: hibernation on artix

Reply #2
for the resume to work:
- I think you also need in /etc/default/grub to add:
GRUB_CMDLINE_LINUX_DEFAULT="....  resume=/dev/xxxx" (put the swap partition here)
- on top of resume in  HOOKS="base udev autodetect kms modconf block keyboard keymap consolefont encrypt resume filesystems fsck"

then you just have to do this (you need package TLP):

echo -n mem > /sys/power/state  # suspend to ram
echo -n disk > /sys/power/state  # suspend to disk


donc forget to rebuild:
- mkinitcpio -p linux -g /boot/initramfs-linux.img
- update-grub