2005-02-17 05:27:01

by YhLu

[permalink] [raw]
Subject: node_to_cpumask x86_64 broken

I add some printk in k8_bus.c

node id = 0, node_to_cpumask = f
i= 0 ldtbus = 0
i= 1 ldtbus = 40100
i= 2 ldtbus = 0
node id = 1, node_to_cpumask = 0
i= 0 ldtbus = 0
i= 1 ldtbus = 0
i= 2 ldtbus = 70500
node id = 2, node_to_cpumask = 0
i= 0 ldtbus = 0
i= 1 ldtbus = 0
i= 2 ldtbus = 0
node id = 3, node_to_cpumask = 0
i= 0 ldtbus = 0
i= 1 ldtbus = 0
i= 2 ldtbus = 0
k8-bus.c: bus 5 has empty cpu mask
k8-bus.c: bus 6 has empty cpu mask
k8-bus.c: bus 7 has empty cpu mask

it seems node_to_cpu_mask broken.

I'm using 2.6.11-RC4.

YH


2005-02-17 06:17:33

by YhLu

[permalink] [raw]
Subject: RE: node_to_cpumask x86_64 broken

forget about it. I found the reason: I only put node 0 has RAM installed.

YH

> -----Original Message-----
> From: YhLu
> Sent: Wednesday, February 16, 2005 9:40 PM
> To: Andi Kleen
> Cc: [email protected]
> Subject: node_to_cpumask x86_64 broken
>
> I add some printk in k8_bus.c
>
> node id = 0, node_to_cpumask = f
> i= 0 ldtbus = 0
> i= 1 ldtbus = 40100
> i= 2 ldtbus = 0
> node id = 1, node_to_cpumask = 0
> i= 0 ldtbus = 0
> i= 1 ldtbus = 0
> i= 2 ldtbus = 70500
> node id = 2, node_to_cpumask = 0
> i= 0 ldtbus = 0
> i= 1 ldtbus = 0
> i= 2 ldtbus = 0
> node id = 3, node_to_cpumask = 0
> i= 0 ldtbus = 0
> i= 1 ldtbus = 0
> i= 2 ldtbus = 0
> k8-bus.c: bus 5 has empty cpu mask
> k8-bus.c: bus 6 has empty cpu mask
> k8-bus.c: bus 7 has empty cpu mask
>
> it seems node_to_cpu_mask broken.
>
> I'm using 2.6.11-RC4.
>
> YH
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in the body of a message to
> [email protected] More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

2005-02-17 06:21:49

by Andi Kleen

[permalink] [raw]
Subject: Re: node_to_cpumask x86_64 broken

On Wed, Feb 16, 2005 at 10:30:51PM -0800, YhLu wrote:
> forget about it. I found the reason: I only put node 0 has RAM installed.

There is some problem with this code - it complains on a few machines.
However it's relatively harmless when this happens, so I haven't looked
it yet. Should perhaps take out the printk.

-Andi

2005-02-17 06:24:00

by YhLu

[permalink] [raw]
Subject: RE: node_to_cpumask x86_64 broken

Yes. should not use prink(ERR....

YH

> -----Original Message-----
> From: Andi Kleen [mailto:[email protected]]
> Sent: Wednesday, February 16, 2005 10:22 PM
> To: YhLu
> Cc: [email protected]
> Subject: Re: node_to_cpumask x86_64 broken
>
> On Wed, Feb 16, 2005 at 10:30:51PM -0800, YhLu wrote:
> > forget about it. I found the reason: I only put node 0 has
> RAM installed.
>
> There is some problem with this code - it complains on a few machines.
> However it's relatively harmless when this happens, so I
> haven't looked it yet. Should perhaps take out the printk.
>
> -Andi
>