← Back to team overview

linaro-release team mailing list archive

[Bug 887967] [NEW] Unable create image file with 2011.10 release.

 

Public bug reported:

I downloaded the 2011.10 release and it can create SD card sucessfully with the following hwpack and rootfs.
hwpack:  hwpack_linaro-lt-mx5_20111107-0_armel_supported.tar.gz
rootfs: linaro-o-ubuntu-desktop-tar-20111107-0.tar.gz 

But it could not create a image file by the paramter --image_file, it
reported successfully executed. but no file found.

the following is the detail information:

./linaro-media-create --image_file ../mx53_o_1107.img --image_file=3600M --dev mx53loco --hwpack ../hwpack_linaro-lt-mx5_20111107-0_armel_supported.tar.gz --binary ../linaro-o-ubuntu-desktop-tar-20111107-0.tar.gz 
------------------------------------------------------------
Installing (linaro-hwpack-install) hwpack_linaro-lt-mx5_20111107-0_armel_supported.tar.gz in target rootfs.
Unpacking hardware pack ...Done
Updating apt package lists ...
Ign file: ./ InRelease
Ign file: ./ Release.gpg
Ign file: ./ Release
Ign file: ./ Translation-en
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  devio flash-kernel hwpack-linaro-lt-mx5 linux-firmware linux-image-3.1.0-1001-linaro-lt-mx5 linux-image-linaro-lt-mx5 u-boot-linaro-lt-mx53loco u-boot-linaro-mx51evk u-boot-tools
  uboot-mkimage wireless-crda
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.1 MB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  wireless-crda linux-image-3.1.0-1001-linaro-lt-mx5 devio flash-kernel linux-firmware linux-image-linaro-lt-mx5 u-boot-linaro-mx51evk u-boot-linaro-lt-mx53loco hwpack-linaro-lt-mx5
  u-boot-tools uboot-mkimage
Install these packages without verification [y/N]? y
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package wireless-crda.
(Reading database ... 93546 files and directories currently installed.)
Unpacking wireless-crda (from .../wireless-crda_1.14_armel.deb) ...
Selecting previously deselected package linux-image-3.1.0-1001-linaro-lt-mx5.
Unpacking linux-image-3.1.0-1001-linaro-lt-mx5 (from .../linux-image-3.1.0-1001-linaro-lt-mx5_3.1.0-1001.6_armel.deb) ...
Done.
Selecting previously deselected package devio.
Unpacking devio (from .../devio_1.2-1build1_armel.deb) ...
Selecting previously deselected package flash-kernel.
Unpacking flash-kernel (from .../flash-kernel_2.28ubuntu34linaro1_armel.deb) ...
Selecting previously deselected package linux-firmware.
Unpacking linux-firmware (from .../linux-firmware_1.60_all.deb) ...
Selecting previously deselected package linux-image-linaro-lt-mx5.
Unpacking linux-image-linaro-lt-mx5 (from .../linux-image-linaro-lt-mx5_3.1.0.1001.1_armel.deb) ...
Selecting previously deselected package u-boot-linaro-mx51evk.
Unpacking u-boot-linaro-mx51evk (from .../u-boot-linaro-mx51evk_2011.10.2-0ubuntu1~ppa~oneiric_armel.deb) ...
Selecting previously deselected package u-boot-linaro-lt-mx53loco.
Unpacking u-boot-linaro-lt-mx53loco (from .../u-boot-linaro-lt-mx53loco_2011.09.5-0ubuntu2~ppa3_armel.deb) ...
Selecting previously deselected package hwpack-linaro-lt-mx5.
Unpacking hwpack-linaro-lt-mx5 (from .../hwpack-linaro-lt-mx5_20111107-0_armel.deb) ...
Selecting previously deselected package u-boot-tools.
Unpacking u-boot-tools (from .../u-boot-tools_2011.06-3ubuntu1_armel.deb) ...
Selecting previously deselected package uboot-mkimage.
Unpacking uboot-mkimage (from .../uboot-mkimage_2011.06-3ubuntu1_all.deb) ...
Processing triggers for man-db ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up wireless-crda (1.14) ...
Setting up linux-image-3.1.0-1001-linaro-lt-mx5 (3.1.0-1001.6) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
/usr/share/update-notifier/notify-reboot-required: 17: gettext: not found
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.1.0-1001-linaro-lt-mx5 /boot/vmlinuz-3.1.0-1001-linaro-lt-mx5
update-initramfs: Generating /boot/initrd.img-3.1.0-1001-linaro-lt-mx5
/bin/df: Warning: cannot read table of mounted file systems: No such file or directory


