From owner-freebsd-current@FreeBSD.ORG Wed Jul 28 19:32:02 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABA07106566C; Wed, 28 Jul 2010 19:32:02 +0000 (UTC) (envelope-from dave@dogwood.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 23FF08FC28; Wed, 28 Jul 2010 19:32:01 +0000 (UTC) Received: by wwa36 with SMTP id 36so769885wwa.31 for ; Wed, 28 Jul 2010 12:32:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.153.15 with SMTP id i15mr11002563wbw.211.1280345520669; Wed, 28 Jul 2010 12:32:00 -0700 (PDT) Received: by 10.227.100.147 with HTTP; Wed, 28 Jul 2010 12:32:00 -0700 (PDT) In-Reply-To: References: Date: Wed, 28 Jul 2010 09:32:00 -1000 Message-ID: From: David Cornejo To: mdf@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: Panic booting vmware i386 after SRAT update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2010 19:32:02 -0000 On Wed, Jul 28, 2010 at 8:23 AM, wrote: > On Wed, Jul 28, 2010 at 10:37 AM, 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > GENERIC amd64 kernel with the hint dies earlier: WARNING: WITNESS option enabled, expect reduced performance panic: witness_init: pending locks list is too small, bump it cpuid = 0 KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at kdb_enter+0x3d: movq $0,0x6d6fb0(%rip) db>