Forum Discussion
Altera_Forum
Honored Contributor
16 years agogenext2fs: couldn't allocate a block (no free space)
Hi all,
I had a working mmu linux, but after adding few more modules, the make fails. What could be the solution ? (my hard disk isn't full :)) Thanks.make image.rootfs.all
make: Entering directory `/home/linux_nios/nios2-linux/uClinux-dist/vendors/hvse/nmu400'
/home/linux_nios/nios2-linux/uClinux-dist/user/genext2fs/build-host/genext2fs -m 0 -i 1024 -b 8192 -d /home/linux_nios/nios2-linux/uClinux-dist/romfs -D device_table.txt /home/linux_nios/nios2-linux/uClinux-dist/images/rootfs.ext2
/home/linux_nios/nios2-linux/uClinux-dist/user/genext2fs/build-host/genext2fs: couldn't allocate a block (no free space)
make: *** Error 1
make: Leaving directory `/home/linux_nios/nios2-linux/uClinux-dist/vendors/hvse/nmu400'
2 Replies
- Altera_Forum
Honored Contributor
Try increasing the size of the romfs image (-b 8192 to -b 16384). The message indicates that you've run out of space.
--slacker - Altera_Forum
Honored Contributor
Thank you Slacker.
It sounds good to increase the size of this, but I've looked for the definition place of this parameter: I found that it is defined in uClinux-dist/user/Kconfig: config USER_RAMIMAGE_RAMFS8192 bool "8192K" There is other choices from 64k up to 8192k, but no more ! So is it really possible to increase that ? Anyway I find an alternative solution in removing "cxx c++ test apps" from the build (saves about 1 500k !)