Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 1996 14:25:13 -0700
From:      Steve Passe <smp@csn.net>
To:        Veggy Vinny <richardc@CSUA.Berkeley.EDU>
Cc:        smp@FreeBSD.ORG
Subject:   Re: SMP Kernel problems 
Message-ID:  <199610302125.OAA00873@clem.systemsix.com>
In-Reply-To: Your message of "Wed, 30 Oct 1996 12:48:41 PST." <Pine.PTX.3.95.961030124712.6567B-100000@soda.CSUA.Berkeley.EDU> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
> 
> 
> On Wed, 30 Oct 1996, Steve Passe wrote:
> 
> Hi Steve and everyone,
> 
> > > 	It seems as of October 24, 1996's -current , compiling a SMP
> > > kernel with CONFIG_LINUX now works but there seems to be a problem which
> > > is experience with the SMP kernel and not the -current kernel:
> > > 
> > > When the machine comes up and detects the hardware, it pauses at:
> > > 
> > > WARNING: mapping PCI INT #10
> > > 
> > > If I hit enter, it continues until it gets to
> > > 
> > > sio1: type 16550A
> > > 
> > > and freezes.
> > 
> > My machine is dead righrt now so I can't check the sources to see where
> > this message is coming from.  It might be from my hacks to pci.c, or
> > possibly Stefan has started to add the PCI support I requested (although
> > I haven't seen a merge of -current to the SMP tree so this is doubtful)
> > I should have my machine running by end of day.
> > 
> >   What hardware is accessed immediately prior to this message?;
> 
> 	Don't remember since my friend is the one who is in front of the
> machines 600 miles away =)  and that's the only info he gave...  I didn't
> see anything committed to the list except that patch for COMPAT_LINUX
> though.
> 
> >   By any chance, did you enable SMP_SYMIOXXX (this is not ready yet)?
> 
> 	Nope....  If it was in the kernel config file, I didn't...

here's the offending line in pci/pci.c:

---
int pci_map_int (pcici_t tag, pci_inthand_t *func, void *arg, unsigned 
*maskptr)
{
 ...
#if defined( SMP ) && defined( SMP_SYMIOXXX )
	if (irq!=19) {printf("WARNING: mapping PCI INT #%d\n",irq);cngetc();}
#endif /* SMP && SMP_SYMIOXXX */
 ...
---

SMP_SYMIOXXX is clearly turned on, probably in i386/include/apic.h  This won't
work for anyone but me yet, turn it off and this problem should go away.
I am about to commit new code where all the APIC/symmetric IO code is 
conditional on "APIC_IO", ie I am going to fold "SMP_SYMIO" & "SMP_SYMIOXXX"
into 1 define and start to request that people turn it on for testing.  This
will happen as soon as I get 1 outstanding problem with PCI resolved.
The warning you saw is associated with the bandaid that makes it work for
my particualr hardware.

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




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