I regularly make ISO images of my SD cards (for many reasons), and I have noticed that whenever I issue the rpi-update
command, I can no longer make these images, instead getting this error:
sudo dd if=/dev/sdb of=/home/user/Documents/raspi/images/raspi1.8.iso bs=1M
dd: reading `/dev/sdb': Input/output error
6227+1 records in
6227+1 records out
6530007040 bytes (6.5 GB) copied, 394.699 s, 16.5 MB/s
I suspect it has something to do with that fact that the firmware is actually stored on the SD card with the Raspberry Pi. Can anyone else confirm this (the problem that is)? I have four more Raspberry Pi'es coming in. Once they do I will take a fresh copy of Raspbian, make an image of it, run raspi-update
and try to make an image of it again. If that craps out too, then it will be official that it is a serious problem.
In response to the comments, I should mention that the SD card is not the issue here. I have a stable ISO image, let's call it raspi.1.0.iso
, and two SD cards. If I copy the image onto either of two SD cards, they both work. When I issue the rpi-update
command on either of the SD cards, I can no longer make an image of those SD cards. However, I can still copy raspi.1.0.iso
over to the now corrupted SD card.
Lenik asked a few questions, and I will update them here as I go. Some of them require new hardware, hence why I can't answer them all in one sitting.
- Does the error always happen at the same 6.5 GB (6530007040) offset for different sized SD cards? PROBABLY NOT
- Does the error always happen at the same 6.5 GB (6530007040) offset even for same sized SD cards? NO
- Have you tried different power supply? YES
- Have you tried to find out which file lives at the place you get your error from? I DON'T KNOW HOW
- Have you tried with a brand new Raspbian OS? YES
Just to be perfectly clear, I just received a brand new Raspberry Pi, with a brand new SD card. I used that Raspberry Pi, and that SD card and a completely different power supply to execute the rpi-update
command.