From owner-freebsd-stable@freebsd.org Mon Nov 26 18:36:02 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8DCE113FE76 for ; Mon, 26 Nov 2018 18:36:01 +0000 (UTC) (envelope-from royger@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 780C181945 for ; Mon, 26 Nov 2018 18:36:01 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 373F6113FE74; Mon, 26 Nov 2018 18:36:01 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 259AB113FE73 for ; Mon, 26 Nov 2018 18:36:01 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0B3C81943; Mon, 26 Nov 2018 18:36:00 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from localhost (4.red-79-159-111.dynamicip.rima-tde.net [79.159.111.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: royger) by smtp.freebsd.org (Postfix) with ESMTPSA id 2056512722; Mon, 26 Nov 2018 18:35:59 +0000 (UTC) (envelope-from royger@FreeBSD.org) Date: Mon, 26 Nov 2018 19:35:52 +0100 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: John Baldwin Cc: Joe Clarke , stable@freebsd.org Subject: Re: Panic on 11-STABLE with Xen guest Message-ID: <20181126183552.udcpbt4z2hwxcgmx@mac> References: <00d6d9ae-d5d8-ed88-34ee-2e67c0ca8904@marcuscom.com> <87ec7a7b-f64e-21b7-ac2c-790e2ff70247@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ec7a7b-f64e-21b7-ac2c-790e2ff70247@FreeBSD.org> User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 780C181945 X-Spamd-Result: default: False [0.93 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.08)[-0.082,0]; NEURAL_SPAM_LONG(0.43)[0.432,0]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; NEURAL_SPAM_SHORT(0.58)[0.584,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2018 18:36:02 -0000 On Mon, Nov 26, 2018 at 10:31:43AM -0800, John Baldwin wrote: > On 11/22/18 12:39 PM, Joe Clarke wrote: > > I believe after the commit 340016 for the dynamic IRQ layout, my Xen VM > > started to panic. I just upgraded the kernel today and saw this: > > > > xen: unable to map IRQ#2 > > panic: Unable to register interrupt override > > cpuid = 0 > > KDB: stack backtrace: > > #0 0xffffffff8060a4e7 at kdb_backtrace+0x67 > > #1 0xffffffff805c3787 at vpanic+0x177 > > #2 0xffffffff805c3603 at panic+0x43 > > #3 0xffffffff8093a766 at madt_parse_ints+0x96 > > #4 0xffffffff803353f9 at acpi_walk_subtables+0x29 > > #5 0xffffffff8093a5e6 at xenpv_register_pirqs+0x56 > > #6 0xffffffff80928296 at intr_init_sources+0x116 > > #7 0xffffffff8055eba8 at mi_startup+0x118 > > #8 0xffffffff8029902c at btext+0x2c > > > > The following kernel works: > > > > @(#)FreeBSD 11.2-STABLE #4: Thu Nov 1 02:24:07 EDT 2018 > > FreeBSD 11.2-STABLE #4: Thu Nov 1 02:24:07 EDT 2018 > > root@creme-brulee:/usr/obj/usr/src/sys/CREME-BRULEE > > > > The following kernel produces the panic above immediately on boot: > > > > @(#)FreeBSD 11.2-STABLE #5: Wed Nov 21 11:08:38 EST 2018 > > FreeBSD 11.2-STABLE #5: Wed Nov 21 11:08:38 EST 2018 > > root@creme-brulee:/usr/obj/usr/src/sys/CREME-BRULEE > > > > Attached is a screen grab of the console of the panic. > > Hmm, I don't see any obvious candidates of Xen changes that weren't included > in the MFC. I've added royger@ (who maintains Xen in FreeBSD) to the cc to > see if he has an idea. > > Roger, the main changes that aren't MFC'd to 11 from 12/head seem to be some > refcounting on event channels and PVHv2 vs PVHv1? Sorry, I seem to have missed the thread on stable@ and only replied to the people that have CC'ed me. The issue is already fixed, see: https://svnweb.freebsd.org/base?view=revision&revision=340982 Thanks, Roger.