'AssertionError: Couldn't find the SPL file' when writing origen image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Critical
|
Mattias Backman |
Bug Description
linaro-image-tools:
Installed: 2011.08-
------------
$ sudo linaro-media-create --hwpack hwpack_
-------
Installing (linaro-
Unpacking hardware pack ...Done
Updating apt package lists ...
Ign file: ./ InRelease
Ign file: ./ Release.gpg
Ign file: ./ Release
Ign file: ./ Translation-en
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Ign http://
Get:8 http://
Get:9 http://
Get:10 http://
Ign http://
Get:11 http://
Get:12 http://
Ign http://
Get:13 http://
Ign http://
Ign http://
Get:14 http://
Ign http://
Ign http://
Get:15 http://
Get:16 http://
Ign http://
Ign http://
Get:17 http://
Get:18 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 10.4 MB in 45s (231 kB/s)
Reading package lists...
W: GPG error: http://
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
devio flash-kernel hwpack-
wireless-crda
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4069 kB 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-
hwpack-
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 ... 8852 files and directories currently installed.)
Unpacking wireless-crda (from .../wireless-
Selecting previously deselected package linux-image-
Unpacking linux-image-
Done.
Selecting previously deselected package devio.
Unpacking devio (from .../devio_
Selecting previously deselected package flash-kernel.
Unpacking flash-kernel (from .../flash-
Selecting previously deselected package u-boot-
Unpacking u-boot-
Selecting previously deselected package linux-image-
Unpacking linux-image-
Selecting previously deselected package hwpack-
Unpacking hwpack-
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up wireless-crda (1.13) ...
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
/bin/df: Warning: cannot read table of mounted file systems: No such file or directory
Examining /etc/kernel/
run-parts: executing /etc/kernel/
Setting up devio (1.2-1build1) ...
Setting up flash-kernel (2.28ubuntu19li
Setting up u-boot-
Setting up linux-image-
Setting up hwpack-
Reading package lists... Done
Building dependency tree
Reading state information... Done
devio set to automatically installed.
flash-kernel set to automatically installed.
linux-image-
u-boot-
linux-image-
wireless-crda set to automatically installed.
Done
Cleaning up ...W: GPG error: http://
Done
-------
proc umounted
Warning: origen.img is not a block device
Disk origen.img: cannot get geometry
sfdisk: ERROR: sector 0 does not have an msdos signature
origen.img: unrecognized partition table type
No partitions found
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 22 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Traceback (most recent call last):
File "/usr/bin/
args.is_live, args.is_lowmem, args.consoles)
File "/usr/lib/
rootfs_uuid, boot_disk, boot_device_
File "/usr/lib/
boot_
File "/usr/lib/
cls.
File "/usr/lib/
spl_file = cls._get_
File "/usr/lib/
% (old_spl_path, new_spl_path))
AssertionError: Couldn't find the SPL file, tried /tmp/tmpP26yIw/
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
Likely http:// bazaar. launchpad. net/~linaro- image-tools/ linaro- image-tools/ trunk/revision/ 430
[ This wouldn't have been an issue under hwpacks v2 (assuming that the hwpack maintainer adjusted
the config appropriately) ]
Thanks,
James