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