recover SBC3

General PhidgetSBC Discussion.
speed
Phidgeteer!
Posts: 63
Joined: Thu Feb 26, 2004 12:16 pm
Contact:

recover SBC3

Postby speed » Tue Jul 30, 2019 9:45 am

I have an SBC3 that has stopped responding, I can't ping it, detect it with the phidgets software or anything. I have a number of programs running on it that I really don't want to lose. Is there any other way to access what is stored on it?

User avatar
Patrick
Lead Developer
Posts: 3140
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: recover SBC3

Postby Patrick » Wed Jul 31, 2019 3:01 pm

You can attempt to recover files from the recovery system, but this may fail if the main partition has major issues - as it may it it's not booting.

see: https://www.phidgets.com/docs21/OS_-_Ph ... ery_System

-Patrick

speed
Phidgeteer!
Posts: 63
Joined: Thu Feb 26, 2004 12:16 pm
Contact:

Re: recover SBC3

Postby speed » Wed Jul 31, 2019 3:16 pm

I tried the recovery : ubiattach /dev/ubi_ctrl -m 6

i get get this error message: ubiattach: error!: cannot attach mtd6
error 22 (Invalid argument). I'm guessing it is not finding my file system. I really need to recover these files

User avatar
Patrick
Lead Developer
Posts: 3140
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: recover SBC3

Postby Patrick » Wed Jul 31, 2019 3:24 pm

Hi,

I have looked into this, and that command is for SBC2. For SBC3, you want:

ubiattach /dev/ubi_ctrl -m 7

-Patrick

speed
Phidgeteer!
Posts: 63
Joined: Thu Feb 26, 2004 12:16 pm
Contact:

Re: recover SBC3

Postby speed » Wed Jul 31, 2019 3:35 pm

i tried your suggestion, i got a little farther, but now i get this message:
mount: mounting /dev/ubi0_0 on /mnt failed: Structure needs cleaning
how do i clean it?

User avatar
Patrick
Lead Developer
Posts: 3140
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: recover SBC3

Postby Patrick » Wed Jul 31, 2019 4:06 pm

After mount failure, can you run dmesg and post UBI related output?

-Patrick

speed
Phidgeteer!
Posts: 63
Joined: Thu Feb 26, 2004 12:16 pm
Contact:

Re: recover SBC3

Postby speed » Fri Aug 02, 2019 10:22 am

I've attached the dmesg output
Attachments
dmesgoutput.txt
(15.18 KiB) Downloaded 72 times


Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests