GSM Firmware Flashed, now UBIFS problem and Kernel Panic

sferic sferic at gmx.net
Thu Apr 14 18:30:57 CEST 2011


Hi,
to mount a ubifs you should give another way a try:

cat /proc/mtd
ubiattach /dev/ubi_ctrl -m 6 -d 0 -O 2048
mkdir /tmp/qtmoko
mount -t ubifs ubi0_0 /tmp/qtmoko/

I found this at the ubuntu-wiki, a nice source for all linux-related questions
(as far they are not openmoko-specific - of course!)

Good luck
Sferic


At 14 Apr 2011 18:13:37 +0200 Thomas Franck wrote:
> > --- On Thu, 4/14/11, Dave <dave.tv at gmail.com> wrote:
> >> On Thu, Apr 14, 2011 at 7:21 PM, Raphael Wimmer
> >> <raphael.wimmer at ifi.lmu.de> wrote:
> >>> If there is a better solution that preserves the FS,
> >>> I would be happy to learn about it.
> >> I wonder if it would be possible to boot into a distro on the sd card
> >> and mount the nand partitions. Then you could save /home. Just a thought.
> > 
> > Yes, it is: just mount  -t jffs2 /dev/mtdblock6 /mountpoint 
> 
> Thank you all for your input..
> 
> I put a qtmoko v35 on an SD card.. an on terminal I did:
> 
> mkdir /home/root/nandfs
> mount -t ubifs /dev/mtdblock6 /home/root/nandfs
> 
> but sadly that doesn't work.. dmesg tells me:
> 
> UBIFS error: ubifs_get_sb: cannot open "/dev/mtdblock6", error -22
> 
> Any ideas?
> 
> Cheers,
> -- 
> Thomas
> 
> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
> Trying to outsmart a compiler defeats much of the purpose of using one.
>   - Kernighan & Plauger, "The Elements of Programming Style"
> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~





More information about the community mailing list