Too many files matching vmlinuz*

Bug #867836 reported by Tom Gall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Image Tools
New
Undecided
Unassigned

Bug Description

linaro-media-tools as of revision 438

root@neptune:~# ~tgall/bzr/linaro-image-tools/linaro-media-create --mmc /dev/sdc --rootfs ext4 --dev beagle --hwpack ~tgall/Downloads/hwpack_linaro-omap3_20111003-0_armel_supported.tar.gz --binary ~tgall/Downloads/developer-o-1004.tar.gz

I see...
Device Mount point Size
/dev/sda none 152627MB
/dev/sda1 / 146899MB
/dev/sda2 none 5726MB
/dev/sda5 none 5726MB
/dev/sdb none 0MB
/dev/sdc none 7580MB
/dev/sdc1 none 51MB
/dev/sdc2 none 7528MB
/dev/sdd none 0MB
/dev/sde none 0MB
/dev/sr0 none 0MB
Are you 100% sure, on selecting [/dev/sdc] (y/n)? y
------------------------------------------------------------
Installing (linaro-hwpack-install) hwpack_linaro-omap3_20111003-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
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ports.ubuntu.com oneiric InRelease
Ign http://ports.ubuntu.com oneiric-security InRelease
Ign http://ports.ubuntu.com oneiric-updates InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ports.ubuntu.com oneiric-security InRelease
Ign http://ports.ubuntu.com oneiric InRelease
Ign http://ports.ubuntu.com oneiric-updates InRelease
Hit http://ppa.launchpad.net oneiric Release.gpg
Get:1 http://ports.ubuntu.com oneiric Release.gpg [198 B]
Hit http://ports.ubuntu.com oneiric-security Release.gpg
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://ports.ubuntu.com oneiric-updates Release.gpg
Get:2 http://ports.ubuntu.com oneiric-security Release.gpg [198 B]
Get:3 http://ports.ubuntu.com oneiric Release.gpg [198 B]
Hit http://ppa.launchpad.net oneiric Release
Get:4 http://ports.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:5 http://ports.ubuntu.com oneiric Release [39.8 kB]
Hit http://ppa.launchpad.net oneiric Release
Hit http://ports.ubuntu.com oneiric-security Release
Hit http://ports.ubuntu.com oneiric-updates Release
Get:6 http://ports.ubuntu.com oneiric-security Release [23.2 kB]
Hit http://ppa.launchpad.net oneiric/main armel Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Get:7 http://ports.ubuntu.com oneiric Release [39.8 kB]
Hit http://ppa.launchpad.net oneiric/main armel Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Get:8 http://ports.ubuntu.com oneiric-updates Release [23.2 kB]
Get:9 http://ports.ubuntu.com oneiric/main armel Packages [1215 kB]
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en
Get:10 http://ports.ubuntu.com oneiric/universe armel Packages [4350 kB]
Ign http://ports.ubuntu.com oneiric/main TranslationIndex
Ign http://ports.ubuntu.com oneiric/universe TranslationIndex
Hit http://ports.ubuntu.com oneiric-security/main armel Packages
Hit http://ports.ubuntu.com oneiric-security/universe armel Packages
Ign http://ports.ubuntu.com oneiric-security/main TranslationIndex
Ign http://ports.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://ports.ubuntu.com oneiric-updates/main armel Packages
Hit http://ports.ubuntu.com oneiric-updates/universe armel Packages
Ign http://ports.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://ports.ubuntu.com oneiric-updates/universe TranslationIndex
Get:11 http://ports.ubuntu.com oneiric-security/main armel Packages [14 B]
Get:12 http://ports.ubuntu.com oneiric-security/universe armel Packages [14 B]
Ign http://ports.ubuntu.com oneiric-security/main TranslationIndex
Ign http://ports.ubuntu.com oneiric-security/universe TranslationIndex
Get:13 http://ports.ubuntu.com oneiric/main armel Packages [1215 kB]
Get:14 http://ports.ubuntu.com oneiric/universe armel Packages [4350 kB]
Ign http://ports.ubuntu.com oneiric/main TranslationIndex
Ign http://ports.ubuntu.com oneiric/universe TranslationIndex
Get:15 http://ports.ubuntu.com oneiric-updates/main armel Packages [14 B]
Get:16 http://ports.ubuntu.com oneiric-updates/universe armel Packages [14 B]
Ign http://ports.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://ports.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://ports.ubuntu.com oneiric/main Translation-en
Hit http://ports.ubuntu.com oneiric/universe Translation-en
Get:17 http://ports.ubuntu.com oneiric/main Translation-en [699 kB]
Get:18 http://ports.ubuntu.com oneiric/universe Translation-en [3165 kB]
Ign http://ports.ubuntu.com oneiric-security/main Translation-en
Ign http://ports.ubuntu.com oneiric-security/universe Translation-en
Ign http://ports.ubuntu.com oneiric-updates/main Translation-en
Ign http://ports.ubuntu.com oneiric-updates/universe Translation-en
Ign http://ports.ubuntu.com oneiric-security/main Translation-en
Ign http://ports.ubuntu.com oneiric-security/universe Translation-en
Ign http://ports.ubuntu.com oneiric-updates/main Translation-en
Ign http://ports.ubuntu.com oneiric-updates/universe Translation-en
Fetched 15.1 MB in 1min 48s (139 kB/s)
Reading package lists...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  hwpack-linaro-omap3 linux-firmware linux-image-3.0.0-1007-linaro-omap
  linux-image-linaro-omap u-boot-tools uboot-mkimage
