OOB: Failure in ImageStage: module sd_card_image

Jerry Vonau jvonau at shaw.ca
Thu Mar 14 10:17:25 EDT 2013


On Thu, 2013-03-14 at 10:40 -0300, Esteban Bordón wrote:
> Hi, I'm trying to make a custom build for XO-1.75 using oob and
> image.50.makefs.sh throws an error. 
> 
> 
> Anyone know how to solve it?
> 
> 

Hey I ran into this one while using DX's version of OOB, and had the
same problem. Try this attached patch.

Jerry



> Thakns,
> Esteban.
> 
> 
> Re-reading the partition table ...
> 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).)
> ++ head -n1
> ++ kpartx
> -l /home/builder/dx3-osbuilder-uy/build/intermediates/40015UY2.zd.disk.img
> ++ sed -e 's:.*/::'
> ++ awk '{print $5}'
> + loop=loop3
> + disk_loop=/dev/loop3
> + boot_loop=/dev/mapper/loop3p1
> + root_loop=/dev/mapper/loop3p2
> + kpartx -a
> -v /home/builder/dx3-osbuilder-uy/build/intermediates/40015UY2.zd.disk.img
> add map loop3p1 (253:2): 0 131072 linear /dev/loop3 8192
> add map loop3p2 (253:3): 0 5773056 linear /dev/loop3 139264
> + echo 'mke2fs -O dir_index,^resize_inode -L Boot
> -F /dev/mapper/loop3p1'
> mke2fs -O dir_index,^resize_inode -L Boot -F /dev/mapper/loop3p1
> + echo 'Create filesystems...'
> Create filesystems...
> + mke2fs -O 'dir_index,^resize_inode' -L Boot -F /dev/mapper/loop3p1
> mke2fs 1.42.5 (29-Jul-2012)
> mke2fs: No such file or directory while trying to determine filesystem
> size
>  * Caught error, cleanup and then bail out.
>  * Running part cleanup base cleanup.50.cleanup.sh...
>  * Running part cleanup buildnr_from_file
> cleanup.50.write_buildnr.sh...
> ERROR: Failure in ImageStage: module sd_card_image, part
> image.50.makefs.sh, error code 1
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: losetup.patch
Type: text/x-patch
Size: 1219 bytes
Desc: not available
URL: <http://lists.laptop.org/pipermail/devel/attachments/20130314/9b6eedeb/attachment.bin>


More information about the Devel mailing list