Subject: Strange IRQ problem?
To: Port-i386 <port-i386@netbsd.org>
From: Andy Ruhl <acruhl@gmail.com>
List: port-i386
Date: 09/22/2006 05:44:47
Hello all. I'm not familiar with the finer points of i386 hardware,
hopefully this problem isn't a big deal. But I'm looking for a new
motherboard just in case.

I have an older Abit BP6 running NetBSD 2.0.2 that I'm in the process
of upgrading so I can install either 3.0.1 or 3.1 on.

For a while I've known that I can't add any more PCI cards to it,
weird stuff happens. But last weekend all I did was replace one of the
hard drives for a bigger one and I got a weird problem.

I have a Promise ATA133 controller so I can use newer large disks. I
have 4 disks on it (max), but when I replaced a 300 gig drive with a
500 gig drive, for some reason my 10baseT ISA network card (3com
3C509B) stopped working. It has a link light, but if I ping it's
address, it doesn't work. If reboot and unplug the 500 gig drive, the
card works.

The kernel is almost generic, I only added MP and increased
nmbclusters I think. Maybe made a few changes to run Postgres.

Here's the dmesg (wd3 would be a 500 gig Maxtor disk):

> dmesg
NetBSD 2.0.2 (FOGHORN1.MP) #0: Wed Jul  6 12:52:34 MST 2005
        root@foghorn:/usr/src/sys/arch/i386/compile/FOGHORN1.MP
total memory = 447 MB
avail memory = 430 MB
BIOS32 rev. 0 found at 0xfb590
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (OEM00000 PROD00000000)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Celeron (Mendocino) (686-class), 510.12 MHz, id 0x665
cpu0: features 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 183fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 183fbff<FXSR>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 128 KB 32B/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: calibrating local timer
cpu0: apic clock running at 68 MHz
cpu0: 8 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel Celeron (Mendocino) (686-class), 510.09 MHz, id 0x665
cpu1: features 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 183fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu1: features 183fbff<FXSR>
cpu1: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu1: L2 cache 128 KB 32B/line 4-way
cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type ISA
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xd0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Nvidia Corporation RIVA TNT (rev. 0x04)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
piixide0 at pci0 dev 7 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel ignored (disabled)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller
(PIIX4) (rev. 0x01)
uhci0: interrupting at ioapic0 pin 19 (irq 11)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous
bridge, revision 0x02) at pci0 dev 7 function 3 not configured
wm0 at pci0 dev 9 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2
wm0: interrupting at ioapic0 pin 19 (irq 11)
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address XX:XX:XX:XX:XX:XX
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
pdcide0 at pci0 dev 11 function 0
pdcide0: Promise Ultra133/ATA Bus Master IDE Accelerator (rev. 0x02)
pdcide0: bus-master DMA support present
pdcide0: primary channel configured to native-PCI mode
pdcide0: using ioapic0 pin 18 (irq 15) for native-PCI interrupt
atabus1 at pdcide0 channel 0
pdcide0: secondary channel configured to native-PCI mode
atabus2 at pdcide0 channel 1
hptide0 at pci0 dev 19 function 0
hptide0: Triones/Highpoint HPT366 IDE Controller
hptide0: bus-master DMA support present
hptide0: primary channel wired to native-PCI mode
hptide0: using ioapic0 pin 18 (irq 15) for native-PCI interrupt
atabus3 at hptide0 channel 0
hptide1 at pci0 dev 19 function 1
hptide1: Triones/Highpoint HPT366 IDE Controller
hptide1: bus-master DMA support present
hptide1: primary channel wired to native-PCI mode
hptide1: using ioapic0 pin 18 (irq 15) for native-PCI interrupt
atabus4 at hptide1 channel 0
isa0 at pcib0
3COM 3C509B Ethernet card in PnP mode
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: read port 0x203
ep0 at isapnp0 port 0x210/16 irq 3
ep0: 3Com 3C509B EtherLink III
ep0: address XX:XX:XX:XX:XX:XX, 8KB byte-wide FIFO, 1:1 Rx:Tx split
ep0: 10baseT (default 10baseT)
ioapic0: enabling
Kernelized RAIDframe activated
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-6402B, , 1008> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33)
(using DMA data transfers)
wd0 at atabus1 drive 0: <HDS722525VLAT80>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at atabus1 drive 1: <ST3300631A>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 279 GB, 581421 cyl, 16 head, 63 sec, 512 bytes/sect x 586072368 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(pdcide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100)
(using DMA data transfers)
wd1(pdcide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100)
(using DMA data transfers)
wd2 at atabus2 drive 0: <ST3200822A>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd2(pdcide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100)
(using DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cpu1: CPU 1 running
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
LKM 'pf': forced load, skipping compatibility checks