run-parts: executing /etc/kernel/postinst.d/pm-utils 3.1.0-1001-linaro-lt-mx5 /boot/vmlinuz-3.1.0-1001-linaro-lt-mx5
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.1.0-1001-linaro-lt-mx5 /boot/vmlinuz-3.1.0-1001-linaro-lt-mx5
/etc/kernel/postinst.d/update-notifier: 17: gettext: not found
Setting up devio (1.2-1build1) ...
Setting up flash-kernel (2.28ubuntu34linaro1) ...
Setting up linux-firmware (1.60) ...
Setting up linux-image-linaro-lt-mx5 (3.1.0.1001.1) ...
Setting up u-boot-linaro-mx51evk (2011.10.2-0ubuntu1~ppa~oneiric) ...
Setting up u-boot-linaro-lt-mx53loco (2011.09.5-0ubuntu2~ppa3) ...
Setting up hwpack-linaro-lt-mx5 (20111107-0) ...
Setting up u-boot-tools (2011.06-3ubuntu1) ...
Setting up uboot-mkimage (2011.06-3ubuntu1) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
devio set to automatically installed.
linux-image-3.1.0-1001-linaro-lt-mx5 set to automatically installed.
flash-kernel set to automatically installed.
linux-image-linaro-lt-mx5 set to automatically installed.
u-boot-tools set to automatically installed.
u-boot-linaro-lt-mx53loco set to automatically installed.
linux-firmware set to automatically installed.
uboot-mkimage set to automatically installed.
wireless-crda set to automatically installed.
u-boot-linaro-mx51evk set to automatically installed.
N: This command is deprecated. Please use 'apt-mark auto' and 'apt-mark manual' instead.
Done
Cleaning up ...W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 57F0C186163F38F3
Done
------------------------------------------------------------
proc umounted
Warning: 3600M is not a block device
Disk 3600M: cannot get geometry
BLKRRPART: Inappropriate ioctl for device
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)

Formating boot partition

mkfs.vfat 3.0.9 (31 Jan 2010)
Loop device does not match a floppy size, using default hd params

Formating root partition

mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=rootfs
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
193152 inodes, 772096 blocks
38604 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=792723456
24 block groups
32768 blocks per group, 32768 fragments per group
8048 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912

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

This filesystem will be automatically checked every 24 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
396+1 records in
396+1 records out
202928 bytes (203 kB) copied, 0.0503509 s, 4.0 MB/s
Image Name:   Linux
Created:      Wed Nov  9 17:46:33 2011
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4219448 Bytes = 4120.55 kB = 4.02 MB
Load Address: 70008000
Entry Point:  70008000
Image Name:   initramfs
Created:      Wed Nov  9 17:46:34 2011
Image Type:   ARM Linux RAMDisk Image (uncompressed)
Data Size:    1864643 Bytes = 1820.94 kB = 1.78 MB
Load Address: 00000000
Entry Point:  00000000
Image Name:   boot script
Created:      Wed Nov  9 17:46:34 2011
Image Type:   ARM Linux Script (uncompressed)
Data Size:    305 Bytes = 0.30 kB = 0.00 MB
Load Address: 00000000
Entry Point:  00000000
Contents:
   Image 0: 297 Bytes = 0.29 kB = 0.00 MB

Populating rootfs partition
Be patient, this may take a few minutes


Creating /etc/flash-kernel.conf


Updating /etc/network/interfaces

Done creating Linaro image on 3600M

** Affects: linaro-image-tools
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of linaro-
infrastructure-drivers, which is the registrant for Linaro Image Tools.
https://bugs.launchpad.net/bugs/887967

Title:
  Unable create image file with 2011.10 release.

Status in Linaro Image Tools:
  New

