panic: NULL softc for 0

Nate Lawson nate at root.org
Fri Nov 21 15:16:10 PST 2003


On Sat, 22 Nov 2003, Alex Deiter wrote:
> > Is this an SMP box?  If so, please do:
>
> This Intel® Server Board SE7501BR2 with one CPU and enabled Hyper-Threading.
>
> >   x/xl cpu_softc
> >   x/xl cpu_softc+4
> >   x/xl cpu_softc+8
>
> panic: NULL softc for 0
> cpuid = 0;
> Debugger("panic")
> Stopped at      Debugger+0x55:  xchgl   %ebx,in_Debugger.0
> db> x/xl cpu_softc
> cpu_softc:      0
> db> x/xl cpu_softc+4
> cpu_softc+0x4:  c68e8a00
> db> x/xl cpu_softc+8
> cpu_softc+0x8:  0
> db>
>
> > And send me the output of
> >   acpidump -t -d > tiamat-MachineType.asl
>
> ok.

John, I've identified the problem.  Here is his MADT:
        Type=Local APIC
        ACPI CPU=0
        APIC ID=0

        Type=Local APIC
        ACPI CPU=1
        APIC ID=1

        Type=Local APIC
        ACPI CPU=2
        APIC ID=0

        Type=Local APIC
        ACPI CPU=3
        APIC ID=0

And here are his Processor objects:
    Scope (\_PR)
    {
        Processor (CPU1, 0x01, 0x00000410, 0x06) {}
        Processor (CPU2, 0x02, 0x00000410, 0x06) {}
        Processor (CPU3, 0x06, 0x00000410, 0x06) {}
        Processor (CPU4, 0x07, 0x00000410, 0x06) {}
    }

So all the ACPI CPU ids don't match between the MADT and the Processor
object.  I'm not sure what to do to solve this.

-Nate


More information about the freebsd-current mailing list