From owner-freebsd-current@freebsd.org Mon Feb 19 00:55:59 2018 Return-Path: Delivered-To: freebsd-current@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 77901F16D7D; Mon, 19 Feb 2018 00:55:59 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-qt0-x22b.google.com (mail-qt0-x22b.google.com [IPv6:2607:f8b0:400d:c0d::22b]) (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 0336E761C9; Mon, 19 Feb 2018 00:55:59 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-qt0-x22b.google.com with SMTP id k13so10404958qtg.5; Sun, 18 Feb 2018 16:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JSyrJ2J6ToRuxNmwZkFaGDtzFDuX6suKmKvlBwFgcWA=; b=jx/FUIfjdV0a//3e5nXo8yKu4IbPubMX4QJDcMpQpY47CORYlkaKOGI1o+hc8VcUC2 NuxQqm6Il3I2mBvsoB9iXrHvnT4agV8hP3ORrmQHLJzviV0uS0v7x6GEK/uNeziq9xRC 7Q3XWsv5UfrtuWYmNBjBb1nRFjRXQYuNv3P5AG1BmDfwl7SGGRH/Dg6OxMRf5jHM0d8a Ddkc1UY+g1NC/wIE0ItZu1c+tvQnmDQg62YJe4dNepBmSjQTgkdg719LWhRui7rLjMaG c9/DCdF7eOfBbhFP0bBKtmjG3Nmhpfz4NPHu/GC7IRtPzXw5bSfdailPbpWsU90pU5ZR qpug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JSyrJ2J6ToRuxNmwZkFaGDtzFDuX6suKmKvlBwFgcWA=; b=CUcKSlE5hjsIQjus8KNVL1Oidsjg2sCfhI6zZUCcuZgQOzbWMhD4zWIk9inCVtlotu /wHeN3IrDhmXRErgIntqaQduELbFKoVA0duJSUeyMcIatmDAPB41eHjxB2SgTJzUM76R KLm9Z2Lf3tBfmMz6DBf337q4oNw8ak1EuHquMHEJmYoTQvpW1smaIT19sQcjViHez1dE nMPbMy/vFRlAlGPQeZ+Vj+fkNXEa4rzNJ9f0DFE1JTh0hoBOdkgXDoaRHWc3j5l8n2Re kdYJrSvshmB1tLia8ZFdhMpiGtf61ONMQZsVP9S/wRIMTIpY8MNLwU2SXoR15AVTXQSA T4YQ== X-Gm-Message-State: APf1xPA0wqVpp/YXaBmO7pREUIUWzn58gshzuVs7XmFUq783eFeR6Rwy 0lQLAfvfvcT49esFzgzhtGmHQx7FxsmBH3fGyAo= X-Google-Smtp-Source: AH8x226AGQFnLK5feEphsYKNYDne7bCAVPMLfEmCFYUAZBycZTkXhjCfkAu1YjVusGIKs/lyr3H/bZOXYZlKP8QxbRU= X-Received: by 10.200.38.188 with SMTP id 57mr8039817qto.220.1519001758685; Sun, 18 Feb 2018 16:55:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.58.99 with HTTP; Sun, 18 Feb 2018 16:55:58 -0800 (PST) In-Reply-To: References: <6907E068-C80A-44B8-A8AD-3EF27D52D127@yahoo.com> <20832C61-AA5D-41A6-8BF9-90CC87D17219@yahoo.com> <6D47FEC0-7991-4F76-AC31-2CC1E8934521@yahoo.com> From: Mateusz Guzik Date: Mon, 19 Feb 2018 01:55:58 +0100 Message-ID: Subject: Re: amd64 head -r329465 (non-debug build, but with symbols): "panic: spin lock held too long" during make check-old, reported during a sys_vfork To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Cc: FreeBSD Current , FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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, 19 Feb 2018 00:55:59 -0000 I committed the fix in https://svnweb.freebsd.org/base?view=3Drevision&revision=3D329542 i.e. should be stable from this point on. On Sun, Feb 18, 2018 at 11:55 PM, Mateusz Guzik wrote: > On Sun, Feb 18, 2018 at 11:24 PM, Trond Endrest=C3=B8l < > Trond.Endrestol@fagskolen.gjovik.no> wrote: > >> On Sun, 18 Feb 2018 22:33+0100, Mateusz Guzik wrote: >> >> > On Sun, Feb 18, 2018 at 9:38 PM, Trond Endrest=C3=B8l < >> > Trond.Endrestol@fagskolen.gjovik.no> wrote: >> > >> > > On Sun, 18 Feb 2018 11:51-0800, Mark Millard wrote: >> > > >> > > > Note: -r329448 was reverted in -r329461 : racy. >> > > >> > > True. I got a crash when compiling r329451 while running r329449. >> > > I've now booted the r329422 ZFS BE and I'm attempting to build >> > > r329529. >> > > >> > >> > Looking around strongly suggests r329448 is the culprit. If you can >> verify >> > 329447 works fine we are mostly done here. >> >> I noticed no errors in r329447. When r329529 is built and installed, >> I'll try to incrementally build and install r329531. >> > > Can you grab a panicking kernel and apply this: > https://people.freebsd.org/~mjg/wait_unlocked.diff > > there may be debug printfs signifying the problem condition was hit, > however the patch should fix the panic > > -- > Mateusz Guzik > --=20 Mateusz Guzik