Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5315

Troubleshooting • Re: Pi5: ls returns -bash Input/output error

$
0
0
I am running a 64-bit PiOS Bookworm on Raspberry Pi 5 and am eventually seeing in all consoles:

Code:

$ ls-bash: /usr/bin/ls: Input/output error
after my robot drives around a bit. The robot commands flow from the Pi5 to the robot control board via SPI.

The only fix is to reboot by jerking the power out from under the system.

It seems like I can (eventually) cause the problem reliably.

I have tried two different 32GB Sandisk Ultra A1 Class 10 U1 micro SDcards.

The file system always passes fsck, (tune2fs initiated at boot)

The general guidance is this error means the system disk is about to fail.

I have confirmed that the robot can drive the Pi5 at 100% four core banging with no voltage or temperature throttling, although in these test cases the CPU is very lightly loaded so I am not suspecting a power limitation.

Any tips on how to debug this ?
Since this robotics project presumably runs from a battery supply, it's possible the power to the Pi is not stable enough for error free operation. I would suggest adding an additional battery to power the Pi separate from what's used to drive the robotics.

Statistics: Posted by ejolson — Thu Mar 28, 2024 3:18 am



Viewing all articles
Browse latest Browse all 5315

Trending Articles