You are not logged in.

#1 2016-03-11 08:54:33

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

I cant shutdown my computer with Arch

I usually leave my computer on 24/7. but I just recently started to turn it off when I go to bed, so I really dont know when this problem started.

I shut down my computer with the command:

# shutdown -h 0

And after that I have to wait a minute for this message to go away:

A stop job is running for Session c1 of user johan (1min 6s / 1 min 30s)

AFAIK, this is a issue with Conky and systemd? Anyway. After the message goes away it shuts down my computer, but after a few seconds it turns back on again, giving me a black screen and the fans starts running on a higher speed than usual. I guess it's the fans on my GPU.

In this state the computer cannot be shut down with the powerbutton on the chassi. The only way to turn it of is to use the switch on the power supply.

I do have Windows installed and if I shutdown my computer from Windows it works just fine. So it shouldn't be a hardware issue with my motherboard (ASUS P8P67 PRO B3).

I really dont know how to debug this?

Last edited by Hund (2016-03-11 08:55:27)

Offline

#2 2016-03-11 10:23:46

bakteria
Member
Registered: 2015-12-15
Posts: 35

Re: I cant shutdown my computer with Arch

Running i3 and conky as well. And I also get this message if I don't "killall conky" before issuing the shutdown command.
However my system does power down after issuing the command.

Offline

#3 2016-03-11 10:49:25

kinghol
Member
Registered: 2014-02-28
Posts: 9

Re: I cant shutdown my computer with Arch

I have the same problem and no matter if it is the normal kernel or the LTS one!
I can't narrow it down because I do not find anything in the logs!

Offline

#4 2016-03-11 11:03:29

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: I cant shutdown my computer with Arch

For me this was solved by installing and enabling watchdog.

Last edited by Docbroke (2016-03-11 11:04:01)

Offline

#5 2016-03-11 11:13:23

kinghol
Member
Registered: 2014-02-28
Posts: 9

Re: I cant shutdown my computer with Arch

For me installing and enabling watchdog makes no difference but installing the new kernel update (4.4.5)
Shows me some info like systemd massege: failed to start Generate shutdown-ramfs

Offline

#6 2016-03-11 17:19:52

Vain
Member
Registered: 2008-10-19
Posts: 179
Website

Re: I cant shutdown my computer with Arch

There's a couple of threads on the "A stop job ..." issue:

    https://bbs.archlinux.org/viewtopic.php?id=209434
    https://bbs.archlinux.org/viewtopic.php?pid=1609293
    https://bbs.archlinux.org/viewtopic.php?id=209587

As mentioned in the first thread, you can try to use systemd's debug shell to find out which process is blocking shutdown.

I'd speculate that this issue is not related to your computer turning back on.

Offline

#7 2016-03-11 19:21:43

rasertux
Member
From: Florianópolis, Brazil
Registered: 2012-03-03
Posts: 46

Re: I cant shutdown my computer with Arch

For me when i try shutdown my laptop the message "A stop job is running..." appears, and if i try to end session on gnome my system freezes and i cant do anything.
Workaround -> uninstall gdm, remove the /var/lib/gdm, install gdm again and uncoment #WaylandEnable=false in /etc/gdm/custom.conf and everyting works now. smile

Offline

Board footer

Powered by FluxBB