Using the same .config, make mrproper, menuconfig, dep, bzImage, modules with kernel 2.4.22-xfs I noticed that if i try to create a directory from anywhere ( like bash/perl/phyton/whatever ) fails with file exists ... althou it created the directory. The old 2.4.20-xfs-r3 doesn't do that. Also tar xf with pipes loads 99% of cpu and can't create directorys. ( emerge like unarch ) Reproducible: Always Steps to Reproduce: 1.Emerge xfs-sources-2.4.22-xfs Actual Results: 1. mkdir fails Expected Results: 1. should not fail Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.22-xfs) ================================================================= System uname: 2.4.22-xfs i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=pentium3 -march=pentium3 -mmmx -msse -funroll-loops -fprefetch-loop-arrays -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/ config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=pentium3 -march=pentium3 -mmmx -msse -funroll-loops -fprefetch-loop-arrays -O2 -pipe" DISTDIR="/home/ftp/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://light.kappa.ro http://gentoo.oregonstate.edu http:// www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://micro.dale.ro/gentoo-portage" USE="arts foomaticdb libg++ mad mikmod qt aalib acl acpi alsa apache2 apm avi berkdb crypt cups curl dga directfb encode esd fbcon flash gb gd gdbm gif gnome gnome2 gpm gtk gtk2 imap imlib java jpeg libgda libwww maildir mbox mcal mmx motif mozilla mpeg mpi mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sasl sdl slang socks5 spell sse ssl svga tcltk tcpd tiff truetype usb wmf X xface xinerama xml xml2 xmms xv zlib x86 cdr -kde javascript"
I have also hit the very same problem. "File exists" errors everywhere, directories exist when they should not be and this breaks all Makefiles, emerges, everything. There is also a severe slowdown when doing an 'emerge sync' for example. When doing xfs_check against a filesystem previously hit by this, it does not show any corruption. I have tested the following kernels: gentoo xfs-sources-2.4.22 affected gentoo xfs-sources-2.4.20-r3 not affected vanilla 2.4.21 + xfs release 1.3.1 not affected sgi xfs-cvs from 2003.11.04 (2.4.22) not affected I hope this helps to narrow it down. <rumi_at_rtfm_dot_hu>
Do you ahve grsecurity enable, and could you forward your .config to livewire@gentoo.org
Created attachment 20431 [details] my kernel config-file
Fixed on xfs-sources-2.4.23-r1
This appears to be an issue with xfs-2.4.24-r1 now. Linux pigeon.ben.int 2.4.24-xfs-r1 #1 Fri Feb 13 11:56:20 EST 2004 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux pigeon root # emerge -u linux-headers Calculating dependencies ...done! >>> emerge (1 of 1) sys-kernel/linux-headers-2.4.22 to / Traceback (most recent call last): File "/usr/bin/emerge", line 2599, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1551, in merge retval=portage.doebuild(y,"clean",myroot,self.pkgsettings,edebug,cleanup=1) File "/usr/lib/portage/pym/portage.py", line 2157, in doebuild os.makedirs(mysettings["T"]) File "/usr/lib/python2.3/os.py", line 154, in makedirs mkdir(name, mode) OSError: [Errno 17] File exists: '/var/tmp/portage/linux-headers-2.4.22/temp'