From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 27 22:21:56 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9790A16A41C for ; Mon, 27 Jun 2005 22:21:56 +0000 (GMT) (envelope-from amd64@cybernetwork.org) Received: from webserver.glupus.net (186.80-203-151.nextgentel.com [80.203.151.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id E811943D48 for ; Mon, 27 Jun 2005 22:21:55 +0000 (GMT) (envelope-from amd64@cybernetwork.org) Received: from webmail.glupus.net (stitch [10.0.1.2]) by webserver.glupus.net (8.13.1/8.13.1) with ESMTP id j5RMLts0084661 for ; Tue, 28 Jun 2005 00:21:55 +0200 (CEST) (envelope-from amd64@cybernetwork.org) Received: from 192.168.1.25 (SquirrelMail authenticated user glupus); by webmail.glupus.net with HTTP; Tue, 28 Jun 2005 00:21:57 +0200 (CEST) Message-ID: <4979.192.168.1.25.1119910917.squirrel@192.168.1.25> In-Reply-To: <200506271333.38774.jhb@FreeBSD.org> References: <1642.192.168.1.25.1119646769.squirrel@192.168.1.25> <200506271333.38774.jhb@FreeBSD.org> Date: Tue, 28 Jun 2005 00:21:57 +0200 (CEST) From: "SectorONE" To: freebsd-amd64@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: Dell 6850 Dual Intel 64-bit Xeon MP and no SMP X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: amd64@cybernetwork.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 22:21:56 -0000 > On Friday 24 June 2005 04:59 pm, SectorONE wrote: >> I need some help here. >> I’ve been running FreeBSD for some years now and only i386 platform. >> This >> time I’ve bought some new Dell PowerEdge servers and need the >> possibility >> to address more than 4GB of ram and use some 64-bit stuff. >> >> One of them is a Dell PowerEdge 6850 with dual Intel 64-bit Xeon MP >> prosessors. >> After installing FreeBSD/amd64 5.4-RELEASE, I cvsuped for stable and now >> got 5.4-RELEASE-p2. I then added SMP support in my kernel and compiled >> world, compiled kernel installed kernel and installed world.(and of >> course >> some mergemaster in between) >> >> When I reboot the machine the dmesg gives me the following disturbing >> info: >> >> --- quote on --- >> >> SMP: CPU 8 exceeds maximum CPU 7, ignoring >> SMP: CPU 14 exceeds maximum CPU 7, ignoring >> SMP: CPU 9 exceeds maximum CPU 7, ignoring >> SMP: CPU 15 exceeds maximum CPU 7, ignoring > > Looks like MAXCPU is set to 8 somehow. It should be at least 16. Oh, > it's > not. :-P Try this change: > > Index: amd64/include/param.h > =================================================================== > RCS file: /usr/cvs/src/sys/amd64/include/param.h,v > retrieving revision 1.17 > diff -u -r1.17 param.h > --- amd64/include/param.h 21 Jan 2005 05:56:41 -0000 1.17 > +++ amd64/include/param.h 27 Jun 2005 17:33:20 -0000 > @@ -84,7 +84,7 @@ > #endif > > #ifdef SMP > -#define MAXCPU 8 > +#define MAXCPU 16 > #else > #define MAXCPU 1 > #endif > > > -- > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve" = http://www.FreeBSD.org > > *blushing* I tried many times in many different ways to change sysctl: kern.smp.maxcpus from 8 -> 16. Including in /boot/loader.conf. But with no luck.. You are my hero.. tnx a lot.. That helped :D All my CPUs are now in action. Of course I had to change sysctl: machdep.hyperthreading_allowed: 0 -> 1 But that’s another story. Thanks again.. :D