Re: linux-2.4.23 dual Xeon detection problem + patch (fwd)

From: Peter Breitenlohner
Date: Mon Dec 15 2003 - 05:39:14 EST


On Sun, 14 Dec 2003, Zwane Mwaikambo wrote:

> On Sun, 14 Dec 2003, Peter Breitenlohner wrote:
>
> > -------------------- start of patch ------------------
> > --- linux-2.4.23/include/asm-i386/smpboot.h.orig 2003-08-25 13:44:43.000000000 +0200
> > +++ linux-2.4.23/include/asm-i386/smpboot.h 2003-12-02 16:49:46.000000000 +0100
> > @@ -73,11 +73,9 @@
> > */
> > static inline int cpu_present_to_apicid(int mps_cpu)
> > {
> > - if (clustered_apic_mode == CLUSTERED_APIC_XAPIC)
> > - return raw_phys_apicid[mps_cpu];
> > if(clustered_apic_mode == CLUSTERED_APIC_NUMAQ)
> > return (mps_cpu/4)*16 + (1<<(mps_cpu%4));
> > - return mps_cpu;
> > + return raw_phys_apicid[mps_cpu];
> > }
>
> What was NR_CPUS in your kernel config?

I tried 4, 8, and 32; that didn't make any difference. The problem really is
a physical vs. logigal apic-id confusion!

regards
Peter Breitenlohner <peb@xxxxxxxxxxxx>
-
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/