Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 6752] New: genext2fs: e2fsck must run before tunefs -U random
@ 2014-01-05 21:02 bugzilla at busybox.net
  2014-01-05 21:03 ` [Buildroot] [Bug 6752] " bugzilla at busybox.net
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2014-01-05 21:02 UTC (permalink / raw)
  To: buildroot

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

           Summary: genext2fs: e2fsck must run before tunefs -U random
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: daniel at exxm.de
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 5138
  --> https://bugs.busybox.net/attachment.cgi?id=5138
patch

In fs/ext2/genext2fs.sh, e2fsck must run after changing filesystem options and
before setting the UUID with "tune2fs -U random". Otherwise, the latter command
will fail.

I previously got this error message

"tune2fs 1.42.9 (28-Dec-2013)

Please run e2fsck on the filesystem."

It worked for me after moving e2fsck before "tune2fs -U random"

This is based on commit bfbe4dd19e94fb24037e3b6080acd75435adbb67

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 6752] genext2fs: e2fsck must run before tunefs -U random
  2014-01-05 21:02 [Buildroot] [Bug 6752] New: genext2fs: e2fsck must run before tunefs -U random bugzilla at busybox.net
@ 2014-01-05 21:03 ` bugzilla at busybox.net
  2014-01-05 22:09 ` bugzilla at busybox.net
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2014-01-05 21:03 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Daniel Mentz <daniel@exxm.de> 2014-01-05 21:03:06 UTC ---
Created attachment 5144
  --> https://bugs.busybox.net/attachment.cgi?id=5144
Build log

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 6752] genext2fs: e2fsck must run before tunefs -U random
  2014-01-05 21:02 [Buildroot] [Bug 6752] New: genext2fs: e2fsck must run before tunefs -U random bugzilla at busybox.net
  2014-01-05 21:03 ` [Buildroot] [Bug 6752] " bugzilla at busybox.net
@ 2014-01-05 22:09 ` bugzilla at busybox.net
  2014-01-05 22:19 ` bugzilla at busybox.net
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2014-01-05 22:09 UTC (permalink / raw)
  To: buildroot

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann.morin.1998 at free.fr

--- Comment #2 from Yann E. MORIN <yann.morin.1998@free.fr> 2014-01-05 22:09:06 UTC ---
This is working fine for me.

Besides, in the comment you moved, there is an explanation
on why adding the UID has to be done *before* calling fsck:

---8<---
# genext2fs does not generate a UUID, but fsck will whine if one is
# is missing, so we need to add a UUID.
# Of course, this has to happend _before_ we run fsck.
---8<---

So, moving this block after fsck is not correct.

Also, I'm using ext2/3/4 quite a lot, and I did not catch
any issue with them so far.

I suspect there is another problem with your filesystem.
One such potential problem is missing space and/or inodes
in the filesystem, which prevents tune2fs and/or e2fsck
to work correctly.

Can you attach your defconfig, please?

You can get a defconfig by running:
    make savedefconfig

Regards,
Yann E. MORIN.

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 6752] genext2fs: e2fsck must run before tunefs -U random
  2014-01-05 21:02 [Buildroot] [Bug 6752] New: genext2fs: e2fsck must run before tunefs -U random bugzilla at busybox.net
  2014-01-05 21:03 ` [Buildroot] [Bug 6752] " bugzilla at busybox.net
  2014-01-05 22:09 ` bugzilla at busybox.net
@ 2014-01-05 22:19 ` bugzilla at busybox.net
  2014-01-05 22:30 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2014-01-05 22:19 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Yann E. MORIN <yann.morin.1998@free.fr> 2014-01-05 22:19:58 UTC ---
Hmm, it seems that indeed ext4 is broken since the last bump
of e2fsprogs.

Thanks for the report, I'll investigate.

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 6752] genext2fs: e2fsck must run before tunefs -U random
  2014-01-05 21:02 [Buildroot] [Bug 6752] New: genext2fs: e2fsck must run before tunefs -U random bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2014-01-05 22:19 ` bugzilla at busybox.net
@ 2014-01-05 22:30 ` bugzilla at busybox.net
  2014-01-05 22:31 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2014-01-05 22:30 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from Daniel Mentz <daniel@exxm.de> 2014-01-05 22:30:13 UTC ---
Created attachment 5150
  --> https://bugs.busybox.net/attachment.cgi?id=5150
defconfig

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 6752] genext2fs: e2fsck must run before tunefs -U random
  2014-01-05 21:02 [Buildroot] [Bug 6752] New: genext2fs: e2fsck must run before tunefs -U random bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2014-01-05 22:30 ` bugzilla at busybox.net
