Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Apr 1997 14:55:52 -0700
From:      Steve Passe <smp@csn.net>
To:        vanmaren@fast.cs.utah.edu (Kevin Van Maren)
Cc:        nishio@caleche.kecl.ntt.co.jp, freebsd-smp@freebsd.org
Subject:   Re: APIC_IO problem on Tyan S1668 
Message-ID:  <199704042155.OAA18505@Ilsa.StevesCafe.com>
In-Reply-To: Your message of "Fri, 04 Apr 1997 13:23:54 MST." <199704042023.NAA20216@fast.cs.utah.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> Nope!  There are two cards in the 5-PCI slot MotherBoard (NO bridge chips).
> Note that they are both on PCI bus #0.  The problem is that there are
> 5 PCI slots, 4 PCI/ISA redirection registers, and 4 MP table entries.
> Yes, it is a problem with the Tyan MB that it doesn't have all the PCI 
> slots in the table.

I'll buy that.  The PCI code is probably confused by a shared INT where one
card is being handled via a lower INT and the other an upper APIC INT!

The new gigabyte dual 686DX has five slots and its mptable looks like:

	INT	active-lo       level	     0	 8:A	      2	  16
	INT	active-lo       level	     0	 9:A	      2	  17
	INT	active-lo       level	     0	10:A	      2	  18
	INT	active-lo       level	     0	11:A	      2	  19
	INT	active-lo       level	     0	 7:A	      2	  19
	INT	active-lo       level	     0	12:A	      2	  16

why 6 entries I have no idea...  this is with 2 PCI cards installed:

ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 16 on pci0:8:0
de0 <Digital 21140 Fast Ethernet> rev 17 int a irq 19 on pci0:11:0

---
I still believe it can be fixed with a bandaid in the kernel.
This fix unfortunately will be SLOT specific, ie once installed in the kernel,
the SMC card will have to stay in that specific slot to work.

I think the correct long-term solution is going to be kernel code that
rebuilds the mptable after PCI discovery has finished., ie we will toss
the mptable provided by the MB.

--
Steve Passe	| powered by
smp@csn.net	|            Symmetric MultiProcessor FreeBSD




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