From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 9 22:35:09 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC8CA106567F for ; Tue, 9 Mar 2010 22:35:09 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE0E8FC13 for ; Tue, 9 Mar 2010 22:35:09 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 4F34246B89; Tue, 9 Mar 2010 17:35:09 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 9AA548A01F; Tue, 9 Mar 2010 17:35:08 -0500 (EST) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Tue, 9 Mar 2010 17:27:09 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <2C7A849F-2571-48E7-AA75-B6F87C2352C1@dragondata.com> In-Reply-To: <2C7A849F-2571-48E7-AA75-B6F87C2352C1@dragondata.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003091727.09188.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 09 Mar 2010 17:35:08 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Kevin Day Subject: Re: Extremely slow boot on VMWare with Opteron 2352 (acpi?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2010 22:35:09 -0000 On Tuesday 09 March 2010 3:40:26 pm Kevin Day wrote: > > I'm troubleshooting a pretty weird problem with running FreeBSD 8.0 (amd64) inside VMware ESX/ESXi servers. We've got a wide range of physical servers running identical copies of VMware and identical FreeBSD virtual machines. Everything works fine on all of our servers for Windows and Linux VMs, but FreeBSD running on Opteron 2352 physical servers takes an average of about 20 minutes to boot. Normally I would chalk this up to being a VMware bug, but the situation that's actually occurring is somewhat interesting. > > If I boot up on an Opteron 2218 system, it boots normally. If I boot the exact same VM moved to a 2352, I get: > > acpi0: on motherboard > PCIe: Memory Mapped configuration base @ 0xe0000000 > (very long pause) > ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48 > acpi0: [MPSAFE] > acpi0: [ITHREAD] > > then booting normally. It's probably worth adding some printfs to narrow down where the pause is happening. This looks to be all during the acpi_attach() routine, so maybe you can start there. -- John Baldwin