Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S272060AbTHHXT2 (ORCPT ); Fri, 8 Aug 2003 19:19:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S272066AbTHHXT2 (ORCPT ); Fri, 8 Aug 2003 19:19:28 -0400 Received: from kknd.mweb.co.za ([196.2.45.79]:65408 "EHLO kknd.mweb.co.za") by vger.kernel.org with ESMTP id S272060AbTHHXTP (ORCPT ); Fri, 8 Aug 2003 19:19:15 -0400 Subject: RE: [2.6] Perl weirdness with ext3 and HTREE - Verified ? From: Martin Schlemmer Reply-To: azarah@gentoo.org To: Christopher Li Cc: KML , akpm@digeo.com, adilger@clusterfs.com, ext3-users@redhat.com, x86-kernel@gentoo.org In-Reply-To: <68F326C497FDB743B5F844B776C9B146097705@pa-exch4.vmware.com> References: <68F326C497FDB743B5F844B776C9B146097705@pa-exch4.vmware.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-oLSg2EBqAIbCdUpZ0mom" Message-Id: <1060384772.8097.3.camel@nosferatu.lan> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 09 Aug 2003 01:19:32 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9713 Lines: 263 --=-oLSg2EBqAIbCdUpZ0mom Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2003-08-08 at 21:50, Christopher Li wrote: > Thanks, that script has successfully massed up my box. > I will play with it in the weekend. >=20 Great (don't take this badly =3D) ), at least now it is not a 'local' problem only. I will also try to dig a bit deeper, but will only be this afternoon (past 1am now, got home from work 2 hours back :(). Thanks, > Chris >=20 > > -----Original Message----- > > From: Martin Schlemmer [mailto:azarah@gentoo.org] > > Sent: Wednesday, August 06, 2003 3:28 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 > >=20 > >=20 > > On Wed, 2003-08-06 at 22:22, Christopher Li wrote: > >=20 > > > > Just grab the perl source, if you want, I can mail you=20 > > the ebuild that > > > > should give some direction in how to compile it, or grab=20 > > your local > > > > .spec, configure it (maybe with install location not in=20 > > /), and then > > > > just compile and finally install to a ext3 FS with HTREE enabled.=20 > > > > Usually over here, it keeps on leaving an invalid entry to > > > > ..usr/share/man/man3/Hash::Util.tmp. > > > >=20 > > >=20 > > > I am running 2.6-test2 kernel. Download the perl 5.8.0=20 > > (stable.tar.gz). > > > ./Configure --prefix=3D/mnt/hdc3; make; make install. > > >=20 > > > It did not happen for me. Hash::Util.3 was installed correctly. > > > (Of course, I did turn on directory index) > > >=20 > > > Can you send me more infomation how you build the perl package > > > and install it? I guess I have to do more gentoo like step=20 > > to duplicate > > > it :-) > > >=20 > >=20 > > I have gotten a few of these while testing: > >=20 > > ----------------------------------------- > > EXT3-fs warning (device hdc1): ext3_unlink: Deleting nonexistent file > > (4759186), 0 > > Slab corruption: start=3Dcb147184, expend=3Dcb14736f, problemat=3Dcb147= 1f8 > > Last user: [](ext3_destroy_inode+0x1d/0x21) > > Data: > > ************************************************************** > > ******************************************************F4 F1=20 > > 15 F6=20 > > ************************************************************** > > ************************************************************** > > ************************************************************** > > ************************************************************** > > ************************************************************** > > *************************************************************A5 > > Next: 71 F0 2C .7F AE 19 C0 71 F0 2C .******************** > > slab error in check_poison_obj(): cache `ext3_inode_cache': object was > > modified after freeing > > Call Trace: > > [] check_poison_obj+0x161/0x1a1 > > [] kmem_cache_alloc+0x11f/0x159 > > [] ext3_alloc_inode+0x18/0x34 > > [] ext3_alloc_inode+0x18/0x34 > > [] alloc_inode+0x1c/0x14d > > [] new_inode+0x1a/0xa2 > > [] ext3_new_inode+0x41/0x6d8 > > [] kmem_cache_alloc+0x133/0x159 > > [] new_handle+0x1c/0x4e > > [] ext3_mkdir+0x74/0x2b6 > > [] permission+0x2f/0x4b > > [] vfs_mkdir+0x6d/0xbf > > [] sys_mkdir+0xb7/0xf7 > > [] sysenter_past_esp+0x52/0x71 > > =20 > > ----------------------------------------- > >=20 > > A more complete one is attached (just more similar ones). > >=20 > > Attached is a script (test.sh) and a list of man page names=20 > > (list) that > > I can recreate it without needing perl. The list may or may not be > > pruned some more, but I will try tonight again after some sleep ;) > >=20 > > Here is a test run (note that it do the same with symlinks instead of > > hard links): > >=20 > > ----------------------------------------- > > nosferatu space # uname -a > > Linux nosferatu 2.6.0-test2-bk5 #2 SMP Wed Aug 6 00:21:15=20 > > SAST 2003 i686 > > Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux > > nosferatu space # dumpe2fs /dev/hdc1 | grep features > > dumpe2fs 1.34 (25-Jul-2003) > > Filesystem features: has_journal dir_index filetype=20 > > needs_recovery > > sparse_super large_file > > nosferatu space # pwd > > /space > > nosferatu space # mount | grep `pwd` > > /dev/hdc1 on /space type ext3 (rw,noatime) > > nosferatu space # ls foo/ > > ls: foo/: No such file or directory > > nosferatu space # cat test.sh > > #!/bin/bash > > =20 > > i=3D1 > > =20 > > testdir=3D"`pwd`/foo" > > =20 > > (rm -rf "$testdir"; rm -rf "$testdir") &>/dev/null > > mkdir -p "$testdir" > > =20 > > for x in $(cat list) > > do > > temp=3D"$testdir/${x/3pm/tmp}" > > x=3D"$testdir/${x}" > > =20 > > touch "$temp" > > ln "$temp" "$x" > > rm -f "$temp" > > =20 > > # echo "Pass $i" > > =20 > > # i=3D$((i+1)) > > done > > =20 > > nosferatu space # ./test.sh > > nosferatu space # ls foo/ > > ls: foo/Win32.tmp: No such file or directory > > Fcntl.3pm PerlIO::via.3pm > > Hash::Util.3pm PerlIO::via::QuotedPrint.3pm > > I18N::Collate.3pm Pod::Checker.3pm > > I18N::LangTags.3pm Pod::Find.3pm > > I18N::LangTags::List.3pm Pod::Html.3pm > > I18N::Langinfo.3pm Pod::InputObjects.3pm > > IO.3pm Pod::LaTeX.3pm > > IO::Dir.3pm Pod::Man.3pm > > IO::File.3pm Pod::ParseLink.3pm > > IO::Handle.3pm Pod::ParseUtils.3pm > > IO::Pipe.3pm Pod::Parser.3pm > > IO::Poll.3pm Pod::Plainer.3pm > > IO::Seekable.3pm Pod::Select.3pm > > IO::Select.3pm Pod::Text.3pm > > IO::Socket.3pm Pod::Text::Color.3pm > > IO::Socket::INET.3pm Pod::Text::Overstrike.3pm > > IO::Socket::UNIX.3pm Pod::Text::Termcap.3pm > > IPC::Msg.3pm Pod::Usage.3pm > > IPC::Open2.3pm SDBM_File.3pm > > IPC::Open3.3pm Safe.3pm > > IPC::Semaphore.3pm Scalar::Util.3pm > > IPC::SysV.3pm Search::Dict.3pm > > List::Util.3pm SelectSaver.3pm > > Locale::Constants.3pm SelfLoader.3pm > > Locale::Country.3pm Shell.3pm > > Locale::Currency.3pm Socket.3pm > > Locale::Language.3pm Storable.3pm > > Locale::Maketext.3pm Switch.3pm > > Locale::Maketext::TPJ13.3pm Symbol.3pm > > Locale::Script.3pm Sys::Hostname.3pm > > MIME::Base64.3pm Sys::Syslog.3pm > > MIME::QuotedPrint.3pm Term::ANSIColor.3pm > > Math::BigFloat.3pm Term::Cap.3pm > > Math::BigFloat::Trace.3pm Term::Complete.3pm > > Math::BigInt.3pm Term::ReadLine.3pm > > Math::BigInt::Calc.3pm Test.3pm > > Math::BigInt::Trace.3pm Test::Builder.3pm > > Math::BigRat.3pm Test::Harness.3pm > > Math::Complex.3pm Test::Harness::Assert.3pm > > Math::Trig.3pm Test::Harness::Iterator.3pm > > Memoize.3pm Test::Harness::Straps.3pm > > Memoize::AnyDBM_File.3pm Test::More.3pm > > Memoize::Expire.3pm Test::Simple.3pm > > Memoize::ExpireFile.3pm Test::Tutorial.3pm > > Memoize::ExpireTest.3pm Text::Abbrev.3pm > > Memoize::NDBM_File.3pm Text::Balanced.3pm > > Memoize::SDBM_File.3pm Text::ParseWords.3pm > > Memoize::Storable.3pm Text::Soundex.3pm > > NDBM_File.3pm Text::Tabs.3pm > > NEXT.3pm Text::Wrap.3pm > > Net::Cmd.3pm Thread.3pm > > Net::Config.3pm Thread::Queue.3pm > > Net::Domain.3pm Thread::Semaphore.3pm > > Net::FTP.3pm Tie::Array.3pm > > Net::FTP::A.3pm Tie::File.3pm > > Net::FTP::E.3pm Tie::Handle.3pm > > Net::FTP::I.3pm Tie::Hash.3pm > > Net::FTP::L.3pm Tie::Memoize.3pm > > Net::FTP::dataconn.3pm Tie::RefHash.3pm > > Net::NNTP.3pm Tie::Scalar.3pm > > Net::Netrc.3pm Tie::SubstrHash.3pm > > Net::POP3.3pm Time::HiRes.3pm > > Net::Ping.3pm Time::Local.3pm > > Net::SMTP.3pm Time::gmtime.3pm > > Net::Time.3pm Time::localtime.3pm > > Net::hostent.3pm Time::tm.3pm > > Net::libnetFAQ.3pm UNIVERSAL.3pm > > Net::netent.3pm Unicode::Collate.3pm > > Net::protoent.3pm Unicode::Normalize.3pm > > Net::servent.3pm Unicode::UCD.3pm > > O.3pm User::grent.3pm > > Opcode.3pm User::pwent.3pm > > POSIX.3pm Win32.3pm > > PerlIO.3pm XS::APItest.3pm > > PerlIO::encoding.3pm XS::Typemap.3pm > > PerlIO::scalar.3pm XSLoader.3pm > > nosferatu space # > > ---------------------------------- > >=20 > >=20 > > Thanks, > >=20 > > --=20 > >=20 > > Martin Schlemmer > >=20 > >=20 > >=20 > >=20 --=20 Martin Schlemmer --=-oLSg2EBqAIbCdUpZ0mom Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/NDAEqburzKaJYLYRAs8pAJwOo7Nan5S3NysM7ISBrCRXBtKANwCeKfVC 11U0PwBOsM4ZQ84/2iVZVZU= =mqK7 -----END PGP SIGNATURE----- --=-oLSg2EBqAIbCdUpZ0mom-- - 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/