Like some other people I'm receiving random crashes on Ubuntu 20.04. I've reinstalled Ubuntu and the crashes continue. Sometimes I can work days with no problems and other times it can happen again within the hour.
Search the net shows others have the same problem, but ask Ubuntu provided the best answers, so I will ask here. One particularly good suggestion was given:
sudo journalctl -r -p err
This gave me what look like the correct times for the crashes: (sorry for the formatting, the terminal output is very long and I can't get it to look good)
-- Logs begin at Mon 2020-10-05 10:07:40 IDT, end at Sun 2020-12-20 12:12:16 IST. --
Dec 20 11:18:07 ilan-AM1M-S2H pulseaudio[1866]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Dec 20 11:18:01 ilan-AM1M-S2H gdm-password][1853]: gkr-pam: unable to locate daemon control file
Dec 20 11:17:01 ilan-AM1M-S2H kernel: Initramfs unpacking failed: Decoding failed
-- Reboot --
Dec 20 11:11:37 ilan-AM1M-S2H pulseaudio[1878]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Dec 20 11:11:31 ilan-AM1M-S2H gdm-password][1865]: gkr-pam: unable to locate daemon control file
Dec 20 11:10:30 ilan-AM1M-S2H kernel: Initramfs unpacking failed: Decoding failed
-- Reboot --
Dec 20 08:10:56 ilan-AM1M-S2H pulseaudio[1886]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Dec 20 08:10:51 ilan-AM1M-S2H gdm-password][1872]: gkr-pam: unable to locate daemon control file
Dec 20 08:09:49 ilan-AM1M-S2H kernel: Initramfs unpacking failed: Decoding failed
-- Reboot --
Dec 20 08:02:26 ilan-AM1M-S2H pulseaudio[1906]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Dec 20 08:02:00 ilan-AM1M-S2H gdm-password][1889]: gkr-pam: unable to locate daemon control file
Dec 20 08:01:46 ilan-AM1M-S2H systemd[1]: Failed to start Rotate log files.
Dec 20 08:00:58 ilan-AM1M-S2H kernel: Initramfs unpacking failed: Decoding failed
-- Reboot --
Dec 19 22:29:48 ilan-AM1M-S2H gdm3[991]: Failed to contact accountsservice: Error calling StartServiceByName for org.freedesktop.Accounts: Refusing activation, D-Bus is shutting down. Dec 19 13:27:57 ilan-AM1M-S2H pulseaudio[1875]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Dec 19 13:27:30 ilan-AM1M-S2H gdm-password][1850]: gkr-pam: unable to locate daemon control file
Dec 19 13:26:19 ilan-AM1M-S2H kernel: Initramfs unpacking failed: Decoding failed
-- Reboot --
The message which repeats is ilan-AM1M-S2H kernel: Initramfs unpacking failed: Decoding failed, but it happens 1-2 minutes before the crash which looks a bit long to me.
On the latest 2 crashes it seems to implicate blue tooth, but I have no blue tooth on this machine. Strange.... In other cases it claims network problems. I don't know what is going on but ask Ubuntu gave me the correct command to apply. Now I need to understand what I can do about the unpacking failed, if that is indeed the problem.
In no other case of random crashes did I find a solution to the problem, but the sudo journalctl -r -p err is a very powerful tool, which may help others as well.
I would appreciate any suggestions as to if unpacking failed may be indeed the problem, in spite of the long time delay between the error messages. Likewise what I can do to cause the unpacking to succeed.
Edit: I couldn't find this question while looking from my laptop. I thought perhaps I forgot to post it? In any case coming back to my desktop I find it again. Meantime there are another 2 crashes, nearly back to back. The log this time is:
Failed to get journal fields: Cannot assign requested address
-- Logs begin at Mon 2020-10-05 18:04:40 IDT, end at Fri 2020-12-25 14:53:51 IST. --
Dec 25 14:41:12 ilan-AM1M-S2H pulseaudio[1896]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Dec 25 14:41:07 ilan-AM1M-S2H gdm-password][1881]: gkr-pam: unable to locate daemon control file
Dec 25 14:40:06 ilan-AM1M-S2H kernel: Initramfs unpacking failed: Decoding failed
-- Reboot --
Dec 25 14:38:24 ilan-AM1M-S2H kernel: #PF: error_code(0x0002) - not-present page
Dec 25 14:38:24 ilan-AM1M-S2H kernel: #PF: supervisor write access in kernel mode
It looks like another fake blue tooth, preceded by a different error which I haven't seen. Can anyone give me a clue what is going on? It seems like a specific thread is timing out, but should that crash the entire system? A timeout should act gracefully instead of crashing??
Thanks to Ray's suggestion, I am including hardware information:
Computer:
Processor
AMD Sempron(tm) 3850 APU with Radeon(tm) R3 Memory 12208MB (2654MB used) Machine Type Desktop Operating System Ubuntu 20.04.1 LTS User Name ilan (Ilan) Date/Time Sat 02 Jan 2021 13:43:43
Display
Model: "nVidia GT218 [GeForce 210]" Resolution 3840x1080 pixels OpenGL Renderer (Unknown) X11 Vendor The X.Org Foundation
Audio Devices
Audio Adapter HDA-Intel - HD-Audio Generic Audio Adapter HDA-Intel - HDA NVidia Audio Adapter USB-Audio - USB Device 0x46d
Input Devices
Power Button Power Button AT Translated Set 2 keyboard PixArt USB Optical Mouse HD-Audio Generic Rear Mic HD-Audio Generic Front Mic HD-Audio Generic Line HD-Audio Generic Line Out UVC Camera (046d:081b) HDA NVidia HDMI/DP,pcm:3 HDA NVidia HDMI/DP,pcm:7 HDA NVidia HDMI/DP,pcm:8 HDA NVidia HDMI/DP,pcm:9