From owner-freebsd-current@freebsd.org Mon May 16 12:44:27 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 8A41FB3C837 for ; Mon, 16 May 2016 12:44:27 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 69EBB10D8 for ; Mon, 16 May 2016 12:44:27 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6952BB3C836; Mon, 16 May 2016 12:44:27 +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 68FD6B3C835 for ; Mon, 16 May 2016 12:44:27 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0053B10CE for ; Mon, 16 May 2016 12:44:27 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id n129so99711491wmn.1 for ; Mon, 16 May 2016 05:44:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=5eF5vHFGEJsnimfSna6BX4dghWaerUyzCxiEc95ciX8=; b=HDozB1gKzQfLIt7LZIbXVKZZXegjdPZzVbEGLbyCAH4LF3DcI2/6kTzb8HaO6zOVdT j1k0hmLxEtSGDXRRVIVgyQpufU7797DZNN+fQkZ8g8/FbwqxKiVf2tNgTnlx6NYutB78 kJQZSgIOS1LRNQ6/z3iitE3jaUEgaZ3iwrHlCR/SIlwzV388kfCi535N0IXD1//pJ9mx ntnG1j5bny+6EGX6ME00GiA4MkTttVhoWQoFGQN6Y6lRCGLBUbE7rzMVHa1MrzHVl/eJ kd/jag4qj7TkzYgW+7vBkV2bsp2DvYr9AB5sWo9c47L0HBFoN3cjvLZQEJsryn4zO74Z juWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=5eF5vHFGEJsnimfSna6BX4dghWaerUyzCxiEc95ciX8=; b=nDJkP7JFN+yr9spnx6XhZD+eWIuMWtndfoFKBYZ1aJM4RhMzAecwsb/8YXmpcajz8Y pVfG7UZ9vHAi2QacNiQrLdn7GiHaK8qhXAdK++WVNHDUMD6EKLrB/1DSP9WsyOntlTOj RREwlll+Up6rgJd6rpiGEeJE2E47WA0nyIDJjaxkRKg7f6T7d1U/RmECoV12nRCsBLmB Yd1u7d+Ud+GqLVVynPdTHbTS2SG7FtmzRXE1AGZ27v5vAnZb7TvapT2hqZUtyYbICC02 DdRdsoZUAJ6R59NXv/wR7ApZQBT+jrm7gFWDVo80Hsx1omn6Tjp2jH69O8Afo0ZMJ5Z2 T+EA== X-Gm-Message-State: AOPr4FXUPQ7Xy75Ja0NRvM5s8ZVCoCXYT/YGFNxlM5HKEGcCIn0HUCEQsWlS09K+s8pJ/Q== X-Received: by 10.28.175.83 with SMTP id y80mr17031611wme.8.1463402665599; Mon, 16 May 2016 05:44:25 -0700 (PDT) Received: from ernst.home (p578E39CB.dip0.t-ipconnect.de. [87.142.57.203]) by smtp.gmail.com with ESMTPSA id e8sm18311496wma.2.2016.05.16.05.44.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 May 2016 05:44:24 -0700 (PDT) Date: Mon, 16 May 2016 14:44:22 +0200 From: Gary Jennejohn To: Konstantin Belousov Cc: current@FreeBSD.org Subject: Re: EARLY_AP_STARTUP hangs during boot Message-ID: <20160516144422.4686058c@ernst.home> In-Reply-To: <20160516103835.GT89104@kib.kiev.ua> References: <20160516122242.39249a54@ernst.home> <20160516122731.65a8614a@ernst.home> <20160516103835.GT89104@kib.kiev.ua> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 12:44:27 -0000 On Mon, 16 May 2016 13:38:35 +0300 Konstantin Belousov wrote: > On Mon, May 16, 2016 at 12:27:31PM +0200, Gary Jennejohn wrote: > > On Mon, 16 May 2016 12:22:42 +0200 > > 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 > > > > Oops, the the last line should read > > msi: Assigning MSI-X IRQ 256 to local APIC 0 vector 49 > You should be able to enter ddb at this point. Methods depend on the > console used, serial break for serial console, ctrl-alt-esc for sc/vt > AFAIR. If you have IPMI/DRAC/ILO, send nmi. > > After getting at ddb> prompt, do 'bt' then 'ps' then 'alltrace' and > show the output. I tried ctrl-alt-esc, nothing happens. Maybe because USB isn't up yet. Judging from the way the case fan starts ramping up it seems like the CPU is in a tight loop. -- Gary Jennejohn