recover SBC3

General PhidgetSBC Discussion.
speed
Phidgetly
Posts: 30
Joined: Thu Feb 26, 2004 12:16 pm

recover SBC3

Post by speed »

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: 672
Joined: Mon Jun 20, 2005 8:46 am
Location: Calgary

Re: recover SBC3

Post by Patrick »

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
Phidgetly
Posts: 30
Joined: Thu Feb 26, 2004 12:16 pm

Re: recover SBC3

Post by speed »

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: 672
Joined: Mon Jun 20, 2005 8:46 am
Location: Calgary

Re: recover SBC3

Post by Patrick »

Hi,

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

ubiattach /dev/ubi_ctrl -m 7

-Patrick
speed
Phidgetly
Posts: 30
Joined: Thu Feb 26, 2004 12:16 pm

Re: recover SBC3

Post by speed »

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: 672
Joined: Mon Jun 20, 2005 8:46 am
Location: Calgary

Re: recover SBC3

Post by Patrick »

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

-Patrick
speed
Phidgetly
Posts: 30
Joined: Thu Feb 26, 2004 12:16 pm

Re: recover SBC3

Post by speed »

I've attached the dmesg output
You do not have the required permissions to view the files attached to this post.