Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2018 23:55:50 +0100
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        =?UTF-8?Q?Trond_Endrest=C3=B8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>,  FreeBSD Hackers <freebsd-hackers@freebsd.org>
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
Message-ID:  <CAGudoHFz4gEZ6s8yYwJTsQMqcTCBB6vA9-L0%2B7kn1Nv0cYn6hw@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.21.1802182320440.24158@mail.fig.ol.no>
References:  <DA76F62D-3373-47CA-AD95-DE9BA580772B@yahoo.com> <6907E068-C80A-44B8-A8AD-3EF27D52D127@yahoo.com> <20832C61-AA5D-41A6-8BF9-90CC87D17219@yahoo.com> <CAGudoHH5Yz6312QSADiOVx9kd17=WcatEB3qyNjTa5qh_hXASg@mail.gmail.com> <alpine.BSF.2.21.1802182023090.24158@mail.fig.ol.no> <6D47FEC0-7991-4F76-AC31-2CC1E8934521@yahoo.com> <alpine.BSF.2.21.1802182134140.24158@mail.fig.ol.no> <CAGudoHHsHGZYo3Ke2MGhk517oti6gEz0Zk0-jSmXVbbk9Vx83g@mail.gmail.com> <alpine.BSF.2.21.1802182320440.24158@mail.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mjguzik gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGudoHFz4gEZ6s8yYwJTsQMqcTCBB6vA9-L0%2B7kn1Nv0cYn6hw>