Whenever I call 'emerge --sync' it always dies right away when it tries to update portage cache. I already have this problem for a while, so I don't think it's version specific problem. Here's the relevant output: >>> Updating Portage cache: Traceback (most recent call last): File "/usr/bin/emerge", line 3062, in ? cache.util.mirror_cache(source, cm, pdb.auxdb[porttree_root], eclass_cache=ec, verbose_instance=noise_maker) File "/usr/lib/portage/pym/cache/util.py", line 45, in mirror_cache inherited = entry.get("INHERITED", None) File "/usr/lib/python2.4/UserDict.py", line 158, in get return self[key] File "/usr/lib/portage/pym/cache/mappings.py", line 32, in __getitem__ return self.orig[key] File "/usr/lib/portage/pym/cache/mappings.py", line 77, in __getitem__ self.d.update(self.pull()) File "/usr/lib/portage/pym/cache/flat_hash.py", line 29, in callit return args[0](*args[1:]+args2) File "/usr/lib/portage/pym/cache/flat_hash.py", line 44, in _pull d = self._parse_data(myf, cpv) File "/usr/lib/portage/pym/cache/metadata.py", line 38, in _parse_data data = list(data) IOError: [Errno 5] Input/output error # emerge --info Portage 2.1-r2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r12 i686) ================================================================= System uname: 2.6.16-gentoo-r12 i686 VIA Nehemiah Gentoo Base System version 1.12.4 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O3 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri dvb emboss encode foomaticdb gdbm gif gpm gtk2 imlib insecure-drivers ipv6 isdnlog jack jpeg kde lcms libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls ogg opengl oss pam pcre pdflib perl plugin png pppd python qt3 qt4 quicktime readline reflection sdl session soundtouch spell spl sse ssl svg tcpd theora truetype truetype-fonts type1-fonts unicode usb vorbis xine xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_via video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
fs/kernel issue. Don't spose you're running xfs + 2.6.17?
As Brian said, nothing we can do about this.
No, I'm not using XFS, only ext2&3. My kernel is 2.6.16-gentoo-r12. Do you know what kind of kernel issue this is? Is it gentoo kernel specific? Which 2.6.x kernels are known to work? Any help on this appreciated!
(In reply to comment #0) > IOError: [Errno 5] Input/output error Generally, that indicates filesystem and/or disk trouble. You should run some basic diagnostic tools on the filesystem and disk that hold /usr/portage. e2fsck and badblocks from e2fsprogs, for example.