Page 1 of 1

Raspberry Pi 4 B 4GB USB ports and (possibly) Ethernet suddenly dead [solved]

Posted: Wed Jul 29, 2020 8:26 am
by jim_bubb
My apologies if this has been asked before, I've spent quite some time searching the forums but couldn't find the exact same issue I am encountering.

I am using the Pi for a private cloud server using nextcloudpi. Overnight, all USB ports and Ethernet appear to have stopped working. Ethernet LEDs are lighting up, but during boot the PI falls back to WiFi connection, so I am assuming that there's a problem with the Ethernet port as well. USB ports seem to be completely dead, no device is recognized on any port. I've tried wireless and wired mouse and keyboard, external SSDs and several pen drives.

Based on some old posts about USB problems I've tried a number of things already:
1) sudo get apt-upgrade etc, no effect
2) lsusb has no output at all, just falls back to an empty command line
3) sudo rpi-eeprom-update shows:
<snip>
CURRENT:
LATEST: 000137ad
I read somewhere that 00000000 in CURRENT may hint towards a problem, but in my case it's completely blank.
4) I adjusted GPU_mem to recommended value because I read somewhere else that that may also cause USB issues. No effect.

I have made no changes to the Pi or Nextcloud configuration between yesterday and today, so I am concerned this may end up being a hardware issue. Nevertheless, any ideas or suggestions would be highly appreciated!

Re: Raspberry Pi 4 B 4GB USB ports and (possibly) Ethernet suddenly dead

Posted: Wed Jul 29, 2020 9:27 am
by jamesh
USB and ethernet are entirely different parts of the system on the Pi4, so for both to fail would indicate a HW power problem I suspect.

Re: Raspberry Pi 4 B 4GB USB ports and (possibly) Ethernet suddenly dead

Posted: Wed Jul 29, 2020 9:39 am
by HvdW
You tested a lot.
Did you start from scratch as well by inserting a NOOBS SD card and see what happens?

Re: Raspberry Pi 4 B 4GB USB ports and (possibly) Ethernet suddenly dead

Posted: Wed Jul 29, 2020 10:11 am
by davidcoton
HvdW wrote:
Wed Jul 29, 2020 9:39 am
Did you start from scratch as well by inserting a NOOBS SD card and see what happens?
NOOBS is not a good starting point for testing. It adds extra complications that you do not want when things are going wrong.
A better idea is a newly downloaded copy of Raspberry Pi OS (32-bit, either Lite or with Desktop depending on your preference, skill and experience).
The easiest way is to install it with Raspberry Pi Imager, which will do the download for you. https://www.raspberrypi.org/downloads/
It is best to use a known good (or new, known brand, from a reputable source) SDCard.

Re: Raspberry Pi 4 B 4GB USB ports and (possibly) Ethernet suddenly dead

Posted: Wed Jul 29, 2020 11:42 am
by jim_bubb
Cheers everyone, I'll try and report back!

Re: Raspberry Pi 4 B 4GB USB ports and (possibly) Ethernet suddenly dead

Posted: Thu Jul 30, 2020 6:48 am
by jim_bubb
Tried a fresh copy of Raspberry PI OS and ... it works. All USB ports and Ethernet are working. Great! Not a hardware issue after all. Feel a little silly for not having tried that in the first place, but oh well.

Anyway, now I'd like to try and fix my NextcloudPi without having to set it up from scratch. With the fresh copy of Raspberry PI OS sudo rpi-eeprom-update shows:
<snip>
CURRENT: 000137ad
LATEST: 000137ad

With the NextcloudPi SD card I get
<snip>
CURRENT:
LATEST: 000137ad

Is it possible that this is causing the issue I am seeing and is there any way to fix this? Apologies if that's a silly question, I'm pretty much a beginner when it comes to Linux/Unix systems.

Cheers!

[EDIT]
Problem solved. I use BerryBoot to run the Nextcloud server, and somehow BerryBoot got corrupted (still no idea how). Replaced the BerryBoot files on the SD, told it to use the existing images and everything went back to working just fine.
Thanks everyone!