1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

kernel: jffs2: warning: (xxxx) jffs2_sum_write_data: Not enough space for summary

Discussion in 'ASUS AC Routers & Adapters' started by itchyscratchy, Jun 14, 2018.

  1. itchyscratchy

    itchyscratchy Occasional Visitor

    Joined:
    Sep 3, 2017
    Messages:
    32
    I have done an exhaustive search on google and your asus forum posts for an explanation of this syslog entry (forgive me if I accidentally overlooked my answers).
    jffs2 warning small.png
    There where quite a few posts about this in merlin's subforum and the RT-GT5300 thread, yet I feel I've either missed the answer that was explained at some point, or something is wrong. I've even searched some Chinese threads about this, just to try and figure it out.

    Is there something wrong with my hardware, or have I goofed up with firmware updates, factory resets, initializing, and/or my settings? Or is this a normal occurrence/function?

    I have read some of the code on merlin's firmware about such incidents as a possible occurrence and non-fatal, yet I wonder the significance as they are labeled "warning." I'm on ASUS firmware at the moment, and had these warnings on this firmwarre and merlin's as well. Just concerned I did something wrong. Thanks in advance for your insight on this query, everyone.
     
  2. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    6,775
    Location:
    UK
  3. itchyscratchy

    itchyscratchy Occasional Visitor

    Joined:
    Sep 3, 2017
    Messages:
    32
    Thank you very much! I saw the first link in a prior search (added a bit to my confusion), but I overlooked that linux link. So it is just an EBS thats too big due to the quantity of Eraseblocks and their cumulative "summary," and the router's jffs2 partition and/or Flash capacity?

    Benign in nature, so I am ok with this situation. Though I am curious if I can increase the partition size of the file system if the router's Flash isn't at capacity... or will that decrease performance due to a smaller amount of Flash?
     
    Last edited: Jun 14, 2018
  4. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    6,775
    Location:
    UK
    I don't know/understand the inner workings of flash memory. I'm only going by what those two links said and the fact that the message is a "warning" not an error. I looked at the source code for that message and doesn't seem to be an issue AFAICT. It even says it's "non-fatal".
    Code:
        /* Is there enough space for summary? */
        if (padsize < 0) {
            /* don't try to write out summary for this jeb */
            jffs2_sum_disable_collecting(c->summary);
    
            JFFS2_WARNING("Not enough space for summary, padsize = %d\n",
                      padsize);
            /* Non-fatal */
            return 0;
        }
    I don't follow your question "increase the partition size of the file system". AFAIK all the flash memory has been allocated for various functions and repartitioning it risks not only bricking the router immediately but at a later date if a firmware updates relies on a particular layout.
     
    itchyscratchy likes this.
  5. itchyscratchy

    itchyscratchy Occasional Visitor

    Joined:
    Sep 3, 2017
    Messages:
    32
    You are quite right about what I was curious about. Not worth bricking a router now or later. :)

    That’s the code I also saw on github. Someone pointed that out in another 86u thread with a link right to it. I’m awfully sorry for the bother. I was in the mindset that I did something wrong or worse to bring the warnings up, especially if said warnings meant any sort of performance/functionality penalty.

    So it is what it is! Many thanks (and apologies) for your patience, insight, and a cool read about jffs2. Hope this helps others as well.
     
  6. sfx2000

    sfx2000 Part of the Furniture

    Joined:
    Aug 11, 2011
    Messages:
    13,504
    Location:
    San Diego, CA
    I would agree - leave the factory partitions alone - if the vendor needs to resize, they will do so...
     
  7. itchyscratchy

    itchyscratchy Occasional Visitor

    Joined:
    Sep 3, 2017
    Messages:
    32
    Will do. Thanks for your post linked above and your thoughts on this. I shall not dabble with these as I do not clearly understand them.