Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2005 00:21:57 +0200 (CEST)
From:      "SectorONE" <amd64@cybernetwork.org>
To:        freebsd-amd64@freebsd.org
Subject:   Re: Dell 6850 Dual Intel 64-bit Xeon MP and no SMP
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>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <jhb@FreeBSD.org>  <><  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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4979.192.168.1.25.1119910917.squirrel>