You are not logged in.

#1 2014-03-11 14:20:57

OdinEidolon
Member
From: Belluno - Italy
Registered: 2011-01-31
Posts: 498

[SOLVED] System does not shutdown (systemd crash)

Hi all.
After last systemd update (I think!) my computer does not shutdown anymore. It hangs after:

[ OK ] Reached target shutdown.

with blinking cursor.

Journalctl tells me:

└──>  journalctl -e -n 10 -b -1
mar 10 22:41:19 M735T systemd[1]: Starting Unmount All Filesystems.
mar 10 22:41:19 M735T systemd[1]: Reached target Unmount All Filesystems.
mar 10 22:41:19 M735T systemd[1]: Starting Final Step.
mar 10 22:41:19 M735T systemd[1]: Reached target Final Step.
mar 10 22:41:19 M735T systemd[1]: Starting Power-Off...
mar 10 22:41:19 M735T systemd[1]: Shutting down.
mar 10 22:41:19 M735T systemd[1]: Assertion 'pos + 1 < (sizeof(command_line)/sizeof((command_line)[0]))' failed at src/core/main.c:1943, function main(). Aborting.
mar 10 22:41:19 M735T systemd[1]: Caught <ABRT>, dumped core as pid 6089.
mar 10 22:41:19 M735T systemd[1]: Freezing execution.
mar 10 22:41:19 M735T systemd-coredump[6090]: Process 6089 (systemd) dumped core.

Any idea why this happens?

Last edited by OdinEidolon (2014-06-29 09:17:25)


Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee

Offline

#2 2014-03-12 13:18:46

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: [SOLVED] System does not shutdown (systemd crash)

Same here.

Offline

#3 2014-03-12 13:21:11

OdinEidolon
Member
From: Belluno - Italy
Registered: 2011-01-31
Posts: 498

Re: [SOLVED] System does not shutdown (systemd crash)

COmbined with the fact that the systemd hook does break hibernation, I cannot stop my computer now sad


Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee

Offline

#4 2014-03-12 22:47:23

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: [SOLVED] System does not shutdown (systemd crash)

Which version is this?

Offline

#5 2014-03-13 08:17:49

OdinEidolon
Member
From: Belluno - Italy
Registered: 2011-01-31
Posts: 498

Re: [SOLVED] System does not shutdown (systemd crash)

Currently 210-3. Problem still persists.


Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee

Offline

#6 2014-03-13 08:22:43

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: [SOLVED] System does not shutdown (systemd crash)

There's 211 in testing, please try that, then report a bug.

Offline

#7 2014-03-13 08:44:10

OdinEidolon
Member
From: Belluno - Italy
Registered: 2011-01-31
Posts: 498

Re: [SOLVED] System does not shutdown (systemd crash)

brain0 wrote:

There's 211 in testing, please try that, then report a bug.

Tested once. Seems to work (Thanks!). Journalctl only reports one error at the end of boot which I do not think is important:

mar 13 09:38:52 M735T systemd[1]: Stopped Remount Root and Kernel File Systems.
mar 13 09:38:52 M735T systemd[1]: Starting Shutdown.
mar 13 09:38:52 M735T systemd[1]: Reached target Shutdown.
mar 13 09:38:52 M735T systemd[1]: Unmounted Temporary Directory.
mar 13 09:38:52 M735T systemd[1]: Starting Unmount All Filesystems.
mar 13 09:38:52 M735T systemd[1]: Reached target Unmount All Filesystems.
mar 13 09:38:52 M735T systemd[1]: Starting Final Step.
mar 13 09:38:52 M735T systemd[1]: Reached target Final Step.
mar 13 09:38:52 M735T systemd[1]: Starting Reboot...
mar 13 09:38:52 M735T systemd[1]: Shutting down.
mar 13 09:38:52 M735T systemd[1]: Hardware watchdog 'iTCO_wdt', version 0
mar 13 09:38:52 M735T systemd[1]: Set hardware watchdog to 10min.
mar 13 09:38:52 M735T kernel: watchdog watchdog0: watchdog did not stop!
mar 13 09:38:52 M735T systemd-shutdown[1]: Sending SIGTERM to remaining processes...
mar 13 09:38:52 M735T systemd-journal[124]: Journal stopped

(watchdog did not stop)

Thank you again. Now they only need to fix hibernation!
When also the other people affected by the problem confirm this solves it I'll mark as solved.


Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee

Offline

#8 2014-03-13 13:00:22

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: [SOLVED] System does not shutdown (systemd crash)

OdinEidolon wrote:
mar 13 09:38:52 M735T systemd[1]: Set hardware watchdog to 10min.
mar 13 09:38:52 M735T kernel: watchdog watchdog0: watchdog did not stop!
mar 13 09:38:52 M735T systemd-shutdown[1]: Sending SIGTERM to remaining processes...
mar 13 09:38:52 M735T systemd-journal[124]: Journal stopped

systemd sets the watchdog to 10 minutes, then closes it without stopping the timer. Usually, closing the watchdog without stopping it is a mistake, hence the kernel warns about it. In this case, it is intended behaviour: If systemd-shutdown fails to start, the watchdog will time out after 10 minutes and reboot the system.

Offline

#9 2014-03-13 13:01:51

OdinEidolon
Member
From: Belluno - Italy
Registered: 2011-01-31
Posts: 498

Re: [SOLVED] System does not shutdown (systemd crash)

brain0 wrote:
OdinEidolon wrote:
mar 13 09:38:52 M735T systemd[1]: Set hardware watchdog to 10min.
mar 13 09:38:52 M735T kernel: watchdog watchdog0: watchdog did not stop!
mar 13 09:38:52 M735T systemd-shutdown[1]: Sending SIGTERM to remaining processes...
mar 13 09:38:52 M735T systemd-journal[124]: Journal stopped

systemd sets the watchdog to 10 minutes, then closes it without stopping the timer. Usually, closing the watchdog without stopping it is a mistake, hence the kernel warns about it. In this case, it is intended behaviour: If systemd-shutdown fails to start, the watchdog will time out after 10 minutes and reboot the system.

Thanks for the clarification.


Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee

Offline

Board footer

Powered by FluxBB