Bug description:
  I downloaded the 2011.10 release and it can create SD card sucessfully with the following hwpack and rootfs.
  hwpack:  hwpack_linaro-lt-mx5_20111107-0_armel_supported.tar.gz
  rootfs: linaro-o-ubuntu-desktop-tar-20111107-0.tar.gz 

  But it could not create a image file by the paramter --image_file, it
  reported successfully executed. but no file found.

  the following is the detail information:

  ./linaro-media-create --image_file ../mx53_o_1107.img --image_file=3600M --dev mx53loco --hwpack ../hwpack_linaro-lt-mx5_20111107-0_armel_supported.tar.gz --binary ../linaro-o-ubuntu-desktop-tar-20111107-0.tar.gz 
  ------------------------------------------------------------
  Installing (linaro-hwpack-install) hwpack_linaro-lt-mx5_20111107-0_armel_supported.tar.gz in target rootfs.
  Unpacking hardware pack ...Done
  Updating apt package lists ...
  Ign file: ./ InRelease
  Ign file: ./ Release.gpg
  Ign file: ./ Release
  Ign file: ./ Translation-en
  W: Some index files failed to download. They have been ignored, or old ones used instead.
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following NEW packages will be installed:
    devio flash-kernel hwpack-linaro-lt-mx5 linux-firmware linux-image-3.1.0-1001-linaro-lt-mx5 linux-image-linaro-lt-mx5 u-boot-linaro-lt-mx53loco u-boot-linaro-mx51evk u-boot-tools
    uboot-mkimage wireless-crda
  0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/28.1 MB of archives.
  After this operation, 0 B of additional disk space will be used.
  WARNING: The following packages cannot be authenticated!
    wireless-crda linux-image-3.1.0-1001-linaro-lt-mx5 devio flash-kernel linux-firmware linux-image-linaro-lt-mx5 u-boot-linaro-mx51evk u-boot-linaro-lt-mx53loco hwpack-linaro-lt-mx5
    u-boot-tools uboot-mkimage
  Install these packages without verification [y/N]? y
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Selecting previously deselected package wireless-crda.
  (Reading database ... 93546 files and directories currently installed.)
  Unpacking wireless-crda (from .../wireless-crda_1.14_armel.deb) ...
  Selecting previously deselected package linux-image-3.1.0-1001-linaro-lt-mx5.
  Unpacking linux-image-3.1.0-1001-linaro-lt-mx5 (from .../linux-image-3.1.0-1001-linaro-lt-mx5_3.1.0-1001.6_armel.deb) ...
  Done.
  Selecting previously deselected package devio.
  Unpacking devio (from .../devio_1.2-1build1_armel.deb) ...
  Selecting previously deselected package flash-kernel.
  Unpacking flash-kernel (from .../flash-kernel_2.28ubuntu34linaro1_armel.deb) ...
  Selecting previously deselected package linux-firmware.
  Unpacking linux-firmware (from .../linux-firmware_1.60_all.deb) ...
  Selecting previously deselected package linux-image-linaro-lt-mx5.
  Unpacking linux-image-linaro-lt-mx5 (from .../linux-image-linaro-lt-mx5_3.1.0.1001.1_armel.deb) ...
  Selecting previously deselected package u-boot-linaro-mx51evk.
  Unpacking u-boot-linaro-mx51evk (from .../u-boot-linaro-mx51evk_2011.10.2-0ubuntu1~ppa~oneiric_armel.deb) ...
  Selecting previously deselected package u-boot-linaro-lt-mx53loco.
  Unpacking u-boot-linaro-lt-mx53loco (from .../u-boot-linaro-lt-mx53loco_2011.09.5-0ubuntu2~ppa3_armel.deb) ...
  Selecting previously deselected package hwpack-linaro-lt-mx5.
  Unpacking hwpack-linaro-lt-mx5 (from .../hwpack-linaro-lt-mx5_20111107-0_armel.deb) ...
  Selecting previously deselected package u-boot-tools.
  Unpacking u-boot-tools (from .../u-boot-tools_2011.06-3ubuntu1_armel.deb) ...
  Selecting previously deselected package uboot-mkimage.
  Unpacking uboot-mkimage (from .../uboot-mkimage_2011.06-3ubuntu1_all.deb) ...
  Processing triggers for man-db ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up wireless-crda (1.14) ...
  Setting up linux-image-3.1.0-1001-linaro-lt-mx5 (3.1.0-1001.6) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  /usr/share/update-notifier/notify-reboot-required: 17: gettext: not found
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.1.0-1001-linaro-lt-mx5 /boot/vmlinuz-3.1.0-1001-linaro-lt-mx5
  update-initramfs: Generating /boot/initrd.img-3.1.0-1001-linaro-lt-mx5
  /bin/df: Warning: cannot read table of mounted file systems: No such file or directory


  
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.1.0-1001-linaro-lt-mx5 /boot/vmlinuz-3.1.0-1001-linaro-lt-mx5
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.1.0-1001-linaro-lt-mx5 /boot/vmlinuz-3.1.0-1001-linaro-lt-mx5
  /etc/kernel/postinst.d/update-notifier: 17: gettext: not found
  Setting up devio (1.2-1build1) ...
  Setting up flash-kernel (2.28ubuntu34linaro1) ...
  Setting up linux-firmware (1.60) ...
  Setting up linux-image-linaro-lt-mx5 (3.1.0.1001.1) ...
  Setting up u-boot-linaro-mx51evk (2011.10.2-0ubuntu1~ppa~oneiric) ...
  Setting up u-boot-linaro-lt-mx53loco (2011.09.5-0ubuntu2~ppa3) ...
  Setting up hwpack-linaro-lt-mx5 (20111107-0) ...
  Setting up u-boot-tools (2011.06-3ubuntu1) ...
  Setting up uboot-mkimage (2011.06-3ubuntu1) ...
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  devio set to automatically installed.
  linux-image-3.1.0-1001-linaro-lt-mx5 set to automatically installed.
  flash-kernel set to automatically installed.
  linux-image-linaro-lt-mx5 set to automatically installed.
  u-boot-tools set to automatically installed.
  u-boot-linaro-lt-mx53loco set to automatically installed.
  linux-firmware set to automatically installed.
  uboot-mkimage set to automatically installed.
  wireless-crda set to automatically installed.
  u-boot-linaro-mx51evk set to automatically installed.
  N: This command is deprecated. Please use 'apt-mark auto' and 'apt-mark manual' instead.
  Done
  Cleaning up ...W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 57F0C186163F38F3
  Done
  ------------------------------------------------------------
  proc umounted
  Warning: 3600M is not a block device
  Disk 3600M: cannot get geometry
  BLKRRPART: Inappropriate ioctl for device
  If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
  to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
  (See fdisk(8).)

  Formating boot partition

  mkfs.vfat 3.0.9 (31 Jan 2010)
  Loop device does not match a floppy size, using default hd params

  Formating root partition

  mke2fs 1.41.14 (22-Dec-2010)
  Filesystem label=rootfs
  OS type: Linux
  Block size=4096 (log=2)
  Fragment size=4096 (log=2)
  Stride=0 blocks, Stripe width=0 blocks
  193152 inodes, 772096 blocks
  38604 blocks (5.00%) reserved for the super user
  First data block=0
  Maximum filesystem blocks=792723456
  24 block groups
  32768 blocks per group, 32768 fragments per group
  8048 inodes per group
  Superblock backups stored on blocks: 
  	32768, 98304, 163840, 229376, 294912

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

  This filesystem will be automatically checked every 24 mounts or
  180 days, whichever comes first.  Use tune2fs -c or -i to override.
  396+1 records in
  396+1 records out
  202928 bytes (203 kB) copied, 0.0503509 s, 4.0 MB/s
  Image Name:   Linux
  Created:      Wed Nov  9 17:46:33 2011
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    4219448 Bytes = 4120.55 kB = 4.02 MB
  Load Address: 70008000
  Entry Point:  70008000
  Image Name:   initramfs
  Created:      Wed Nov  9 17:46:34 2011
  Image Type:   ARM Linux RAMDisk Image (uncompressed)
  Data Size:    1864643 Bytes = 1820.94 kB = 1.78 MB
  Load Address: 00000000
  Entry Point:  00000000
  Image Name:   boot script
  Created:      Wed Nov  9 17:46:34 2011
  Image Type:   ARM Linux Script (uncompressed)
  Data Size:    305 Bytes = 0.30 kB = 0.00 MB
  Load Address: 00000000
  Entry Point:  00000000
  Contents:
     Image 0: 297 Bytes = 0.29 kB = 0.00 MB

  Populating rootfs partition
  Be patient, this may take a few minutes

  
  Creating /etc/flash-kernel.conf

  
  Updating /etc/network/interfaces

  Done creating Linaro image on 3600M

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-image-tools/+bug/887967/+subscriptions


Follow ups

References