The following packages will be upgraded:
  devio flash-kernel wireless-crda
3 upgraded, 6 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/27.6 MB of archives.
After this operation, 348 kB disk space will be freed.
WARNING: The following packages cannot be authenticated!
  wireless-crda linux-image-3.0.0-1007-linaro-omap devio flash-kernel
  linux-firmware linux-image-linaro-omap hwpack-linaro-omap3 u-boot-tools
  uboot-mkimage
Install these packages without verification [y/N]? y
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 33968 files and directories currently installed.)
Preparing to replace wireless-crda 1.14 (using .../wireless-crda_1.14_armel.deb) ...
Unpacking replacement wireless-crda ...
Selecting previously deselected package linux-image-3.0.0-1007-linaro-omap.
Unpacking linux-image-3.0.0-1007-linaro-omap (from .../linux-image-3.0.0-1007-linaro-omap_3.0.0-1007.11~ppa~natty_armel.deb) ...
Done.
Preparing to replace devio 1.2-1build1 (using .../devio_1.2-1build1_armel.deb) ...
Unpacking replacement devio ...
Preparing to replace flash-kernel 2.28ubuntu34 (using .../flash-kernel_2.28ubuntu34_armel.deb) ...
Unpacking replacement flash-kernel ...
Selecting previously deselected package linux-firmware.
Unpacking linux-firmware (from .../linux-firmware_1.60_all.deb) ...
Selecting previously deselected package linux-image-linaro-omap.
Unpacking linux-image-linaro-omap (from .../linux-image-linaro-omap_3.0.0.1007.7_armel.deb) ...
Selecting previously deselected package hwpack-linaro-omap3.
Unpacking hwpack-linaro-omap3 (from .../hwpack-linaro-omap3_20111003-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) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up wireless-crda (1.14) ...
Setting up linux-image-3.0.0-1007-linaro-omap (3.0.0-1007.11~ppa~natty) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-1007-linaro-omap /boot/vmlinuz-3.0.0-1007-linaro-omap
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-1007-linaro-omap /boot/vmlinuz-3.0.0-1007-linaro-omap
update-initramfs: Generating /boot/initrd.img-3.0.0-1007-linaro-omap
/bin/df: Warning: cannot read table of mounted file systems: No such file or directory
run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 3.0.0-1007-linaro-omap /boot/vmlinuz-3.0.0-1007-linaro-omap
Setting up devio (1.2-1build1) ...
Setting up flash-kernel (2.28ubuntu34) ...
Setting up linux-firmware (1.60) ...
Setting up linux-image-linaro-omap (3.0.0.1007.7) ...
Setting up hwpack-linaro-omap3 (20111003-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
linux-image-3.0.0-1007-linaro-omap set to automatically installed.
linux-image-linaro-omap set to automatically installed.
linux-firmware set to automatically installed.
u-boot-tools set to automatically installed.
uboot-mkimage set to automatically installed.
N: This command is deprecated. Please use 'apt-mark auto' and 'apt-mark manual' instead.
Done
Cleaning up ...Done
------------------------------------------------------------
proc umounted
Checking that no-one is using this disk right now ...
OK
partition ends on cylinder 1023, beyond the end of the disk
Warning: partition 1 does not end at a cylinder boundary
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)

Formating root partition

mke2fs 1.41.12 (17-May-2010)
Filesystem label=rootfs
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
482384 inodes, 1927168 blocks
96358 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1975517184
59 block groups
32768 blocks per group, 32768 fragments per group
8176 inodes per group
Superblock backups stored on blocks:
 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

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

This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
`/tmp/tmpBKVdxY/u-boot/u-boot.bin' -> `/tmp/tmpowF7OF/boot-disc/u-boot.bin'
Traceback (most recent call last):
  File "/home/tgall/bzr/linaro-image-tools/linaro-media-create", line 171, in <module>
    args.is_live, args.is_lowmem, args.consoles)
  File "/home/tgall/bzr/linaro-image-tools/linaro_image_tools/media_create/boards.py", line 747, in populate_boot
    rootfs_uuid, boot_disk, boot_device_or_file)
  File "/home/tgall/bzr/linaro-image-tools/linaro_image_tools/media_create/boards.py", line 855, in make_boot_files
    cls.set_appropriate_serial_tty(chroot_dir)
  File "/home/tgall/bzr/linaro-image-tools/linaro_image_tools/media_create/boards.py", line 840, in set_appropriate_serial_tty
    os.path.join(chroot_dir, 'boot', 'vmlinuz*'))
  File "/home/tgall/bzr/linaro-image-tools/linaro_image_tools/media_create/boards.py", line 1464, in _get_file_matching
    raise ValueError("Too many files matching '%s' found." % regex)
ValueError: Too many files matching '/tmp/tmpowF7OF/binary/boot/vmlinuz*' found.

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.