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 9:15 PM
    • 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, thanks for the link. 8-) But it helps not with the kernel problem. (with exception of your advice: Never touch a running system! ;-] ) What shows ls
      Message 2 of 8 , Aug 5 10:15 PM
      • 0 Attachment
        Hi,

        thanks for the link. 8-)
        But it helps not with the kernel problem.
        (with exception of your advice:
        "Never touch a running system!" ;-] )

        What shows "ls -lisa /boot" and "uname -a" at your NSLU2?

        best regards,
        dA


        --- In nslu2-linux@yahoogroups.com, "Mario Ruprecht" <mario@...> wrote:
        >
        > Hi there,
        >
        > as both of you seem to be German you might take a look to my upgrade experience:
        > http://blog.knecht-ruprecht.info/2009/02/nslu2-upgrade-von-debian-etch-40-auf.html
        >
        > Basically, it worked and I did not have an issue with too big kernel files. But I did the whole process back in February.
        >
        > Cheers, Mario
        > --
        > http://www.knecht-ruprecht.info
        >
        >
        >
        > _____
        >
        > From: nslu2-linux@yahoogroups.com [mailto:nslu2-linux@yahoogroups.com] On Behalf Of Christopher Arndt
        > Sent: Wednesday, August 05, 2009 10:06 PM
        > To: nslu2-linux@yahoogroups.com
        > Subject: [nslu2-linux] Re: Debian upgrade etch --> lenny: The kernel doesn't fit in flash. -- 2.6.26-2
        >
        >
        >
        >
        > die_amme schrieb:
        > > 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.
        >
        > Chris
        >
      • die_amme
        Hi, i found a solution for my problem: Step 1) problem source cat /proc/mtd -- mtd3: 00140000 00020000 Kernel See also:
        Message 3 of 8 , Aug 6 2:44 AM
        • 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 4 of 8 , Aug 6 10:13 AM
          • 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 5 of 8 , Aug 6 11:56 PM
            • 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.