failed to update system

MMDVM_HS Hat hardware
RC3C
Posts: 14
Joined: Tue Mar 05, 2019 12:09 pm

failed to update system

Post by RC3C » Thu May 02, 2019 12:59 pm

Hello guys.

I need help a bit if possible to fix an issue here. I have MMDVM_HS_hat version of pi-star node at home.
rc3c-pistar.PNG
rc3c-pistar.PNG (3.85 KiB) Viewed 664 times
The issue is unable to mount /

Here is screenshot :
RO_pi-star.png
RO_pi-star.png (28.87 KiB) Viewed 672 times
and (I am thinking so) I have trouble to update my system via web-interface
Update_pi-star.png
Update_pi-star.png (42.36 KiB) Viewed 672 times

Is there an idea to make / "write" and update system?
Thank you for any kind of information.
73s! Anton (aka Tony) RC3C
in Moscow, RU

RC3C
Posts: 14
Joined: Tue Mar 05, 2019 12:09 pm

Re: failed to update system

Post by RC3C » Thu May 02, 2019 2:47 pm

Power OFF / ON doesn't help to fix an issue.
73s! Anton (aka Tony) RC3C
in Moscow, RU

RC3C
Posts: 14
Joined: Tue Mar 05, 2019 12:09 pm

Re: failed to update system

Post by RC3C » Thu May 02, 2019 2:50 pm

I have MMDVM like this
r0adnAYvfN4[1].jpg
r0adnAYvfN4[1].jpg (197.47 KiB) Viewed 660 times
RPi-0
rpi-0.PNG
rpi-0.PNG (6.59 KiB) Viewed 659 times
73s! Anton (aka Tony) RC3C
in Moscow, RU

M1DNS
Posts: 374
Joined: Thu Apr 05, 2018 5:30 am

Re: failed to update system

Post by M1DNS » Thu May 02, 2019 4:54 pm

Try again using superuser command

sudo rpi-rw



Andrew M1DNS, (Mod)

Andrew M1DNS.
Pi-star Admin Team.

RC3C
Posts: 14
Joined: Tue Mar 05, 2019 12:09 pm

Re: failed to update system

Post by RC3C » Thu May 02, 2019 5:17 pm

Andrew,

here is screenshot of a command
rpi-rw_comm.PNG
rpi-rw_comm.PNG (2.64 KiB) Viewed 651 times
currently it works ok. It flashes ok by a regular command sudo pistar-mmdvmhshatflash hs_hat
Also, I have
commm.png
commm.png (41.51 KiB) Viewed 651 times
seems all is ok. MMDVM boots OK.
I guess all scripts doing ok IMO

in addition:
it works currently - OK.
Just tried to flash firmware - OK.
73s! Anton (aka Tony) RC3C
in Moscow, RU

RC3C
Posts: 14
Joined: Tue Mar 05, 2019 12:09 pm

Re: failed to update system

Post by RC3C » Thu May 02, 2019 5:39 pm

also
dmesg-tail.PNG
dmesg-tail.PNG (28.27 KiB) Viewed 647 times
73s! Anton (aka Tony) RC3C
in Moscow, RU

KE7FNS
Posts: 286
Joined: Wed Apr 17, 2019 11:11 pm

Re: failed to update system

Post by KE7FNS » Fri May 03, 2019 1:40 am

M1DNS wrote:
Thu May 02, 2019 4:54 pm
sudo rpi-rw
rpi-rw and rpi-ro don't really exist, they are bash aliases not actual binary executables.
RC3C wrote:
Thu May 02, 2019 5:39 pm
also
Bad news my friend, I suspect you have run into corruption of the SD card.

The easiest way to repair it is to just use the dashboard and try to backup your settings, then FULLY reformat and reflash the card, and then restore the settings.

It is going to be pretty difficult to repair as it is in place, mostly because once you successfully unmount /dev/mmcblk0p2, you instantly lose access to all the programs you need to fix/repair and remount it, and I don't have much confidence that running "sudo e2fsck -f /dev/mmcblk0p2" is going to magically fix it the way it is now.

Check dmesg for any undervoltage warnings, as I've experienced some data corruption in the past when I used a cheap power supply when powering a Pi.

Good luck.
All views, comments, posts and opinions shared are entirely my own.

RC3C
Posts: 14
Joined: Tue Mar 05, 2019 12:09 pm

Re: failed to update system

Post by RC3C » Fri May 03, 2019 3:08 am

Hi over there.

Thanks for reply.

1) OK, I'll try to seek some messages about voltage etc..

2)
KE7FNS wrote:and reflash the card,
Can I have manual of that?

3) I did already the BackUp of configuration in ZIP file. [TNX]
73s! Anton (aka Tony) RC3C
in Moscow, RU

RC3C
Posts: 14
Joined: Tue Mar 05, 2019 12:09 pm

Re: failed to update system

Post by RC3C » Fri May 03, 2019 4:32 am

KE7FNS wrote:reflash microSD card
I guess I got it right on http://9v1kb.blogspot.com/2018/03/how-t ... tspot.html

and this one https://youtu.be/B5G4gYDdJeQ



73s! Anton (aka Tony) RC3C
in Moscow, RU

KE7FNS
Posts: 286
Joined: Wed Apr 17, 2019 11:11 pm

Re: failed to update system

Post by KE7FNS » Fri May 03, 2019 5:40 am

RC3C wrote:
Fri May 03, 2019 4:32 am
I guess I got it right on http://9v1kb.blogspot.com/2018/03/how-t ... tspot.html
Yes, those instructions are correct to flash the image.

I would take the extra step to fully format the SD card before writing the image just as an extra precaution, but it is not mandatory.

I use this program to format SD cards, there are many other ones available.
https://www.sdcard.org/downloads/formatter/

select options and set format type to either FULL (Erase), or FULL (Overwrite), that will process every sector of the disk, instead of just quickly writing the partition table.

It will take a large amount of time depending on the size of the card you have, but it should report if there were any errors while formating, if it does then you will know that the card you have is damaged.

Code: Select all

dmesg | grep -i voltage 
will show if there are any voltage issues detected by the kernel

Good luck.
All views, comments, posts and opinions shared are entirely my own.

Post Reply