All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 9496] New: mke2img fails during build on ntfs-3g host partition
@ 2016-12-22 21:32 bugzilla at busybox.net
  2017-03-25 13:44 ` [Buildroot] [Bug 9496] " bugzilla at busybox.net
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at busybox.net @ 2016-12-22 21:32 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 9496
           Summary: mke2img fails during build on ntfs-3g host partition
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: dcmay at copper.net
                CC: buildroot at uclibc.org
  Target Milestone: ---

mke2img is not able to complete successfully when the output image file is
located on an ntfs-3g partition.

The "Generating root filesystem image" step fails with fsck errors in the
generated image if the buildroot directory is on an ntfs-3g drive.

.../fakeroot -- /ntfs-3g-partition/buildroot/output/build/_fakeroot.fs
rootdir=/ntfs-3g-partition/buildroot/output/target
table='/ntfs-3g-partition/buildroot/output/build/_device_table.txt'
tune2fs 1.43.3 (04-Sep-2016)
tune2fs 1.43.3 (04-Sep-2016)

Please run e2fsck -f on the filesystem.

Creating journal inode: done
This filesystem will be automatically checked every 20 mounts or
0 days, whichever comes first.  Use tune2fs -c or -i to override.


/ntfs-3g-partition/buildroot/output/images/rootfs.ext2: UNEXPECTED
INCONSISTENCY; RUN fsck MANUALLY.
        (i.e., without -a or -p options)
mke2img: failed to run e2fsck on
'/ntfs-3g-partition/buildroot/output/images/rootfs.ext2' (ext4)
make[1]: *** [/ntfs-3g-partition/buildroot/output/images/rootfs.ext2] Error 4
make: *** [_all] Error 2

Running e2fsck manually yields hundreds of errors flagged as inode problems.

If the corrupted rootfs.ext2 file is deleted, and the buildroot directory tree
copied to an ext4 partition, 'make' runs this step again, and it completes
successfully.

Workaround - only build on an ext2/3/4 host filesystem.

All previous steps complete without errors when built on an ntfs-3g partition.

The ntfs-3g drive has a .NTFS-3G/UserMapping containing a map to Windows SIDs
in a dual boot environment. This problem is not due to issues with permissions.

Basic configuration - make beaglebone_defconfig
Host system - ubuntu trusty 14.04.5

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 9496] mke2img fails during build on ntfs-3g host partition
  2016-12-22 21:32 [Buildroot] [Bug 9496] New: mke2img fails during build on ntfs-3g host partition bugzilla at busybox.net
@ 2017-03-25 13:44 ` bugzilla at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla at busybox.net @ 2017-03-25 13:44 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
We have dropped support for auto-calculating the size of the ext2 filesystem:
the size *must* now be passed in a Buildroot option. See
https://git.buildroot.org/buildroot/commit/?id=c6bca8cef0310bc649240b451989457ce94a8358.

Therefore, the issue raised by this bug can no longer be encountered.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2017-03-25 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-22 21:32 [Buildroot] [Bug 9496] New: mke2img fails during build on ntfs-3g host partition bugzilla at busybox.net
2017-03-25 13:44 ` [Buildroot] [Bug 9496] " 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.