I can't perform any successful emerges. An example output is: >>> Emerging (1 of 1) sys-apps/portage-2.1.6.13 * portage-2.1.6.13.patch.bz2 RMD160 SHA1 SHA256 size ;-) [ ok ] * portage-2.1.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) [ ok ] * checking ebuild checksums ;-) [ ok ] * checking auxfilechecksums ;-) [ ok ] * checking miscfilechecksums ;-) [ ok ] >>> cfg-update-1.8.2-r1: Checksum index is up-to-date ... /usr/lib64/portage/bin/ebuild.sh: line 654: 15626 Illegal instruction install -m${PORTAGE_WORKDIR_MODE:-0700} -d "$ {WORKDIR}" * * ERROR: sys-apps/portage-2.1.6.13 failed. * Call stack: * ebuild.sh, line 2112: Called ebuild_main * ebuild.sh, line 2034: Called dyn_unpack * ebuild.sh, line 689: Called die * The specific snippet of code: * install -m${PORTAGE_WORKDIR_MODE:-0700} -d "$ {WORKDIR}" || die "Failed to create dir '${WORKDIR}'" * The die message: * Failed to create dir '/var/tmp/portage/sys-apps/portage-2.1.6.13/ work' * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/ portage-2.1.6.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys- apps/portage-2.1.6.13/temp/environment'. * The last kernel log entry registers the failure "[15626]" shown in the above output: WALRUS ~ # cat /var/log/kernel/current | grep install Jun 13 00:34:13 [kernel] install[12732] trap invalid opcode rip:40acd8 rsp:7fffaa8319d0 error:0 Jun 13 00:36:38 [kernel] install[13001] trap invalid opcode rip:40acd8 rsp:7ffff1ae8c90 error:0 Jun 13 00:49:45 [kernel] install[13347] trap invalid opcode rip:40acd8 rsp:7fffe38249d0 error:0 Jun 13 00:51:43 [kernel] install[13636] trap invalid opcode rip:40acd8 rsp:7fff535a2670 error:0 Jun 13 00:57:01 [kernel] install[13921] trap invalid opcode rip:40acd8 rsp:7fff36e98050 error:0 Jun 13 06:57:45 [kernel] Time: acpi_pm clocksource has been installed. Jun 13 07:15:37 [kernel] install[5477] trap invalid opcode rip:40a93f rsp:7fffdf45f0d8 error:0 Jun 13 07:58:55 [kernel] install[5969] trap invalid opcode rip:40a93f rsp:7fff1834cf98 error:0 Jun 13 08:19:29 [kernel] install[6381] trap invalid opcode rip:40a93f rsp:7fff8bdfa9a8 error:0 Jun 13 10:24:38 [kernel] install[15361] trap invalid opcode rip:40a93f rsp:7fff9b352ef8 error:0 Jun 13 10:29:02 [kernel] install[15626] trap invalid opcode rip:40a93f rsp:7fff83e2b9d8 error:0 I'm in way over my head here. Any help would be appreciated. WALRUS ~ # emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.24-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.24-gentoo-r4-x86_64-AMD_Athlon-tm- _64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5 Timestamp of tree: Sat, 13 Jun 2009 06:15:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r13, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/ kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/ java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/ sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/ language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks fixpackages parallel- fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo ftp://lug.mtu.edu/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ " LANG="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times -- compress --force --whole-file --delete --stats --timeout=180 -- exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/java-binary /usr/portage/ local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/ portage/local/layman/lisp" SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 apache2 arts berkdb blas bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emacs emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kdeenablefinal lapack ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby sdl session spell spl sqlite sse sse2 ssl startup- notification svg sysfs tcltk tcpd tiff truetype type1 unicode usb vorbis xml xorg xulrunner xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS