Error: Failed to allocate 119 blocks
2017-03-29 16:12
696 查看
1 make_ext4fs -l 167772160 -a system out/target/product/Mary/system.img.ext4 out/target/product/Mary/system 2 Creating filesystem with parameters: 3 Size: 167772160 4 Block size: 4096 5 Blocks per group: 32768 6 Inodes per group: 5120 7 Inode size: 256 8 Journal blocks: 1024 9 Label: 10 Blocks: 40960 11 Block groups: 2 12 Reserved block group size: 15 13 error: do_inode_allocate_extents: Failed to allocate 119 blocks 14 15 make: *** [out/target/product/Mary/obj/PACKAGING/systemimage_intermediates/system.img] 错误 4 16 make: *** 正在删除文件“out/target/product/Mary/obj/PACKAGING/systemimage_intermediates/system.img”
这个错误是由分配的空间太小导致的。解决方法:打开device/odm/Mary/BoardConfig.mk 扩大BOARD_*_PARTITION_SIZE的大小,如: BOARD_SYSTEMIMAGE_PARTITION_SIZE := 251658240 #0x0F000000 #167772160 # 0x0A000000 参考资料:=== error: do_inode_allocate_extents: Failed to allocate blocks ===
One way to workaround this is to increase the system image size.
Please see BOARD_*_PARTITION_SIZE variables in device/<vendor>/$(TARGET_PRODUCT)/BoardConfig.mk in your workspace.转载地址:http://www.cnblogs.com/tnxk/archive/2012/02/20/2360185.html
相关文章推荐
- ERROR:Failed to allocate 119 blocks
- Android编译错误error: ext4_allocate_best_fit_partial: failed to allocate 74 blocks, out of space?
- error: ext4_allocate_best_fit_partial: failed to allocate 742 blocks, out of space?
- error: do_inode_allocate_extents: Failed to allocate 4133 blocks
- ERROR:do_inode_allocate_extents: Failed to allocate 71 blocks
- openwrt编译error: ext4_allocate_best_fit_partial: failed to allocate 13 blocks, out of space?
- error: do_inode_allocate_extents: Failed to allocate 1162 blocks
- ERROR: Failed to allocate directory watch: Too many open files
- Android:java.lang.OutOfMemoryError: Failed to allocate a 23970828 byte allocation with 2097152 free
- Caused by: java.lang.OutOfMemoryError: Failed to allocate a 29433932 byte allocation with 14683576 free bytes and 14MB
- OpenCV Error:Insufficient memory(Failed to allocate 1244164 bytes)
- java.lang.OutOfMemoryError: Failed to allocate a 22440958 byte allocation with 16777216 free bytes
- Android 图片加载 Error:Failed to allocate a 36018012 byte allocation with 16777216
- Android:java.lang.OutOfMemoryError: Failed to allocate a 23970828 byte allocation with 2097152 free
- OpenCV Error: Insufficient memory (Failed to allocate 47752340 bytes) in cv::OutOfMemoryError, file
- Caused by: java.lang.OutOfMemoryError: Failed to allocate a 38428990 byte allocation with 23734224
- Insufficient memory<failed to allocate 232852> in cv::OutOfMemoryError
- gsl: rng.c:46: ERROR: failed to allocate space for rng state
- java.lang.OutOfMemoryError: Failed to allocate a 3110419 byte allocation with 741152 free bytes and
- CentOS6.0安装xen-tools失败:Fatal error: Failed to determine Linux distribution and version