Skip to content

Slow shutdown after the new kernel update.

Hello, I'm currently using Arch on KDE with the kernel 5.0.5 and I'm experiencing a slow shutdown which takes about a minute. The boot-up is perfectly fine, it's just the shutdown that is problematic.

​

More than 60%, there is no symptom and it just takes a minute after showing up the Arch Linux version and dev/mapper whatever on the screen. Around 30%, it hangs before even showing the letters on the screen as if it is trying to close a program (usually takes about 10-15 seconds) and then additional 1 minute again after the letters pop up on the screen.

​

Around 10% it sometimes says something along the line of 'Mandb daily regeneration' on the third line after the dev/mapper line on the screen. My lack of knowledge prohibited me from finding the lead of the problem regarding this.

​

Also quite often the Firefox crashes when I exit Firefox, which I don't understand. And when I shut down the computer and boot it again next morning the Firefox is automatically popped up as if it hasn't been shut down correctly. Sometimes I noticed then even Clementine is automatically opened as well, but this never happened with Chromium...

​

I have no problem with daily usage but I just wanted to understand the cause of this problem and fix it and learn more about this whole process. Any help would be greatly appreciated! Thank you in advance.

​

[Added] So... indeed putting 'use_lvmetad=0' decreased the shutdown process significantly but I am on LVM anyway... Could there be other reasons for this behavior or is it something related to LVM (plausible I think)?

Edited 7 Apr 2019. We only hold this version.

7 points6 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
7 · 100% up
Kind
Text
ID
baa3rd

Author

17
posts
33
comments
7
media
View profile

6 comments

3 points

LOL bro, I was so desperate and I just ignored all the content and guess what, I was on LVM so I had a boot failure and had to debug all day haha xD I fixed it by putting the value to 1 again but I really learned a lot this time (gist for pastebin, basic debugging process etc.) I guess the main lesson is that you shouldn't panic no matter what and shouldn't try anything without understanding like an idiot.

3 points

Then check this out the guy in my post has found another fix. I hope that solves the problem for you because this bug drove me insane for about 2 weeks now.

2 points

Thank you! It solved the long hanging after the black screen. Now I wonder what to do about the shorter hanging before entering the black screen...

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.