Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2020 12:43:56 -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:  <af1f4e7a785ec88d5dea4d4c15e94d29@udns.ultimatedns.net>
In-Reply-To: <c8ac5e9a-47a0-f44b-ff52-594cd87bc67b@gjunka.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 2 May 2020 20:19:56 +0100 Grzegorz Junka list1@gjunka.com said

> On 02/05/2020 14:56, Grzegorz Junka wrote:
> >
> > On 02/05/2020 14:15, Grzegorz Junka wrote:
> >> cpuid = 3
> >>
> >> time = 1588422616
> >>
> >> KDB: stack backtrace:
> >>
> >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 
> >> 0xfffffe00b27e86b0
> >>
> >> vpanic() at vpanic+0x182/frame 0xfffffe00b27e8700
> >>
> >> panic() at panic+0x43/frame ...
> >>
> >> sleepq_add()
> >>
> >> ...
> >>
> >> I see
> >>
> >> db>
> >>
> >> in the terminal. I tried "dump" but it says, Cannot dump: no dump 
> >> device specified.
> >>
> >> Is there a guide how to deal wit those, i.e. to gather information 
> >> required to investigate issues?
> >
> 
> Another thing is that I don't quite understand why the crash couldn't be 
> dumped.
> 
> root@crayon2:~ # swapinfo
> Device          1K-blocks     Used    Avail Capacity
> /dev/zvol/tank3/swap  33554432        0 33554432     0%
> 
> There is no entry in /etc/fstab though, should it be there too?

How about your rc.conf(5) ?

You need to define a dumpdev within it as:

# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="YES"

Which defaults to the location of:

/var/crash


> 
> --
> 
> GrzegorzJ
> 
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"





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