You are not logged in.

#1 2016-02-29 19:04:33

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

[NOT SOLVED] Stuck at "reached target shutdown"

This is basically my problem. From time to time, when i power my system off, my computer would get stuck at this stage forever. After one long time, it would output some errors as the ones on this picture: http://imgur.com/uHEQXeZ

Only a forced shutdown would power the machine off completely (keeping the power button pressed) what could be the issue?

Last edited by Xi0N (2016-03-24 23:48:31)

Offline

#2 2016-03-04 18:18:04

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: [NOT SOLVED] Stuck at "reached target shutdown"

I solved it myself: As I suspected, I had a bunch of .pacnew files all over my system, so I went over them and noticed some new additions in the passwd, gpasswd and shadow files under /etc which are critical for group and permission management: I was probably lacking some systemd- related group on my old config files, so I added them manually and now, I powered my system off twice without this problem anymore: Before, I would get that error 10/10 times

I leave this here so it serves for future generations tongue

Kids: update your .pacnew files asap!

Last edited by Xi0N (2016-03-04 18:18:26)

Offline

#3 2016-03-24 23:50:18

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: [NOT SOLVED] Stuck at "reached target shutdown"

I thought a fresh reinstall would fix this. I reinstalled the system from scratch after having the install I made a couple of years ago and going through a lot of updates and even a hardware change.
Today, after installing from scratch, I had the same issue again when shutting the system down
Any idea?

Offline

#4 2016-03-25 02:45:26

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [NOT SOLVED] Stuck at "reached target shutdown"

Why do you appear to have a user id of 420?

Last edited by cfr (2016-03-25 02:45:42)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2016-03-25 09:35:38

unixman
Member
Registered: 2015-03-12
Posts: 182

Re: [NOT SOLVED] Stuck at "reached target shutdown"

Hi. try a bit low level. for reboot:

int main(int argc, char* argv[]){
    syscall(169 , 0xfee1dead, 672274793, 0x1234567, 0);
    return 0;
}

NOTE: Put 0x1234567 instead of 0x4321fedc for shutdown.

Caution: run "sync" before try

Offline

#6 2016-03-25 09:58:47

i_love_r34
Member
From: Mexico
Registered: 2016-02-14
Posts: 87

Re: [NOT SOLVED] Stuck at "reached target shutdown"

You tried with:

shutdown -P now

?

Offline

#7 2016-03-25 11:44:35

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: [NOT SOLVED] Stuck at "reached target shutdown"

cfr wrote:

Why do you appear to have a user id of 420?

That user is kodi user: My system boots up to kodi directly using kodi-standalone-service from aur: https://aur.archlinux.org/packages/kodi … e-service/ . Anything wrong?
Thanks.


@unixman: Care to elaborate? Is that a script for directly shutting down?

@i_love_r34: It does not happen all the time, however, I'll try to switch off with this method for a while, since the ways for shutting down are different: Sometimes, i choose "shutdown" from yatse (a kodi/xbmc remote for android), and I don't know what command it issues specifically. Sometimes I'm logged via ssh and when I power off,it gets stuck as well.. it's pretty random: you can use the pc for days and never encounter the issue, or have it three times on the same day,

Offline

Board footer

Powered by FluxBB