User avatar
graysky
Posts: 49
Joined: Fri Apr 05, 2013 11:43 am
Location: /run/user/1000
Contact: Website

RPi4: invalid bus width, mmc0: error -22

Sat Jul 13, 2019 4:53 pm

I have a RPi4B 4G model that suffers from an inability to boot (randomly it seems, sometimes it's fine other times what I go on to describe occurs).

Upon attempting to boot, the following is displayed in an infinite loop, and no further initialization is possible:

Code: Select all

invalid bus width
mmc0: error -22 whilst initialising SD card
invalid bus width
mmc0: error -22 whilst initialising SD card
invalid bus width
mmc0: error -22 whilst initialising SD card
...
I tried it on a 3 different micro SD cards (all of which run fine on a 3B+). The way to fix is seems to be to leave the device unplugged for 3-5 min and then try again. Any ideas?

EDIT:
here is a dmesg from a successful boot (Arch ARM), you do actually see this displayed once.
here is a dmesg from Buster. You do not see the error here.

Note that I swapped distros on these two particular microSD cards and I can reproduce this under ArchARM.

Return to “Advanced users”