Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2020 16:28:46 -0700
From:      Chris <bsd-lists@BSDforge.com>
To:        Grzegorz Junka <list1@gjunka.com>
Cc:        <freebsd-current@freebsd.org>
Subject:   Re: panic: Assertion lock == sq->sq_lock failed at /usr/src-13/sys/kern/subr_sleepqueue.c:371
Message-ID:  <8df5a5cd4ac5bd9e10516c1321ea2de2@udns.ultimatedns.net>
In-Reply-To: <cd818dad-3c1c-60aa-ed0b-49da80494228@gjunka.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 3 May 2020 00:15:48 +0100 Grzegorz Junka list1@gjunka=2Ecom said

> On 02/05/2020 20:43, Chris wrote:
> > On Sat, 2 May 2020 20:19:56 +0100 Grzegorz Junka list1@gjunka=2Ecom said
> >
> >> On 02/05/2020 14:56, Grzegorz Junka wrote:
> >> >
> >> > On 02/05/2020 14:15, Grzegorz Junka wrote:
> >> >> cpuid =3D 3
> >> >>
> >> >> time =3D 1588422616
> >> >>
> >> >> KDB: stack backtrace:
> >> >>
> >> >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >>=20
> >> 0xfffffe00b27e86b0
> >> >>
> >> >> vpanic() at vpanic+0x182/frame 0xfffffe00b27e8700
> >> >>
> >> >> panic() at panic+0x43/frame =2E=2E=2E
> >> >>
> >> >> sleepq_add()
> >> >>
> >> >> =2E=2E=2E
> >> >>
> >> >> I see
> >> >>
> >> >> db>
> >> >>
> >> >> in the terminal=2E I tried "dump" but it says, Cannot dump: no dump=
=20
> >> >> device specified=2E
> >> >>
> >> >> Is there a guide how to deal wit those, i=2Ee=2E to gather information=
=20
> >> >> required to investigate issues?
> >> >
> >>
> >> Another thing is that I don't quite understand why the crash couldn't=
=20
> >> be dumped=2E
> >>
> >> root@crayon2:~ # swapinfo
> >> Device=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1K-blocks=
=C2=A0=C2=A0=C2=A0=C2=A0 Used=C2=A0=C2=A0=C2=A0 Avail Capacity
> >> /dev/zvol/tank3/swap=C2=A0 33554432=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 0 33554432=C2=A0=C2=A0=C2=A0=C2=A0 0%
> >>
> >> There is no entry in /etc/fstab though, should it be there too?
> >
> > How about your rc=2Econf(5) ?
> >
> > You need to define a dumpdev within it as:
> >
> > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
> > dumpdev=3D"YES"
> >
> > Which defaults to the location of:
> >
> > /var/crash
> >
>=20
> Yes, of course I have 'dumpdev=3D"AUTO"'=2E Should it be "YES" instead?
Yes, it should of course be AUTO=2E I was distracted at the time of writing=2E
Sorry=2E
Does /var/crash exist?

That _should_ be enough=2E Assuming /var/crash is writable=2E

>=20
>=20
> _______________________________________________
> freebsd-current@freebsd=2Eorg mailing list
> https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd=2Eorg=
"





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