From owner-freebsd-current@freebsd.org Mon May 16 18:44:36 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 057DBB3DE53 for ; Mon, 16 May 2016 18:44:36 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E8C2D1DC9 for ; Mon, 16 May 2016 18:44:35 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E424FB3DE50; Mon, 16 May 2016 18:44:35 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3BC7B3DE4F; Mon, 16 May 2016 18:44:35 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C65DF1DC8; Mon, 16 May 2016 18:44:35 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id DA10DB9A1; Mon, 16 May 2016 14:44:34 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org, gljennjohn@gmail.com Cc: current@freebsd.org Subject: Re: EARLY_AP_STARTUP hangs during boot Date: Mon, 16 May 2016 10:54:19 -0700 Message-ID: <3960771.pvLV2Nd9Tc@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: <20160516122242.39249a54@ernst.home> References: <20160516122242.39249a54@ernst.home> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 16 May 2016 14:44:34 -0400 (EDT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 16 May 2016 18:44:36 -0000 On Monday, May 16, 2016 12:22:42 PM Gary Jennejohn wrote: > I tried out EARLY_AP_STARTUP, but the kernel hangs and I can't > break into DDB. > > I did a verbose boot and the last lines I see are related to routing > MSI-X to various local APIC vectors. I copied the last few lines and > they look like this: > > msi: routing MSI-X IRQ 256 to local APIC 2 vector 48 > msi: routing MSI-X IRQ 257 to local APIC 3 vector 48 > msi: routing MSI-X IRQ 258 to local APIC 4 vector 48 > msi: routing MSI-X IRQ 256 to local APIC 0 vector 49 > > I tried disabling msi and msix in /boot/loader.conf, but the settings > were ignored (probabaly too early). No, those settings are not too early. However, the routing to different CPUs now happens earlier than it used to. What is the line before the MSI lines? You can take a picture with your phone/camera if that's simplest. > I'm running on a AMD Phenom(tm) II X6 1090T Processor. > > So, maybe this option only really works correctly on Intel CPUs? No, there is absolutely zero/zilch/nada about this that is specific to Intel CPUs. Very, very little in FreeBSD is specific to AMD vs Intel CPUs. It is, OTOH, quite likely that this is specific to device driver for a piece of hardware. -- John Baldwin