Montecito running and little SMP-bug

Marcel Moolenaar xcllnt at mac.com
Wed Sep 17 17:29:08 UTC 2008


On Sep 11, 2008, at 1:23 AM, Marc Lörner wrote:

> Hello!
> I've got good news:
> Finally GENERIC-kernel without SMP-support is running now on my  
> montecito
> box :-)

Is the 7-STABLE?

I've been running 8-CURRENT on a Montecito for a while now.

> When turning on SMP, I always get an Page-Not-Present in function vcnt
> in vm/vm_meter.c when it iterates through found CPUs.

There are optimization bugs, which pretty much forces us
to run with INVARIANTS for now. I haven't had the time to
dig into it.

> Following is the output of the APIC-table:
>
> Table 'APIC' at 0xe0000000ff1b6620
>        Local APIC address=0xfee00000
>        Local SAPIC entry
>                ProcessorId=0x0, Id=0x0, Eid=0x0
>        Local SAPIC entry
>                ProcessorId=0x1, Id=0x1, Eid=0x0 (disabled)
>        Local SAPIC entry
>                ProcessorId=0x2, Id=0x2, Eid=0x0
>        Local SAPIC entry
>                ProcessorId=0x3, Id=0x3, Eid=0x0 (disabled)
>
>
> I think the case of running/enabled CPUs being not contiguous is not  
> thought
> of when initializing pcpus.

I don't think that's the problem. My box has disables CPUs
as well and there are no panics there. In any case, if we
want to support hot-pluggable CPUs, we cannot assume that
if there are N CPUs, index [0..N> are in use...

FYI,

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-ia64 mailing list