From owner-freebsd-current@freebsd.org Tue May 17 16:47:49 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 0DB03B3F8F4 for ; Tue, 17 May 2016 16:47:49 +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 E263A2FBE for ; Tue, 17 May 2016 16:47:48 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id DE1F3B3F8F3; Tue, 17 May 2016 16:47:48 +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 DDCF4B3F8F2 for ; Tue, 17 May 2016 16:47:48 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 88E0D2FBC; Tue, 17 May 2016 16:47:48 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id a17so41322446wme.0; Tue, 17 May 2016 09:47:48 -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=zF36uDzw/3uZn3C4RhFihvBB7FD/DVwHlJweMJ5brUM=; b=B4A/xyjJNFjbMN434PVt+n6MyvU6+9odrlA5aveCMgos0sOaxQ8uZhHnCRVPGvfUpe T5ZtC+MIe+/Jpggn841HIMb8pUc84nKHak4k3inH6tRqHzey7w4WSw1Epoa++o5n8wgt cVMVTZ6PEWjCLzb8+hpmVehdHOl+qLv7IUW6N3u8FJQAnu/0onLI33WfgD+zau+cf3t8 i+bUn21n/nf53rqGC/utU0xumLKGNh+RlFIPgkZI/qrnunU3RbgmUfEMo8qrt8hC7uiz BuVAwrl1priuLMTwyPrH9oXLtRXKZebH14xUJnqlWkUhsR7Zbit/ohmXE5WRRUP2FcCh StwQ== 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=zF36uDzw/3uZn3C4RhFihvBB7FD/DVwHlJweMJ5brUM=; b=cLT1bFBakyDWS5nM4o8rQa1AAUcLb6tE7wESvd6LWCxmT9GfTcO8cYh4VMQyMB98Gr 2QIVuxfz9s0JmBGOKxUrt5D3qllfkjYUXLL2jNeBUuwzEBeaEhlDi1SMqm0v0RjbuRjQ T55g32RC1Usu1Dl7k1+FcZJoz064uXoien2jqF7OZm7t84J0uCg7yLR2RtXqsMLakTVB SjemcRNmw0keJ4H3IxRa8jMdDJE5IrVBZ5b6gbYRFKXYzId0CiLjtUj2lTFASHsQMWHX NjDqcPzqs9HOs/s/drzmnKxMaguMUmUn71gnNGCLn1BaGCiRRIegy+GE+q9eIndZO/3F aadA== X-Gm-Message-State: AOPr4FX1q3s4j5ZjDC/81y6M9gqE829oXqIx4ZhbZvGBZa3rHZaIWkr7fD21sUqgSMT0+g== X-Received: by 10.28.109.86 with SMTP id i83mr26009277wmc.75.1463503666958; Tue, 17 May 2016 09:47:46 -0700 (PDT) Received: from ernst.home (p578E369A.dip0.t-ipconnect.de. [87.142.54.154]) by smtp.gmail.com with ESMTPSA id n66sm4522037wmf.6.2016.05.17.09.47.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 May 2016 09:47:46 -0700 (PDT) Date: Tue, 17 May 2016 18:47:41 +0200 From: Gary Jennejohn To: John Baldwin Cc: current@freebsd.org Subject: Re: EARLY_AP_STARTUP hangs during boot Message-ID: <20160517184741.599597b4@ernst.home> In-Reply-To: <3960771.pvLV2Nd9Tc@ralph.baldwin.cx> References: <20160516122242.39249a54@ernst.home> <3960771.pvLV2Nd9Tc@ralph.baldwin.cx> 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: Tue, 17 May 2016 16:47:49 -0000 On Mon, 16 May 2016 10:54:19 -0700 John Baldwin wrote: > 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 ^^^^^^^ Assigning > > > > 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. > Here a few lines before the MSI routing happens: hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 hpet0: vendor 0x4353, rev 0x1, 14318180 Hz, 3 timers, legacy route hpet0: t0 : irqs 0x00c0ff (0), MSI, periodic hpet0: t1 : irqs 0x00c0ff (0), MSI, periodic hpet0: t2 : irqs 0x00c0ff (0), MSI, periodic Timecounter "HPET" frequency 14318180 Hz quality 950 -- Gary Jennejohn