Problem with Tomato (newest) and JFFS Partition

Discussion in 'Tomato Firmware' started by restinpeace, Aug 30, 2016.

  1. restinpeace

    restinpeace Network Newbie Member

    Hello Everybody.
    I have flashed the newest tomato release on my Asus RT-AC56U.
    Then i wanted to enable the JFFS Partition.
    1. enable
    2. Format
    3. should be mounting i guess ?

    but after this failed I went to the console and wanted know what dmesg is telling me about the jffs so
    i typed into the console
    Code:
    dmesg | more
    and got this

    Code:
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03ec003c: 0x030a instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03ee0000: 0x4255 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03ee0004: 0x0001 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03ee0018: 0x1723 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03ee003c: 0x030a instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03f00000: 0x4255 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03f00004: 0x0001 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03f00018: 0x1723 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03f0003c: 0x030a instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03f20000: 0x4255 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03f20004: 0x0001 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03fe003c: 0x030a instead
    Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
    empty_blocks 0, bad_blocks 0, c->nr_blocks 512
    
    and so on.

    does anybody knows how to fix this error ?

    regards. Dennis
     
  2. koitsu

    koitsu Network Guru Member

    Are you using JFFS on flash, or on a USB stick?

    I would strongly suggest using a USB stick so you don't wear your flash out. Leave your flash space for the firmware. You can use ext2 or ext3 (I recommend ext3 due to journalling) on the USB stick as well. I can provide you full instructions for how to set that up if need be -- it's only a few commands.
     
  3. restinpeace

    restinpeace Network Newbie Member

    hi,
    the jffs error is on flash. only for storing 2 scripts and no write ongoing on jffs in future but yes i
    use a usb stick now after some reading . thank you for your offer. what have i to do ? you mention a few commands :) regards
     
  4. RMerlin

    RMerlin Network Guru Member

    The NAND used by the RT-AC56U is a high durability one. P/E cycles endurance numbers in the thousands (I forgot the exact number) for the chip used, it's in fact a SKU intended at storing logs. So, more than safe for storing a few scripts.
     
  5. restinpeace

    restinpeace Network Newbie Member

    hi Merlin.

    sounds great but wont help me because i cant format or even mount it. some 10 or 15 reboots after formating the nand over the gui but it wont mount or anything. do you know which device jffs partition is using ?
     
  6. RMerlin

    RMerlin Network Guru Member

    I know, I was mostly answering koitsu.

    I'm not familiar enough with Tomato's partitioning to tell, sorry. Check the boot log, it should tell you a list of MTD partitions. You could try manually erasing it over ssh (provided Tomato offers mtd-erase).
     
  7. Monk E. Boy

    Monk E. Boy Network Guru Member

    Normally with JFFS you want to enable JFFS, save, wait for the page to come back (usually with an error), then format. Format should then start counting down.
     
  8. restinpeace

    restinpeace Network Newbie Member

    problem solved after many reboots. now its formated and mounted
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice