From owner-freebsd-hardware@FreeBSD.ORG Tue Apr 20 13:41:50 2010 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1C81106566C for ; Tue, 20 Apr 2010 13:41:50 +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 B30BB8FC22 for ; Tue, 20 Apr 2010 13:41:50 +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 64AFA46B38; Tue, 20 Apr 2010 09:41:50 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 7930F8A025; Tue, 20 Apr 2010 09:41:49 -0400 (EDT) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Tue, 20 Apr 2010 09:13:05 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <4B5478D1.4000900@greatbaysoftware.com> <4BCCD392.2060304@greatbaysoftware.com> In-Reply-To: <4BCCD392.2060304@greatbaysoftware.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004200913.05426.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 20 Apr 2010 09:41:49 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.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: Charles Owens Subject: Re: Minute+ delay between kernel load and initialization (solved!) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2010 13:41:51 -0000 On Monday 19 April 2010 6:05:06 pm Charles Owens wrote: > On 1/18/2010 10:05 AM, Charles Owens wrote: > > Hello, > > > > We have a new system based on the Intel S5520 motherboard that seems to > > work fine except during _every_ boot it pauses for about one minute 15 > > seconds just before any kernel initialization messages appear. We see > > the loader appearing to complete its work (the kernel is loaded) and > > then... it sits. Once it starts up again (with usual kernel-boot > > messages) it appears to boot normally (no error messages). > > > > This has been seen with both FreeBSD 8.0 and 7.1, using GENERIC kernels. > > I'd appreciate any and all assistance in figuring this out. > > > > Boot output follows (happens to be from a PAE-enabled kernel) > > > > Thank you, > > > > Charles > > > > > [truncated] > > An answer to this was graciously provided by Titus Manea. For details, > see > > http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/144956 Interesting. I do not see the long delay on Nehalem machines here. Would either of you be able to debug this further? You could maybe grab TSC values at various points during the early console probe and print out the relevant deltas after cninit() returns. You could then move the TSC probe points around to pinpoint which operations are taking a long time. -- John Baldwin