[Bug 1040393] Re: omap netboot partition too small for flash-kernel backup procedure

Adam Conrad adconrad at 0c3.net
Sun Dec 2 03:53:38 UTC 2012


** Changed in: debian-installer (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1040393

Title:
  omap netboot partition too small for flash-kernel backup procedure

Status in “debian-installer” package in Ubuntu:
  In Progress
Status in “debian-installer” source package in Precise:
  New

Bug description:
  [ SRU Justification ]
  omap netboot installs are broken, and it's only a matter of time and/or bad luck before a d-i spin on omap4 has a slightly larger kernel and, thus, the same problem

  [ Test Case ]
  Install using the d-i netboot image, watch it fail with the old images with the below errors, install with the new image, watch it succeed, an verify that the VFAT boot partition on the SD card is 72ish MB instead of 30ish.

  [ Regression Potential ]
  Very low, as I'm using the (exact) same partition size as the CD-ish media uses, which should satisfy boundary concerns, etc.  If it boots and passes the test case, it's fine.

  [ Original Descrpition ]
  Undecided if this should be fixed in flash-kernel-installer to be less broken when failing to create backups, or debian-installer to make the SD partition a bit (or a lot) larger.  Probably d-i's fault, as our CD/preinstall images use a 72MB SD boot partition, and d-i appears to use something closer to 32MB.

  At any rate, current precise on omap3 fails like so, and it's only a
  matter of time before the omap4 initrd gets large enough to cause the
  same issue, I suspect:

  Aug 23 03:00:05 in-target: Using u-boot partition: /dev/mmcblk0p1
  Aug 23 03:00:05 in-target: /usr/lib/u-boot/omap3_beagle/MLO is already installed in the boot partiti
  on.
  Aug 23 03:00:05 in-target: /usr/lib/u-boot/omap3_beagle/u-boot.bin is already installed in the boot
  partition.
  Aug 23 03:00:05 in-target: Creating backups of boot files ...
  Aug 23 03:00:06 in-target: cp:
  Aug 23 03:00:06 in-target: writing `/tmp/tmp.gOpwSqxTIj/uInitrd.bak'
  Aug 23 03:00:06 in-target: : No space left on device
  Aug 23 03:00:06 in-target:
  Aug 23 03:00:06 in-target: cp:
  Aug 23 03:00:06 in-target: failed to extend `/tmp/tmp.gOpwSqxTIj/uInitrd.bak'
  Aug 23 03:00:06 in-target: : No space left on device
  Aug 23 03:00:06 in-target:
  Aug 23 03:00:10 flash-kernel-installer: error: bootloader installation failure

  -rwxr-xr-x    1 root     root         43648 Aug  3 18:37 MLO
  -rwxr-xr-x    1 root     root           265 Aug  3 18:37 boot.scr
  -rwxr-xr-x    1 root     root        340628 Aug  3 18:37 u-boot.bin
  -rwxr-xr-x    1 root     root       3833296 Aug  3 18:37 uImage
  -rwxr-xr-x    1 root     root       3833296 Aug 23 03:00 uImage.bak
  -rwxr-xr-x    1 root     root      11746823 Aug  3 18:37 uInitrd
  -rwxr-xr-x    1 root     root      11571200 Aug 23 03:00 uInitrd.bak

  /dev/mmcblk0p1           29.9M     29.9M      2.0K 100% /mnt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1040393/+subscriptions




More information about the foundations-bugs mailing list