Problems with 'make check' and 48bit ext3 patchset

Jarod Wilson <[email protected]>
Newsgroups gmane.comp.file-systems.ext2.devel
Organization Red Hat
Message-ID <[email protected]>
Hello,

I was just in on the con-call, listening in... Sounds like there is a
new patchset against e2fsprogs 1.39 coming shortly, but just the same, I
thought I'd resend the message I sent to the list yesterday that didn't
make it through, possibly due to the size of an attached patch...

For the curious, the patch that was attached can be obtained from here
now:

http://wilsonet.com/jarod/misc/e2fsprogs-1.39-48bit-testoutput.patch

--jarod


-----------------------------------
Hello,

There are a few problems with trying to run 'make check' on an e2fsprogs
build with the patchset from here:

http://ext2.sourceforge.net/48bitext3/patches/e2fsprogs/48bit-e2fsprogs-1.39/

First up, blk-64bit.patch nukes lib/blkid/tst_types.c, which results in
not even being able to build a good portion of the tests (make complains
about a missing target). Removing the part of the blk-64bit.patch that
does that gets you much further along, so I'm assuming this was
accidentally removed.

Second, six tests fail:
f_badtable: bad blocks in bitmaps and inode table: failed
f_bbfile: bad blocks in files: failed
f_journal: recover journal from corrupted inode table: failed
f_misstable: missing inode table: failed
f_overfsblks: overlapping inode and block bitmaps: failed
f_valid_ea_in_inode: valid ea-in-inode examplars: failed

All of these *appear* to be simply due to changes in the way e2fsck
outputs information, and with the attached patch, I've successfully
built and ran all the tests on two different systems now (Fedora Core
development tree/x86_64 and FC5/x86_64). Someone who knows a lot more
about e2fsck than me should probably sanity-check the output though.

Third problem, I get a segfault on a FC dev/ppc system in 'make check':
[...]
ext2fs_fast_set_bit big_test successful
LD_LIBRARY_PATH=../../lib DYLD_LIBRARY_PATH=../../lib ./tst_badblocks
test1: 0 0 0 0 0 0 0 0 0 0 --- OK
test2: 0 0 0 0 0 0 0 0 0 0 0 --- OK
test3: 0 0 0 0 0 0 0 0 0 0 --- OK
test4: 0 0 0 0 0 0 0 0 0
make[1]: *** [check] Segmentation fault

The 48bit patches do touch tst_badblocks.c, but only in a very minor
way. I'm not sure what's up here, I know very little about the code,
this is the first I've really looked at it. (And for a sanity check,
note that there were no segfaults on a build w/o the 48bit patch).

Still working on actually testing the resulting x86_64 builds beyond the
included tests, and an i386 build or two coming soonish as well...

-- 
Jarod Wilson
[email protected]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Ext2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ext2-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQBEx5NdtO+bni+75QMRAlYQAKDgpJEPJC7conSJoSSPxmMjzE+aWACfUa0P
H9/qCtLNB5g1Z7T6yTR24S8=
=Un2U
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.