Loading ...
Sorry, an error occurred while loading the content.

Re: [nslu2-linux] Debian upgrade etch --> lenny: The kernel doesn't fit in flash. -- 2.6.26-2

Expand Messages
  • Martin Michlmayr
    ... What does cat /proc/mtd say? -- Martin Michlmayr http://www.cyrius.com/
    Message 1 of 8 , Aug 5, 2009
    View Source
    • 0 Attachment
      * die_amme <die_amme@...> [2009-08-05 19:30]:
      > What can i do?
      >
      > It looks like the image is to big.

      What does
      cat /proc/mtd
      say?
      --
      Martin Michlmayr
      http://www.cyrius.com/
    • die_amme
      Hi, i found a solution for my problem: Step 1) problem source cat /proc/mtd -- mtd3: 00140000 00020000 Kernel See also:
      Message 2 of 8 , Aug 6, 2009
      View Source
      • 0 Attachment
        Hi,

        i found a solution for my problem:

        Step 1) problem source
        cat /proc/mtd
        --> mtd3: 00140000 00020000 "Kernel"

        See also: << http://www.mail-archive.com/debian-kernel@.../msg41077.html >>

        Step 2)
        following the linkmessage.
        "upslug2" and "flash-kernel"

        Checking again
        cat /proc/mtd
        --> mtd3: 00160000 00020000 "Kernel"

        :-) looks good, or?

        Now the upgrade on 2.6.26-2 works with no failure! :-)

        cu,
        dA
      • Martin Michlmayr
        ... An upgrade shouldn t be a problem and the kernel should fit in flash. We once generated NSLU2 images with a wrong (too small) kernel partition and I
        Message 3 of 8 , Aug 6, 2009
        View Source
        • 0 Attachment
          * Christopher Arndt <chris.arndt@...> [2009-08-05 22:05]:
          > > after a long time i want to upgrade from etch to lenny.
          > > Everthing during the upgrade process works ok with exception of
          > > "flash-kernel" and linux-image-2.6.26-2-ixp4xx.
          > > What can i do?
          > >
          > > It looks like the image is to big.
          >
          > I would be very interested a solution for this as well, since I'm
          > planning to upgrade my NSLU2 running under edge very soon too.

          An upgrade shouldn't be a problem and the kernel should fit in flash.
          We once generated NSLU2 images with a wrong (too small) kernel
          partition and I suspect "die_amme" installed one of those images;
          however, those wrong images were only available for a short time, so
          most users shouldn't be affected by this problem.

          You can check by looking at the file /proc/mtd. There should be a
          line like this:
          mtd3: 00160000 00020000 "Kernel"
          i.e. the kernel partition is 0x00160000 (1441792) bytes large, and so
          the kernel should fit.
          --
          Martin Michlmayr
          http://www.cyrius.com/
        • die_amme
          Hi, cat /proc/mtd -- mtd3: 00140000 00020000 Kernel that was the problem. I found a solution.
          Message 4 of 8 , Aug 6, 2009
          View Source
          • 0 Attachment
            Hi,
            cat /proc/mtd
            --> mtd3: 00140000 00020000 "Kernel"
            that was the problem.
            I found a solution.
            << http://tech.groups.yahoo.com/group/nslu2-linux/message/23913 >>

            Thanks,
            dA

            --- In nslu2-linux@yahoogroups.com, Martin Michlmayr <tbm@...> wrote:
            >
            > * die_amme <die_amme@...> [2009-08-05 19:30]:
            > > What can i do?
            > >
            > > It looks like the image is to big.
            >
            > What does
            > cat /proc/mtd
            > say?
            > --
            > Martin Michlmayr
            > http://www.cyrius.com/
            >
          Your message has been successfully submitted and would be delivered to recipients shortly.