fails to create snowball image

Bug #1078402 reported by Antonio Terceiro
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Invalid
Medium
Milo Casagrande

Bug Description

I am trying to flash a microSD card for a snowball using the latest linaro-image-tools (from bzr trunk), and it crashes towards the end of the process.

Excerpt from the log (full log attached):

$ sudo ./linaro-media-create --mmc /dev/sdb --dev snowball_sd --hwpack ~/src/lava/images/snowball/hwpack_linaro-lt-snowball_20120221-1_armel_supported.tar.gz --binary ~/src/lava/images/snowball/linaro-o-nano-tar-20120221-0.tar.gz
[...]
Formating boot partition

mkfs.vfat 3.0.13 (30 Jun 2012)

Formating root partition

mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=rootfs
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
239040 inodes, 954752 blocks
47737 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=981467136
30 block groups
32768 blocks per group, 32768 fragments per group
7968 inodes per group
Superblock backups stored on blocks:
 32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

Traceback (most recent call last):
  File "./linaro-media-create", line 235, in <module>
    args.is_live, args.is_lowmem, args.consoles)
  File "/home/terceiro/src/lava/linaro-image-tools/linaro_image_tools/media_create/boards.py", line 1028, in populate_boot
    cls.copy_files(boot_disk)
  File "/home/terceiro/src/lava/linaro-image-tools/linaro_image_tools/media_create/boards.py", line 1049, in copy_files
    if cls.bootloader_copy_files is None:
AttributeError: type object 'SnowballSdConfig' has no attribute 'bootloader_copy_files'

Please let me known is there is any infor I can provide to help debug this.

Revision history for this message
Antonio Terceiro (terceiro) wrote :
Revision history for this message
Antoine Andrieu (antoineandrieu) wrote :

I have strictly the same issue using different binary (custom) and hwpack. I am also using the latest linaro-image-tools.

$ sudo linaro-media-create -v --mmc /dev/sdb --dev snowball_sd --binary linux-linaro-u8500-3.6_regigolf_23112012.tar.gz --hwpack hwpack_igloo-snowball_20111209_armel_supported.tar.gz

Did you find a solution ?

Revision history for this message
Antonio Terceiro (terceiro) wrote : Re: [Bug 1078402] Re: fails to create snowball image

On Tue, Nov 27, 2012 at 08:47:58AM -0000, Antoine Andrieu wrote:
> Did you find a solution ?

nope - for now I am rellying on pre-built images instead.

--
Antonio Terceiro
Software Engineer - Linaro
http://www.linaro.org

Revision history for this message
Milo Casagrande (milo) wrote :

Hi,

the problem here looks like is due to the hwpack format used: checking the FORMAT file in the tarball it is 1.0, and that format is not supported anymore by Linaro Image Tools. There is still marginal support, but it is going to be removed.

It is possible to update the configuration file to the latest version and regenerate the hwpack.

Revision history for this message
Antonio Terceiro (terceiro) wrote :

Hi,

AFAICT that hardware pack was from the latest available release when I
reported this bug. As I understand linaro-image-tools moved on with the
config format, but no new snowball releases were made using it.

Some backwards compatibility would be nice in that case; ATM we cannot
build images out of the latest snowball releases.

Revision history for this message
Milo Casagrande (milo) wrote :

Hi,

I re-tested today with the same hwpack/binary configuration, and on my local system (with latest l-i-t) it does not happen again.
Is it possible for you to double check again?

Changed in linaro-image-tools:
assignee: nobody → Milo Casagrande (milo)
importance: Undecided → Medium
status: New → In Progress
milestone: none → 2013.06
Revision history for this message
Milo Casagrande (milo) wrote :

No answers received, marking as invalid.
Tested locally and the problem does not happen again.

Changed in linaro-image-tools:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.