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.
About this post
- Posted
- Archived
- Edited
- Score
- 7 · 100% up
- Kind
- Text
- ID
- baa3rd
6 comments
Could be related https://www.reddit.com/r/archlinux/comments/ba3zec/very_slow_shutdownreboot_fixed
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.
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.
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...