Date: Tue, 22 Feb 2022 02:34:20 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Michael Jung <mikej@paymentallianceintl.com>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: New panic in main-n253273-a52d8d4a6c6: Message-ID: <719aa03f-6f34-fdf8-1258-c7e5fcf33043@selasky.org> In-Reply-To: <924c13764ce342cf968ef9a93699be9a@MAIL-HUB.pai.local> References: <b7ca5b5e7a9a4df3951a2cb2f1d63552@MAIL-HUB.pai.local> <d04c0d93-8168-f53a-a5fd-865a1f6d2486@selasky.org> <6fcc161dd23b4f7ebe7cc789f11c017e@MAIL-HUB.pai.local> <dbd20a4d-b5a3-390e-a231-8ccca4f64c70@selasky.org> <924c13764ce342cf968ef9a93699be9a@MAIL-HUB.pai.local>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 2/22/22 00:42, Michael Jung wrote: > Hi: > > I was trying to remember what I did that was odd when this crash occurred then it > hit me. You can repeat this panic by doing: > > # watch -I -W pts/0 > > Here is another panic that happened write after issuing "watch" for comparison. > > http://mail.mikej.com/core.txt.1 > > http://mail.mikej.com/info.1 > > http://mail.mikej.com/vmcore.1 > I also need your kernel and debug kernel to fully debug this. 1) Do ssh to machine. 2) watch -i -W pts/0 (does not panic over here) Can you explain what step 1 is? An scp ? Refcount is -1. f_count = 0xffffffff f_data = 0xfffff800158b0400 In your KGDB, can you enter: info 0xffffffff81b052d0 Does the attached patch make any difference? --HPS [-- Attachment #2 --] diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 64e2d0f6453..6eec4a5a632 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -86,6 +86,7 @@ static d_poll_t snp_poll; static struct cdevsw snp_cdevsw = { .d_version = D_VERSION, + .d_flags = D_TRACKCLOSE, .d_open = snp_open, .d_read = snp_read, .d_write = snp_write,home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?719aa03f-6f34-fdf8-1258-c7e5fcf33043>
