# Unable to install JFFS2 file system

**URL:** https://forums.digi.com/t/unable-to-install-jffs2-file-system/6208
**Category:** Linux
**Created:** [February 6, 2011, 7:30pm UTC](https://forums.digi.com/t/unable-to-install-jffs2-file-system/6208 "2011-02-06T19:30:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![thierrydollar](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@thierrydollar](https://forums.digi.com/u/thierrydollar)
#### Post date: [February 6, 2011, 7:30pm UTC](https://forums.digi.com/t/unable-to-install-jffs2-file-system/6208/1 "2011-02-06T19:30:28Z")

</div>

Hi,  
I’m working with a 9210 module.

My goal is simple: I want to be able to modify files in the module.  
I discovered that it was using squashfs which is read-only.  
So I created a rootfs project and choose “non-squashfs” format.  
After I tried to upload this through UBOOT with TFTP. I discovered  
that my partition was too small. So I changed it.

## Here is my new partition map: Nr | Name | Start | Size | Type | FS | Flags

0 | U-Boot | 0 | 192 KiB | U-Boot | | fixed  
1 | NVRAM | 192 KiB | 128 KiB | NVRAM | | fixed  
2 | Kernel | 320 KiB | 1280 KiB | Linux-Kernel | |  
3 | RootFS-JFFS2 | 1600 KiB | 2 MiB | Filesystem | JFFS2 | rootfs  
4 | User-JFFS2 | 3648 KiB | 448 KiB | Filesystem | JFFS2 |

I have updated the rootfs

CME9210 # update rootfs tftp rootfs-cme9210js-64.jffs2  
TFTP from server 192.168.0.33; our IP address is 192.168.0.9  
Filename ‘rootfs-cme9210js-64.jffs2’.  
Load address: 0x200000  
Loading: #################################################################  
#################################################################  
######  
done  
Bytes transferred = 1928464 (1d6d10 hex)  
…

Now, if I boot the system something goes wrong with JFFS2 (see below).  
The scan\_eraseblock function generates this error message. And I think its strange that the address does not correspond to the rootfs memory space. But I can’t tell if this is correct or not.

Could someone please help me ?

Thank you very much  
Thierry

Uncompressing Linux…  
… done, booting the kernel.  
Linux version 2.6.26.6-del-4.2-RevA (buildd@log-sln-build1) (gcc version 4.0.3)  
#1 Thu Oct 9 19:44:56 CEST 2008  
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177  
Machine: Digi Connect ME 9210 on Devboard

…

Kernel command line: ip=192.168.0.9:192.168.0.33:0.0.0.0:255.255.255.0:cme9210js  
:eth0:off console=ttyNS0,38400 mtdparts=physmap-flash.0:0x30000(U-Boot),0x20000@  
0x30000(NVRAM),0x140000@0x50000(Kernel),0x200000@0x190000(RootFS-JFFS2),0x70000@  
0x390000(User-JFFS2) root=/dev/mtdblock3 rootfstype=jffs2 rw

…

Memory: 8MB = 8MB total  
Memory: 5752KB available (2056K code, 169K data, 96K init)  
…

squashfs: version 3.3-CVS (2008/04/04) Phillip Lougher  
JFFS2 version 2.2. (NAND) (SUMMARY) Â© 2001-2006 Red Hat, Inc.

…

Creating 5 MTD partitions on “physmap-flash.0”:  
0x00000000-0x00030000 : “U-Boot”  
0x00030000-0x00050000 : “NVRAM”  
0x00050000-0x00190000 : “Kernel”  
0x00190000-0x00390000 : “RootFS-JFFS2”  
0x00390000-0x00400000 : “User-JFFS2”  
TCP cubic registered  
NET: Registered protocol family 17  
RPC: Registered udp transport module.  
RPC: Registered tcp transport module.  
IP-Config: Complete:  
device=eth0, addr=192.168.0.9, mask=255.255.255.0, gw=255.255.255.255,  
host=cme9210js, domain=, nis-domain=(none),  
bootserver=192.168.0.33, rootserver=192.168.0.33, rootpath=  
JFFS2 warning: (1) jffs2\_sum\_scan\_sumnode: Summary node crc error, skipping summ  
ary information.  
jffs2\_scan\_dirent\_node(): Node CRC failed on node at 0x00000558: Read 0x00000000  
, calculated 0x7336a5dc  
jffs2\_scan\_eraseblock(): Magic bitmask 0x1985 not found at 0x00000594: 0x0001 in  
stead  
jffs2\_scan\_eraseblock(): Magic bitmask 0x1985 not found at 0x00000598: 0x41ed in  
stead  
jffs2\_scan\_eraseblock(): Magic bitmask 0x1985 not found at 0x000005a4: 0xda1f in  
stead  
jffs2\_scan\_eraseblock(): Magic bitmask 0x1985 not found at 0x000005a8: 0xda1f in

---

<div class="post-metadata">

### Author: ![raoulvb](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@raoulvb](https://forums.digi.com/u/raoulvb)
#### Post date: [February 25, 2011, 2:47pm UTC](https://forums.digi.com/t/unable-to-install-jffs2-file-system/6208/2 "2011-02-25T14:47:13Z")

</div>

Hi Thierry,  
what version of Digi Embedded Linux are you using?  
I recommend to upgrade to Digi Embedded Linux 5.2 and use the Uboot, kernel and rootfs from that distribution.

regards,
