You are not logged in.

#1 2013-12-09 02:33:40

stkts
Member
From: Italy
Registered: 2013-10-11
Posts: 8

Arch Linux hangs when shutting down

Hello,

I'm quite new to Arch and I have a problem when shutting down, even if I wait 5 minutes the shutdown process does not end, the system just hangs with the cursor in the upper-left corner so I have to use the hardware button (and then during the startup process I have a message that says something about /sda3 [/] not correctly unmounted, but I think it's normal for having used the hardware button).
What should I check? Are there any logs to understand what happened?

I found this error, don't know if it could be useful..

# journalctl -b
-- Logs begin at sab 2013-12-07 00:52:46 CET, end at lun 2013-12-09 04:11:18 CET. --
dic 09 04:11:17 archlinux systemd[193]: Failed to open private bus connection: Failed to connect to socket /run/user/1000/dbus/user_bus_socket: No such file or directory
dic 09 04:11:17 archlinux systemd[193]: Mounted /sys/kernel/config.
dic 09 04:11:17 archlinux systemd[193]: Stopped target Bluetooth.
dic 09 04:11:17 archlinux systemd[193]: Stopped target Sound Card.
dic 09 04:11:17 archlinux systemd[193]: Starting Default.
dic 09 04:11:17 archlinux systemd[193]: Reached target Default.
dic 09 04:11:17 archlinux systemd[193]: Startup finished in 153ms.

Thanks

Last edited by stkts (2013-12-09 02:43:01)

Offline

#2 2013-12-09 02:54:47

sufur
Banned
From: san francisco
Registered: 2013-12-07
Posts: 23
Website

Re: Arch Linux hangs when shutting down

yeah that has been reported I had the problem too...Ill try to track down the solution for you....
  systemd is newish and has a few quirks so its not you stay tuned.........

Last edited by sufur (2013-12-09 03:00:30)


end~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         .o0o.     the question is never 'how'? or 'why'? .... in the end its always 'how much'?   .o0o.
  ---| remember and know that you'll always be best with what you enjoy and have fun doing, the very best |---

Offline

#3 2013-12-09 03:21:52

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Arch Linux hangs when shutting down

Instead of simply holding down the power button, enable the magic SysRq button and use that instead.  There is a wiki page about it.

Also there is a thread about this shudown hang issue, though there is no real consistently working solution there.  I think it has been fixed in git and should arrive with systemd 209.

Offline

#4 2013-12-09 03:39:36

sufur
Banned
From: san francisco
Registered: 2013-12-07
Posts: 23
Website

Re: Arch Linux hangs when shutting down

either that or do the extremely sensible thing and suspend  #systemctl suspend
    ('why people have this need to shutdown is beyond me')

Last edited by sufur (2013-12-09 03:40:01)


end~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         .o0o.     the question is never 'how'? or 'why'? .... in the end its always 'how much'?   .o0o.
  ---| remember and know that you'll always be best with what you enjoy and have fun doing, the very best |---

Offline

#5 2013-12-09 04:03:14

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Arch Linux hangs when shutting down

@sulfer, one of the things about having a bleeding edge rolling release is that you get kernel updates very quickly after they are released.  Since it is Arch practice to only keep the newest versions around, this means that when a kernel gets pushed to your machine, the new modules will be put in /usr/lib/modules and the old ones will be removed.  So in order to have the running kernel and the modules actually match, you have to reboot.

Offline

#6 2013-12-09 11:41:51

stkts
Member
From: Italy
Registered: 2013-10-11
Posts: 8

Re: Arch Linux hangs when shutting down

Thanks for help,I didn't know about Magic SysRq. The strange thing is that if I do not start anything (I just login, I do not start even X Server) the system shuts down in a bunch of seconds, so maybe the problem is something else? I'll do a couple of tests and let you know if I will find out something.

Offline

#7 2013-12-09 16:04:15

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Arch Linux hangs when shutting down

Check the journal.  If it is getting stuck waiting for the user dbus socket, then it is the same. But if not... then you've got some debugging to do.

Offline

Board footer

Powered by FluxBB