I'm upgrading a system which now has 2 Xeon processors, each with 4 HTT cores for a total of 16 cores. This needs to run on FreeBSD 5.3 for reasons I won't get in to.
The problem is that, the APIC IDs are: 0, 1, 2, 3, 18, 19, ... 52, 53. They're assigned in groups of 4. The first 4 cores show up ok, but the rest are ignored. I've started to go in and make changes to things like mptable.c::NAPICID, madt.c::NIOAPICS, etc. to simply up the number of APIC IDs supported but I'm not sure this is going to work in the end. I ended up with a panic pretty quick as a matter of fact.
My question is: Will FreeBSD 5.3 support non-sequential APIC IDs assuming the constants are adjusted to allow for them? I get the feeling that, for this version of the OS, having these APIC IDs non-sequential will cause problems. I'm hoping I'm wrong. I'd really appreciate any input on this. Thanks.
The problem is that, the APIC IDs are: 0, 1, 2, 3, 18, 19, ... 52, 53. They're assigned in groups of 4. The first 4 cores show up ok, but the rest are ignored. I've started to go in and make changes to things like mptable.c::NAPICID, madt.c::NIOAPICS, etc. to simply up the number of APIC IDs supported but I'm not sure this is going to work in the end. I ended up with a panic pretty quick as a matter of fact.
My question is: Will FreeBSD 5.3 support non-sequential APIC IDs assuming the constants are adjusted to allow for them? I get the feeling that, for this version of the OS, having these APIC IDs non-sequential will cause problems. I'm hoping I'm wrong. I'd really appreciate any input on this. Thanks.