You are not logged in.

#1 2014-02-09 08:18:03

Zikael
Member
Registered: 2014-02-06
Posts: 15

Systemd starts hibernating but stops after a few seconds

Hi,

I tried to make my computer hibernate (by following the wiki instructions), so I added my swap partition path into the grub file and the resume hook into mkinitcpio.conf. Then, I tried to hibernate, the hibernation process starts and my screen turns off but, after 1 or 2 seconds, it turns on again and the line

A dependency job for hibernate.target failed. See 'journalctl -xn' for details.

appears in the terminal.

So I check what's wrong with systemctl with

systemctl --state=failed

and it says that the hibernation service doesn't work, ideed.

UNIT                      LOAD   ACTIVE SUB    DESCRIPTION
dhcpcd@eno1.service       loaded failed failed dhcpcd on eno1
systemd-hibernate.service loaded failed failed Hibernate

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

2 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

For more details, I run

systemctl status systemd-hibernate

And I can see the PID of the process that failed :

systemd-hibernate.service - Hibernate                                                         
   Loaded: loaded (/usr/lib/systemd/system/systemd-hibernate.service; static)                 
   Active: failed (Result: exit-code) since dim. 2014-02-09 08:49:11 CET; 3min 40s ago        
     Docs: man:systemd-suspend.service(8)                                                     
  Process: 32348 ExecStart=/usr/lib/systemd/systemd-sleep hibernate (code=exited, status=1/FAILURE)                                                                                         
 Main PID: 32348 (code=exited, status=1/FAILURE)                                              
                                                                                              
févr. 09 08:49:03 LatitudeARCH systemd[1]: Starting Hibernate...
févr. 09 08:49:03 LatitudeARCH systemd-sleep[32348]: Suspending system...
févr. 09 08:49:11 LatitudeARCH systemd[1]: systemd-hibernate.service: main process exite...RE
févr. 09 08:49:11 LatitudeARCH systemd[1]: Failed to start Hibernate.
févr. 09 08:49:11 LatitudeARCH systemd[1]: Unit systemd-hibernate.service entered failed...e.
Hint: Some lines were ellipsized, use -l to show in full.

but when I try to see what is the problem with that process in journalctl, with

journalctl -b _PID=32348

I have

Failed to parse relative boot ID number '_PID=32348'

So I can't go further, what could I do to make it work ?

Offline

#2 2014-02-10 14:14:42

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Systemd starts hibernating but stops after a few seconds

Reboot your system, then make an attempt to hibernate.

After that, post the full output of

journalctl -b

please.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

Board footer

Powered by FluxBB