From owner-freebsd-stable Fri Aug 9 5:27:32 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5677A37B400 for ; Fri, 9 Aug 2002 05:27:28 -0700 (PDT) Received: from host185.dolanmedia.com (host185.dolanmedia.com [209.98.197.185]) by mx1.FreeBSD.org (Postfix) with SMTP id 8426C43E84 for ; Fri, 9 Aug 2002 05:27:27 -0700 (PDT) (envelope-from greg.panula@dolaninformation.com) Received: (qmail 66420 invoked by uid 0); 9 Aug 2002 12:27:27 -0000 Received: from greg.panula@dolaninformation.com by proxy with qmail-scanner-0.96 (. Clean. Processed in 0.402892 secs); 09 Aug 2002 12:27:26 -0000 X-Qmail-Scanner-Mail-From: greg.panula@dolaninformation.com via proxy X-Qmail-Scanner-Rcpt-To: mario.pranjic@irb.hr,freebsd-stable@FreeBSD.ORG X-Qmail-Scanner: 0.96 (No viruses found. Processed in 0.402892 secs) Received: from unknown (HELO mail.dolanmedia.com) (10.1.1.23) by host185.dolanmedia.com with SMTP; 9 Aug 2002 12:27:26 -0000 Received: from dolaninformation.com (10.1.1.135) by mail.dolanmedia.com (Worldmail 1.3.167); 9 Aug 2002 07:27:26 -0500 Message-ID: <3D53B52D.E9C4BD91@dolaninformation.com> Date: Fri, 09 Aug 2002 07:27:25 -0500 From: Greg Panula Reply-To: greg.panula@dolaninformation.com Organization: Dolan Information Center Inc X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mario Pranjic Cc: freebsd-stable@FreeBSD.ORG Subject: Re: SMP kernel problem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mario Pranjic wrote: > > Hi! > > I just got a new machine: Intel Server Board (SDS2) with 2 Pentium III > CPU's on 1.13 GHz and 2 GB of RAM. > > So I've installed FreeBSD 4.6-RELEASE. > > I compiled kernel and with these options: > machine i386 > cpu I686_CPU > options SMP # Symmetric MultiProcessor Kernel > options APIC_IO # Symmetric (APIC) I/O > > MATH_EMULATE is not enabled. > > So, after reboot I got the following: > CPU: Pentium III/Pentium III Xeon/Celeron (1127.91-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 > > Features=0x383fbff > real memory = 2147483648 (2097152K bytes) > avail memory = 2086330368 (2037432K bytes) > > ... > > APIC_IO: Testing 8254 interrupt delivery > APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 > intpin 2 > APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0 > SMP: AP CPU #1 Launched! > > Seems I have some problems with SMP here. Anyone ever built SMP kernel to > help me out? > Naw, not really a problem. FreeBSD worked around it. "SMP: AP CPU #1 Launched" means the second cpu has been started and is available to the kernel. I encounter the same message when I install&run fbsd on dual-cpu compaq machines. Unfortunately I don't know enough about APIC & company to explain why 8245 should be connected to IOAPIC #0 intpin 2. A google search will probably turn up something useful... just haven't been concerned enough to research it. If you launch 'top', you should see CPU0 & CPU1 making appearances in the STATE column. Easy way to confirm the kernel is seeing&using both CPUs. Cheers, Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message