From owner-freebsd-acpi@FreeBSD.ORG Sat Feb 12 19:39:56 2005 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9F3616A4CE for ; Sat, 12 Feb 2005 19:39:56 +0000 (GMT) Received: from xs4all.deze.org (4-17-ftth.onsnet.nu [84.35.17.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C67943D49 for ; Sat, 12 Feb 2005 19:39:55 +0000 (GMT) (envelope-from frank@deze.org) Received: by xs4all.deze.org (Postfix, from userid 1006) id 2EED1FD98; Sat, 12 Feb 2005 20:39:54 +0100 (CET) Received: from [192.168.1.2] (corfu [192.168.1.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xs4all.deze.org (Postfix) with ESMTP id 5B234FD8A for ; Sat, 12 Feb 2005 20:39:49 +0100 (CET) Message-ID: <420E5B85.1050404@deze.org> Date: Sat, 12 Feb 2005 20:39:49 +0100 From: Frank User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on drawbridge.deze.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.2 Subject: Ethernet cards not working - Interrrupt routing problem? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 19:39:56 -0000 [I posted this message on -STABLE yesterday, but I got a mail, that I should try this mailing list instead. Also I forgot to mention that the machine in question is a Fujitsu Siemens Primergy RX300 -- thanks for any advice, Frank] Hi, I have a weird problem with hardware that runs fine under FreeBSD 4.9 but is unusable under FreeBSD 5.3. The problem concentrates apparently arround interrupt assignments, the Adaptec scsci card in combination with the Ethernet cards. The dmesg output of the system using FreeBSD 5.3 (that does not work) is attached. I think that the problem is related to the fact that all Ethernet cards have been assigned IRQ > 16, while under FreeBSd 4.9 these cards get IRQ < 16. Now, If I disable IO/APIC (either in the bios or by removing it from then the system does not boot): it hangs after the "waiting 8 seconds for SCSI devices to settle", and after a minute or so, the system starts complaining about "SCB aborts", "infinite interrupt loops" etc. I also played with the hyper threading enable/disable in the bios, but that doe not appear to help either. Finally, if I try to disable ACPI completely (using a hint.0.acpi.disabled="1" in loader.conf), then the system can't find the root device to mount from. Without ACPI the adaptec scsi card is apparently not detected. If I boot the system sucessfully (enabled io apic, acpi), the dmesg below is shown. If I look at the interface cards, then link status is detected during booting (I see the led blinking), but as soon as an ifconfig command is run for a interface, the led goes off and stays of. I'm baffled what to try next, the hardware is modern and runs fine under FreeBSD 4.9, so I can think what the problem might me. Any help would be appreciated very much... Frank Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-STABLE #0: Fri Feb 11 10:17:08 CET 2005 WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2666.78-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 536870912 (512 MB) avail memory = 515682304 (491 MB) ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0xf008-0xf00b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: on acpi0 pci0: on pcib0 pci0: at device 4.0 (no driver attached) pci0: at device 8.0 (no driver attached) pci0: at device 8.1 (no driver attached) pci0: at device 8.2 (no driver attached) atapci0: port 0x1c00-0x1c0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 isab0: at device 15.3 on pci0 isa0: on isab0 pcib1: on acpi0 pci1: on pcib1 pcib2: at device 10.0 on pci1 pci2: on pcib2 em0: port 0x3000-0x303f mem 0xfc600000-0xfc61ffff irq 29 at device 4.0 on pci2 em0: Ethernet address: 00:04:23:b1:58:84 em0: Speed:N/A Duplex:N/A em1: port 0x3400-0x343f mem 0xfc620000-0xfc63ffff irq 30 at device 4.1 on pci2 em1: Ethernet address: 00:04:23:b1:58:85 em1: Speed:N/A Duplex:N/A em2: port 0x3800-0x383f mem 0xfc640000-0xfc65ffff irq 31 at device 6.0 on pci2 em2: Ethernet address: 00:04:23:b1:58:86 em2: Speed:N/A Duplex:N/A em3: port 0x3c00-0x3c3f mem 0xfc660000-0xfc67ffff irq 28 at device 6.1 on pci2 em3: Ethernet address: 00:04:23:b1:58:87 em3: Speed:N/A Duplex:N/A ahc0: port 0x2000-0x20ff mem 0xfc400000-0xfc400fff irq 30 at device 11.0 on pci1 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs fxp0: port 0x2400-0x243f mem 0xfc500000-0xfc5fffff,0xfc401000-0xfc401fff irq 31 at device 12.0 on pci1 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:d0:b7:9e:5b:c5 pcib3: on acpi0 pci3: on pcib3 bge0: mem 0xfc900000-0xfc90ffff,0xfc910000-0xfc91ffff irq 18 at device 0.0 on pci3 miibus1: on bge0 brgphy0: on miibus1 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:30:05:81:83:8e bge1: mem 0xfc920000-0xfc92ffff,0xfc930000-0xfc93ffff irq 19 at device 0.1 on pci3 miibus2: on bge1 brgphy1: on miibus2 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:30:05:81:83:8f pcib4: on acpi0 pci4: on pcib4 pcib5: on acpi0 pci5: on pcib5 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: at iomem 0xc9000-0xcb7ff,0xc0000-0xc8fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled Timecounter "TSC" frequency 2666778192 Hz quality 800 Timecounters tick every 1.000 msec carp: attached IPsec: Initialized Security Association Processing. IP Filter: v4.1.5 initialized. Default = block all, Logging = enabled acd0: CDROM at ata1-master UDMA33 Waiting 8 seconds for SCSI devices to settle ses0 at ahc0 bus 0 target 8 lun 0 ses0: Fixed Processor SCSI-2 device ses0: 3.300MB/s transfers ses0: SAF-TE Compliant Device da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 35046MB (71775284 512 byte sectors: 255H 63S/T 4467C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da1: 35046MB (71775284 512 byte sectors: 255H 63S/T 4467C) Mounting root from ufs:/dev/da1s1a