From owner-freebsd-amd64@FreeBSD.ORG Mon May 2 22:54:45 2011 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E06710657C4 for ; Mon, 2 May 2011 22:54:45 +0000 (UTC) (envelope-from prvs=1103dc1dce=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 16EEB8FC1D for ; Mon, 2 May 2011 22:54:44 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Mon, 02 May 2011 23:43:48 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Mon, 02 May 2011 23:43:48 +0100 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50013158388.msg for ; Mon, 02 May 2011 23:43:48 +0100 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=1103dc1dce=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-amd64@freebsd.org Message-ID: <67C27574157340E498DE203A8D0FA35E@multiplay.co.uk> From: "Steven Hartland" To: , References: <201105022113.p42LDLrl051285@mail.karels.net> Date: Mon, 2 May 2011 23:44:10 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 Cc: mike_karels@mcafee.com Subject: Re: variable hang when starting APs on Westmere processors X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2011 22:54:45 -0000 We run 8.2 happily on L5640's which are also hex-core CPU's so the issue could be bios / MB related and not cpu. Its likely unrelated given your debug info but when we have seem long hangs on boot in the past its been related to keyboard stuff. You might want to try the following at the loader to see if it helps:- set hint.atkbdc.0.disabled=1 set hint.atkbd.0.disabled=1 boot Regards Steve ----- Original Message ----- From: "Mike Karels" To: Cc: Sent: Monday, May 02, 2011 10:13 PM Subject: variable hang when starting APs on Westmere processors > Looks like freebsd-smp is gone... not sure of the right target for this. > > I just picked up a problem from another developer at work who had the good > fortune to have scheduled a vacation this week. The short description is > that the start_ap() routine sometimes hangs, from 10 minutes to 3 hours, > while starting up CPUs. This is with a much-modified system based on > FreeBSD 7.2. A stock 8.2 CD hangs at the same spot almost all the time, > although the code in the two versions appears identical. > > More details: This is amd64, using an Intel S5520HCR 2-socket motherboard > with two XEON X5660 2.8GHz Westmere hex-core CPUs. The problem happens > somewhat less with two XEON E5620 Quad core 2.4GHz CPUs. The hang seems > to happen with higher numbered CPUs, so the hex-core with SMT has more > chances to hit the problem. > > We added KTRs to the code, and found that the hang happens in the > lapic_ipi_wait() call after de-asserting RESET. > > Of course, Linux doesn't exhibit the problem. > > Has anyone else seen a problem like this? Any ideas how to fix it, or > debug further? > > Please copy me on responses; I'm not subscribed to this list currently. > > Mike > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.