From owner-freebsd-questions@FreeBSD.ORG Sat Apr 21 17:34:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3689316A403 for ; Sat, 21 Apr 2007 17:34:08 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id DACD113C45A for ; Sat, 21 Apr 2007 17:34:07 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.8/8.13.1) with ESMTP id l3LHXpVD020012; Sat, 21 Apr 2007 12:33:52 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <462A4AF9.8040503@daleco.biz> Date: Sat, 21 Apr 2007 12:33:45 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070418 SeaMonkey/1.1.1 MIME-Version: 1.0 To: freebsd-questions References: <4628E6ED.7020602@crackmonkey.us> In-Reply-To: <4628E6ED.7020602@crackmonkey.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: SMP only detects one CPU - help? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2007 17:34:08 -0000 Adam J Richardson wrote: > Hi all, > > Firstly, apologies for the length of this. It's my first mailing list > posting, so I hope I'm not breaching any etiquette codes. Also I've only > been using FreeBSD for a couple of years, so I'm still very new to the > system. > > I have recently become the proud owner of a second-hand HP NetServer > e800, which has two Pentium-III class [686] CPUs in it. I've installed > 6.2-RELEASE-p3 [which is also referred to as 6.2-STABLE, is that > correct?] and built myself a SMP kernel. I'm sure it's a SMP kernel, > because the config file has "options SMP" in it and while running it > "sysctl kern.smp.maxcpus" returns 16. The BIOS says there are two CPUs, > so I guess the second CPU is in fine condition and ready to go. > > I've done a little Googling and digging around in the system. First, the > obligatory "uname -a" output: > > "FreeBSD boring.dnsalias.com 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: > Tue Apr 17 15:01:06 BST 2007 > fatman@boring.dnsalias.com:/usr/obj/usr/src/sys/GAKKO i386" > > There's nothing in /var/log/messages about CPUs, as far as I can tell. > > The output of "dmesg" provides a possible clue: > > "real memory = 268369920 (255 MB) > avail memory = 257167360 (245 MB) > MADT: Forcing active-low polarity and level trigger for SCI > ioapic0 irqs 0-15 on motherboard > ioapic1 irqs 16-31 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: Power Button (fixed) > unknown: I/O range not supported > can't fetch resources for \\_SB_.PCI0.ISA_.SIO_.LPT_ - > AE_AML_INVALID_RESOURCE_TYPE > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x1208-0x120b on acpi0 > cpu0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci_link0: BIOS IRQ 10 for 0.15.INTA is invalid" Does the dmesg output start with the memory stats? I'd expect MPTable:, Timecounter, and CPU: lines above your quoted material. Definitely have BIOS/OS issues, though. As Chuck suggests, play around with the PnP settings in your BIOS setup, possibly update.... I've got a box similar to yours, I *think*; unfortunately, it's be on a distant job site for over two years (originally running 5.3-RELEASE with SMP on two Pentium-III Lancewood chips), and it's been so long since I was in the BIOS on that box I've no idea what the settings are. > Several possible clues in that snippet, now that I look at it. The > "MADT" line is suspicious but I think the real culprit might be revealed > in the "can't fetch resources" line. On the other hand it might be a > completely unrelated problem. Google is silent on the subject of > "AE_AML_INVALID_RESOURCE_TYPE", and I don't see it in the Lehey or Lucas > books. > > Finally, mptable shows what's really going on: > "MP Config Base Table Entries: > -- > Processors: APIC ID Version State Family Model Step Flags > 3 0x11 BSP, usable 6 8 3 0x387fbff > 0 0x11 AP, unusable 6 8 3 0x387fbff" > > Apparently the "application processor" is "unusable", whatever that > means. I am now stuck. Kevin Kinsey -- He who despises himself nevertheless esteems himself as a self-despiser. -- Friedrich Nietzsche