OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 239133.0
October 27, 2008 12:10 PM

Categories: WGR614L (Legacy Product)

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

Fmay

Member
Joined: 10/17/2008

Hello people.

I am trying to create one file into the jffs2 partition without success. Follow the error:

root@(noname):/# mount /dev/mtdblock/4 /jffs -t jffs2

root@(noname):/# cd /jffs

root@(noname):/jffs# ls

root@(noname):/jffs#

root@(noname):/jffs# mkdir k

Write of 68 bytes at 0x00002d90 failed. returned 0, retlen 136
mkdir: Cannot create directory `k': Input/output error

root@(noname):/jffs# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.6M      2.6M         0 100% /
tmpfs                     7.0M     20.0k      7.0M   0% /tmp
/dev/mtdblock/4         448.0k    324.0k    124.0k  72% /jffs

Note that the partition is empty and it is showing 72% used.

Somebody know what is happening? and what can I do?

Thanks for any help.

Discussion:    Add a Comment | Comments 1-5 of 5 | Latest Comment

October 27, 2008 1:43 PM

Seems that jffs has problems with serial flash. And if you could write something to jffs, router will not boot on next boot, because checksum (done by cfe) will fail. (At least with cfe 1.5)

I don't know if there will be a solution to this soon. If you find it, please let me know.

Eko

October 29, 2008 12:01 AM

Which firmware are you using ? Is it dd-wrt or tomato or original Netgear firmware or something else ?
I hope that board is still alive and working fine.

Answers Post November 2, 2008 5:28 PM

Please check the post at

http://www.myopenrouter.com/forum/thread/10590/Booting-OpenWRT-From-the-corre...

for a fix in the sflash_mtd_write() in OpenWRT.

The same fix also works on dd-wrt.

In dd-wrt you may enable to the JFFS2 without hitting the checksum issue. Checksum is computed only over the trx length and JFFS2 lies outside the trx boundary.

--
Nachi

November 3, 2008 1:28 PM updated: November 3, 2008 1:32 PM

Nachi, thanks a lot for the hint.

Have you some tips to fix the empty data partition that has incorrect free space as follow:

Filesystem Size Used Available Use% Mounted on
/dev/root --------------- 2.6M ---- 2.6M --- 0 --- 100% /
tmpfs ------------------- 7.0M --- 20.0k --- 7.0M -- 0% /tmp
/dev/mtdblock/4 --------- 448.0k - 324.0k -- 124.0k -72% /jffs

Thanks again.

November 3, 2008 1:32 PM

trying to figure what is eating up the 324k. The same memeory is also eaten up in OpenWRT - but since the partition size is much higher (1.7M) so this is only showing about 20%.

Discussion:    Add a Comment | Back to Top | Comments 1-5 of 5 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window