RE: [2.6] Perl weirdness with ext3 and HTREE

From: Christopher Li (chrisl@vmware.com)
Date: Tue Aug 05 2003 - 16:53:55 EST


> -----Original Message-----
> From: Martin Schlemmer [mailto:azarah@gentoo.org]
> Sent: Tuesday, August 05, 2003 12:23 PM
> To: Christopher Li
> Cc: KML; akpm@digeo.com; adilger@clusterfs.com; ext3-users@redhat.com;
> x86-kernel@gentoo.org
> Subject: Re: [2.6] Perl weirdness with ext3 and HTREE
>
>
> On Tue, 2003-08-05 at 20:28, Christopher Li wrote:
> > I can take a look at it.
> >
> > Is there any way to reproduce this bug without installing the
> > whole gentoo? It would be nice if I can just download some
> > package to make it happen.
> >
>
> I cannot really see that it is a Gentoo specific problem, but
> who knows.
> I will try to get a CD of another distro somewhere, and get that on a
> box to test - currently work/whatnot just keeps me pretty tied up :(
> Another reason why I posted, is now that 2.6 is more widely
> used/tested,
> its not only me that gets this, but other users as well - thus I hoped
> that somebody with more time wanted to have a crack at it.

I am not claiming it is a gentoo issue. I just want to duplicate
this bug with minimal damage to my box.

>
> Back to the problem - on the same system, a 2.4 kernel works fine, but
> a 2.5/6 kernel activates a race that creates an invalid
> entry. I guess
> the primary reason why not many people see this, is because most
> non-Gentoo folk do not compile perl-5.8.0 from source.
>
> Just grab the perl source, if you want, I can mail you the ebuild that
> should give some direction in how to compile it, or grab your local
> .spec, configure it (maybe with install location not in /), and then
> just compile and finally install to a ext3 FS with HTREE enabled.
> Usually over here, it keeps on leaving an invalid entry to
> ..usr/share/man/man3/Hash::Util.tmp.

OK, I will try the perl install first.

>
> If it works fine (with a 2.6 kernel), I will go and bang my
> head against
> a wall, and shutup until I can make time to try and track
> this - if not,
> any ideas as to creating it outside the perl install (or
> rather the man
> page part of the install process) would be great.
>

You can do a strace on the perl install, then grep for all
the file changes happen on that directory. There is a good
chance follow the strace log can duplicate the bug also.

Thanks

Chris

>
>

-
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 : Thu Aug 07 2003 - 22:00:30 EST