3 Replies Latest reply on Dec 30, 2014 2:21 PM by AlexT_Intel

    /boot full when opkg upgrade

    simsiss0722

      Hi, I have a problem.

       

      I need to use Bluetooth, vim, bash... , So I installed bluez library, vim, bash like this

       

      >> command

       

      root@edison:~# cat /etc/opkg/base-feeds.conf

      src/gz all http://repo.opkg.net/edison/repo/all

      src/gz edison http://repo.opkg.net/edison/repo/edison

      src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32

       

      # opkg update (opkg --tmp-dir update, also tried)

      # opkg upgrade (opkg --tmp-dir upgrade, also tried)

      ......

      ......

      Downloading http://repo.opkg.net/edison/repo/edison/kernel-image-3.10.17-poky-edison+_3.10.17+git0+6ad20f049a_c03195ed6e-r0_edison.ipk.

      [  411.491464] systemd-fsck[713]: dosfsck 2.11, 12 Mar 2005, FAT32, LFN

      [  411.493993] systemd-fsck[713]: /dev/mmcblk0p7: 5 files, 2592/2819 clusters

      Configuring kernel-image-3.10.17-poky-edison+.

      ln: //boot/bzImage: Operation not permitted

      Configuring kernel-3.10.17-poky-edison+.

      Configuring kernel-module-snd-seq-midi-event.

      Configuring kernel-module-snd-rawmidi.

      Configuring kernel-module-snd-seq-midi.

      ......

      ...

      ...

      ...

      Configuring nodejs-dev.

      Configuring libmraa-dev.

      Configuring upm-dev.

      Collected errors:

      * copy_file_chunk: write: No space left on device.     <<====

       

       

       

      Questions.

      How to solve this problem??

       

       

      --------------

      info

       

      >> After upgrade

      Filesystem                Size      Used Available Use% Mounted on

      /dev/root              463.9M    326.5M    101.6M  76% /

      devtmpfs                480.2M        0    480.2M  0% /dev

      tmpfs                  480.5M        0    480.5M  0% /dev/shm

      tmpfs                  480.5M    496.0K    480.0M  0% /run

      tmpfs                  480.5M        0    480.5M  0% /sys/fs/cgroup

      tmpfs                  480.5M    496.0K    480.0M  0% /etc/machine-id

      systemd-1                5.5M      5.5M      2.0K 100% /boot  <<============= full

      tmpfs                  480.5M    14.7M    465.9M  3% /tmp

      systemd-1                2.2G      4.2M      2.2G  0% /home

      tmpfs                  480.5M        0    480.5M  0% /var/volatile

      /dev/mmcblk0p5        1003.0K    19.0K    913.0K  2% /factory

      /dev/mmcblk0p10          2.2G      4.2M      2.2G  0% /home

      /dev/mmcblk0p7            5.5M      5.5M      2.0K 100% /boot

       

       

      >> Before upgrade

      Filesystem                Size      Used Available Use% Mounted on

      /dev/root              463.9M    321.7M    106.4M  75% /

      devtmpfs                480.2M        0    480.2M  0% /dev

      tmpfs                  480.5M        0    480.5M  0% /dev/shm

      tmpfs                  480.5M    496.0K    480.0M  0% /run

      tmpfs                  480.5M        0    480.5M  0% /sys/fs/cgroup

      tmpfs                  480.5M    496.0K    480.0M  0% /etc/machine-id

      systemd-1                5.5M      5.1M    454.0K  92% /boot    <=================

      tmpfs                  480.5M      4.0K    480.5M  0% /tmp

      systemd-1                2.2G      4.2M      2.2G  0% /home

      tmpfs                  480.5M        0    480.5M  0% /var/volatile

      /dev/mmcblk0p5        1003.0K    19.0K    913.0K  2% /factory

      /dev/mmcblk0p10          2.2G      4.2M      2.2G  0% /home

      /dev/mmcblk0p7            5.5M      5.1M    454.0K  92% /boot

        • 1. Re: /boot full when opkg upgrade
          JPMontero_Intel

          Hi simsiss0722,

           

          I’d suggest you to re-flash the board and to install the packages one by one instead of the upgrade command, because it will install all the packages you have installed that are upgradable and that will take a lot of extra space.

           

          1. Re-flash your board.
          2. Add the repos into the base-feeds.conf. Actually you only need to add the core2-32 since all the packages are included in there.
          3. Run opkg upgrade
          4. To install the packages run the following commands opkg install vim, opkg install bash, opkg install bluez5

           

          Let me know if this method works for you.

           

          Regards,
          JPMontero_Intel

          1 of 1 people found this helpful
          • 2. Re: /boot full when opkg upgrade
            KurtE

            I have run into this as well.  What I do now is to enlarge the boot partition to the full size that is actually allocated to it.


            I kept some notes on that in the thread: Wish there was a Wiki and/or Sticky Posts and/or FAQ and/or ...

            I think it was step 6.   The actual document mentioned there was to switch to a larger kernel, but the first several steps have to do with how to increase the size.  So I do that now as soon as I install on any new Edison.  Since doing that I have not run into this issue.

             

            Hope that helps

            Kurt

            1 of 1 people found this helpful
            • 3. Re: /boot full when opkg upgrade
              AlexT_Intel

              I also have it in my kernel install guide (step 2), however simsiss0722, I don't recommend you to run "opkg upgrade" against my repo, because of exactly such effects (and later on you;d run out of space on rootfs as well ). It's not the use case I intend it for. You better pick specific packages you want to upgrade and do that with "opkg install".