@ 2014-01-05 22:31 ` bugzilla at busybox.net
  2014-01-05 22:37 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2014-01-05 22:31 UTC (permalink / raw)
  To: buildroot

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

--- Comment #5 from Daniel Mentz <daniel@exxm.de> 2014-01-05 22:31:32 UTC ---
Created attachment 5156
  --> https://bugs.busybox.net/attachment.cgi?id=5156
This commit to e2fsprogs probably broke buildroot

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 6752] genext2fs: e2fsck must run before tunefs -U random
  2014-01-05 21:02 [Buildroot] [Bug 6752] New: genext2fs: e2fsck must run before tunefs -U random bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2014-01-05 22:31 ` bugzilla at busybox.net
@ 2014-01-05 22:37 ` bugzilla at busybox.net
  2014-01-05 22:59 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2014-01-05 22:37 UTC (permalink / raw)
  To: buildroot

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

--- Comment #6 from Yann E. MORIN <yann.morin.1998@free.fr> 2014-01-05 22:37:28 UTC ---
Yes, this does indeed look like the cause of your issue,
which I am now able to reproduce with ext4.

ext2 and ext3 are not affected by this.

Thank you! :-)

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 6752] genext2fs: e2fsck must run before tunefs -U random
  2014-01-05 21:02 [Buildroot] [Bug 6752] New: genext2fs: e2fsck must run before tunefs -U random bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2014-01-05 22:37 ` bugzilla at busybox.net
@ 2014-01-05 22:59 ` bugzilla at busybox.net
  2014-01-05 23:20 ` bugzilla at busybox.net
  2014-01-05 23:25 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2014-01-05 22:59 UTC (permalink / raw)
  To: buildroot

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

--- Comment #7 from Yann E. MORIN <yann.morin.1998@free.fr> 2014-01-05 22:59:33 UTC ---
Daniel,

This should be fixed by:
    http://patchwork.ozlabs.org/patch/307025/

Care to check on your side, please?

Thanks again for the report!

Regards,
Yann E. MORIN.

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 6752] genext2fs: e2fsck must run before tunefs -U random
  2014-01-05 21:02 [Buildroot] [Bug 6752] New: genext2fs: e2fsck must run before tunefs -U random bugzilla at busybox.net
                   ` (6 preceding siblings ...)
  2014-01-05 22:59 ` bugzilla at busybox.net
@ 2014-01-05 23:20 ` bugzilla at busybox.net
  2014-01-05 23:25 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2014-01-05 23:20 UTC (permalink / raw)
  To: buildroot

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

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

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

--- Comment #8 from Yann E. MORIN <yann.morin.1998@free.fr> 2014-01-05 23:20:21 UTC ---
Fix in the repository, with:
http://git.buildroot.org/buildroot/commit/?id=9e680d0ada829f1cd7e2e1bff138d5e3ec32d0fd

Regards,
Yann E. MORIN.

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 6752] genext2fs: e2fsck must run before tunefs -U random
  2014-01-05 21:02 [Buildroot] [Bug 6752] New: genext2fs: e2fsck must run before tunefs -U random bugzilla at busybox.net
                   ` (7 preceding siblings ...)
  2014-01-05 23:20 ` bugzilla at busybox.net
@ 2014-01-05 23:25 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2014-01-05 23:25 UTC (permalink / raw)
  To: buildroot

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

Daniel Mentz <daniel@exxm.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #9 from Daniel Mentz <daniel@exxm.de> 2014-01-05 23:25:38 UTC ---
It works for me with the fix in the repository. Thanks!

-- 
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] 10+ messages in thread

end of thread, other threads:[~2014-01-05 23:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-05 21:02 [Buildroot] [Bug 6752] New: genext2fs: e2fsck must run before tunefs -U random bugzilla at busybox.net
2014-01-05 21:03 ` [Buildroot] [Bug 6752] " bugzilla at busybox.net
2014-01-05 22:09 ` bugzilla at busybox.net
2014-01-05 22:19 ` bugzilla at busybox.net
2014-01-05 22:30 ` bugzilla at busybox.net
2014-01-05 22:31 ` bugzilla at busybox.net
2014-01-05 22:37 ` bugzilla at busybox.net
2014-01-05 22:59 ` bugzilla at busybox.net
2014-01-05 23:20 ` bugzilla at busybox.net
2014-01-05 23:25 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox