Re: Corruption problem with ext3 and htree

From: Martin Schlemmer (azarah@gentoo.org)
Date: Tue Mar 11 2003 - 14:17:22 EST


On Tue, 11 Mar 2003 01:19:11 -0500
Theodore Ts'o <tytso@mit.edu> wrote:

> Hmm... can you help construct a test case that doesn't rely on the
> presence of the Gentoo distribution? Is there some way we can
> instrument the python code so we can see the exact filesystem
> operations (renames, deletions, moves, etc.) that is going on? The
> good news is that you say that you're able to reproduce it every
> single time, which implies it's not a timing related problem.
>

I just compile perl-5.8.0, and then install it.

----------------------------------------------------
nosferatu perl-5.8.0 # ls /space/var/tmp/portage/perl-5.8.0-r10/image
nosferatu perl-5.8.0 # make
DESTDIR="/space/var/tmp/portage/perl-5.8.0-r10/image"
INSTALLMAN1DIR="/space/var/tmp/portage/perl-5.8.0-r10/image/usr/share/m
an/man1"
INSTALLMAN3DIR="/space/var/tmp/portage/perl-5.8.0-r10/image/foo/usr/sha
re/man/man3" install > /dev/null make[1]: [extras.make] Error 1
(ignored) make[2]: [extras.install] Error 1 (ignored)
nosferatu perl-5.8.0 # ls
/space/var/tmp/portage/perl-5.8.0-r10/image/usr/share/man/man3/Hash\:\:
Util.* -al ls:
/space/var/tmp/portage/perl-5.8.0-r10/image/usr/share/man/man3/Hash::Ut
il.tmp: No such file or directory-rw-r--r-- 1 root root
6435 Mar 11 20:54
/space/var/tmp/portage/perl-5.8.0-r10/image/usr/share/man/man3/Hash::Ut
il.3pm nosferatu perl-5.8.0 #
-------------------------------------------------------------

Bad past, thus attached as well.

> It could possibly be a hash value dependent problem, which case it
> could be related to the filename. That's not very likely, but it is
> possible. If you could send us the result of "dumpe2fs -h /dev/XXXX",
> that would be useful. In particular the last two lines:
>
> Default directory hash: tea
> Directory Hash Seed: 407dbbca-8326-4bed-bc7c-bb0453f79049
>
> The most important thing though is to be able to reduce the test case
> to something which is slightly easier for us ext2/3 developers to run.
>

Seems like its creating 'Hash::Util.tmp' as a directory for some reason,
while it should be a 'tmp' file when installing the man pages.

Is there some other hash algorithm I could try ? Just to verify if it
is that ? Problem is that If I try to recreate it without the make
install, I do not really succeed.

Regards,

-- 

Martin Schlemmer


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:26 EST