All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 7790] New: Invalid ext4 image generated by Buildroot
@ 2015-01-10 21:27 bugzilla at busybox.net
  2015-01-10 21:31 ` [Buildroot] [Bug 7790] " bugzilla at busybox.net
  2015-01-10 21:34 ` bugzilla at busybox.net
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2015-01-10 21:27 UTC (permalink / raw)
  To: 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.

-- 
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 7790] Invalid ext4 image generated by Buildroot
  2015-01-10 21:27 [Buildroot] [Bug 7790] New: Invalid ext4 image generated by Buildroot bugzilla at busybox.net
@ 2015-01-10 21:31 ` bugzilla at busybox.net
  2015-01-10 21:34 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2015-01-10 21:31 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7790

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann.morin.1998 at free.fr
         AssignedTo|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
                   |.org                        |

-- 
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 7790] Invalid ext4 image generated by Buildroot
  2015-01-10 21:27 [Buildroot] [Bug 7790] New: Invalid ext4 image generated by Buildroot bugzilla at busybox.net
  2015-01-10 21:31 ` [Buildroot] [Bug 7790] " bugzilla at busybox.net
@ 2015-01-10 21:34 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2015-01-10 21:34 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7790

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 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 <thomas.petazzoni@free-electrons.com> 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.

-- 
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-10 21:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-10 21:27 [Buildroot] [Bug 7790] New: Invalid ext4 image generated by Buildroot bugzilla at busybox.net
2015-01-10 21:31 ` [Buildroot] [Bug 7790] " bugzilla at busybox.net
2015-01-10 21:34 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.