Re: Only one processor detected in 8-Way opteron in 32-bit mode

Keith Mannthey
2005-12-01T23:27:41Z

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

Looks like something odd is going on with your processor apic id's.

Lines like
Processor #20 INVALID. (Max ID: 256)
are bad...

Could you try the following patch with i386? It seems suspect to me
and could help identify the problem.

Your box has high processor apic ids and looks to be in flat apic mode
(versus clustered). I think the code is assuming the box is in
clustered apic mode?

Thanks,
Keith

[-- Attachment #2: apicid.fix --]
[-- Type: application/octet-stream, Size: 344 bytes --]

--- arch/i386/kernel/mpparse.c.orig 2005-12-01 15:20:51.000000000 -0800
+++ arch/i386/kernel/mpparse.c 2005-12-01 15:21:19.000000000 -0800
@@ -112,9 +112,10 @@
#else
static int MP_valid_apicid(int apicid, int version)
{
- if (version >= 0x14)
+/* if (version >= 0x14)
return apicid < 0xff;
else
+*/
return apicid < 0xf;
}
#endif