Dell 6850 Dual Intel 64-bit Xeon MP and no SMP
SectorONE
amd64 at cybernetwork.org
Mon Jun 27 22:21:56 GMT 2005
> On Friday 24 June 2005 04:59 pm, SectorONE wrote:
>> I need some help here.
>> Ive been running FreeBSD for some years now and only i386 platform.
>> This
>> time Ive 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 at 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 thats another story.
Thanks again..
:D
More information about the freebsd-amd64
mailing list