Re: Problems with -git14

From: J.A. MagallÃn
Date: Wed Apr 30 2008 - 15:40:59 EST


On Wed, 30 Apr 2008 16:17:46 +0100 (BST), Hugh Dickins <hugh@xxxxxxxxxxx> wrote:

> On Wed, 30 Apr 2008, J.A. MagallÃn wrote:
> >
> > I have a couple problems with latest git (-14):
> >
> > - It only recognises 2 processors out of 4 (dual Xeon HT)

> [PATCH] x86_32: fix HT cpu booting
>
> Since recent smpboot 32/64-bit merge, my dual Xeon with HT has been
> booting only 2 of its 4 cpus (when running an i386 kernel; but x86_64
> is okay). J.A. MagallÃn reports the same.
>
> native_cpu_up: bad cpu 2
> native_cpu_up: bad cpu 3
>
> The mach-default cpu_present_to_apicid() was just returning cpu number
> (2, 3) instead of apicid (6, 7): looks like we now need the x86_64 code
> even for the i386 case.
>

One question that always bugs me: do I have to set NR_CPUS=8 to pick
apicid number 7, and let the map just flag the ones I have, or will
it work with NR_CPUS=4 ?

--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2008.1 (Cooker) for i586
Linux 2.6.23-jam05 (gcc 4.2.2 20071128 (4.2.2-2mdv2008.1)) SMP PREEMPT
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/