I've just installed Gentoo 1.4 from CD 1 and startet with stage 1. After bootstrapping, emerge system, compiling the kernel (2.4.22-xfs), etc. I finished the installation procedure successfully. But when I booted my new system an wanted to emerge some software, I had to recognize, that I can't emerge anything. The emerge process aborts with these symptoms (here I tried to emerge Zile, logged in as root): [HDD LED flashing in regular periods] Calculating dependencies ...done! >>> emerge (1 of 1) app-editors/zile-1.7_alpha6 to / !!! File system problem. (ReadOnly? Out of space?) !!! Perhaps: rm -Rf /var/tmp/portage !!! [Errno 17] File exists: '/var/tmp/portage/zile-1.7_alpha6' What I have already checked is: - I have tons of free gigs available on /dev/hda2 - I tried rm -rR /var/tmp/portage but that didn't help - I checked if a user and a group "portage" exisits, and if they own /var/tmp/portage - /dev/hda2 and especially /var/tmp isn't write protected to any user or group - I couldn't find "Errno 17" on google or in the forum :( Hint: I booted from the Gentoo CD again and chrooted into my system. From the chroot-environment, emerge works like it should without any errors! Here is some information about my system: My /etc/fstab: /dev/hda1 /boot ext2 noauto,noatime 1 1 /dev/hda2 / ext3 noatime 0 0 /dev/hda3 none swap sw 0 0 /dev/hdb1 /home xfs noatime 0 0 /dev/cdroms/cdrom0 /mnt/dvd iso9660 noauto,ro 0 0 /dev/cdroms/cdrom1 /mnt/cdrecorder iso9660 noauto,ro 0 0 /dev/floppy/0 /mnt/floppy vfat noauto,user 0 0 Mounted file systems: /dev/hda2 on / type ext3 (rw,noatime) none on /dev type devfs (rw) none on /proc type proc (rw) /dev/hdb1 on /home type xfs (rw,noatime) none on /dev/shm type tmpfs (rw) none on /proc/bus/usb type usbfs (rw) /dev/floppy/0 on /mnt/floppy type vfat (rw,noexec,nosuid,nodev) $ emerge --version Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-xfs) My Kernel: 2.4.22-xfs Reproducible: Always Steps to Reproduce: 1. Finish installation, umount file systems like the installation guide says 2. Boot your new Gentoo Box 3. Login as root 4. cd /usr/portage 5. emerge $PROGRAMM 6. [See error message above, errno 17] Actual Results: HDD LED is flashing Calculating dependencies ...done! >>> emerge (1 of 1) app-editors/zile-1.7_alpha6 to / !!! File system problem. (ReadOnly? Out of space?) !!! Perhaps: rm -Rf /var/tmp/portage !!! [Errno 17] File exists: '/var/tmp/portage/zile-1.7_alpha6' Emerge only works, when I boot from CD and chroot into my box. Expected Results: Download package, untar and unzip, compile $ emerge info Gentoo Base System version 1.4.3.10 Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-xfs) ================================================================= System uname: 2.4.22-xfs i686 Intel(R) Pentium(R) 4 CPU 2.66GHz ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O6 -march=pentium4 -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 /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O6 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss crypt 3dfx 3dnow aalib acpi alsa apache2 apm arts avi atlas berkdb bonobo cdr cscope cups curl dedicated dga directfb dvb dvd dvdr emacs emacs-w3 encode evo fastcgi fbcon firebird foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile imap imlib innodb java jpeg kde lcms ldap leim libg++ libgda libwww lirc mad maildir mbox mcal mikmod mmx motif mozilla mpeg mpi mule mysql ncurses nls odbc oggvorbis opengl pam pda ppds pdflib perl plotutils png postgres python qt quicktime readline ruby samba sasl scanner sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex tiff truetype usb videos wmf wxwindows X Xaw3d xosd xml xml2 xmms xv zlib" Additional Information: - /dev/hda2 is ext3, about 32 gigs free. - PIV 2.66, 512 MB Ram, Seagate HDD - Got some results an my search after "ReadOnly? Out of space?" in the forum which says I should patch emerge.py - but since it wasn't about my special problem, I don't think that'll help much.
Hmm, if it works in the chroot it sounds like a kernel problem. Can you try it with a different kernel ?
I've downgraded to 2.4.20-xfs and it seems to work now: - Booting CD 1: $ mount /dev/hda2 /mnt/gentoo $ mount /dev/hda1 /mnt/gentoo/boot $ mount -t proc proc /mnt/gentoo/proc $ chroot /mnt/gentoo /bin/bash $ cd /usr/src/linux/ $ cp .config /root/oldconfig $ emerge --unmerge xfs-sources-2.4.22 --> is there anything else I have to do to clean my entire system from 2.4.22 files? $ emerge xfs-sources --> portage automatically selects xfs-sources-2.4.20-r3(?) for emerging. $ cp /root/oldconfig /usr/src/linux As you can see, I complied 2.4.20 with the same configuration file like 2.4.22 (I think new/invalid options are just ignored by the old kernel). And now, it works. The last thing I want to know is, if emerge --unmerge really unmerges EVERYTHING related to the kernel version 2.4.22, so that I can be sure, that's not a kernel conflict if something similar happens in the future...
re-assigning as I just saw another report with the same problem and xfs-sources-2.4.22, really seems to be a kernel problem in that version.
... Does this happen only with app-editors/zile or other items as well?
I package.mask'ed 2.4.22 for now until this is resolved, I've seen at least 3 other reports about this problem, all with this kernel version.
I've rolled up xfs-sources-2.4.23 which is based on a new XFS release (1.3.1), could you give it a try and let me know if that fixes the problem ?
Fixed on xfs-sources-2.4.23-r1
**PLEASE READ** I am using XFS and I went from linux-2.4.20-xfs-r4 to linux-2.4.24-xfs-r1 I started getting exact error....IT IS NOT FIXED see this forum http://forums.gentoo.org/viewtopic.php?t=130786