Score:1

Ubuntu 21.10 on Raspberry Pi 4B randomly freezes, sometimes unplugging peripherals helps

bd flag

Every now and then my Raspberry Pi 4B's which are running Ubuntu 21.10 freeze up for no apparent reason. I hate having to pull the power.

Sometimes if I remove the mouse/keyboard USB dongle it will unfreeze. I have 4 Pi's, each of which has 8GB Ram and a 128GB Micro SD card. Are there log files that might give me insight as to what happened?

Cryen avatar
ua flag
Check your journal for errors. journalctl -rx - r flag reverss the output (it makes the newest entries appear at the top) - x flag shows explanatory text
Score:1
bd flag

I think I have resolved the issue. I have an SSD card that someone gave me and I bought a case for it and a USB3 connector cable. I realized that it was while the disk was plugged in that the mouse and keyboard froze. When I connected the disk to my laptop it caused a power surge on the usb3 port. As the SSD had been given to me it wasn't entirely clear how old it was, what size, and most importantly, how much power it would draw.

Having read a number of articles I have learned that unless the drive is consuming a very low amount of power then you either have to look at using a USB hub (which can be a bit hit or miss with RPI/Ubuntu) or some other means to get power to the drive. Basically, the more modern the technology and the faster the I/O for disk reads and writes the more power will be consumed which can quickly overwhelm the Pi.

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.