Re: 2.6.16rc5 'found' an extra CPU.

From: Andi Kleen
Date: Wed Mar 01 2006 - 19:51:30 EST


On Thursday 02 March 2006 00:03, Dave Jones wrote:
> On Wed, Mar 01, 2006 at 05:46:47PM -0500, Dave Jones wrote:
> > This amused me.
> >
> > (17:43:34:davej@nemesis:~)$ ll /proc/acpi/processor/
> > total 0
> > dr-xr-xr-x 2 root root 0 Mar 1 17:43 CPU1/
> > dr-xr-xr-x 2 root root 0 Mar 1 17:43 CPU2/
> > dr-xr-xr-x 2 root root 0 Mar 1 17:43 CPU3/
> > (17:43:36:davej@nemesis:~)$
>
> Digging further. I notice more oddities (or maybe I've just
> misunderstood this -- corrections welcomed)

Probably related to Ashok's ACPI CPU hotplug patches.

What's the full bootup log?

> (17:59:02:davej@nemesis:~)$ cat
> /sys/devices/system/cpu/cpu0/topology/core_id 0
> (17:59:23:davej@nemesis:~)$ cat
> /sys/devices/system/cpu/cpu1/topology/core_id 0
>
> (17:59:38:davej@nemesis:~)$ cat
> /sys/devices/system/cpu/cpu0/topology/core_siblings
> 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
> (17:59:47:davej@nemesis:~)$ cat
> /sys/devices/system/cpu/cpu1/topology/core_siblings
> 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000002
>
> Neither of these CPUs are HT / dual-core, so shouldn't these be the same ?

It looks like a standard dual socket machine. Each CPU is a sibling of its own
only.

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