From owner-freebsd-smp Mon Dec 2 02:35:20 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA14875 for smp-outgoing; Mon, 2 Dec 1996 02:35:20 -0800 (PST) Received: from kvikk.uit.no (kvikk.Uit.No [129.242.4.32]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA14870 for ; Mon, 2 Dec 1996 02:35:14 -0800 (PST) Received: from sprint.cc.uit.no (sprint.Cc.Uit.No [129.242.5.198]) by kvikk.uit.no (8.7.3/8.7.1) with ESMTP id LAA20262; Mon, 2 Dec 1996 11:35:06 +0100 (MET) Received: from slibo.cc.uit.no (slibo.Cc.Uit.No [129.242.5.36]) by sprint.cc.uit.no (8.8.0/8.8.0) with ESMTP id LAA10720; Mon, 2 Dec 1996 11:35:05 +0100 (MET) Received: from localhost (terjem@localhost) by slibo.cc.uit.no (8.7.3/8.7.3) with ESMTP id LAA07875; Mon, 2 Dec 1996 11:35:00 +0100 (MET) Message-Id: <199612021035.LAA07875@slibo.cc.uit.no> X-Mailer: exmh version 1.6.9 8/22/96 To: Steve Passe cc: freebsd-smp@freebsd.org Subject: Re: SMP-current status In-reply-to: Your message of "Sun, 01 Dec 1996 14:33:40 MET." <199612012133.OAA15619@clem.systemsix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 02 Dec 1996 11:34:59 +0100 From: Terje Normann Marthinussen Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >smells like a PCI/EISA/level translation problem, >I really am growing to *hate* the MP spec!!! > >- >from the output: >>ahc0 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