From owner-freebsd-hackers@freebsd.org Sun Feb 18 22:55:51 2018 Return-Path: Delivered-To: freebsd-hackers@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 77CBDF0D935; Sun, 18 Feb 2018 22:55:51 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-qt0-x22c.google.com (mail-qt0-x22c.google.com [IPv6:2607:f8b0:400d:c0d::22c]) (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 DDD5371077; Sun, 18 Feb 2018 22:55:50 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-qt0-x22c.google.com with SMTP id f4so10222451qtj.6; Sun, 18 Feb 2018 14:55:50 -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=vQg7NjbuN5ZYJR+b9ooxyZLtjDwmcTh+M4TzhqSi7so=; b=mA/YW+gQ2rGHeMCRx9kM5SN3URah/s3MbXkxU0jxyAUdw/wpW3qCg5NWY0w4Bh987X pE1AbqDF3JSgAnn/yb7vhUnOb0BA75OwKz0u2muS0dabW1eCYAcmhQqLcDrU2DB+Npey bXL2+9Dsx9ei7wNeCuqsNvwZ4RtOYZD3IGDqDWSq0LqiU4rtvOMnu8VxBs0Fw4K+S+ZD Ki3jK8eFJb7HUYHz/oL8vE5bsgTdz6/l2TlCMiNr8eat9Xz7XrvhPdNpkCKbIxzr5FoK kdf5Gsafjyf4+HO6ln3LWQW1ZzkN3kN7fvba2jKz/XCpfMZLLG1wZIX+CFGVghr+YaFn k1Vw== 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=vQg7NjbuN5ZYJR+b9ooxyZLtjDwmcTh+M4TzhqSi7so=; b=KqkzHzWPxuZu0GPcx5NWpvhmNVadrp0YIwJaPsZaHYh7aF2VsrtHrttgQYZzxPGg6t cGWvpydApNVevKdr48VHGHQF1IbxI5ytq+HOp12ILQky6Fbaoq0YArYgkbf/8muhhJRW rMBeekITq6xSNxzUdKlyb0ztQDdM4sUQCNNAVcviZYQ1aH7IMM1tPFsBienBmSfU4saI vAxptAjWdZHJV02QSAF6VH5bmO6EIqziCNxk5O2BzADy76ls9R+g33/O3A8qhJaAENBx Lm3Uu6y9pF50ioeclwwA9oE8jHmI7BLnl8nvcZSTu8AznT0ie2+SJ48Dq03h1EUNpSmV Z7Fw== X-Gm-Message-State: APf1xPCQF4WFoOogpfvsunLxN6vfYPeGWTWk8ZjEuKFGY8rnVeLD/5Vk 15bv7RISQA+5UXfHyrntlD1HOV93Eq0XUzcSfossBg== X-Google-Smtp-Source: AH8x225Mk8pw7jWFVhBK93GSVRdM7jZmLihz7CIqNsobdJ348wahS24ChMthWzBgAzKtA2piyWCUVcneqhDZJhVoEwg= X-Received: by 10.237.62.233 with SMTP id o38mr20690864qtf.3.1518994550502; Sun, 18 Feb 2018 14:55:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.58.99 with HTTP; Sun, 18 Feb 2018 14:55:50 -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: Sun, 18 Feb 2018 23:55:50 +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-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 22:55:51 -0000 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 --=20 Mateusz Guzik