New: Invalid ext4 image generated by Buildroot
https://bugs.busybox.net/show_bug.cgi?id=7790
Summary: Invalid ext4 image generated by Buildroot
Product: buildroot
Version: 2014.11
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: thomas.petazzoni at free-electrons.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Using:
BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_EABIHF=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_FPU_VFPV3D16=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.18.1"
BR2_LINUX_KERNEL_DEFCONFIG="vexpress"
BR2_LINUX_KERNEL_ZIMAGE=y
BR2_PACKAGE_NFS_UTILS=y
BR2_PACKAGE_RPCBIND=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
# BR2_TARGET_ROOTFS_TAR is not set
I get:
EXT3-fs (mmcblk0): error: couldn't mount because of unsupported optional features (40)
EXT2-fs (mmcblk0): error: couldn't mount because of unsupported optional features (40)
EXT4-fs (mmcblk0): bad geometry: block count 6593 exceeds size of device (6400 blocks)
List of all partitions:
1f00 131072 mtdblock0 (driver?)
b300 6400 mmcblk0 driver: mmcblk
No filesystem could mount root, tried: ext3 ext2 ext4 cramfs squashfs vfat
When using a 3.18 kernel, running under Qemu. I'm attaching the filesystem image.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 7790] Invalid ext4 image generated by Buildroot
https://bugs.busybox.net/show_bug.cgi?id=7790
Yann E. MORIN <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998 at free.fr
AssignedTo|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
|.org |Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 7790] Invalid ext4 image generated by Buildroot
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7790
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
AssignedTo|yann.morin.1998 at free.fr |unassigned at buildroot.uclibc
| |.org--- Comment #1 from Thomas Petazzoni <[email protected]> 2015-01-10 21:34:17 UTC --- Turned out to be a Qemu emulation issue: my version of Qemu does not align up
the size of the block device emulated, but aligns it down, compared to the size
of the filesystem image being passed.
For example, when forcing the size of the filesystem image to 8192 blocks, everything is fine. When using 8193 blocks, mounting fails with:
bad geometry: block count 8193 exceeds size of device (8192 blocks).
Closing the bug.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.