Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 17:02:29 +0100
From:      "Volf, Frank" <Frank.Volf@atosorigin.com>
To:        <stable@freebsd.org>
Cc:        "Volf, Frank" <Frank.Volf@atosorigin.com>
Subject:   Ethernet cards not working - Interrrupt routing problem?
Message-ID:  <9FAFEFB20AA5374391ED09FE09EE588501D8968C@nlex003.nl.int.atosorigin.com>

next in thread | raw e-mail | index | archive | help

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=3D"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: <PTLTD  	 APIC  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2666.78-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0xf29  Stepping =3D 9
=20
Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  =3D 536870912 (512 MB)
avail memory =3D 515682304 (491 MB)
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <display, VGA> at device 4.0 (no driver attached)
pci0: <unknown> at device 8.0 (no driver attached)
pci0: <unknown> at device 8.1 (no driver attached)
pci0: <unknown> at device 8.2 (no driver attached)
atapci0: <ServerWorks CSB6 UDMA100 controller> 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: <PCI-ISA bridge> at device 15.3 on pci0
isa0: <ISA bus> on isab0
pcib1: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib1
pcib2: <PCI-PCI bridge> at device 10.0 on pci1
pci2: <PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <Adaptec 29160 Ultra160 SCSI adapter> port 0x2000-0x20ff mem
0xfc400000-0xfc400fff irq 30 at device 11.0 on pci1
aic7892: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x2400-0x243f mem
0xfc500000-0xfc5fffff,0xfc401000-0xfc401fff irq 31 at device 12.0 on
pci1
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:d0:b7:9e:5b:c5
pcib3: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib3
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2002> mem
0xfc900000-0xfc90ffff,0xfc910000-0xfc91ffff irq 18 at device 0.0 on pci3
miibus1: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus1
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge0: Ethernet address: 00:30:05:81:83:8e
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2002> mem
0xfc920000-0xfc92ffff,0xfc930000-0xfc93ffff irq 19 at device 0.1 on pci3
miibus2: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus2
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge1: Ethernet address: 00:30:05:81:83:8f
pcib4: <ACPI Host-PCI bridge> on acpi0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI Host-PCI bridge> on acpi0
pci5: <ACPI PCI bus> on pcib5
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <floppy drive controller> 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: <ISA Option ROMs> at iomem 0xc9000-0xcb7ff,0xc0000-0xc8fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> 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 =3D block all, Logging =3D =
enabled
acd0: CDROM <LG CD-ROM CRN-8245B/1.00> at ata1-master UDMA33
Waiting 8 seconds for SCSI devices to settle
ses0 at ahc0 bus 0 target 8 lun 0
ses0: <SDR GEM318 0> Fixed Processor SCSI-2 device=20
ses0: 3.300MB/s transfers
ses0: SAF-TE Compliant Device
da0 at ahc0 bus 0 target 0 lun 0
da0: <FUJITSU MAP3367NC 5207> Fixed Direct Access SCSI-3 device=20
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: <FUJITSU MAP3367NC 5207> Fixed Direct Access SCSI-3 device=20
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9FAFEFB20AA5374391ED09FE09EE588501D8968C>