Score:2

Ubuntu 20.04 fully installed on a USB drive has problems waking up from longer suspend times, how do I fix this?

jp flag

I have researched similar questions which asked about Ubuntu 20.04 freezing after waking up from suspends. This however, is different, that it entirely crashes and the screen goes into a black terminal-like screen which continuously outputs systemd-journald failed to write/rotate messages. I tried finding a log file of what I have seen in the /var/log/ directory but couldn't find any. Please let me know where it could be logged and I shall attach the same here. For now, I have attached along an image below with terminal-like screen after crash from trying to wake from suspend:

terminal-like screen after crash from trying to wake from suspend

I have followed the guide written by CS Cameron here on AskUbuntu to create the USB drive with a full install of Ubuntu 20.04, How to Create a Full Install of Ubuntu 20.04 to USB Device Step by Step

Everything seems to be fine but the waking up from long suspends. By long I mean, at least more than a couple of hours of suspending, the screen crashes to the terminal-like screen. Shorter suspend times did not have any issues and the wake ups were without any issues. Please help! Also please point out any missing information that I could add to help improve the question. Thanks.

sudodus avatar
jp flag
Is your Ubuntu 20.04 LTS fully updated & upgraded? Have you installed some additional application program(s)? Have you checked for file system errors (with `sudo e2fsck -cf /dev/sdx` ) and RAM errors (with memtest)?
C.S.Cameron avatar
cn flag
Here in Sri Lanka the power goes out often, either from overheating computer or island wide power outage. From what I can recall, your sort of thing happens if the computer shuts down while it is writing to disk, (To the journal). Perhaps make sure all operations are complete before suspending. I am having a hard time duplicating the problem right now with a fresh USB and 20.04.2.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.