From owner-freebsd-questions@FreeBSD.ORG Fri Apr 20 16:42:02 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 30FEA16A400 for ; Fri, 20 Apr 2007 16:42:02 +0000 (UTC) (envelope-from fatman.uk@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 7720C13C459 for ; Fri, 20 Apr 2007 16:42:01 +0000 (UTC) (envelope-from fatman.uk@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so814559ugh for ; Fri, 20 Apr 2007 09:42:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:reply-to:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:from; b=fSasmUiwTNTI6JmX743qLwO9qrIU4TvGbMR97IoHKeDCr4P8dN8pZQcoQUvniqkedVK2C64szXxPHj1ZAF9Znao8Yo5OLPuQDVOx4K8cMVhRcV/cEKapO0LJsbjsGRhvLOUC1XcohfQccy5803l9TusoAKF1eSdX1hbruRU+CDw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:reply-to:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:from; b=ccwNZ6Hwpxm4iuO1aQpxvheYbU0mB2wSbg1E7/F77T5wD+4CdE7MwCkVn6V52qPJVqPGEYjWG/IteJzLhoF5k54ryYFT1Ahh+h2teANgHV5vEzc6Qd9HsLkiZBAi9Q1sRq+8bH5Rt6nAVZcCWCQwuUFt6azKTqJPyrx6lDrODj4= Received: by 10.66.220.17 with SMTP id s17mr2685403ugg.1177085680297; Fri, 20 Apr 2007 09:14:40 -0700 (PDT) Received: from ?10.22.8.117? ( [86.18.88.217]) by mx.google.com with ESMTP id 32sm6797044ugf.2007.04.20.09.14.38; Fri, 20 Apr 2007 09:14:38 -0700 (PDT) Message-ID: <4628E6ED.7020602@crackmonkey.us> Date: Fri, 20 Apr 2007 17:14:37 +0100 User-Agent: Thunderbird 1.5.0.10 (X11/20070405) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Adam J Richardson Subject: SMP only detects one CPU - help? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fatman@nospam.crackmonkey.nospam.us List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 16:42:02 -0000 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" 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. Is there a software fix for this, or do I have a broken CPU, unlikely as it seems? Any help is appreciated. Does it seem likely that upgrading both CPUs to the highest Pentium-IIIs I can find, which I was thinking about doing anyway, would fix the problem? Thanks, Adam J Richardson