Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Dec 1996 11:34:59 +0100
From:      Terje Normann Marthinussen <Terje.N.Marthinussen@cc.uit.no>
To:        Steve Passe <smp@csn.net>
Cc:        freebsd-smp@freebsd.org
Subject:   Re: SMP-current status 
Message-ID:  <199612021035.LAA07875@slibo.cc.uit.no>
In-Reply-To: Your message of "Sun, 01 Dec 1996 14:33:40 MET." <199612012133.OAA15619@clem.systemsix.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>smells like a PCI/EISA/level translation problem,
>I really am growing to *hate* the MP spec!!!
>
>-
>from the output:
>>ahc0 <Adaptec aic7870 SCSI host adapter> rev 3 int a irq 7 on pci1:13
>                                                      ^^^^^
>-
>from your mptable output:
>
>I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	INT#
>		ExtINT	active-hi        edge	    19	   0	     14	   0
>		INT	active-hi        edge	    19	   1	     14	   1
> ...
>		INT	 conforms       level	    19	   7	     14	   7
>                        ^^^^^^^^       ^^^^^       ^^     ^
>---
>without getting into the issues here (different boards do different things
>and its all a very ugly $#%^&*^*$% mess)

Yes, I noticed a couple of days after I first sent in my mptable output
and you commented that nothing seemed to be on the XPRESS bus, I looked
on the mptable output again, and it stroke me that nothing seemed to be
on the PCI bus either, even though there should be at least a 3COM ethernet
card and two SCSI controllers. 

>
>looking at your previous mail I'm confused:
>
>>FreeBSD 3.0-SMP #0: Sun Dec  1 18:25:33 MET 1996
>>    terjem@quattro:/usr/src/sys/compile/netserver
>>FreeBSD/SMP: Multiprocessor motherboard
>> cpu0 (BSP): apic id: 0, version: 0x00030010
>> cpu1 (AP):  apic id: 2, version: 0x00030010
>> cpu2 (AP):  apic id: 3, version: 0x00030010
>> cpu3 (AP):  apic id: 4, version: 0x00030010
>> io0 (APIC): apic id: 14, version: 0x000f0011
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>the above line should ONLY come out of an APIC_IO enabled kernel, yet you
>inply this one isn't when you go on to say:

Ai... My error. Cut&Paste from the wrong boot, should have been:
FreeBSD 3.0-SMP #0: Sun Dec  1 17:30:48 MET 1996
    terjem@quattro:/usr/src/sys/compile/netserver
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id: 0, version: 0x00030010
 cpu1 (AP):  apic id: 2, version: 0x00030010
 cpu2 (AP):  apic id: 3, version: 0x00030010
 cpu3 (AP):  apic id: 4, version: 0x00030010
 Warning: APIC I/O disabled


>what is important to establish here is:
>
> can you run a 2 CPU system with APIC_IO OFF ("options APIC_IO" NOT in config)?
>  my guess is you can...
>
>
> can you run a 2 CPU system with APIC_IO ON ("options APIC_IO" IS in config)?
>  my guess is you *can't*...
>

You are guessing right.

>the safest way to test 2 CPU version for now is to add line to mp_machdep.c:
>
>      /* start each AP */
>+    mp_naps = 2;
>     for ( x = mp_naps; x >= 1; --x ) {
>

A bit wrong there. 
Should be mp_naps = 1;
Only 1 application processor in a 2 CPU system.

It's the way I first booted 2 CPUs.
Doesn't help though.

Terje Marthinussen
terjem@cc.uit.no













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