Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 15 Dec 2003 11:37:36 +0100 (CET) | From | Peter Breitenlohner <> | Subject | Re: linux-2.4.23 dual Xeon detection problem + patch (fwd) |
| |
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@mppmu.mpg.de> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |