Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2014 22:48:32 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        current@freebsd.org
Subject:   Re: panic: aatpic_assign_cpu: bad cookie [Was: Build machine OK; laptop panics @r269515]
Message-ID:  <alpine.BSF.2.11.1408062244020.64214@mail.fig.ol.no>
In-Reply-To: <alpine.BSF.2.11.1408061914220.64214@mail.fig.ol.no>
References:  <20140804194759.GT1228@albert.catwhisker.org> <20140805142914.GJ1228@albert.catwhisker.org> <C248C4AE-65AB-406A-A523-F7D7FAA8FBBE@FreeBSD.org> <53E1450D.5090708@protected-networks.net> <53E14CD1.20308@protected-networks.net> <8B832384-C1CC-4622-BA67-7447ECE317C9@FreeBSD.org> <alpine.BSF.2.11.1408061914220.64214@mail.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <imb@protected-networks.net> 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: <owner-freebsd-current@FreeBSD.ORG>
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 <current@freebsd.org>; 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 <current@freebsd.org>; 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 <david@catwhisker.org>
To: Trond =?iso-8859-1?Q?Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
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 <david@catwhisker.org>,
 Trond =?iso-8859-1?Q?Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>,
 current@freebsd.org
References: <20140804194759.GT1228@albert.catwhisker.org>
 <20140805142914.GJ1228@albert.catwhisker.org>
 <C248C4AE-65AB-406A-A523-F7D7FAA8FBBE@FreeBSD.org>
 <53E1450D.5090708@protected-networks.net>
 <53E14CD1.20308@protected-networks.net>
 <8B832384-C1CC-4622-BA67-7447ECE317C9@FreeBSD.org>
 <alpine.BSF.2.11.1408061914220.64214@mail.fig.ol.no>
 <alpine.BSF.2.11.1408062244020.64214@mail.fig.ol.no>
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: <alpine.BSF.2.11.1408062244020.64214@mail.fig.ol.no>
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
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=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/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1408062244020.64214>