Subject: 4-port TULIP card and IRQ troubles
To: None <port-i386@netbsd.org>
From: Chris Jones <cjones@rupert.honors.montana.edu>
List: port-i386
Date: 11/20/1998 17:11:28
I've got a new 4-port TULIP card, but it only partially works.  It
smells to me like an IRQ problem:  Of the four ports, one is getting
its own IRQ, and the other three are sharing IRQs with other devices.
The first port (de0) works, and none of the others do.  Is there
something wrong with my BIOS, and the way it's assigning IRQs?  Do I
have too many devices in my computer?  Is this a NetBSD PCI bug?  Are
PCI devices even allowed to share IRQs with each other?  etc.

The docs that came with the card said I needed to make sure that that
PCI slot was set to use "INT A", whatever that means.  I saw nothing
in my BIOS setup utility (Award Modular BIOS) that looked like it
would do this.

Thanks in advance for any information, and please respond to me via
email, since I don't read this list.  See below for dmesg output.

Chris

-- 
-----------------------------------------------------cjones@math.montana.edu
Chris Jones                                          cjones@honors.montana.edu
           Mad scientist at large                    cjones@nervana.montana.edu
"Is this going to be a stand-up programming session, sir, or another bug hunt?"

Nov 20 16:59:00 hideo /netbsd: NetBSD 1.3I (HIDEO) #40: Fri Nov 20 12:09:41 MST 1998
Nov 20 16:59:00 hideo /netbsd:     root@hideo:/usr/src/sys/arch/i386/compile/HIDEO
Nov 20 16:59:00 hideo /netbsd: cpu0: family 6 model 1 step 9
Nov 20 16:59:00 hideo /netbsd: cpu0: Intel Pentium Pro (686-class)
Nov 20 16:59:00 hideo /netbsd: real mem  = 133824512
Nov 20 16:59:00 hideo /netbsd: avail mem = 121815040
Nov 20 16:59:00 hideo /netbsd: using 1659 buffers containing 6795264 bytes of memory
Nov 20 16:59:00 hideo /netbsd: mainbus0 (root)
Nov 20 16:59:00 hideo /netbsd: pci0 at mainbus0 bus 0: configuration mode 1
Nov 20 16:59:00 hideo /netbsd: pci0: i/o enabled, memory enabled
Nov 20 16:59:00 hideo /netbsd: pchb0 at pci0 dev 0 function 0
Nov 20 16:59:00 hideo /netbsd: pchb0: Intel 82441FX PCI and Memory Controller (PMC) (rev. 0x02)
Nov 20 16:59:00 hideo /netbsd: pcib0 at pci0 dev 7 function 0
Nov 20 16:59:00 hideo /netbsd: pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
Nov 20 16:59:00 hideo /netbsd: pciide0 at pci0 dev 7 function 1: Intel 82371SB IDE Interface (PIIX3)
Nov 20 16:59:00 hideo /netbsd: pciide0: bus-master DMA support present
Nov 20 16:59:00 hideo /netbsd: pciide0: primary channel wired to compatibility mode
Nov 20 16:59:00 hideo /netbsd: pciide0: disabling primary channel (no drives)
Nov 20 16:59:00 hideo /netbsd: pciide0: secondary channel wired to compatibility mode
Nov 20 16:59:00 hideo /netbsd: pciide0: disabling secondary channel (no drives)
Nov 20 16:59:00 hideo /netbsd: vga1 at pci0 dev 10 function 0: S3 ViRGE/DX (rev. 0x01)
Nov 20 16:59:00 hideo /netbsd: wsdisplay0 at vga1: console (80x25, vt100 emulation)
Nov 20 16:59:00 hideo /netbsd: fxp0 at pci0 dev 11 function 0: Intel EtherExpress Pro 10+/100B Ethernet
Nov 20 16:59:00 hideo /netbsd: fxp0: interrupting at irq 9
Nov 20 16:59:00 hideo /netbsd: fxp0: Ethernet address 00:a0:c9:6c:af:89
Nov 20 16:59:00 hideo /netbsd: inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
Nov 20 16:59:00 hideo /netbsd: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Nov 20 16:59:00 hideo /netbsd: ahc0 at pci0 dev 12 function 0
Nov 20 16:59:00 hideo /netbsd: ahc0: interrupting at irq 10
Nov 20 16:59:00 hideo /netbsd: ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
Nov 20 16:59:00 hideo /netbsd: scsibus0 at ahc0 channel 0: 16 targets
Nov 20 16:59:00 hideo /netbsd: ahc0: target 0 synchronous at 20.0MHz, offset = 0xf
Nov 20 16:59:00 hideo /netbsd: sd0 at scsibus0 targ 0 lun 0: <QUANTUM, FIREBALL ST2.1S, 0F0C> SCSI2 0/direct fixed
Nov 20 16:59:00 hideo /netbsd: sd0: 2068MB, 7068 cyl, 3 head, 199 sec, 512 bytes/sect x 4235629 sectors
Nov 20 16:59:00 hideo /netbsd: ahc0: target 1 synchronous at 10.0MHz, offset = 0xf
Nov 20 16:59:00 hideo /netbsd: cd0 at scsibus0 targ 1 lun 0: <SONY, CD-ROM CDU-415, 1.3a> SCSI2 5/cdrom removable
Nov 20 16:59:00 hideo /netbsd: ahc0: target 2 synchronous at 10.0MHz, offset = 0xf
Nov 20 16:59:00 hideo /netbsd: sd1 at scsibus0 targ 2 lun 0: <SEAGATE, ST410800N, 0025> SCSI2 0/direct fixed
Nov 20 16:59:00 hideo /netbsd: sd1: 8669MB, 4926 cyl, 27 head, 133 sec, 512 bytes/sect x 17755614 sectors
Nov 20 16:59:00 hideo /netbsd: ahc0: target 3 synchronous at 10.0MHz, offset = 0xf
Nov 20 16:59:00 hideo /netbsd: cd1 at scsibus0 targ 3 lun 0: <SONY, CD-ROM CDU-415, 1.3a> SCSI2 5/cdrom removable
Nov 20 16:59:00 hideo /netbsd: ch0 at scsibus0 targ 4 lun 0: <SONY, CDL1100, 1.11> SCSI2 8/changer removable
Nov 20 16:59:00 hideo /netbsd: ch0: 100 slots, 2 drives, 1 picker, 1 portal
Nov 20 16:59:00 hideo /netbsd: ppb0 at pci0 dev 13 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x03)
Nov 20 16:59:00 hideo /netbsd: pci1 at ppb0 bus 1
Nov 20 16:59:00 hideo /netbsd: pci1: i/o enabled, memory enabled
Nov 20 16:59:00 hideo /netbsd: de0 at pci1 dev 4 function 0
Nov 20 16:59:00 hideo /netbsd: de0: interrupting at irq 11
Nov 20 16:59:00 hideo /netbsd: de0: 21140A [10-100Mb/s] pass 2.2
Nov 20 16:59:00 hideo /netbsd: de0: address 00:80:48:c1:00:27
Nov 20 16:59:00 hideo /netbsd: de1 at pci1 dev 5 function 0
Nov 20 16:59:00 hideo /netbsd: de1: interrupting at irq 10
Nov 20 16:59:00 hideo /netbsd: de1: 21140A [10-100Mb/s] pass 2.2
Nov 20 16:59:00 hideo /netbsd: de1: address 00:80:48:c1:00:d9
Nov 20 16:59:00 hideo /netbsd: de2 at pci1 dev 6 function 0
Nov 20 16:59:00 hideo /netbsd: de2: interrupting at irq 9
Nov 20 16:59:00 hideo /netbsd: de2: 21140A [10-100Mb/s] pass 2.2
Nov 20 16:59:00 hideo /netbsd: de2: address 00:80:48:c1:00:91
Nov 20 16:59:00 hideo /netbsd: de3 at pci1 dev 7 function 0
Nov 20 16:59:00 hideo /netbsd: de3: interrupting at irq 12
Nov 20 16:59:00 hideo /netbsd: de3: 21140A [10-100Mb/s] pass 2.2
Nov 20 16:59:00 hideo /netbsd: de3: address 00:80:48:c1:00:9c
Nov 20 16:59:00 hideo /netbsd: isa0 at pcib0
Nov 20 16:59:00 hideo /netbsd: com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
Nov 20 16:59:00 hideo /netbsd: com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
Nov 20 16:59:00 hideo /netbsd: lpt0 at isa0 port 0x378-0x37b irq 7
Nov 20 16:59:00 hideo /netbsd: pckbc0 at isa0 port 0x60-0x64
Nov 20 16:59:00 hideo /netbsd: pckbd0 at pckbc0 (kbd slot)
Nov 20 16:59:00 hideo /netbsd: pckbc0: using irq 1 for kbd slot
Nov 20 16:59:00 hideo /netbsd: wskbd0 at pckbd0: console keyboard
Nov 20 16:59:00 hideo /netbsd: pcppi0 at isa0 port 0x61
Nov 20 16:59:00 hideo /netbsd: midi0 at pcppi0: <PC speaker>
Nov 20 16:59:00 hideo /netbsd: sysbeep0 at pcppi0
Nov 20 16:59:00 hideo /netbsd: isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
Nov 20 16:59:00 hideo /netbsd: npx0 at isa0 port 0xf0-0xff: using exception 16
Nov 20 16:59:00 hideo /netbsd: fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
Nov 20 16:59:00 hideo /netbsd: fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Nov 20 16:59:00 hideo /netbsd: isapnp0: no ISA Plug 'n Play devices found
Nov 20 16:59:00 hideo /netbsd: apm0 at mainbus0: Power Management spec V1.1 (slowidle)
Nov 20 16:59:00 hideo /netbsd: apm0: A/C state: on
Nov 20 16:59:00 hideo /netbsd: apm0: battery charge state: no battery
Nov 20 16:59:00 hideo /netbsd: biomask 440 netmask 1e40 ttymask 1ec2
Nov 20 16:59:00 hideo /netbsd: Kernelized RAIDframe activated
Nov 20 16:59:00 hideo /netbsd: wscons: wskbd0 glued to wsdisplay0 (console)
Nov 20 16:59:00 hideo /netbsd: WARNING: old BSD partition ID!
Nov 20 16:59:00 hideo /netbsd: boot device: sd0
Nov 20 16:59:00 hideo /netbsd: root on sd0a dumps on sd0b
Nov 20 16:59:00 hideo /netbsd: WARNING: old BSD partition ID!
Nov 20 16:59:00 hideo last message repeated 2 times
Nov 20 16:59:00 hideo /netbsd: root file system type: ffs
Nov 20 16:59:00 hideo /netbsd: de1: enabling 100baseTX port
Nov 20 16:59:00 hideo /netbsd: de2: enabling 100baseTX port
Nov 20 16:59:00 hideo /netbsd: de3: enabling 100baseTX port
Nov 20 16:59:00 hideo /netbsd: de0: enabling 100baseTX port