Re: 2.6.16rc5 'found' an extra CPU.

From: Dave Jones
Date: Wed Mar 01 2006 - 23:09:42 EST


On Wed, Mar 01, 2006 at 07:52:19PM -0800, Ashok Raj wrote:
> On Thu, Mar 02, 2006 at 02:38:31AM +0100, Andi Kleen wrote:
> >
> > > ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
> > > Processor #0 15:5 APIC version 16
> > > ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
> > > Processor #1 15:5 APIC version 16
> > > ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
> > > ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
> >
> > It's because of the two disabled CPUs. We decreed at some point
> > that disabled CPUs mean hotpluggable CPUs. But it's doing
> > this for some time so you probably only noticed now.
> >
> > All is ok. Sorry for blaming you wrongly, Ashok.
>
>
> Phew!..
>
> The ACPI hotplug code isnt in 2.6.15-rc* yet. It should be in the next
> -mm when Andrew rolls the next mm.
>
> But the 3 entries seem weird, we should only see 2 sysfs entries in
> /sys/devices/system/cpu and just 2 entries in proc/acpi/processor as well.

sysfs gets it right.

(23:11:01:davej@nemesis:~)$ ls /sys/devices/system/cpu/
cpu0/ cpu1/
(23:11:07:davej@nemesis:~)$ ls /proc/acpi/processor/
CPU1/ CPU2/ CPU3/
(23:11:11:davej@nemesis:~)$

Dave

-
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/