Re: Panic booting vmware i386 after SRAT update

From: <mdf_at_FreeBSD.org>
Date: Wed, 28 Jul 2010 11:23:11 -0700
On Wed, Jul 28, 2010 at 10:37 AM,  <mdf_at_freebsd.org> wrote:
> I have a 2 cpu virtual image of FreeBSD current.  It panics during
> boot after building in the NUMA support.
>
> I'll transcribe the SRAT bootverbose messages and panic message as best I can.
>
> Table 'SRAT' at 0xfef07f6
> SRAT: Found table at 0xfef07f6
> SRAT: Found memory domain 0 addr 0 len a0000: enabled
> SRAT: Found memory domain 0 addr 100000 len ff00000: enabled
>
> then some MADT: messages about finding cpu 0 and 1
>
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> panic: SRAT: CPU with APIC ID 0 is not known
>
> I'm playing around now with trying to figure out what went missing,
> but I thought I'd send this out now.

Okay, apparently VMWare is providing two entries of type
ACPI_SRAT_TYPE_MEMORY_AFFINITY but no entries of type
ACPI_SRAT_TYPE_CPU_AFFINITY.  This leads to the assert since no CPUs
are "enabled"; that is there's no affinity information for them.  This
is probably a VMWare bug.

Setting hint.srat.0.disabled="1" in /boot/device.hints works around the issue.

Thanks,
matthew
Received on Wed Jul 28 2010 - 16:23:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC