I was running my box with xfs-sources-2.4.20-r4 when I recently upgraded to xfs-sources-2.4.24-r1 (which is not masked, so I think it should be stable). After I emerged, configured and compiled my kernel, I rebooted the system (to make sure it works) and then started to recompile the alsa-drivers again. That's where portage started to make problems. Note: I have downgraded to my previous kernel again, so I can not give you the exact error message - BUT: I found a post in the support forum which exactly describes the problem I had, so I've stolen the code snippets and error-messages from there. First I tried to emerge alsa: $ emerge alsa-drivers [...] Then I tried to emerge the nvidia-drivers $ emerge nvidia-kernel nvidia-glx I got error messages similar to that one (you may have a look at that thread: http://forums.gentoo.org/viewtopic.php?t=137133&highlight=system+hosed&sid=e1f49c6b974374efaa65801215ab7045): root@hobbes andrew # emerge ati-drivers Calculating dependencies ...done! >>> emerge (1 of 1) media-video/ati-drivers-3.2.8 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/ati-drivers-3.2.8/temp' $ Note: Instead of ati-drivers, it said "alsa-drivers" or "nvidia-kernel" or <whatever-program-I-emerged>. After I downgraded to xfs-sources-2.4.20-r4 again, everything works fine again. Reproducible: Always Steps to Reproduce: 1. $ emerge xfs-sources (in this case, xfs-sources-2.4.24-r1) 2. Reboot PC with new kernel. 3. Try to emerge any program with $ emerge <program> Actual Results: Get an error like this one: root@hobbes andrew # emerge ati-drivers Calculating dependencies ...done! >>> emerge (1 of 1) media-video/ati-drivers-3.2.8 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/ati-drivers-3.2.8/temp' $ Expected Results: Emerge the required package. Performing Global Updates: /usr/portage/profiles/updates/1Q-2004 (Could take a couple minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' ................. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.20-xfs-r4) ================================================================= System uname: 2.4.20-xfs-r4 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.4.3.10 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -march=pentium4 -msse -msse2 -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-Os -march=pentium4 -msse -msse2 -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" 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="3dfx X Xaw3d aalib acpi alsa apache2 apm arts atlas avi berkdb bidi bonobo cdr crypt cscope cups curl dga directfb dvb dvd dvdr emacs emacs-w3 encode esd evo fam fastcgi fbcon flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib innodb jack java joystick jpeg kde lcms ldap leim libg++ libgda libwww linguas_de linguas_el linguas_en_GB lirc mad maildir mbox mcal mikmod mmx motif mozilla mpeg mpi mule mysql nas ncurses nls odbc oggvorbis opengl oss pam pda pdflib perl plotutils png pnp postgres ppds python qt quicktime readline ruby samba sasl scanner sdl slang slp snmp spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype unicode usb videos wmf wxwindows x86 xface xml xml2 xmms xosd xv zlib"
this should be fixed in xfs-sources-2.4.24-r3 that will be committed in the next hour or so
Uhm...well. You're right. It is fixed in xfs-sources-2.4.24-r3, but now I have another problem: My NIC is not working anymore. The module (e100) is loaded without errors at boot up, but * I can't ping any computer on the net (even in my own network) * when I type $ route I get no routing table and have to abort with Ctrl-C. I thought it could be an IRQ problem, so I tried to configure * with SMP (although I have an uniprocessor, but I prefer SMP instead of that APIC stuff because I got less problems with it in the past - not only on this box) * with local APIC and IO-APIC off * with local APIC and IO-APIC on Everytime the same result: No error messages, but also no network :( HINT: I downgraded to xfs-sources-2.4.20-r4 again and gathered the following information. -------------------------------------------------- Additional information: $ cat /proc/interrupts cat /proc/interrupts CPU0 0: 77045 IO-APIC-edge timer 1: 4439 IO-APIC-edge keyboard 2: 0 XT-PIC cascade 4: 1 IO-APIC-edge serial 8: 2 IO-APIC-edge rtc 9: 0 IO-APIC-level acpi 12: 31301 IO-APIC-edge PS/2 Mouse 14: 10085 IO-APIC-edge ide0 15: 2753 IO-APIC-edge ide1 16: 61416 IO-APIC-level usb-uhci, usb-uhci, usb-ohci, nvidia 17: 117947 IO-APIC-level ehci-hcd, bttv, CS46XX 18: 164 IO-APIC-level usb-uhci 19: 27 IO-APIC-level usb-uhci, usb-ohci 20: 5843064 IO-APIC-level eth0 23: 0 IO-APIC-level ehci-hcd NMI: 0 LOC: 76994 ERR: 0 MIS: 0 $ lspci -v 00:00.0 Host bridge: Intel Corp. 82865G/PE/P Processor to I/O Controller (rev 02) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7280 Flags: bus master, fast devsel, latency 0 Memory at f8000000 (32-bit, prefetchable) [size=64M] Capabilities: [e4] #09 [2106] Capabilities: [a0] AGP version 3.0 00:01.0 PCI bridge: Intel Corp. 82865G/PE/P Processor to AGP Controller (rev 02) (prog-if 00 [Normal decode]) Flags: bus master, 66Mhz, fast devsel, latency 128 Bus: primary=00, secondary=01, subordinate=01, sec-latency=128 Memory behind bridge: fc700000-fe7fffff Prefetchable memory behind bridge: e7d00000-f7dfffff 00:1d.0 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI]) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7280 Flags: bus master, medium devsel, latency 0, IRQ 16 I/O ports at e000 [size=32] 00:1d.1 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI]) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7280 Flags: bus master, medium devsel, latency 0, IRQ 19 I/O ports at e400 [size=32] 00:1d.2 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI]) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7280 Flags: bus master, medium devsel, latency 0, IRQ 18 I/O ports at e800 [size=32] 00:1d.3 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI]) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7280 Flags: bus master, medium devsel, latency 0, IRQ 16 I/O ports at ec00 [size=32] 00:1d.7 USB Controller: Intel Corp. 82801EB USB2 (rev 02) (prog-if 20 [EHCI]) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7280 Flags: bus master, medium devsel, latency 0, IRQ 23 Memory at febffc00 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Capabilities: [58] #0a [20a0] 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev c2) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=128 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: fe800000-feafffff Prefetchable memory behind bridge: f7e00000-f7efffff 00:1f.0 ISA bridge: Intel Corp. 82801EB LPC Interface Controller (rev 02) Flags: bus master, medium devsel, latency 0 00:1f.1 IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 02) (prog-if 8a [Master SecP PriP]) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7280 Flags: bus master, medium devsel, latency 0, IRQ 18 I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at fc00 [size=16] Memory at 40000000 (32-bit, non-prefetchable) [size=1K] 00:1f.3 SMBus: Intel Corp. 82801EB SMBus Controller (rev 02) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7280 Flags: medium devsel, IRQ 17 I/O ports at 0c00 [size=32] 01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3) (prog-if 00 [VGA]) Subsystem: Micro-Star International Co., Ltd.: Unknown device 8773 Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 16 Memory at fd000000 (32-bit, non-prefetchable) [size=16M] Memory at e8000000 (32-bit, prefetchable) [size=128M] Memory at f7d80000 (32-bit, prefetchable) [size=512K] Expansion ROM at fe7e0000 [disabled] [size=128K] Capabilities: [60] Power Management version 2 Capabilities: [44] AGP version 2.0 02:01.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01) Subsystem: TERRATEC Electronic GmbH: Unknown device 112e Flags: bus master, slow devsel, latency 128, IRQ 17 Memory at feaff000 (32-bit, non-prefetchable) [size=4K] Memory at fe900000 (32-bit, non-prefetchable) [size=1M] Capabilities: [40] Power Management version 2 02:03.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI]) Subsystem: NEC Corporation USB Flags: bus master, medium devsel, latency 128, IRQ 19 Memory at feafc000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 02:03.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI]) Subsystem: NEC Corporation USB Flags: bus master, medium devsel, latency 128, IRQ 16 Memory at feafd000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 02:03.2 USB Controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI]) Subsystem: Unknown device 0ee4:3383 Flags: bus master, medium devsel, latency 128, IRQ 17 Memory at feafef00 (32-bit, non-prefetchable) [size=256] Capabilities: [40] Power Management version 2 02:05.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11) Subsystem: Hauppauge computer works Inc. WinTV Series Flags: bus master, medium devsel, latency 128, IRQ 17 Memory at f7efe000 (32-bit, prefetchable) [size=4K] Capabilities: [44] Vital Product Data Capabilities: [4c] Power Management version 2 02:05.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11) Subsystem: Hauppauge computer works Inc. WinTV Series Flags: bus master, medium devsel, latency 128, IRQ 17 Memory at f7eff000 (32-bit, prefetchable) [size=4K] Capabilities: [44] Vital Product Data Capabilities: [4c] Power Management version 2 02:08.0 Ethernet controller: Intel Corp.: Unknown device 1050 (rev 02) Subsystem: Micro-Star International Co., Ltd.: Unknown device 728c Flags: bus master, medium devsel, latency 128, IRQ 20 Memory at feafb000 (32-bit, non-prefetchable) [size=4K] I/O ports at cc00 [size=64] Capabilities: [dc] Power Management version 2 -------------------------------------------------- HINT: I noticed the following things with 2.4.24-r3 but I am not sure if they have anything to say. I remember that $ cat /proc/interrupts looks different with 2.4.24-r3. It said something that IRQ 10 was used by ACPI and the network card. I also remembered that there was a "*"-sign in front of IRQ 10 which shows up at the very, very beginning at the boot process in the first or second line...(I couldn't find the output in dmesg or so...) Would it help when I boot with the broken kernel again and give the exact results?
bug <a href="http://bugs.gentoo.org/show_bug.cgi?id=39143">39143</a> addresses this.
xfs-sources no longer provided, closing..