From owner-freebsd-current@FreeBSD.ORG Wed Aug 6 20:48:40 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82EAAC8F for ; Wed, 6 Aug 2014 20:48:40 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 26819249E for ; Wed, 6 Aug 2014 20:48:39 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id s76KmXmg004365 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 6 Aug 2014 22:48:33 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id s76KmWwT004362 for ; Wed, 6 Aug 2014 22:48:33 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 6 Aug 2014 22:48:32 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: current@freebsd.org Subject: Re: panic: aatpic_assign_cpu: bad cookie [Was: Build machine OK; laptop panics @r269515] In-Reply-To: Message-ID: References: <20140804194759.GT1228@albert.catwhisker.org> <20140805142914.GJ1228@albert.catwhisker.org> <53E1450D.5090708@protected-networks.net> <53E14CD1.20308@protected-networks.net> <8B832384-C1CC-4622-BA67-7447ECE317C9@FreeBSD.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Wed, 06 Aug 2014 20:48:40 -0000 On Wed, 6 Aug 2014 19:21+0200, Trond Endrestøl wrote: > On Tue, 5 Aug 2014 20:49-0700, John Baldwin wrote: > > > > > On Aug 5, 2014, at 2:29 PM, Michael Butler wrote: > > > > > On 08/05/14 16:56, Michael Butler wrote: > > >> On 08/05/14 16:02, John Baldwin wrote: > > >> > > >>> My guess is that the recent Xen changes tickled something. > > >> > > >> I can confirm this on a kernel which is otherwise up to date .. > > >> > > >> FreeBSD toshi.auburn.protected-networks.net 11.0-CURRENT FreeBSD > > >> 11.0-CURRENT #2 r269608M: Tue Aug 5 16:48:12 EDT 2014 > > >> > > >> I backed out all of SVN r269507 through r269515. > > >> > > >> Now working .. > > > > > > [ .. snip .. ] > > > > > >> Now to see if it's related to the other machine's disk woes (it's a > > >> single-core device), > > > > > > And it fixes the inability to probe disks on my single-core machine :-) > > > > It looks like the MADT code to probe the I/O APICs isn't working so > > it's trying to fall back to using the ATPIC while using SMP (which > > doesn't work). I know it's a pain on a laptop, but if it is at all > > possible to capture either a verbose or non-verbose dmesg that would > > really help narrow it down. > > > > Also, if anyone can try reverting just the MADT-related changes in > > the recent Xen changes to see if you can narrow down which exact one > > triggers the panic that would be really helpful. > > I noticed this panic on i386 head r269607 yesterday, running in VBox > on Windows 7 SP1 x64, on an Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz > (3175.67-MHz 686-class CPU). > > Go to http://ximalas.info/~trond/atpic_assign_cpu/ where you'll find a > verbose dmesg from i386 head r268838 from the same VM and a couple of > screenshots of the crash while booting r269607 with the verbose flag > on. > > I'm rewinding /usr/src to r269507, and I'll take it from there, one > commit at the time. Reverting r269510 did the trick, i.e.: cd /usr/src && svn up && svn diff -r 269510:269509 | patch My i386 head VM is running smoothly with r269641M, with M meaning only the above reversal. > I'll also try to investigate this panic using my amd64 head VM. Work in progress. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-current@FreeBSD.ORG Wed Aug 6 21:09:21 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F5E23D9 for ; Wed, 6 Aug 2014 21:09:21 +0000 (UTC) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85B5C2720 for ; Wed, 6 Aug 2014 21:09:20 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.9/8.14.9) with ESMTP id s76L808C026366; Wed, 6 Aug 2014 14:08:00 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.9/8.14.9/Submit) id s76L7xs1026365; Wed, 6 Aug 2014 14:07:59 -0700 (PDT) (envelope-from david) Date: Wed, 6 Aug 2014 14:07:59 -0700 From: David Wolfskill To: Trond =?iso-8859-1?Q?Endrest=F8l?= Subject: Re: panic: aatpic_assign_cpu: bad cookie [Was: Build machine OK; laptop panics @r269515] Message-ID: <20140806210759.GM1228@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Trond =?iso-8859-1?Q?Endrest=F8l?= , current@freebsd.org References: <20140804194759.GT1228@albert.catwhisker.org> <20140805142914.GJ1228@albert.catwhisker.org> <53E1450D.5090708@protected-networks.net> <53E14CD1.20308@protected-networks.net> <8B832384-C1CC-4622-BA67-7447ECE317C9@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Z9TvlI/Spa97+Fm/" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Wed, 06 Aug 2014 21:09:21 -0000 --Z9TvlI/Spa97+Fm/ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 06, 2014 at 10:48:32PM +0200, Trond Endrest=F8l wrote: > ... > Reverting r269510 did the trick, i.e.: >=20 > cd /usr/src && svn up && svn diff -r 269510:269509 | patch >=20 > My i386 head VM is running smoothly with r269641M, with M meaning only=20 > the above reversal. > ... Works for me, as well -- thanks! FreeBSD 11.0-CURRENT #1333 r269622M/269622:1100028: Wed Aug 6 14:01:30 PD= T 2014 (I'll be providing more details to royger@ et al. in a moment.) Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil cowards with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --Z9TvlI/Spa97+Fm/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJT4pkuXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7tMQQAIhfxD3u/JnAjUN2siHjmuov 3T/i284fRJMS+/sKdYmxeDKe5HV8onXIHiUqN8NfUuvoQGv+ujixasReX4wuUW1W u1GD4ztalaskZUyqBh3Enccb5PmwEfa4+/qeI4kv3V79e2RPle7GQvsgj3OlNknf sPYXFMe3qFJq2E+FF4gkVXtQypVVymhVTXo/Xo8dDKJ7GhYgTKcZMDb5FWtvlcbI 40+Bna6wbAFspwOz++Iy+O10AgHF0G+YITehCv1xwOnWpOnes0mF7HMPz/M2nfR9 DE2var5rhaetDT/YqCqhAyv6tYcjah5fE/dff5yaoTETwcFIeR0zvsYcRpS0GTG1 tL4QuUACeJAmaYNroxeuBysvhFEpTfbe+D+vrMhGE+IrHQHLxCTeVaSHz05aewfe F84n7djoxyBj48jPSB19ayWRHBkBgvKebu5sLNCJGjJ6hP74EFGS4hU9pb6yZgeD sq9XWkFwBeI25LOpHqGlocFfsOV/d+phbwpuXzIz+X+jtjDkowpOfEyY8tr17n+B KkP+Ust0Kd66vnSJbg4G9nDfyVBrmOYoI9xx2A/k4VNg6B5+KBgyWfnfb7ubvIR9 DezDB3PvTm2XT6rlkgoMh0eQ+Ta4jICX48jkRHD8IwsZZ7C8mSMGhXS3jjQbzPXE qAYTqCfHbAQTqq3rQv+A =xXlV -----END PGP SIGNATURE----- --Z9TvlI/Spa97+Fm/--